Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779931 - gnome-extra/evolution-data-server-3.38.4 ld: unrecognized option '-Wl,--no-undefined'
Summary: gnome-extra/evolution-data-server-3.38.4 ld: unrecognized option '-Wl,--no-un...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-03 23:28 UTC by Alessandro Barbieri
Modified: 2021-04-18 12:15 UTC (History)
2 users (show)

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


Attachments
emerge_info (emerge_info,17.79 KB, text/plain)
2021-04-03 23:28 UTC, Alessandro Barbieri
Details
evolution-data-server-3.38.4:20210403-215147.log (evolution-data-server-3.38.4:20210403-215147.log,701.66 KB, text/plain)
2021-04-03 23:29 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-04-03 23:28:32 UTC
This package fails to compile on an unstable system. Attached relevant logs and emerge --info
Comment 1 Alessandro Barbieri 2021-04-03 23:28:45 UTC
Created attachment 697086 [details]
emerge_info

emerge --info
Comment 2 Alessandro Barbieri 2021-04-03 23:29:07 UTC
Created attachment 697089 [details]
evolution-data-server-3.38.4:20210403-215147.log

build log
Comment 3 Alessandro Barbieri 2021-04-03 23:30:20 UTC
ld: unrecognized option '-Wl,--no-undefined'                                                                                                                                                                                                  
ld: use the --help option for usage information                                                                                                                                                                                               
2021-04-03 23:54:26,081:scangobj.py:execute_command:1289:WARNING:Linking scanner failed: 1, command: ld camel-scan.o -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/camel -lcamel-1.2
 -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/camel/providers/local -lcamellocal -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_buil
d/src/camel/providers/imapx -lcamelimapx -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/camel/providers/nntp -lcamelnntp -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/
work/evolution-data-server-3.38.4_build/src/camel/providers/pop3 -lcamelpop3 -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/camel/providers/sendmail -lcamelsendmail -L/var/tmp/porta
ge/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/camel/providers/smtp -lcamelsmtp -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2
.0 -pthread -lglib-2.0 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lsqlite3 -lz -licui18n -licuuc -licudata -lical-glib -lical -licalss -licalvcal -lsoup-2.4 -lxml2 -lsecret-1 -L/usr/lib64 -o camel-scan                      
[408/960] cd /var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/reference/private && /usr/bin/gtkdoc-scan --module=libedbus-private --deprecated-guards="EDS_DISABLE_DEPRECATED" --ignore-
headers="e-dbus-localed.h" --rebuild-sections --rebuild-types --source-dir="/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/private" && /usr/bin/cmake -E chdir /var/tmp/portage/gnome-e
xtra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/reference/private /usr/bin/cmake -E env LD_LIBRARY_PATH=":/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src
/private:/usr/lib64:" /usr/bin/gtkdoc-scangobj --module=libedbus-private --cflags \ -pthread\ -I/usr/include/libsecret-1\ -I/usr/include/gio-unix-2.0\ -I/usr/include/libsoup-2.4\ -I/usr/include/libxml2\ -I/usr/include/libmount\ -I/usr/inc
lude/blkid\ -I/usr/lib64/libffi/include\ -I/usr/include/glib-2.0\ -I/usr/lib64/glib-2.0/include\ -I/usr/include/sysprof-4\ -I/usr/include/nss\ -I/usr/include/nspr\ -I/usr/include\ -Wnested-externs\ -Wno-unused-parameter\ -Wno-sign-compare
\ -Wno-missing-field-initializers\ -Wdeclaration-after-statement\ -Werror-implicit-function-declaration\ -Wno-deprecated-declarations\ -fno-strict-aliasing\ -Wno-cast-function-type\ -Wwrite-strings\ -Wundef\ -Wredundant-decls\ -Wpointer-a
rith\ -Wmissing-noreturn\ -Wmissing-declarations\ -Winit-self\ -Wformat-security\ -Wformat\ -Os\ -pipe\ -march=native\ -fdiagnostics-color=always\ -Os\ -pipe\ -march=native\ -fdiagnostics-color=always\ -fno-plt\ -fexceptions\ -Wformat\ -f
stack-clash-protection\ -fcf-protection\ -Wimplicit-function-declaration\ -Wno-error=implicit-function-declaration --ldflags \ -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/private
\ -ledbus-private\ -Wl,--no-undefined\ -Wl,-O1\ -Wl,--as-needed\ -Wl,--sort-common\ -Wl,--export-dynamic\ -lgmodule-2.0\ -pthread\ -lsecret-1\ -lxml2\ -lsoup-2.4\ -lgio-2.0\ -lgobject-2.0\ -lglib-2.0\ -lssl3\ -lsmime3\ -lnss3\ -lnssutil3\
 -lplds4\ -lplc4\ -lnspr4\ -L/usr/lib64 && /usr/bin/gtkdoc-mkdb --module=libedbus-private --name-space=e-dbus --main-sgml-file="/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/referen
