Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 785547

Summary: [guru] [HELP] sys-cluster/genders-1.28.1 fails to compile with clang
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Alessandro Barbieri <lssndrbarbieri>
Status: RESOLVED OBSOLETE    
Severity: normal CC: guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-04-25 08:56:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-cluster/genders-1.28.1 fails to compile.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-25 08:56:43 UTC
Created attachment 702363 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-25 08:56:44 UTC
Possible context of error(s):

clang-12: error: no such file or directory: '../libgenders/.libs/libgenders.so'
clang-12: error: no such file or directory: '../libgenders/.libs/libgenders.so'
Comment 3 Viorel Munteanu gentoo-dev 2022-06-14 06:40:32 UTC
Could not reproduce this issue using genders-1.28.1-r1.  Tried clang 14, 12 and 9.  This was the command line:

USE="acl amd64 berkdb bzip2 cli constraint-handler crypt dri elogind extensions fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl nullslack openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" CPPFLAGS= CC="x86_64-pc-linux-gnu-clang-12" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" CXX="x86_64-pc-linux-gnu-clang++-12" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" ebuild genders-1.28.1-r1.ebuild install
Comment 4 Alessandro Barbieri 2022-06-14 14:04:53 UTC
Thanks for the investigation