Your message dated Tue, 06 Feb 2024 02:42:32 +0000
with message-id <[email protected]>
and subject line Bug#1061575: fixed in php-codeigniter-framework 3.1.13+dfsg1-3
has caused the Debian Bug report #1061575,
regarding php-codeigniter-framework: 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 [email protected]
immediately.)


-- 
1061575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061575
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: php-codeigniter-framework
Version: 3.1.13+dfsg1-2
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

This package FTBFS with python 3.12.

$ python setup.py install

is no longer supported.

I am attaching a fix proposal that should get the package to build for
python 3.12.
diff --git a/debian/control b/debian/control
index b9c279c68..8499e3f6f 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-sphinx-rtd-theme <!nodoc>,
                python3-sphinxcontrib.phpdomain <!nodoc>,
                python3-venv <!nodoc>,
+               python3-pip <!nodoc>,
 Standards-Version: 4.6.2
 Rules-Requires-Root: binary-targets
 Homepage: https://codeigniter.com/
diff --git a/debian/rules b/debian/rules
index c6c683cca..4fef1a889 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,13 @@ override_dh_auto_test:
 
 debian/build-doc/pythonvenv/bin/python:
        mkdir -p debian/build-doc/pythonvenv
-       python3 -m venv --system-site-packages debian/build-doc/pythonvenv
+       python3 -m venv --system-site-packages --without-pip 
debian/build-doc/pythonvenv
 
 pycilexer: debian/build-doc/pythonvenv/bin/python
-       if ! debian/build-doc/pythonvenv/bin/pip show pycilexer; then \
+       if ! debian/build-doc/pythonvenv/bin/python -m pip show pycilexer; then 
\
          echo "Installing pycilexer" && \
          cd user_guide_src/cilexer && \
-         ../../debian/build-doc/pythonvenv/bin/python setup.py install ; \
+         ../../debian/build-doc/pythonvenv/bin/python -m pip install .; \
        fi
 
 ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),)
@@ -25,12 +25,12 @@ execute_before_dh_installdocs: pycilexer
        make -C user_guide_src clean
 
        make -C user_guide_src html \
-        SPHINXBUILD=../debian/build-doc/pythonvenv/bin/sphinx-build \
+        SPHINXBUILD=/usr/bin/sphinx-build \
         BUILDDIR=../debian/build-doc/user_guide \
         SPHINXOPTS="-D version=$(DEB_VERSION_UPSTREAM) -D 
release=$(DEB_VERSION_UPSTREAM)"
 
        make -C user_guide_src text \
-         SPHINXBUILD=../debian/build-doc/pythonvenv/bin/sphinx-build \
+         SPHINXBUILD=/usr/bin/sphinx-build \
          BUILDDIR=../debian/build-doc/user_guide \
          SPHINXOPTS="-D version=$(DEB_VERSION_UPSTREAM) -D 
release=$(DEB_VERSION_UPSTREAM)"
 endif

--- End Message ---
--- Begin Message ---
Source: php-codeigniter-framework
Source-Version: 3.1.13+dfsg1-3
Done: Fab Stz <[email protected]>

We believe that the bug you reported is fixed in the latest version of
php-codeigniter-framework, 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.
Fab Stz <[email protected]> (supplier of updated php-codeigniter-framework 
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: Sat, 03 Feb 2024 21:53:51 +0100
Source: php-codeigniter-framework
Architecture: source
Version: 3.1.13+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: Fab Stz <[email protected]>
Closes: 1061574 1061575
Changes:
 php-codeigniter-framework (3.1.13+dfsg1-3) unstable; urgency=medium
 .
   [ Athos Ribeiro ]
   * fix FTBFS with Python 3.12 (Closes: #1061575)
 .
   [ Fab Stz ]
   * fix FTBFS because of failing test with php 8.3 (Closes: #1061574)
Checksums-Sha1:
 4455c814c3bbfc31a1ead43ff513a370b4b8761e 2625 
php-codeigniter-framework_3.1.13+dfsg1-3.dsc
 d97e8feadcacb237bec3fc2d5348180c1778afea 16852 
php-codeigniter-framework_3.1.13+dfsg1-3.debian.tar.xz
 0d8e44dd27963216a7a85ae3201499a375372648 11040 
php-codeigniter-framework_3.1.13+dfsg1-3_amd64.buildinfo
Checksums-Sha256:
 fe212515430d8c97904fde6a40418ff279e97167533a5cae1dcbbcd6cecea0e5 2625 
php-codeigniter-framework_3.1.13+dfsg1-3.dsc
 a56feb4a4bc8af0150b747a048b966b8586276fe8800ec6f69eaf97a7f32e91c 16852 
php-codeigniter-framework_3.1.13+dfsg1-3.debian.tar.xz
 bd34d30644ca2c1502c7d29207bfa116634067a9fd2ba6c4d0fe75d65c211dac 11040 
php-codeigniter-framework_3.1.13+dfsg1-3_amd64.buildinfo
Files:
 948217101905067f7641d93c79ec5001 2625 php optional 
php-codeigniter-framework_3.1.13+dfsg1-3.dsc
 88b7d3e50cbc894adda875c1014934c6 16852 php optional 
php-codeigniter-framework_3.1.13+dfsg1-3.debian.tar.xz
 5209da1e3cf86c9eef03409edd4f7d82 11040 php optional 
php-codeigniter-framework_3.1.13+dfsg1-3_amd64.buildinfo

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

iQJKBAEBCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmXBjnEWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICDCYEACa/i5L/DelGY/OgU2Sch3g0IZX
hN2JPbw31oNbc7t+Yvy9eEIu/413wP2OxyeKFtOaUWR3EaDQTeePrBAwfqoSYa/t
2eLlcfIpEl/5dgOReoUtKLnT+LuRI7tkwGOQtDX2lkupdakNf4Vrhq/PcW1ZkwmZ
K2baoHzdN9HRlUS24wUHnMfr44jsN4yj5sQGLmiKAKSv4XqxhTABXpwNf5b6DOYE
zse9uI4HulscBOskUTMyJsCOmTm7wxYTHqPe23VtsKyb6hJLjee6DUkgmtKdqqCX
hxnZzbkia9/if/jBQCyfxuf6I/4ULXt27fo8fX7oXKcOi7KLk5XEw+0lRuO/VOjK
WlgjRg1dKllF4/Xed2LxfJWZU5Gbq/YVoKXquanN70RWZBy6UlqHTIVkvzYUaepW
O+viNIGipJgEtvLwxKhFkxqAb1zejw4JEGEprOdKyfeu5kXKu/p5oPOiTZht0iNG
VzeuWh5gfYC6uc4TOt0FddC5ZL6+HuSBjvUGwtbfny1xO7rqKWZNJ3sX9XTe9I/s
appaX99M8WR9CwwcT5+6CipAHT1drWHhGYypp5zd3Pl0nexetDNtOOibYX2rrm8S
ylaVu73XSm8pLRYbE38O9JDxmKskeTNV5J2VTEYPeKScRbEaLOvL8qG8aYDCAeJe
8uK9gICnOB6gMW2FAg==
=Im3g
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to