Your message dated Mon, 16 Jun 2025 10:50:24 +0000
with message-id <e1ur7q0-0070ap...@fasolo.debian.org>
and subject line Bug#1107782: fixed in python-jq 1.8.0+dfsg-2
has caused the Debian Bug report #1107782,
regarding python-jq: FTBFS: E   ValueError: jq: error: syntax error, unexpected 
INVALID_CHARACTER
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.)


-- 
1107782: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107782
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-jq
Version: 1.8.0+dfsg-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_jq  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_ext
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:381: FutureWarning: 
Cython directive 'language_level' not set, using '3str' for now (Py3). This has 
changed from earlier releases! File: /<<PKGBUILDDIR>>/jq.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
Compiling jq.pyx because it changed.
[1/1] Cythonizing jq.pyx
building 'jq' extension
creating build/temp.linux-x86_64-cpython-313
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c jq.c -o 
build/temp.linux-x86_64-cpython-313/jq.o
jq.c: In function ‘__pyx_f_2jq_jv_string_to_py_string’:
jq.c:12259:24: warning: assignment discards ‘const’ qualifier from pointer 
target type [-Wdiscarded-qualifiers]
12259 |   __pyx_v_string_value = jv_string_value(__pyx_v_value);
      |                        ^
creating build/lib.linux-x86_64-cpython-313
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
-fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-313/jq.o -L/usr/lib/x86_64-linux-gnu -ljq 
-lonig -o build/lib.linux-x86_64-cpython-313/jq.cpython-313-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-cpython-313/jq.cpython-313-x86_64-linux-gnu.so 
-> build/bdist.linux-x86_64/wheel/.
running install_egg_info
running egg_info
creating jq.egg-info
writing jq.egg-info/PKG-INFO
writing dependency_links to jq.egg-info/dependency_links.txt
writing top-level names to jq.egg-info/top_level.txt
writing manifest file 'jq.egg-info/SOURCES.txt'
reading manifest file 'jq.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'deps/*.tar.gz'
adding license file 'LICENSE'
writing manifest file 'jq.egg-info/SOURCES.txt'
Copying jq.egg-info to build/bdist.linux-x86_64/wheel/./jq-1.8.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/jq-1.8.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_jq/.tmp-2t57w8rr/jq-1.8.0-cp313-cp313-linux_x86_64.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'jq.cpython-313-x86_64-linux-gnu.so'
adding 'jq-1.8.0.dist-info/licenses/LICENSE'
adding 'jq-1.8.0.dist-info/METADATA'
adding 'jq-1.8.0.dist-info/WHEEL'
adding 'jq-1.8.0.dist-info/top_level.txt'
adding 'jq-1.8.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built jq-1.8.0-cp313-cp313-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_jq/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_jq/build
configfile: tox.ini
plugins: typeguard-4.4.2
collected 65 items

tests/jq_old_tests.py .........F.....                                    [ 23%]
tests/jq_tests.py ......................F...........................     [100%]

=================================== FAILURES ===================================
_______________ test_value_error_is_raised_if_program_is_invalid _______________

    def test_value_error_is_raised_if_program_is_invalid():
        try:
>           jq("!")

tests/jq_old_tests.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jq.pyx:426: in jq.jq
    ???
jq.pyx:136: in jq.compile
    ???
jq.pyx:253: in jq._Program.__cinit__
    ???
jq.pyx:224: in jq._JqStatePool.__cinit__
    ???
jq.pyx:170: in jq._compile
    ???
jq.pyx:153: in jq._compile
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   ValueError: jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file at <top-level>, line 1, column 1:
E       !
E       ^
E   jq: 1 compile error

jq.pyx:164: ValueError

During handling of the above exception, another exception occurred:

    def test_value_error_is_raised_if_program_is_invalid():
        try:
            jq("!")
            assert False, "Expected error"
        except ValueError as error:
            expected_error_strs = [
                # jq 1.6
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting $end (Unix shell quoting issues?) at <top-level>, line 1:\n!\njq: 1 
compile error",
                # jq 1.7
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file (Unix shell quoting issues?) at <top-level>, line 
1:\n!\njq: 1 compile error",
                # jq 1.6 -win
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting $end (Windows cmd shell quoting issues?) at <top-level>, line 
1:\n!\njq: 1 compile error",
                # jq 1.7 -win
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file (Windows cmd shell quoting issues?) at <top-level>, line 
1:\n!\njq: 1 compile error",
            ]
>           assert str(error) in expected_error_strs
E           AssertionError: assert 'jq: error: syntax error, unexpected 
INVALID_CHARACTER, expecting end of file at <top-level>, line 1, column 1:\n    
!\n    ^\njq: 1 compile error' in ['jq: error: syntax error, unexpected 
INVALID_CHARACTER, expecting $end (Unix shell quoting issues?) at <top-level>, 
l..._CHARACTER, expecting end of file (Windows cmd shell quoting issues?) at 
<top-level>, line 1:\n!\njq: 1 compile error']
E            +  where 'jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file at <top-level>, line 1, column 1:\n    !\n    ^\njq: 1 
compile error' = str(ValueError('jq: error: syntax error, unexpected 
INVALID_CHARACTER, expecting end of file at <top-level>, line 1, column 1:\n    
!\n    ^\njq: 1 compile error'))

tests/jq_old_tests.py:87: AssertionError
_______________ test_value_error_is_raised_if_program_is_invalid _______________

    def test_value_error_is_raised_if_program_is_invalid():
        try:
>           jq.compile("!")

tests/jq_tests.py:194: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
jq.pyx:136: in jq.compile
    ???
jq.pyx:253: in jq._Program.__cinit__
    ???
jq.pyx:224: in jq._JqStatePool.__cinit__
    ???
jq.pyx:170: in jq._compile
    ???
jq.pyx:153: in jq._compile
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   ValueError: jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file at <top-level>, line 1, column 1:
E       !
E       ^
E   jq: 1 compile error

jq.pyx:164: ValueError

During handling of the above exception, another exception occurred:

    def test_value_error_is_raised_if_program_is_invalid():
        try:
            jq.compile("!")
            assert False, "Expected error"
        except ValueError as error:
            expected_error_strs = [
                # jq 1.6
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting $end (Unix shell quoting issues?) at <top-level>, line 1:\n!\njq: 1 
compile error",
                # jq 1.7
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file (Unix shell quoting issues?) at <top-level>, line 
1:\n!\njq: 1 compile error",
                # jq 1.6 -win
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting $end (Windows cmd shell quoting issues?) at <top-level>, line 
1:\n!\njq: 1 compile error",
                # jq 1.7 -win
                "jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file (Windows cmd shell quoting issues?) at <top-level>, line 
1:\n!\njq: 1 compile error",
            ]
>           assert str(error) in expected_error_strs
E           AssertionError: assert 'jq: error: syntax error, unexpected 
INVALID_CHARACTER, expecting end of file at <top-level>, line 1, column 1:\n    
!\n    ^\njq: 1 compile error' in ['jq: error: syntax error, unexpected 
INVALID_CHARACTER, expecting $end (Unix shell quoting issues?) at <top-level>, 
l..._CHARACTER, expecting end of file (Windows cmd shell quoting issues?) at 
<top-level>, line 1:\n!\njq: 1 compile error']
E            +  where 'jq: error: syntax error, unexpected INVALID_CHARACTER, 
expecting end of file at <top-level>, line 1, column 1:\n    !\n    ^\njq: 1 
compile error' = str(ValueError('jq: error: syntax error, unexpected 
INVALID_CHARACTER, expecting end of file at <top-level>, line 1, column 1:\n    
!\n    ^\njq: 1 compile error'))

tests/jq_tests.py:207: AssertionError
=========================== short test summary info ============================
FAILED tests/jq_old_tests.py::test_value_error_is_raised_if_program_is_invalid
FAILED tests/jq_tests.py::test_value_error_is_raised_if_program_is_invalid - ...
========================= 2 failed, 63 passed in 0.10s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_jq/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202506/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-jq, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-jq
Source-Version: 1.8.0+dfsg-2
Done: Colin Watson <cjwat...@debian.org>

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

Debian distribution maintenance software
pp.
Colin Watson <cjwat...@debian.org> (supplier of updated python-jq 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: Mon, 16 Jun 2025 11:25:08 +0100
Source: python-jq
Architecture: source
Version: 1.8.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Closes: 1107782
Changes:
 python-jq (1.8.0+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
   * Update to jq 1.8.0 (closes: #1107782).
Checksums-Sha1:
 20ced56b9df8b7fab0642d429d3527bff7a6e0bc 2287 python-jq_1.8.0+dfsg-2.dsc
 063cbe9611800b1d284bb56f9ba6f07618c0b967 5044 
python-jq_1.8.0+dfsg-2.debian.tar.xz
Checksums-Sha256:
 9db90271fa6dd4f0477f7d891ccd0f16c11c887364d7338a48920be5dc844cdd 2287 
python-jq_1.8.0+dfsg-2.dsc
 9ed06e1b18c8ee6f3082c2671243ea4f563cfa6025d86d2357e530e09397666d 5044 
python-jq_1.8.0+dfsg-2.debian.tar.xz
Files:
 e269c6b0831c236ca3b1a9d364f0de9a 2287 python optional 
python-jq_1.8.0+dfsg-2.dsc
 0ec3613d0b3d1dde88dd38a527d4d00f 5044 python optional 
python-jq_1.8.0+dfsg-2.debian.tar.xz

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

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmhP8VAACgkQOTWH2X2G
UAv5Rw/9FjHQ5CBPl5FYdGkn1eDkc+Ym6edDUb982esT9WhaJPviK0O2kOkMWT8H
6Y7Y90rvSjH4W4z+JZL7ELnN6nlRkT63hqN8WWLMcLfZ7dBpdt2LWuCI8yniqd+/
INZWiqir2UhkgM8fZVUNDOv4TK+UMhwedf8v3OdsqfkPQrePQitlHXwZ0hho4TFl
GbtBBq4CFAD3TM9VdkRB8vR3x2C46W4/4DJQN+apd4+jV52ibYBrH51QtTzd3vZD
UG2WnXNpniDx+o23xqtSyamJBWDNQMfzyJqd/+Dni2Uk/RgdRCiTRlxRI4LsUv+Q
OJR+S8fYFXhEixW98BWfAl08a7+7FGxd05EhjZN7/gvMVF9Rcgi4AB43sSzp5cDp
trSJ1hkX3xN3xpQ2TmUu57rf0MLRqbZmtJOEE/vS0MS8v9LpdnsMBYD41JPnBbpS
TjKaA2XEtFGIfeJuAcu3zzBPM5q/KSfksJw+X8oUh526t89GePypgUpObMBcE5uO
sK9vhnlEQtBLroiW44Y7nQURg/eogXcgYc4rVkn/+iatP+rfUFrXLjk95Zezic41
CzrcMIB/OaGo6KqgUbXAUeCkutGylEEsr5yLkNh3UgbceZvUJ9o6owIb+SxQ6IwJ
rWMMx5xh/tt0BdF1yzqTYrC+OOi0bHL31amRm0HxBRZIAQoe9YE=
=hqZf
-----END PGP SIGNATURE-----

Attachment: pgplMi3G8jtIs.pgp
Description: PGP signature


--- End Message ---

Reply via email to