Your message dated Fri, 13 Sep 2024 21:49:36 +0000
with message-id <[email protected]>
and subject line Bug#1081639: fixed in python-freecontact 1.1-8
has caused the Debian Bug report #1081639,
regarding python-freecontact:FTBFS:build failure (cant find -lboost_python)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1081639: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081639
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-freecontact
Version: 1.1-7
Severity: serious
Tags: FTBFS, patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]
Dear python-freecontact Maintainer,
The package python-freecontact build failed on all arch.The crucial buildd
log below:
```
I: pybuild base:311: python3.12 setup.py config
dh_auto_build -a -O--buildsystem=pybuild
-O--builddirectory=/<<PKGBUILDDIR>>/builddir
dh_auto_build: warning: warning: pybuild does not support building out
of source tree. In source building enforced.
pybuild --build -i python{version} -p 3.12
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/bin/ld: cannot find -lboost_python: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit
code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p 3.12
returned exit code 13
make: *** [debian/rules:9: binary-arch] Error 255
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2
```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=python-freecontact&arch=riscv64&ver=1.1-7&stamp=1726088746&raw=0
My solution to this issue:
This error is caused by the fact that the file path of
libboost-python1.83-dev installed in Debian is
/usr/lib/riscv64-linux-gnu/libboost_python312.so rather than the path
expected by the software, /usr/lib/riscv64-linux-gnu/libboost_python.so,
which leads to the 'can't find' error. To resolve this issue, you can
modify the debian/rules file to create a symlink from
/usr/lib/riscv64-linux-gnu/libboost_python312.so to
/usr/lib/riscv64-linux-gnu/libboost_python.so.
Additionally, the test.test_support module has been removed in Python
3.12, so it is necessary to modify the relevant parts in test/test01.py to
be compatible with Python 3.12. I have completed these modifications and
tested my solution locally, it works well.Please let me know wheather the
solution can be accepted.The patch is in the attachment.
Gui-Yue
Best Regards
fix_python-freecontact_build_failure.patch
Description: Binary data
--- End Message ---
--- Begin Message ---
Source: python-freecontact
Source-Version: 1.1-8
Done: Étienne Mollier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-freecontact, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <[email protected]> (supplier of updated python-freecontact
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 13 Sep 2024 20:42:27 +0200
Source: python-freecontact
Architecture: source
Version: 1.1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1081639
Changes:
python-freecontact (1.1-8) unstable; urgency=medium
.
* Team upload.
.
[ Étienne Mollier ]
* d/s/options: delete: make dgit and quilt behavior more consistent.
The change involves also removal of .gitignore file tailored for
Debian packaging work, better seated in ~/.config/git/ignore.
* d/{rules,clean}: workaround failure to link against boost_python.
.
[ Yue Gui ]
* fix_test_failed.patch: new: fix failed tests.
modify the relevant parts in test/test01.py to be compatible with
Python 3.12 (Closes: #1081639)
Checksums-Sha1:
d290e138c62ef194c840d14523b1fbcdbfca870d 2370 python-freecontact_1.1-8.dsc
5a8da8e21726767fe991d4782acf4152a74f3487 4228
python-freecontact_1.1-8.debian.tar.xz
Checksums-Sha256:
3c68acc33bf67c36ca00d7dddf78291575137f04f88aed3b7ae5d4702db93124 2370
python-freecontact_1.1-8.dsc
b3969c98991d31d977868fcb2c70bd16dd5eba9b17bebd9e0d55ce976a4cb8ca 4228
python-freecontact_1.1-8.debian.tar.xz
Files:
bd6a62aff4830666f5439975b621ce6d 2370 python optional
python-freecontact_1.1-8.dsc
f67c16e3c99ca2d94493cf376264f536 4228 python optional
python-freecontact_1.1-8.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmbki3QUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdo3fw/9HdMhS0j4UaTeHBOu863cmpemeNQy
AIw7EVyf9QeBLlD+Gy7LLDabJubEYaLXPYuLdMWdlsv/mxB5RpczjQoM9DsbdToc
pQsiwsF9HNxviavE8cS/1lt8bBqfQFm0q0DMu7UAiz5fsZE+eYJANj/JBkS72aBB
OlYxZEHrogA46kZxzLMb645gMH7x1oj98Lj3DHTI7xclTRu7EDVkEfKsFOiNJ0+C
5zlhHBcD/iwQti5WyfUs83f4h48CtFP9SuQkHxaBzUhhBJb4yqgxYiLnLhsKpGL+
D+L8VD94zHFxUfRrFA5dN3FLWs4VXrcltdsnfVcRuMaLzNLvcyDCpxa83wEOCBcH
/Fo1EIMymZAioBElbBUD9EZsI1p/XwGbNSSqnuQuNorRksXhUs8vtokGBMTak0KK
9zi+7YsAWrdMKu7ndxiIdPu5bL7ImDU3n++eMn4NSCBlm4OE3/xS8894r8wxq7qU
W1XHZjAi5BRy4QSpFobwuIaUYVUL4pmk3y2v1/Qd9ITWwkcsPDP+2SwGSdpgiocJ
0q/LZYyk/QAUOO5lOwLZQ9XXQDGW5BPUeKVzOUSFpr839dKioOllDNFB1suDM2J+
JuZnyQiuMKvrYjjf+19c9ysOTz1ahpO+PIA3Z4e+0kSy5MShFtV2vtyKTR4u3Yjg
iQetNlu3w0U9mYY=
=UNam
-----END PGP SIGNATURE-----
pgp81mWAFPuji.pgp
Description: PGP signature
--- End Message ---