Source: btrfs-progs
Version: 6.6.3-1.2
Severity: normal
Tags: ftbfs
Justification: FTBFS
User: debian-pyt...@lists.debian.org
Usertags: python3.13-default

This package failed build from source when test-built against a version of
python3-defaults that has 3.13 as the default Python 3 version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -I.. -I/usr/include/python3.13 -c filesystem.c -o 
build/temp.linux-aarch64-cpython-313/filesystem.o
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -I.. -I/usr/include/python3.13 -c module.c -o 
build/temp.linux-aarch64-cpython-313/module.o
reading sources... [  5%] Checksumming
reading sources... [  6%] Common-features
reading sources... [  7%] Compression
reading sources... [  8%] Contributors
module.c: In function ‘path_converter’:
module.c:70:24: error: implicit declaration of function 
‘_PyObject_LookupSpecial’ [-Wimplicit-function-declaration]
   70 |                 func = _PyObject_LookupSpecial(o, &PyId___fspath__);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
module.c:70:22: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from 
‘int’ makes pointer from integer without a cast [-Wint-conversion]
   70 |                 func = _PyObject_LookupSpecial(o, &PyId___fspath__);
      |                      ^
error: command '/usr/bin/gcc' failed with exit code 1
reading sources... [  9%] Convert
reading sources... [ 10%] Custom-ioctls
reading sources... [ 11%] Deduplication
reading sources... [ 12%] Defragmentation
reading sources... [ 14%] DocConventions
reading sources... [ 15%] Feature-by-version
make[2]: *** [Makefile:649: libbtrfsutil_python] Error 1
make[2]: *** Waiting for unfinished jobs....
reading sources... [ 16%] Glossary
reading sources... [ 17%] Hardware
reading sources... [ 18%] INSTALL
reading sources... [ 19%] Inline-files
reading sources... [ 20%] Interoperability
reading sources... [ 21%] Introduction
reading sources... [ 22%] Kernel-by-version
reading sources... [ 23%] Qgroups
reading sources... [ 24%] Quick-start
reading sources... [ 25%] Reflink
reading sources... [ 26%] Resize
reading sources... [ 27%] Scrub
reading sources... [ 28%] Seeding-device
reading sources... [ 29%] Send-receive
reading sources... [ 30%] Source-repositories
reading sources... [ 31%] Status
reading sources... [ 32%] Subpage
reading sources... [ 33%] Subvolumes
reading sources... [ 34%] Swapfile
reading sources... [ 35%] Tree-checker
reading sources... [ 36%] Trim
reading sources... [ 38%] Volume-management
reading sources... [ 39%] Zoned-mode
reading sources... [ 40%] btrfs
reading sources... [ 41%] btrfs-balance
reading sources... [ 42%] btrfs-check
reading sources... [ 43%] btrfs-convert
reading sources... [ 44%] btrfs-device
reading sources... [ 45%] btrfs-filesystem
reading sources... [ 46%] btrfs-find-root
reading sources... [ 47%] btrfs-image
reading sources... [ 48%] btrfs-inspect-internal
reading sources... [ 49%] btrfs-ioctl
reading sources... [ 50%] btrfs-man5
reading sources... [ 51%] btrfs-map-logical
reading sources... [ 52%] btrfs-property
reading sources... [ 53%] btrfs-qgroup
reading sources... [ 54%] btrfs-quota
reading sources... [ 55%] btrfs-receive
reading sources... [ 56%] btrfs-replace
reading sources... [ 57%] btrfs-rescue
reading sources... [ 58%] btrfs-restore
reading sources... [ 59%] btrfs-scrub
reading sources... [ 60%] btrfs-select-super
reading sources... [ 61%] btrfs-send
reading sources... [ 62%] btrfs-subvolume
reading sources... [ 64%] btrfstune
reading sources... [ 65%] ch-balance-examples
reading sources... [ 66%] ch-balance-filters
reading sources... [ 67%] ch-balance-intro
reading sources... [ 68%] ch-bootloaders
reading sources... [ 69%] ch-checksumming
reading sources... [ 70%] ch-compression
reading sources... [ 71%] ch-convert-intro
reading sources... [ 72%] ch-file-attributes
reading sources... [ 73%] ch-flexibility
reading sources... [ 74%] ch-fs-limits
reading sources... [ 75%] ch-hardware-considerations
reading sources... [ 76%] ch-mount-options
reading sources... [ 77%] ch-quota-intro
reading sources... [ 78%] ch-scrub-intro
reading sources... [ 79%] ch-seeding-device
reading sources... [ 80%] ch-subvolume-intro
reading sources... [ 81%] ch-swapfile
reading sources... [ 82%] ch-sysfs
reading sources... [ 83%] ch-volume-management-intro
reading sources... [ 84%] ch-zoned-intro
reading sources... [ 85%] dev/Developer-s-FAQ
reading sources... [ 86%] dev/Development-notes
reading sources... [ 88%] dev/Experimental
reading sources... [ 89%] dev/On-disk-format
reading sources... [ 90%] dev/ReleaseChecklist
reading sources... [ 91%] dev/dev-btrees
reading sources... [ 92%] dev/dev-btrfs-design
reading sources... [ 93%] dev/dev-internal-apis
reading sources... [ 94%] dev/dev-json
reading sources... [ 95%] dev/dev-send-stream
reading sources... [ 96%] fsck.btrfs
reading sources... [ 97%] index
reading sources... [ 98%] man-index
reading sources... [ 99%] mkfs.btrfs
reading sources... [100%] trouble-index

