112 | for (fgets(line, sizeof(line), stdin); !feof(stdin); fgets(line, sizeof(line), stdin)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lcd4linux.c:112:58: warning: ignoring return value of fgets declared with attribute warn_unused_result [-Wunused-result] 112 | for (fgets(line, sizeof(line), stdin); !feof(stdin); fgets(line, sizeof(line), stdin)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -D_GNU_SOURCE -Wall -Wextra -fno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -c -o property.o property.c evaluator.c:221:7: error: expected declaration specifiers or ... before string constant 221 | char *strndup(const char *source, size_t len) | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_gnome_abi32+64-20240615-020503 UNMASKED: ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 >=sys-libs/ncurses-6.5 Issues involving opaque types / incomplete typedefs should block bug 930805 ~dev-lang/perl-5.40.0 ~virtual/perl-Archive-Tar-3.20.10_rc ~virtual/perl-CPAN-Meta-Requirements-2.143.0 ~virtual/perl-Compress-Raw-Bzip2-2.212.0 ~virtual/perl-DB_File-1.859.0 ~virtual/perl-Data-Dumper-2.189.0 ~virtual/perl-Devel-PPPort-3.720.0 ~virtual/perl-Exporter-5.780.0 ~virtual/perl-ExtUtils-CBuilder-0.280.240 ~virtual/perl-ExtUtils-Manifest-1.750.0 ~virtual/perl-File-Spec-3.900.0 ~virtual/perl-HTTP-Tiny-0.88.0 ~virtual/perl-IO-1.550.0 ~virtual/perl-IO-Compress-2.212.0 ~virtual/perl-IO-Socket-IP-0.420.0 ~virtual/perl-IO-Zlib-1.150.0 ~virtual/perl-Math-BigInt-2.3.2 ~virtual/perl-Math-BigInt-FastCalc-0.501.800 ~virtual/perl-Math-BigRat-2.3.2 ~virtual/perl-Module-CoreList-5.202.406.90 ~virtual/perl-Module-Metadata-1.0.38 ~virtual/perl-Pod-Simple-3.450.0 ~virtual/perl-Safe-2.460.0 ~virtual/perl-Socket-2.38.0 ~virtual/perl-Test-Harness-3.480.0 ~virtual/perl-Test-Simple-1.302.199 ~virtual/perl-Text-Tabs+Wrap-2024.1.0 ~virtual/perl-Time-HiRes-1.977.700 ~virtual/perl-Time-Local-1.350.0 ~virtual/perl-autodie-2.370.0 ~virtual/perl-bignum-0.670.0 ~virtual/perl-podlators-5.10.200_rc ~virtual/perl-threads-2.400.0 ~virtual/perl-threads-shared-1.690.0 ~virtual/perl-version-0.993.0 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.7 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.7 Python 3.12.4 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.78.0 [2] rust-1.78.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.4 linux/amd64 HEAD of ::gentoo commit 8a73232f2111f1cf05b12b4e087afdd7f16d5f89 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jun 19 04:49:39 2024 +0000 2024-06-19 04:49:38 UTC emerge -qpvO app-misc/lcd4linux [ebuild N ] app-misc/lcd4linux-0.11.0_pre20170527-r8 USE="dbus diskstats dmalloc event exec fifo hddtemp huawei iconv kvv outb raspi -apm -asterisk -button-exec -cpuinfo -dvb -file -gps -i2c-sensors -isdn -loadavg -meminfo -mpd -mpris-dbus -mysql -netdev -netinfo -pop3 -proc-stat -python -qnaplog -sample -statfs -uname -uptime -w1retap -wireless" LCD_DEVICES="hd44780 -astusb -beckmannegle -bwct -crystalfontz -curses -cwlinux -d4d -dpf -ea232graphic -efn -futabavfd -fw8888 -g15 -glcd2usb -hd44780-i2c -irlcd -lcd2usb -lcdterm -ledmatrix -lph7508 -luise -lw_abp -m50530 -matrixorbital -matrixorbitalgx -mdm166a -milfordinstruments -newhaven -noritake -null -pertelian -phanderson -picgraphic -picolcd -picolcdgraphic -png -ppm -routerboard -sample -samsungspf -serdisplib -shuttlevfd -simplelcd -t6963 -teaklcm -trefon -ula200 -usbhub -usblcd -vnc -wincornixdorf -x11" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Created attachment 896066 [details] emerge-info.txt
Created attachment 896067 [details] app-misc:lcd4linux-0.11.0_pre20170527-r8:20240619-062804.log
Created attachment 896068 [details] emerge-history.txt
Created attachment 896069 [details] environment
Created attachment 896070 [details] etc.clang.tar.xz
Created attachment 896071 [details] etc.portage.tar.xz
Created attachment 896072 [details] logs.tar.xz
Created attachment 896073 [details] qlist-info.txt.xz
Created attachment 896074 [details] temp.tar.xz
@sam: Could you help me here?
Of course - I'll take a look.
> checking for strndup... no But we do have strndup. In toralf's config.log: ``` configure:20464: checking for strndup configure:20464: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -g conftest.c -lm -ldmalloc >&5 conftest.c:114:6: warning: conflicting types for built-in function 'strndup'; expected 'char *(const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 114 | char strndup (void); | ^~~~~~~ /usr/libexec/gcc/x86_64-pc-linux-gnu/ld: conftest: hidden symbol `atexit' in /usr/lib64/libc_nonshared.a(atexit.oS) is referenced by DSO /usr/libexec/gcc/x86_64-pc-linux-gnu/ld: final link failed: bad value collect2: error: ld returned 1 exit status configure:20464: $? = 1 configure: failed program was: | /* confdefs.h */ ``` !!! Ah, wait, it's from dmalloc shenanigans, I think. Honestly, just mask USE=dmalloc. The ebuild requires tonnes of patches to make it work and it's clearly broken and breaking other packages (like this).
(In reply to Sam James from comment #12) > Ah, wait, it's from dmalloc shenanigans, I think. Honestly, just mask > USE=dmalloc. The ebuild requires tonnes of patches to make it work and it's > clearly broken and breaking other packages (like this). Thank you. Any objections even just to drop it? I don't think, that it's worth keeping it even masked.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c078e3d548eaf5175fdcacbbda9002560c476e4f commit c078e3d548eaf5175fdcacbbda9002560c476e4f Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-07-19 23:59:33 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-07-20 00:00:36 +0000 app-misc/lcd4linux: drop dmalloc Completly broken and not needed anyway.. Closes: https://bugs.gentoo.org/934534 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> ...0_pre20170527-r8.ebuild => lcd4linux-0.11.0_pre20170527-r9.ebuild} | 4 +--- app-misc/lcd4linux/metadata.xml | 1 - 2 files changed, 1 insertion(+), 4 deletions(-)