debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07294
[Bug 2124237] [NEW] FTBFS cpio 2.15+dfsg-2 questing
Public bug reported:
Currently cpio FTBFS with gcc-15 in questing archive rebuild on every arch:
https://launchpad.net/ubuntu/+archive/test-rebuild-20250910-questing/+packages?field.name_filter=cpio&field.status_filter=published&field.series_filter=
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
Making all in rmt
make[3]: Entering directory '/<<PKGBUILDDIR>>/rmt'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gnu -I../ -I../gnu -I../lib -I../paxlib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o rmt.o rmt.c
gcc -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -o rmt rmt.o ../gnu/libgnu.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/rmt'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copyin.o copyin.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copyout.o copyout.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copypass.o copypass.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o defer.o defer.c
copypass.c: In function ‘process_copy_pass’:
copypass.c:104:12: error: too many arguments to function ‘xstat’; expected 0, have 2
104 | if ((*xstat) (input_name.ds_string, &in_file_stat) < 0)
| ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
copyout.c: In function ‘process_copy_out’:
copyout.c:647:12: error: too many arguments to function ‘xstat’; expected 0, have 2
647 | if ((*xstat) (input_name.ds_string, &file_stat) < 0)
| ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1866: copypass.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1866: copyout.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:1827: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1767: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage.pl: error: debian/rules binary subprocess returned exit status 2
SUMMARY: host: lcy02-amd64-001; CPUs: 4/4; CPU avg: 27%; CPU max: 100%; base memory: 0.3 GB; peak memory: 0.6 GB; total memory: 15.6 GB
SUMMARY: swap peak/total: 0.0/4.0 GB; disk start/end/total: 4.7/4.7/76.4 GB; disk delta: 0.0 GB
This issue is due to gcc-15's strict type checking. For a workaround,
adding -std=gnu17 as an extra CFLAG in d/rules should solve this issue
I have uploaded the package with the changes in this ppa for testing:
https://launchpad.net/~0xnishit/+archive/ubuntu/devel-packages-ppa
** Affects: cpio (Ubuntu)
Importance: Undecided
Status: New
** Affects: cpio (Ubuntu Questing)
Importance: Undecided
Status: New
** Also affects: cpio (Ubuntu Questing)
Importance: Undecided
Status: New
** Description changed:
Currently cpio FTBFS with gcc-15 in questing archive rebuild on every arch:
https://launchpad.net/ubuntu/+archive/test-rebuild-20250910-questing/+packages?field.name_filter=cpio&field.status_filter=published&field.series_filter=
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
Making all in rmt
make[3]: Entering directory '/<<PKGBUILDDIR>>/rmt'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gnu -I../ -I../gnu -I../lib -I../paxlib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o rmt.o rmt.c
- gcc -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -o rmt rmt.o ../gnu/libgnu.a
+ gcc -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -o rmt rmt.o ../gnu/libgnu.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/rmt'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copyin.o copyin.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copyout.o copyout.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copypass.o copypass.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o defer.o defer.c
copypass.c: In function ‘process_copy_pass’:
copypass.c:104:12: error: too many arguments to function ‘xstat’; expected 0, have 2
- 104 | if ((*xstat) (input_name.ds_string, &in_file_stat) < 0)
- | ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
+ 104 | if ((*xstat) (input_name.ds_string, &in_file_stat) < 0)
+ | ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
copyout.c: In function ‘process_copy_out’:
copyout.c:647:12: error: too many arguments to function ‘xstat’; expected 0, have 2
- 647 | if ((*xstat) (input_name.ds_string, &file_stat) < 0)
- | ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
+ 647 | if ((*xstat) (input_name.ds_string, &file_stat) < 0)
+ | ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1866: copypass.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1866: copyout.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:1827: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1767: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage.pl: error: debian/rules binary subprocess returned exit status 2
SUMMARY: host: lcy02-amd64-001; CPUs: 4/4; CPU avg: 27%; CPU max: 100%; base memory: 0.3 GB; peak memory: 0.6 GB; total memory: 15.6 GB
SUMMARY: swap peak/total: 0.0/4.0 GB; disk start/end/total: 4.7/4.7/76.4 GB; disk delta: 0.0 GB
-
- This issue is due to gcc-15's strict type checking. For a workaround, adding -stg=gnu17 as an extra CFLAG in d/rules should solve this issue
+ This issue is due to gcc-15's strict type checking. For a workaround,
+ adding -std=gnu17 as an extra CFLAG in d/rules should solve this issue
I have uploaded the package with the changes in this ppa for testing:
https://launchpad.net/~0xnishit/+archive/ubuntu/devel-packages-ppa
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to cpio in Ubuntu.
https://bugs.launchpad.net/bugs/2124237
Title:
FTBFS cpio 2.15+dfsg-2 questing
Status in cpio package in Ubuntu:
New
Status in cpio source package in Questing:
New
Bug description:
Currently cpio FTBFS with gcc-15 in questing archive rebuild on every arch:
https://launchpad.net/ubuntu/+archive/test-rebuild-20250910-questing/+packages?field.name_filter=cpio&field.status_filter=published&field.series_filter=
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
Making all in rmt
make[3]: Entering directory '/<<PKGBUILDDIR>>/rmt'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gnu -I../ -I../gnu -I../lib -I../paxlib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o rmt.o rmt.c
gcc -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -o rmt rmt.o ../gnu/libgnu.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/rmt'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copyin.o copyin.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copyout.o copyout.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o copypass.o copypass.c
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../gnu -I../gnu -I../lib -I../lib -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cpio-2.15+dfsg-2 -c -o defer.o defer.c
copypass.c: In function ‘process_copy_pass’:
copypass.c:104:12: error: too many arguments to function ‘xstat’; expected 0, have 2
104 | if ((*xstat) (input_name.ds_string, &in_file_stat) < 0)
| ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
copyout.c: In function ‘process_copy_out’:
copyout.c:647:12: error: too many arguments to function ‘xstat’; expected 0, have 2
647 | if ((*xstat) (input_name.ds_string, &file_stat) < 0)
| ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1866: copypass.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1866: copyout.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:1827: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1767: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage.pl: error: debian/rules binary subprocess returned exit status 2
SUMMARY: host: lcy02-amd64-001; CPUs: 4/4; CPU avg: 27%; CPU max: 100%; base memory: 0.3 GB; peak memory: 0.6 GB; total memory: 15.6 GB
SUMMARY: swap peak/total: 0.0/4.0 GB; disk start/end/total: 4.7/4.7/76.4 GB; disk delta: 0.0 GB
This issue is due to gcc-15's strict type checking. For a workaround,
adding -std=gnu17 as an extra CFLAG in d/rules should solve this issue
I have uploaded the package with the changes in this ppa for testing:
https://launchpad.net/~0xnishit/+archive/ubuntu/devel-packages-ppa
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpio/+bug/2124237/+subscriptions
Follow ups