Your message dated Sun, 04 Feb 2024 21:01:51 +0000
with message-id <e1rwjcd-006ec2...@fasolo.debian.org>
and subject line Bug#1061277: fixed in abinit 9.10.4-3
has caused the Debian Bug report #1061277,
regarding abinit: FTBFS with Python 3.12
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 ow...@bugs.debian.org
immediately.)


-- 
1061277: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061277
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: abinit
Version: 9.10.4-2
Severity: serious
Tags: ftbfs upstream
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: arraybo...@ubuntu.com

When building the abinit package on a system with Python 3.12 installed,
the build fails with a "ModuleNotFoundError: No module named 'imp'" in
fkiss/project.py. This file is used by abisrc.py, which is used as a
critical part of the build configuration process, thus when this script
fails, it takes down the whole build.

This bug is being tracked upstream at
https://github.com/abinit/abinit/issues/69.

Steps to reproduce:

1. Configure your builder to enable `experimental` and pin
python3-defaults to be installed from it. I'm doing this with a script
as follows:

```
#!/bin/bash
echo "deb https://deb.debian.org/debian experimental main" >> 
/etc/apt/sources.list;
echo "deb-src https://deb.debian.org/debian experimental main" >> 
/etc/apt/sources.list;
echo "Package: src:python3-defaults" > /etc/apt/preferences.d/99proposed
echo "Pin: release a=experimental" >> /etc/apt/preferences.d/99proposed
echo "Pin-Priority: 950" >> /etc/apt/preferences.d/99proposed
```

This is then called in my .sbuildrc with the following config:

```
$external_commands = {
    "chroot-setup-commands" => [
        ['/repo/enableProposed.sh'],
    ],
};
```

2. Attempt to build abinit from source with this builder. The build will
fail and display failure output similar to the output in the upstream
bug report. You should be able to find the abisrc.stderr file inside the
build directory within your builder (find it with `find | grep stderr`)
and see that it has output similar to the output shown in the first
comment of the upstream bug report.

(My system information has Ubuntu information on it because I am
reporting the bug from an Ubuntu system, however the FTBFS occurs within
a Debian Sid schroot being used via sbuild.)


-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), 
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-14-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: abinit
Source-Version: 9.10.4-3
Done: Michael Banck <mba...@debian.org>

We believe that the bug you reported is fixed in the latest version of
abinit, 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 1061...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Banck <mba...@debian.org> (supplier of updated abinit 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 04 Feb 2024 21:47:49 +0100
Source: abinit
Architecture: source
Version: 9.10.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <debichem-de...@lists.alioth.debian.org>
Changed-By: Michael Banck <mba...@debian.org>
Closes: 1060732 1061277
Changes:
 abinit (9.10.4-3) unstable; urgency=medium
 .
   * debian/patches/python3.12.patch: New patch, fixes build failure with
     python3.12, by Steve Langasek (Closes: #1061277).
   * debian/rules (DEB_BUILD_MAINT_OPTIONS): Exclude stackclash from hardening
     on armhf, by Emanuele Rocca (Closes: #1060732).
Checksums-Sha1:
 35cffa0c4ec97834f1b2eab6b3b883eeec192822 2464 abinit_9.10.4-3.dsc
 272fd02ae689aaa5cd3222c1d22b453aa9e1a825 15068 abinit_9.10.4-3.debian.tar.xz
 0b2c551ed2cbbdae2eb1dbec96026914e3566000 8941 abinit_9.10.4-3_source.buildinfo
Checksums-Sha256:
 c3c217b14bc5705a1d8930a2e7fcef58e64beaa22abc213e2eacc7d5537ef840 2464 
abinit_9.10.4-3.dsc
 80c4fb7575d67f3167d7c34fd59477baf839810d0b863e19f1dd9fea1bc0b3b5 15068 
abinit_9.10.4-3.debian.tar.xz
 07a325b1368fd2c072efbbc70f60f5d898ad5834f9244bd4ffbc071c583654a5 8941 
abinit_9.10.4-3_source.buildinfo
Files:
 843550cbd14395c0b9408158a91a239c 2464 science optional abinit_9.10.4-3.dsc
 27c12d3dac5cd105cebaa2af4247e807 15068 science optional 
abinit_9.10.4-3.debian.tar.xz
 b552ca14f255f8aec51d8a6a8d6713c1 8941 science optional 
abinit_9.10.4-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEnKh3dJ+rLk+paGLs3GhqJ7Q0gbAFAmW/+A4ACgkQ3GhqJ7Q0
gbDD1xAAsTu0fgS0RFKGOqC/URGzjXO9l2UIBCxal81Eb16BMYDX5EyeJLqyELW2
++d8Gvlm/cDqeW25h4322dmkB23D6FO9wWraA6zbsoxapIIJxFAvPVaVWyS9iBuf
9jadXBBFxxgWdvgCOuyHX7URtaliu/tbT56jz3HhBcUKMU6fp873tWQ9pyS8SKTp
aFyTP+uGjzVVrEJr2Z8MKoNphwMmGLQmN5nALMpFcwiRai7Ncvqg2tNcSH971L0U
swRSzByAF+Imh1JjTUWrj42M68M+pMGC+eaOUs6PwAH/v6Q1Iq/bdovNSNdOabRI
hPrAHOuMbxnCDDU3D28UCECwB8q6vAnYsBIkJLHNkEqsxmakuoQu1bMsVwWO1hQn
Say8M2zbyv8GmlCJhggKfinGRQj1IWBgL3P6dEqAQDdMqtcftako68s4m7hnyml4
Vu7+LO8DxGVVFbsK7hGp1tQJqmixA/kfLnbQVUfKTUb0Sew7f5cLEDz3QSvpO/kF
ihlKJIFQ+UFH4kaNPVlmrnKw7fM7FC1cslHQiXBsrQPXLNQctOWBFEO6IVX3PCeJ
7dXSJQD8sY4F2wuMMhci1RLp1E6Sm4wF4XoCHKBuGNQmbY5GszEEOwxaqHctosEh
CRsEl06xeVjs2rrcXmgT8RLc73bhS9RrfuNAhJrpmPclB/lTF4s=
=meuY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to