../CHANGES:16: ERROR: Unexpected indentation. [docutils]
../CHANGES:17: WARNING: Block quote ends without a blank line; unexpected 
unindent. [docutils]
/<<PKGBUILDDIR>>/Documentation/ch-volume-management-intro.rst:33: WARNING: 
duplicate label man-device-typical-use-cases, other instance in 
/<<PKGBUILDDIR>>/Documentation/Volume-management.rst
/<<PKGBUILDDIR>>/Documentation/ch-mount-options.rst:32: WARNING: duplicate 
label mount-option-autodefrag, other instance in 
/<<PKGBUILDDIR>>/Documentation/Administration.rst
/<<PKGBUILDDIR>>/Documentation/ch-mount-options.rst:177: WARNING: duplicate 
label mount-option-degraded, other instance in 
/<<PKGBUILDDIR>>/Documentation/Administration.rst
/<<PKGBUILDDIR>>/Documentation/ch-mount-options.rst:199: WARNING: duplicate 
label mount-option-device, other instance in 
/<<PKGBUILDDIR>>/Documentation/Administration.rst
/<<PKGBUILDDIR>>/Documentation/ch-scrub-intro.rst:29: WARNING: duplicate label 
scrub-io-limiting, other instance in /<<PKGBUILDDIR>>/Documentation/Scrub.rst
/<<PKGBUILDDIR>>/Documentation/ch-mount-options.rst:32: WARNING: duplicate 
label mount-option-autodefrag, other instance in 
/<<PKGBUILDDIR>>/Documentation/btrfs-man5.rst
/<<PKGBUILDDIR>>/Documentation/ch-mount-options.rst:177: WARNING: duplicate 
label mount-option-degraded, other instance in 
/<<PKGBUILDDIR>>/Documentation/btrfs-man5.rst
/<<PKGBUILDDIR>>/Documentation/ch-mount-options.rst:199: WARNING: duplicate 
label mount-option-device, other instance in 
/<<PKGBUILDDIR>>/Documentation/btrfs-man5.rst
/<<PKGBUILDDIR>>/Documentation/ch-scrub-intro.rst:29: WARNING: duplicate label 
scrub-io-limiting, other instance in 
/<<PKGBUILDDIR>>/Documentation/btrfs-scrub.rst
/<<PKGBUILDDIR>>/Documentation/ch-volume-management-intro.rst:33: WARNING: 
duplicate label man-device-typical-use-cases, other instance in 
/<<PKGBUILDDIR>>/Documentation/btrfs-device.rst
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying assets: done
writing... btrfs-select-super.8 { 
} btrfstune.8 { 
} fsck.btrfs.8 { 
} btrfs-send.8 { 
} btrfs-scrub.8 { 
} btrfs-restore.8 { 
} btrfs-rescue.8 { 
} btrfs-replace.8 { 
} btrfs-receive.8 { 
} btrfs-quota.8 { 
} btrfs-qgroup.8 { 
} btrfs-property.8 { 
} btrfs-inspect-internal.8 { 
} btrfs-image.8 { 
} btrfs-find-root.8 { 
} btrfs-filesystem.8 { 
} btrfs-device.8 { 
} btrfs-convert.8 { 
} btrfs-check.8 { 
} btrfs-balance.8 { 
} btrfs-subvolume.8 { 
} btrfs-map-logical.8 { 
} btrfs.8 { 
} mkfs.btrfs.8 { 
} btrfs.5 { 
} done
build succeeded, 12 warnings.

The manual pages are in _build/man.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j16 V=1 returned exit code 2
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2024-12-25T15:40:18Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/1123336/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as default, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to