Compilation of this library fails Build fails on this relevant lines: armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -Wl,-O1 -Wl,--as-needed -o pigpiod pigpiod.o -L. -lpigpio -pthread -lrt /usr/lib/gcc/armv6j-unknown-linux-gnueabihf/9.3.0/../../../../armv6j-unknown-linux-gnueabihf/bin/ld: cannot find -lpigpio Full output: >>> Emerging (1 of 3) dev-libs/pigpio-77::gentoo * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * pigpio-77.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pigpio-77.tar.gz to /var/tmp/portage/dev-libs/pigpio-77/work >>> Source unpacked in /var/tmp/portage/dev-libs/pigpio-77/work >>> Preparing source in /var/tmp/portage/dev-libs/pigpio-77/work/pigpio-77 ... * Applying pigpio-70-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/pigpio-77/work/pigpio-77 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/pigpio-77/work/pigpio-77 ... make -j1 CC=armv6j-unknown-linux-gnueabihf-gcc STRIP=: STRIPLIB=: SIZE=: armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -fpic -c -o pigpio.o pigpio.c armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -fpic -c -o command.o command.c armv6j-unknown-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,libpigpio.so.1 -o libpigpio.so.1.0 pigpio.o command.o armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -fpic -c -o pigpiod_if.o pigpiod_if.c armv6j-unknown-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,libpigpiod_if.so.1 -o libpigpiod_if.so.1.0 pigpiod_if.o command.o armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -fpic -c -o pigpiod_if2.o pigpiod_if2.c armv6j-unknown-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,libpigpiod_if.so.1 -o libpigpiod_if2.so.1.0 pigpiod_if2.o command.o armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -c -o pig2vcd.o pig2vcd.c armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -Wl,-O1 -Wl,--as-needed -o pig2vcd pig2vcd.o armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -c -o pigpiod.o pigpiod.c armv6j-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -O3 -Wall -pthread -Wl,-O1 -Wl,--as-needed -o pigpiod pigpiod.o -L. -lpigpio -pthread -lrt /usr/lib/gcc/armv6j-unknown-linux-gnueabihf/9.3.0/../../../../armv6j-unknown-linux-gnueabihf/bin/ld: cannot find -lpigpio collect2: error: ld returned 1 exit status make: *** [Makefile:73: pigpiod] Error 1 * ERROR: dev-libs/pigpio-77::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/pigpio-77::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/pigpio-77::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-libs/pigpio-77/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/pigpio-77/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/pigpio-77/work/pigpio-77' * S: '/var/tmp/portage/dev-libs/pigpio-77/work/pigpio-77'
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * attach the logs and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.