Bug#1060402: liblinux-termios2-perl: FTBFS on ppc64el: OS unsupported - no struct termios2
On Wed, 10 Jan 2024 20:37:37 +0200, Niko Tyni writes: >> This package has never built on riscv64. >Sorry, s/riscv64/ppc64el/ here. > ... >> test-8985-0.c:4:19: error: storage size of ‘t’ isn’t known >>4 | struct termios2 t; >> | ^ >>OS unsupported - no struct termios2 i no idea what is going wrong there. the TCGETS2 syscall (with the associated termios2 structure) was added to the linux kernel many ages ago (in 2.6.20 apparently), and i cannot find any indications anywhere that this isn't supported on all architectures. it's certainly part of the termbits.h and ioctls.h of the linux-libc-dev:ppc64el package... for now i'll tag this package with the archs that seem to work - but a better explanation for the gotcha would be welcome. regards az -- Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + https://snafu.priv.at/ Application has reported a "Not My Fault" in module KRNL.EXE in line 0200:103F signature.asc Description: Digital Signature
Bug#1060402: liblinux-termios2-perl: FTBFS on ppc64el: OS unsupported - no struct termios2
On Wed, Jan 10, 2024 at 08:30:21PM +0200, Niko Tyni wrote: > Source: liblinux-termios2-perl > Version: 0.01-2 > Severity: important > Tags: ftbfs > User: debian-ri...@lists.debian.org > Usertags: riscv64 > > This package has never built on riscv64. Sorry, s/riscv64/ppc64el/ here. > perl Build.PL --installdirs vendor --config "optimize=-g -O2 > -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config > "ld=powerpc64le-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" >test-8985-0.c: In function ‘main’: >test-8985-0.c:4:19: error: storage size of ‘t’ isn’t known >4 | struct termios2 t; > | ^ >OS unsupported - no struct termios2 -- Niko
Bug#1060402: liblinux-termios2-perl: FTBFS on ppc64el: OS unsupported - no struct termios2
Source: liblinux-termios2-perl Version: 0.01-2 Severity: important Tags: ftbfs User: debian-ri...@lists.debian.org Usertags: riscv64 This package has never built on riscv64. Latest build log is at https://buildd.debian.org/status/fetch.php?pkg=liblinux-termios2-perl&arch=ppc64el&ver=0.01-2&stamp=1600683841&raw=0 dh_auto_configure -a perl Build.PL --installdirs vendor --config "optimize=-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=powerpc64le-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" test-8985-0.c: In function ‘main’: test-8985-0.c:4:19: error: storage size of ‘t’ isn’t known 4 | struct termios2 t; | ^ OS unsupported - no struct termios2 dh_auto_configure: error: perl Build.PL --installdirs vendor --config "optimize=-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=powerpc64le-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" returned exit code 25 make: *** [debian/rules:4: build-arch] Error 25 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -- Niko Tyni nt...@debian.org