GNU bug report logs - #70254
withershins - failed to build

Previous Next

Package: guix;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sun, 7 Apr 2024 09:51:03 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

To reply to this bug, email your comments to 70254 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#70254; Package guix. (Sun, 07 Apr 2024 09:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 07 Apr 2024 09:51:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: bug-guix <at> gnu.org 
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: withershins - failed to build
Date: Sun, 07 Apr 2024 10:49:56 +0100
[Message part 1 (text/plain, inline)]
Hi,

While refreshing and checking packages in (gnu packages code) I've
noticed that withershins is no longer buildable, it looks like the
source is not compatible with a new version of binutils.

One more thing - the project does not exist by
<https://github.com/cameronwhite/withershins> but I could find it in
<https://github.com/artisdom/withershins>.

Cc: Ricardo as he was the last person who has added and updated the
package.

Error trace:
--8<---------------cut here---------------start------------->8---
starting phase `build'
/gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/bin/cmake -S/tmp/guix-build-withershins-0.1.drv-0/source -B/tmp/guix-build-withershins-0.1.drv-0/source --check-build-system CMakeFiles/Makefile.cmake 0
/gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/bin/cmake -E cmake_progress_start /tmp/guix-build-withershins-0.1.drv-0/source/CMakeFiles /tmp/guix-build-withershins-0.1.drv-0/source//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/guix-build-withershins-0.1.drv-0/source'
make  -f src/CMakeFiles/withershins.dir/build.make src/CMakeFiles/withershins.dir/depend
make[2]: Entering directory '/tmp/guix-build-withershins-0.1.drv-0/source'
cd /tmp/guix-build-withershins-0.1.drv-0/source && /gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/guix-build-withershins-0.1.drv-0/source /tmp/guix-build-withershins-0.1.drv-0/source/src /tmp/guix-build-withershins-0.1.drv-0/source /tmp/guix-build-withershins-0.1.drv-0/source/src /tmp/guix-build-withershins-0.1.drv-0/source/src/CMakeFiles/withershins.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/guix-build-withershins-0.1.drv-0/source'
make  -f src/CMakeFiles/withershins.dir/build.make src/CMakeFiles/withershins.dir/build
make[2]: Entering directory '/tmp/guix-build-withershins-0.1.drv-0/source'
[ 16%] Building CXX object src/CMakeFiles/withershins.dir/withershins.cpp.o
cd /tmp/guix-build-withershins-0.1.drv-0/source/src && /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ -DWITHERSHINS_ENABLE_LIBBFD -I/tmp/guix-build-withershins-0.1.drv-0/source/src -std=c++11 -Wall -Wextra -pthread -O2 -g -DNDEBUG -MD -MT src/CMakeFiles/withershins.dir/withershins.cpp.o -MF CMakeFiles/withershins.dir/withershins.cpp.o.d -o CMakeFiles/withershins.dir/withershins.cpp.o -c /tmp/guix-build-withershins-0.1.drv-0/source/src/withershins.cpp
[ 33%] Building CXX object src/CMakeFiles/withershins.dir/withershins_unix.cpp.o
cd /tmp/guix-build-withershins-0.1.drv-0/source/src && /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ -DWITHERSHINS_ENABLE_LIBBFD -I/tmp/guix-build-withershins-0.1.drv-0/source/src -std=c++11 -Wall -Wextra -pthread -O2 -g -DNDEBUG -MD -MT src/CMakeFiles/withershins.dir/withershins_unix.cpp.o -MF CMakeFiles/withershins.dir/withershins_unix.cpp.o.d -o CMakeFiles/withershins.dir/withershins_unix.cpp.o -c /tmp/guix-build-withershins-0.1.drv-0/source/src/withershins_unix.cpp
/tmp/guix-build-withershins-0.1.drv-0/source/src/withershins_unix.cpp: In function ‘bool find_file_info(const string&, const void*, std::string&, std::string&, int&)’:
/tmp/guix-build-withershins-0.1.drv-0/source/src/withershins_unix.cpp:151:37: error: ‘bfd_get_section_vma’ was not declared in this scope; did you mean ‘bfd_set_section_vma’?
  151 |         const bfd_vma section_vma = bfd_get_section_vma(abfd.get(), section);
      |                                     ^~~~~~~~~~~~~~~~~~~
      |                                     bfd_set_section_vma
/tmp/guix-build-withershins-0.1.drv-0/source/src/withershins_unix.cpp:153:58: error: cannot convert ‘std::unique_ptr<bfd, bfd_delete>::pointer’ {aka ‘bfd*’} to ‘const asection*’ {aka ‘const bfd_section*’}
  153 |             vma < section_vma + bfd_section_size(abfd.get(), section))
      |                                                  ~~~~~~~~^~
      |                                                          |
      |                                                          std::unique_ptr<bfd, bfd_delete>::pointer {aka bfd*}
In file included from /tmp/guix-build-withershins-0.1.drv-0/source/src/withershins_unix.cpp:21:
/gnu/store/cv571kkg5hyk98yw48857h1d0zi9azni-binutils-2.38/include/bfd.h:1193:35: note:   initializing argument 1 of ‘bfd_size_type bfd_section_size(const asection*)’
 1193 | bfd_section_size (const asection *sec)
      |                   ~~~~~~~~~~~~~~~~^~~
make[2]: *** [src/CMakeFiles/withershins.dir/build.make:93: src/CMakeFiles/withershins.dir/withershins_unix.cpp.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-withershins-0.1.drv-0/source'
make[1]: *** [CMakeFiles/Makefile2:119: src/CMakeFiles/withershins.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-withershins-0.1.drv-0/source'
make: *** [Makefile:94: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: () exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 0.5 seconds
--8<---------------cut here---------------end--------------->8---

References:
- Similar issue in aws-lambda-cpp <https://github.com/awslabs/aws-lambda-cpp/issues/93>.
- https://stackoverflow.com/questions/60235928/backward-cpp-can-no-longer-build-missing-lbdf-despite-linking

--
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#70254; Package guix. (Sun, 07 Apr 2024 20:25:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: bug-guix <at> gnu.org
Subject: Re: withershins - failed to build
Date: Sun, 07 Apr 2024 22:23:59 +0200
Hi,

> While refreshing and checking packages in (gnu packages code) I've
> noticed that withershins is no longer buildable, it looks like the
> source is not compatible with a new version of binutils.
>
> One more thing - the project does not exist by
> <https://github.com/cameronwhite/withershins> but I could find it in
> <https://github.com/artisdom/withershins>.
>
> Cc: Ricardo as he was the last person who has added and updated the
> package.

We only ever needed it for powertabeditor.  It no longer uses the
package, so I just removed it.

Thanks for letting me know!

-- 
Ricardo




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Tue, 09 Apr 2024 14:02:02 GMT) Full text and rfc822 format available.

Notification sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
bug acknowledged by developer. (Tue, 09 Apr 2024 14:02:02 GMT) Full text and rfc822 format available.

Message #13 received at 70254-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 70254-done <at> debbugs.gnu.org
Subject: withershins - failed to build
Date: Tue, 09 Apr 2024 16:00:58 +0200
Closing, because withershins is no more.

-- 
Ricardo




This bug report was last modified 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.