* Package: x11-plugins/asmem-1.12-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking asmem-1.12.tar.gz to /var/tmp/portage/x11-plugins/asmem-1.12-r2/work >>> Source unpacked in /var/tmp/portage/x11-plugins/asmem-1.12-r2/work >>> Preparing source in /var/tmp/portage/x11-plugins/asmem-1.12-r2/work/asmem-1.12 ... * Applying respect-ldflags.patch ... [ ok ] * Applying configure-implicit-func-decls.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/asmem-1.12-r2/work/asmem-1.12 ... ./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 --libdir=/usr/lib64 --disable-jpeg creating cache ./config.cache checking for gcc... clang checking whether the C compiler (clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether clang accepts -g... yes checking for a BSD compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking for ranlib... ranlib checking for rm... /bin/rm checking for mv... /bin/mv checking for cp... /bin/cp checking for mkdir... /bin/mkdir checking for strip... /usr/bin/strip checking how to run the C preprocessor... clang -E checking for X... libraries /usr/lib64, headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for sys/wait.h... yes checking for sys/time.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for ustat.h... no checking for machine/soundcard.h... no checking for linux/soundcard.h... yes checking for linux/radio.h... no checking for uvm/uvm_extern.h... no checking for kvm.h... no checking for sys/vmmeter.h... no checking for XOpenDisplay in -lX11... yes checking for libXpm... no checking for XShapeCombineMask in -lXext... yes checking for kvm_open in -lkvm... no checking for kvm_open in -lkvm... (cached) no updating cache ./config.cache creating ./config.status creating autoconf/Makefile.defines creating autoconf/Makefile.common creating autoconf/Makefile.common.lib creating Makefile creating config.h AfterStep applet asmem-1.12 is now hopefully configured, just run : make ; make install >>> Source configured. '/var/tmp/portage/x11-plugins/asmem-1.12-r2/temp/clang14.log' -> '/var/tmp/clang/x11-plugins/asmem-1.12-r2/clang14.log' '/var/tmp/portage/x11-plugins/asmem-1.12-r2/temp/clang15.log' -> '/var/tmp/clang/x11-plugins/asmem-1.12-r2/clang15.log' >>> Compiling source in /var/tmp/portage/x11-plugins/asmem-1.12-r2/work/asmem-1.12 ... make -j4 CC=clang 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c asmem.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c asmem_x.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c read_mem.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c x_color.c asmem_x.c:442:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if ( abs(cur_time - last_time) >= state.update_interval ) { ^ asmem_x.c:442:7: note: use function 'labs' instead if ( abs(cur_time - last_time) >= state.update_interval ) { ^~~ labs asmem_x.c:572:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &SizeHints.width, ^~~~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:2871:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ asmem_x.c:573:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &SizeHints.height ^~~~~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:2873:1: note: passing argument to parameter here ); ^ 3 warnings generated. clang asmem.o asmem_x.o read_mem.o x_color.o safecopy.c -L/usr/lib64 -lX11 -lSM -lICE -lXext -o asmem -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 /usr/bin/x86_64-pc-linux-gnu-ld: asmem_x.o: in function `asmem_initialize': asmem_x.c:(.text+0x147e): undefined reference to `XpmCreatePixmapFromData' /usr/bin/x86_64-pc-linux-gnu-ld: asmem_x.c:(.text+0x158e): undefined reference to `XpmCreatePixmapFromData' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:99: asmem] Error 1 * ERROR: x11-plugins/asmem-1.12-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/asmem-1.12-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/asmem-1.12-r2::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:asmem-1.12-r2:20220918-102946.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/asmem-1.12-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/asmem-1.12-r2/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/asmem-1.12-r2/work/asmem-1.12' * S: '/var/tmp/portage/x11-plugins/asmem-1.12-r2/work/asmem-1.12'