ce/private/libedbus-private-docs.sgml" --sgml-mode --output-format=xml --source-dir="/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/private" && /usr/bin/cmake -E make_directory /var/t
mp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/reference/private/html && /usr/bin/cmake -E chdir /var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4
_build/docs/reference/private/html /usr/bin/gtkdoc-mkhtml --path=.. libedbus-private ../libedbus-private-docs.sgml && /usr/bin/gtkdoc-fixxref --module=libedbus-private --module-dir=html --extra-dir=.. --html-dir="/usr/share/gtk-doc/html/l
ibedbus-private"                                                                                                                                                                                                                              
FAILED: docs/reference/private/html/index.html                                                                                                                                                                                                
cd /var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/reference/private && /usr/bin/gtkdoc-scan --module=libedbus-private --deprecated-guards="EDS_DISABLE_DEPRECATED" --ignore-headers="e
-dbus-localed.h" --rebuild-sections --rebuild-types --source-dir="/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/private" && /usr/bin/cmake -E chdir /var/tmp/portage/gnome-extra/evolu
tion-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/reference/private /usr/bin/cmake -E env LD_LIBRARY_PATH=":/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/private:/
usr/lib64:" /usr/bin/gtkdoc-scangobj --module=libedbus-private --cflags \ -pthread\ -I/usr/include/libsecret-1\ -I/usr/include/gio-unix-2.0\ -I/usr/include/libsoup-2.4\ -I/usr/include/libxml2\ -I/usr/include/libmount\ -I/usr/include/blkid
\ -I/usr/lib64/libffi/include\ -I/usr/include/glib-2.0\ -I/usr/lib64/glib-2.0/include\ -I/usr/include/sysprof-4\ -I/usr/include/nss\ -I/usr/include/nspr\ -I/usr/include\ -Wnested-externs\ -Wno-unused-parameter\ -Wno-sign-compare\ -Wno-mis
sing-field-initializers\ -Wdeclaration-after-statement\ -Werror-implicit-function-declaration\ -Wno-deprecated-declarations\ -fno-strict-aliasing\ -Wno-cast-function-type\ -Wwrite-strings\ -Wundef\ -Wredundant-decls\ -Wpointer-arith\ -Wmi
ssing-noreturn\ -Wmissing-declarations\ -Winit-self\ -Wformat-security\ -Wformat\ -Os\ -pipe\ -march=native\ -fdiagnostics-color=always\ -Os\ -pipe\ -march=native\ -fdiagnostics-color=always\ -fno-plt\ -fexceptions\ -Wformat\ -fstack-clas
h-protection\ -fcf-protection\ -Wimplicit-function-declaration\ -Wno-error=implicit-function-declaration --ldflags \ -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/private\ -ledbus-
private\ -Wl,--no-undefined\ -Wl,-O1\ -Wl,--as-needed\ -Wl,--sort-common\ -Wl,--export-dynamic\ -lgmodule-2.0\ -pthread\ -lsecret-1\ -lxml2\ -lsoup-2.4\ -lgio-2.0\ -lgobject-2.0\ -lglib-2.0\ -lssl3\ -lsmime3\ -lnss3\ -lnssutil3\ -lplds4\ 
-lplc4\ -lnspr4\ -L/usr/lib64 && /usr/bin/gtkdoc-mkdb --module=libedbus-private --name-space=e-dbus --main-sgml-file="/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/reference/private
/libedbus-private-docs.sgml" --sgml-mode --output-format=xml --source-dir="/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/private" && /usr/bin/cmake -E make_directory /var/tmp/portage
/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/docs/reference/private/html && /usr/bin/cmake -E chdir /var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/doc
s/reference/private/html /usr/bin/gtkdoc-mkhtml --path=.. libedbus-private ../libedbus-private-docs.sgml && /usr/bin/gtkdoc-fixxref --module=libedbus-private --module-dir=html --extra-dir=.. --html-dir="/usr/share/gtk-doc/html/libedbus-pr
ivate"                                                                                                                                                                                                                                        
ld: unrecognized option '-Wl,--no-undefined'                                                                                                                                                                                                  
ld: use the --help option for usage information                                                                                                                                                                                               
2021-04-03 23:54:26,120:scangobj.py:execute_command:1289:WARNING:Linking scanner failed: 1, command: ld libedbus-private-scan.o -L/var/tmp/portage/gnome-extra/evolution-data-server-3.38.4/work/evolution-data-server-3.38.4_build/src/privat
e -ledbus-private -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--export-dynamic -lgmodule-2.0 -pthread -lsecret-1 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -l
nspr4 -L/usr/lib64 -o libedbus-private-scan
Comment 4 Ionen Wolkens gentoo-dev 2021-04-04 05:43:17 UTC
This is because you're setting LD again, by default it uses LD=gcc (and you'd pick linker with -fuse-ld=...) rather than LD=ld.lld or LD=ld.

I assume you used the latter to revert from your usual lld. When testing default tools I'd suggest to unset variables rather LD=ld, LIBTOOL=libtool, {CONFIG_,}SHELL=/bin/bash, etc...
Comment 5 Matt Turner gentoo-dev 2021-04-18 12:15:29 UTC
I think this is invalid per comment #4.