Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 897831 Details for
Bug 936172
x11-libs/motif: fails to build with Clang: ld.lld: error: undefined symbol: main
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
file_936172.txt (text/plain), 21.65 KB, created by
Sam James
on 2024-07-17 03:36:33 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Sam James
Created:
2024-07-17 03:36:33 UTC
Size:
21.65 KB
patch
obsolete
> * Package: x11-libs/motif-2.3.8-r5:0 > * Repository: gentoo > * Maintainer: ulm@gentoo.org > * Upstream: http://bugs.motifzone.net/ > * USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux motif22-compatibility png unicode xft > * FEATURES: ccache compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > > * Package: x11-libs/motif-2.3.8-r5:0 > * Repository: gentoo > * Maintainer: ulm@gentoo.org > * Upstream: http://bugs.motifzone.net/ > * USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux motif22-compatibility png unicode xft > * FEATURES: ccache compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking motif-2.3.8.tar.gz to /var/tmp/portage/x11-libs/motif-2.3.8-r5/work >>>> Unpacking motif-2.3.8-patches-5.tar.xz to /var/tmp/portage/x11-libs/motif-2.3.8-r5/work >>>> Source unpacked in /var/tmp/portage/x11-libs/motif-2.3.8-r5/work >>>> Preparing source in /var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8 ... > * Applying patches from ../patch ... > * 01_all_solaris.patch ... > [ ok ] > * 02_all_sanitise-paths.patch ... > [ ok ] > * 03_all_solaris-11.patch ... > [ ok ] > * 04_all_parallel-make.patch ... > [ ok ] > * 05_all_install-dirs.patch ... > [ ok ] > * 06_all_cflags.patch ... > [ ok ] > * 07_all_no-demos.patch ... > [ ok ] > * 08_all_xmbind-xorg.patch ... > [ ok ] > * 09_all_slibtool.patch ... > [ ok ] > * 10_all_string_h.patch ... > [ ok ] > * 11_all_acinclude.patch ... > [ ok ] > * 12_all_noreturn.patch ... > [ ok ] > * 13_all_xpm-comments.patch ... > [ ok ] > * 14_all_xpm-width-0.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I . -I . --system-acdir=/var/tmp/portage/x11-libs/motif-2.3.8-r5/temp/aclocal' ... > [ ok ] > * Running 'autoconf -I . --force' ... > [ ok ] > * Running 'autoheader -I .' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: motif-2.3.8/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying verbose-pic/2.4.7 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8 ... > * abi_x86_64.amd64: running multilib-minimal_abi_src_configure > * econf: updating motif-2.3.8/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating motif-2.3.8/config.sub with /usr/share/gnuconfig/config.sub >/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/motif-2.3.8-r5 --htmldir=/usr/share/doc/motif-2.3.8-r5/html --with-sysroot=/ --libdir=/usr/lib64 --with-x --disable-printing --disable-static --enable-motif22-compatibility --enable-utf8 --enable-xft --enable-jpeg --enable-png >configure: loading site script /usr/share/config.site >configure: loading site script /usr/share/config.site.d/80crossdev.conf >checking for /usr/X/include/X11/X.h... no >checking for /usr/X11R6/include/X11/X.h... no >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python3.13/ebuild-helpers/xattr/install -c >checking whether sleep supports fractional seconds... yes >checking filesystem timestamp resolution... 0.01 >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking xargs -n works... yes >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >checking how to run the C preprocessor... clang -E >checking how to print strings... printf >checking for a sed that does not truncate output... /usr/bin/sed >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for fgrep... /usr/bin/grep -F >checking for ld used by clang... /usr/lib/llvm/18/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/lib/llvm/18/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/lib/llvm/18/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for file... : >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok >checking for sysroot... / >checking for a working dd... /usr/bin/dd >checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/time.h... yes >checking for vfork.h... no >checking for dlfcn.h... yes >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (/usr/lib/llvm/18/bin/x86_64-pc-linux-gnu-ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for byacc... byacc >checking for splint... no >checking for flex... reflex >checking for lex output file root... lex.yy >checking for lex library... none needed >checking for library containing yywrap... no >checking whether yytext is a pointer... yes >checking whether ln -s works... yes >checking whether make sets $(MAKE)... (cached) yes >checking for X... libraries , headers >checking for gethostbyname... yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking whether libXt was compiled with -DXTHREADS... yes >checking for X11/Xos_r.h... yes >checking for X11/Xpoll.h... yes >checking for X11/Xmu/Editres.h... yes >checking for _XEditResCheckMessages in -lXmu... yes >checking for XmuNCopyISOLatin1Lowered in -lXmu... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for egrep... (cached) /usr/bin/grep -E >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for fcntl.h... yes >checking for limits.h... yes >checking for malloc.h... yes >checking for sys/malloc.h... no >checking for strings.h... (cached) yes >checking for sys/file.h... yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for wchar.h... yes >checking for wctype.h... yes >checking for langinfo.h... yes >checking for X11/Xos_r.h... (cached) yes >checking for X11/Xpoll.h... (cached) yes >checking for an ANSI C-conforming const... yes >checking for mode_t... yes >checking for off_t... yes >checking for pid_t... yes >checking for size_t... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for uid_t... yes >checking for gid_t... yes >checking whether weak aliases are supported... yes >checking for working alloca.h... yes >checking for alloca... yes >checking for working memcmp... yes >checking whether setpgrp requires zero arguments... yes >checking return type of signal handlers... void >checking for working strcoll... yes >checking for strftime... yes >checking for fork... yes >checking for vfork... yes >checking for vprintf... yes >checking for working fork... yes >checking for working vfork... (cached) yes >checking whether sprintf returns void... yes >checking for wcslen... yes >checking for wcscpy... yes >checking for wcsncpy... yes >checking for wcschr... yes >checking for wcscat... yes >checking for wcsncat... yes >checking for getcwd... yes >checking for gettimeofday... yes >checking for mkdir... yes >checking for re_comp... yes >checking for regcmp... no >checking for select... yes >checking for strcspn... yes >checking for strerror... yes >checking for strstr... yes >checking for strtod... yes >checking for strtol... yes >checking for uname... yes >checking for strdup... yes >checking for strcasecmp... yes >checking for putenv... yes >checking for regcomp... yes >checking for memmove... yes >checking for XICProc... yes >checking for library containing iconv_open... none required >checking for freetype-config... no >checking for freetype/freetype.h... no >checking for X11/extensions/Xrender.h... no >checking for fontconfig-config... no >checking for fontconfig/fontconfig.h... yes >checking for FcInit... yes >checking for jpeglib.h... yes >checking for jpeg_start_decompress... yes >checking for png.h... yes >checking for png_create_read_struct... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating bindings/Makefile >config.status: creating bitmaps/Makefile >config.status: creating clients/Makefile >config.status: creating clients/mwm/Makefile >config.status: creating clients/mwm/WmWsmLib/Makefile >config.status: creating clients/uil/Makefile >config.status: creating clients/xmbind/Makefile >config.status: creating config/Makefile >config.status: creating config/util/Makefile >config.status: creating include/Makefile >config.status: creating include/Dt/Makefile >config.status: creating lib/Makefile >config.status: creating lib/Xm/Makefile >config.status: creating lib/Mrm/Makefile >config.status: creating localized/Makefile >config.status: creating localized/util/Makefile >config.status: creating doc/Makefile >config.status: creating doc/man/Makefile >config.status: creating doc/man/man1/Makefile >config.status: creating doc/man/man3/Makefile >config.status: creating doc/man/man4/Makefile >config.status: creating doc/man/man5/Makefile >config.status: creating tools/Makefile >config.status: creating tools/wml/Makefile >config.status: creating demos/Makefile >config.status: creating demos/lib/Makefile >config.status: creating demos/lib/Xmd/Makefile >config.status: creating demos/lib/Wsm/Makefile >config.status: creating demos/lib/Exm/Makefile >config.status: creating demos/lib/Exm/wml/Makefile >config.status: creating demos/programs/Makefile >config.status: creating demos/programs/Exm/Makefile >config.status: creating demos/programs/Exm/app_in_c/Makefile >config.status: creating demos/programs/Exm/app_in_uil/Makefile >config.status: creating demos/programs/Exm/simple_app/Makefile >config.status: creating demos/programs/airport/Makefile >config.status: creating demos/programs/animate/Makefile >config.status: creating demos/programs/drag_and_drop/Makefile >config.status: creating demos/programs/draw/Makefile >config.status: creating demos/programs/earth/Makefile >config.status: creating demos/programs/filemanager/Makefile >config.status: creating demos/programs/fileview/Makefile >config.status: creating demos/programs/getsubres/Makefile >config.status: creating demos/programs/hellomotif/Makefile >config.status: creating demos/programs/hellomotifi18n/Makefile >config.status: creating demos/programs/hellomotifi18n/C/Makefile >config.status: creating demos/programs/hellomotifi18n/C/uid/Makefile >config.status: creating demos/programs/hellomotifi18n/english/Makefile >config.status: creating demos/programs/hellomotifi18n/english/uid/Makefile >config.status: creating demos/programs/hellomotifi18n/french/Makefile >config.status: creating demos/programs/hellomotifi18n/french/uid/Makefile >config.status: creating demos/programs/hellomotifi18n/hebrew/Makefile >config.status: creating demos/programs/hellomotifi18n/hebrew/uid/Makefile >config.status: creating demos/programs/hellomotifi18n/japan/Makefile >config.status: creating demos/programs/hellomotifi18n/japan/uid/Makefile >config.status: creating demos/programs/hellomotifi18n/japanese/Makefile >config.status: creating demos/programs/hellomotifi18n/japanese/uid/Makefile >config.status: creating demos/programs/hellomotifi18n/swedish/Makefile >config.status: creating demos/programs/hellomotifi18n/swedish/uid/Makefile >config.status: creating demos/programs/i18ninput/Makefile >config.status: creating demos/programs/panner/Makefile >config.status: creating demos/programs/periodic/Makefile >config.status: creating demos/programs/piano/Makefile >config.status: creating demos/programs/popups/Makefile >config.status: creating demos/programs/sampler2_0/Makefile >config.status: creating demos/programs/setdate/Makefile >config.status: creating demos/programs/todo/Makefile >config.status: creating demos/programs/workspace/Makefile >config.status: creating demos/programs/tooltips/Makefile >config.status: creating demos/programs/FontSel/Makefile >config.status: creating demos/programs/ButtonBox/Makefile >config.status: creating demos/programs/ColorSel/Makefile >config.status: creating demos/programs/Column/Makefile >config.status: creating demos/programs/Combo2/Makefile >config.status: creating demos/programs/Ext18List/Makefile >config.status: creating demos/programs/Ext18List/pixmaps/Makefile >config.status: creating demos/programs/IconB/Makefile >config.status: creating demos/programs/Outline/Makefile >config.status: creating demos/programs/Paned/Makefile >config.status: creating demos/programs/TabStack/Makefile >config.status: creating demos/programs/Tree/Makefile >config.status: creating demos/programs/pixmaps/Makefile >config.status: creating demos/unsupported/Makefile >config.status: creating demos/unsupported/Exm/Makefile >config.status: creating demos/unsupported/aicon/Makefile >config.status: creating demos/unsupported/dainput/Makefile >config.status: creating demos/unsupported/dogs/Makefile >config.status: creating demos/unsupported/hellomotif/Makefile >config.status: creating demos/unsupported/motifshell/Makefile >config.status: creating demos/unsupported/uilsymdump/Makefile >config.status: creating demos/unsupported/xmapdef/Makefile >config.status: creating demos/unsupported/xmfonts/Makefile >config.status: creating demos/unsupported/xmforc/Makefile >config.status: creating demos/unsupported/xmform/Makefile >config.status: creating demos/doc/Makefile >config.status: creating demos/doc/programGuide/Makefile >config.status: creating demos/doc/programGuide/ch05/Makefile >config.status: creating demos/doc/programGuide/ch05/Scale/Makefile >config.status: creating demos/doc/programGuide/ch06/Makefile >config.status: creating demos/doc/programGuide/ch06/spin_box/Makefile >config.status: creating demos/doc/programGuide/ch06/combo_box/Makefile >config.status: creating demos/doc/programGuide/ch08/Makefile >config.status: creating demos/doc/programGuide/ch08/Notebook/Makefile >config.status: creating demos/doc/programGuide/ch08/Container/Makefile >config.status: creating demos/doc/programGuide/ch16/Makefile >config.status: creating demos/doc/programGuide/ch17/Makefile >config.status: creating demos/doc/programGuide/ch17/simple_drop/Makefile >config.status: creating demos/doc/programGuide/ch17/simple_drag/Makefile >config.status: creating lib/Xm/xmstring.list >config.status: creating include/config.h >config.status: creating lib/Xm/Xm.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8 ... > * abi_x86_64.amd64: running multilib-minimal_abi_src_compile >make -j32 -l32 -C tools/wml CC=clang LIBS=-lfl wmluiltok >make: Entering directory '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8-abi_x86_64.amd64/tools/wml' >/bin/sh /var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/ylwrap /var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/tools/wml/wmluiltok.l lex.yy.c wmluiltok.c -- reflex >make: Leaving directory '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8-abi_x86_64.amd64/tools/wml' >make: Entering directory '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8-abi_x86_64.amd64/tools/wml' >clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/tools/wml/../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/tools/wml/../../include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o wmluiltok.o wmluiltok.c >/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/tools/wml/wmluiltok.l:106:17: warning: passing arguments to 'add_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] > 106 | add_token (&temp); > | ^ >/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/tools/wml/wmluiltok.l:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] > 175 | add_token (t) /* keep sorted by name */ > | ^ >/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8/tools/wml/wmluiltok.l:84:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 84 | void add_token (); > | ^ >3 warnings generated. >make: Leaving directory '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8-abi_x86_64.amd64/tools/wml' >make: Entering directory '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8-abi_x86_64.amd64/tools/wml' >/bin/sh ../../libtool --tag=CC --mode=link clang -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wl,-O1 -o wmluiltok wmluiltok.o -lfl >libtool: link: clang -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wl,-O1 -o wmluiltok wmluiltok.o -lfl >ld.lld: error: undefined symbol: main >>>> referenced by /usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../lib64/Scrt1.o:(_start) >clang: error: linker command failed with exit code 1 (use -v to see invocation) >make: *** [Makefile:498: wmluiltok] Error 1 >make: Leaving directory '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8-abi_x86_64.amd64/tools/wml' > * ERROR: x11-libs/motif-2.3.8-r5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-libs/motif-2.3.8-r5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-libs/motif-2.3.8-r5::gentoo'`. > * The complete build log is located at '/var/log/portage/build/x11-libs/motif-2.3.8-r5:20240717-033441.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/motif-2.3.8-r5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-libs/motif-2.3.8-r5/temp/environment'. > * Working directory: '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8-abi_x86_64.amd64' > * S: '/var/tmp/portage/x11-libs/motif-2.3.8-r5/work/motif-2.3.8'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 936172
: 897831