Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907843 - net-p2p/amule-2.3.3 - configure: error: invalid value: boost_major_version=''
Summary: net-p2p/amule-2.3.3 - configure: error: invalid value: boost_major_version=''
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Tsoy
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 909076
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2023-06-04 14:14 UTC by ernsteiswuerfel
Modified: 2023-06-26 17:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (amule-2.3.3:20230604-135350.log,7.47 KB, text/plain)
2023-06-04 14:14 UTC, ernsteiswuerfel
Details
config.log (config.log,31.41 KB, text/plain)
2023-06-04 14:14 UTC, ernsteiswuerfel
Details
emerge --info (file_907843.txt,7.83 KB, text/plain)
2023-06-04 14:15 UTC, ernsteiswuerfel
Details
config.log (w. gcc) (config.log,31.41 KB, text/plain)
2023-06-05 06:42 UTC, ernsteiswuerfel
Details
build.log.xz (w. gcc) (amule-2.3.3:20230605-064434.log.xz,47.03 KB, text/plain)
2023-06-05 06:59 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-06-04 14:14:07 UTC
Created attachment 863244 [details]
build.log

[...]
checking for <cxxabi.h> and __cxa_demangle()... yes
checking for Boost headers version >= 1.47.0... yes
checking for Boost's header version... 
configure: error: invalid value: boost_major_version=''

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-p2p/amule-2.3.3/work/aMule-2.3.3/config.log
 * ERROR: net-p2p/amule-2.3.3::gentoo failed (configure phase):
 *   econf failed
Comment 1 ernsteiswuerfel archtester 2023-06-04 14:14:30 UTC
Created attachment 863245 [details]
config.log
Comment 2 ernsteiswuerfel archtester 2023-06-04 14:15:34 UTC
Created attachment 863246 [details]
emerge --info
Comment 3 Alexander Tsoy 2023-06-05 04:21:53 UTC
Thanks for the report. CXX="clang++" is enough to trigger this build failure.
Comment 4 ernsteiswuerfel archtester 2023-06-05 06:42:32 UTC
Created attachment 863292 [details]
config.log (w. gcc)

(In reply to Alexander Tsoy from comment #3)
> Thanks for the report. CXX="clang++" is enough to trigger this build failure.
But when I use gcc I just get the same config error.
Comment 5 ernsteiswuerfel archtester 2023-06-05 06:59:06 UTC
Created attachment 863293 [details]
build.log.xz (w. gcc)

Ignore comment #4, I messed something up.

With gcc config phase succeeds but I get an error later on building.
Comment 6 ernsteiswuerfel archtester 2023-06-05 17:41:08 UTC
Ok, figured out to get amule build on my "amd64/17.0/musl/clang (exp)" system I need dev-libs/crypto++ and x11-libs/wxGTK to get built with gcc too.

Which is strange because some time ago (I guess before dev-libs/boost-1.82.0-r1 upgrade?) amule-2.3.3 built just fine with clang++.
Comment 7 Alexander Tsoy 2023-06-05 17:45:04 UTC
(In reply to ernsteiswuerfel from comment #6)
> Which is strange because some time ago (I guess before
> dev-libs/boost-1.82.0-r1 upgrade?) amule-2.3.3 built just fine with clang++.
Is boost currently built with clang on your system?
Comment 8 ernsteiswuerfel archtester 2023-06-05 18:24:23 UTC
(In reply to Alexander Tsoy from comment #7)
> Is boost currently built with clang on your system?
Yes. As it's the "default/linux/amd64/17.0/musl/clang (exp)" profile everything is built with clang as default unless I specifically set it otherwise.

Which in my case would be following packages in /etc/portage/package.env/myenv:
app-arch/zstd compiler_gcc-O2+L
app-emulation/fs-uae compiler_gcc-O2+L
app-office/abiword compiler_gcc-O2
dev-util/ostree compiler_gcc-O2
x11-libs/gtkmathview compiler_gcc-O2

zstd only for performance reasons with gcc but the rest won't build with clang on this profile for now.
Comment 9 Larry the Git Cow gentoo-dev 2023-06-26 14:42:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722a58cbadfca20fc9ba71ce09008a9fd7584848

commit 722a58cbadfca20fc9ba71ce09008a9fd7584848
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2023-06-25 08:17:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-26 14:41:43 +0000

    net-p2p/amule: fix build w/ clang and boost-1.82
    
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://bugs.gentoo.org/907843
    Closes: https://github.com/gentoo/gentoo/pull/31517
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/amule/amule-2.3.3-r1.ebuild                | 153 +++++++++++++++++++++
 net-p2p/amule/amule-9999.ebuild                    |   8 +-
 .../amule/files/amule-2.3.3-autoconf-2.70.patch    |  28 ++++
 net-p2p/amule/metadata.xml                         |   1 +
 4 files changed, 189 insertions(+), 1 deletion(-)
Comment 10 ernsteiswuerfel archtester 2023-06-26 17:19:51 UTC
Builds fine now on "[33]  default/linux/amd64/17.0/musl/clang (exp)". Thanks!