Debian Bug report logs - #1031606
ru/hu fail to build with python 3.11: re.error: globalflags not at the start of the expression at position 28

version graph

Package: src:lightproof; Maintainer for src:lightproof is Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>;

Reported by: Lucas Nussbaum <lucas@debian.org>

Date: Sat, 18 Feb 2023 22:09:12 UTC

Severity: serious

Tags: bookworm, ftbfs, help, patch, sid, upstream

Found in version lightproof/1.6-2

Fixed in version lightproof/1.6-3

Done: Rene Engelhard <rene@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.documentfoundation.org/show_bug.cgi?id=153726

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1031578; Package src:lightproof. (Sat, 18 Feb 2023 22:09:14 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Sat, 18 Feb 2023 22:09:14 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@debian.org>
To: submit@bugs.debian.org
Subject: lightproof: FTBFS in testing: make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1
Date: Sat, 18 Feb 2023 23:06:18 +0100
Source: lightproof
Version: 1.6-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20230217 ftbfs-bookworm

Hi,

During a rebuild of all packages in testing (bookworm), your package failed
to build on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> for oxt in `find . -name "*.oxt"`; do \
> 	oxt=`echo $oxt | sed -e 's,./,,'`; \
> 	pkg="libreoffice-`echo $oxt | cut -d- -f1 | sed -e "s/_/-/g" | tr A-Z a-z`"; \
> 	dir=`echo $oxt | cut -d- -f1`; \
> 	mkdir -p /<<PKGBUILDDIR>>/debian/$pkg/usr/lib/libreoffice/share/extensions/$dir && \
> 	cd /<<PKGBUILDDIR>>/debian/$pkg/usr/lib/libreoffice/share/extensions/$dir && \
> 		unzip -o /<<PKGBUILDDIR>>/$oxt; \
> done
> Archive:  /<<PKGBUILDDIR>>/lightproof_editor-0.1.oxt
>   inflating: META-INF/manifest.xml   
>   inflating: description.xml         
>   inflating: Linguistic.xcu          
>   inflating: Lightproof.py           
>   inflating: pythonpath/lightproof_handler_lightproof_editor.py  
>   inflating: pythonpath/lightproof_impl_lightproof_editor.py  
>   inflating: pythonpath/lightproof_lightproof_editor.py  
>   inflating: pythonpath/lightproof_compile_lightproof_editor.py  
>   inflating: README                  
>   inflating: doc/syntax.txt          
>   inflating: doc/manual.txt          
>   inflating: src/en/en.dat           
>   inflating: lightproof_editor/script.xlb  
>   inflating: lightproof_editor/RegisteredFlag  
>   inflating: lightproof_editor/General.xba  
>   inflating: lightproof_editor/dialog.xlb  
>   inflating: Office/UI/StartModuleWindowState.xcu  
>   inflating: Office/UI/WriterWindowState.xcu  
>   inflating: Office/Accelerators.xcu  
>   inflating: icons/comp.png          
>   inflating: icons/compall.png       
>   inflating: icons/comp16.png        
>   inflating: icons/compall16.png     
>   inflating: icons/debug16.png       
>   inflating: icons/debug.png         
>   inflating: META-INF/manifest.xml   
>   inflating: Addons.xcu              
>   inflating: pythonpath/lightproof_opts_lightproof_editor.py  
> Archive:  /<<PKGBUILDDIR>>/lightproof_en-0.4.3.oxt
>   inflating: META-INF/manifest.xml   
>   inflating: description.xml         
>   inflating: Linguistic.xcu          
>   inflating: Lightproof.py           
>   inflating: pythonpath/lightproof_handler_lightproof_en.py  
>   inflating: pythonpath/lightproof_impl_lightproof_en.py  
>   inflating: pythonpath/lightproof_lightproof_en.py  
>   inflating: README_lightproof_en.txt  
>   inflating: dialog/en.xdl           
>   inflating: dialog/en_en_US.default  
>   inflating: dialog/en_en_US.properties  
>   inflating: dialog/OptionsDialog.xcs  
>   inflating: dialog/OptionsDialog.xcu  
>   inflating: pythonpath/lightproof_opts_lightproof_en.py  
> Archive:  /<<PKGBUILDDIR>>/lightproof_ru_RU-0.3.4.oxt
> warning [/<<PKGBUILDDIR>>/lightproof_ru_RU-0.3.4.oxt]:  zipfile is empty
> Archive:  /<<PKGBUILDDIR>>/lightproof_hu-1.6.2.oxt
> warning [/<<PKGBUILDDIR>>/lightproof_hu-1.6.2.oxt]:  zipfile is empty
> make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/02/17/lightproof_1.6-2_testing.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230217;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230217&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1031578; Package src:lightproof. (Sun, 19 Feb 2023 07:51:02 GMT) (full text, mbox, link).


Acknowledgement sent to Rene Engelhard <rene@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Sun, 19 Feb 2023 07:51:03 GMT) (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: Rene Engelhard <rene@debian.org>
To: Lucas Nussbaum <lucas@debian.org>, 1031578@bugs.debian.org, submit@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#1031578: lightproof: FTBFS in testing: make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1
Date: Sun, 19 Feb 2023 08:49:01 +0100
tag 1031578 + unreproducible

thanks


Hi,

Am 18.02.23 um 23:06 schrieb Lucas Nussbaum:
> During a rebuild of all packages in testing (bookworm), your package failed
> to build on amd64.

No, it does not.

In a clean cowbuilder testing chroot:

$ apt-get -b source lightproof
Reading package lists... Done
Skipping already downloaded file 'lightproof_1.6-2.dsc'
Skipping already downloaded file 'lightproof_1.6.orig.tar.gz'
Skipping already downloaded file 'lightproof_1.6-2.debian.tar.xz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in lightproof-1.6
dpkg-buildpackage: info: source package lightproof
dpkg-buildpackage: info: source version 1.6-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Rene Engelhard <rene@debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .

 fakeroot debian/rules clean
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/rene/lightproof-1.6'
find . -name "*.pyc" -exec rm {} \;
find . -name "*.oxt" -exec rm {} \;
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 
9 in use)
# manually needed as long as we don't build -editor
rm -rf debian/libreoffice-lightproof-editor
rm -f debian/libreoffice-lightproof-editor.substvars
make[1]: Leaving directory '/home/rene/lightproof-1.6'
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 
9 in use)
 debian/rules build
dh build
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_update_autotools_config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/rene/lightproof-1.6'
for cfg in `find src -name "*.cfg"`; do \
    python3 make.py $cfg; \
done
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py:170: 
FutureWarning: Possible nested set at position 5
  compr = re.compile(sc)
Traceback (most recent call last):
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 170, in mysplit
    compr = re.compile(sc)
            ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
    return _compile(pattern, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 28

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
    dist(i[:-4], fArgs._sections['args'])
  File "/home/rene/lightproof-1.6/make.py", line 15, in dist
    code = pythonpath.lightproof_compile___implname__.c(f.read(), 
a['lang'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 270, in c
    item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 174, in mysplit
    raise Exception(str(e), oldline)
Exception: ('global flags not at the start of the expression at position 
28', 126)

missing config file or options: src/hu_HU/hu_HU.cfg
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
/usr/lib/python3.11/zipfile.py:1547: UserWarning: Duplicate name: 
'META-INF/manifest.xml'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
Traceback (most recent call last):
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 170, in mysplit
    compr = re.compile(sc)
            ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
    return _compile(pattern, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 28

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
    dist(i[:-4], fArgs._sections['args'])
  File "/home/rene/lightproof-1.6/make.py", line 15, in dist
    code = pythonpath.lightproof_compile___implname__.c(f.read(), 
a['lang'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 270, in c
    item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 174, in mysplit
    raise Exception(str(e), oldline)
Exception: ('global flags not at the start of the expression at position 
28', 75)

missing config file or options: src/ru_RU/ru_RU.cfg
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
make[1]: Leaving directory '/home/rene/lightproof-1.6'
 fakeroot debian/rules binary
dh binary
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_testroot
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/home/rene/lightproof-1.6'
for oxt in `find . -name "*.oxt"`; do \
    oxt=`echo $oxt | sed -e 's,./,,'`; \
    pkg="libreoffice-`echo $oxt | cut -d- -f1 | sed -e "s/_/-/g" | tr 
A-Z a-z`"; \
    dir=`echo $oxt | cut -d- -f1`; \
    mkdir -p 
/home/rene/lightproof-1.6/debian/$pkg/usr/lib/libreoffice/share/extensions/$dir 
&& \
    cd 
/home/rene/lightproof-1.6/debian/$pkg/usr/lib/libreoffice/share/extensions/$dir 
&& \
        unzip -o /home/rene/lightproof-1.6/$oxt; \
done
Archive:  /home/rene/lightproof-1.6/lightproof_editor-0.1.oxt
  inflating: META-INF/manifest.xml
  inflating: description.xml
  inflating: Linguistic.xcu
  inflating: Lightproof.py
  inflating: pythonpath/lightproof_handler_lightproof_editor.py
  inflating: pythonpath/lightproof_impl_lightproof_editor.py
  inflating: pythonpath/lightproof_lightproof_editor.py
  inflating: pythonpath/lightproof_compile_lightproof_editor.py
  inflating: README
  inflating: doc/syntax.txt
  inflating: doc/manual.txt
  inflating: src/en/en.dat
  inflating: lightproof_editor/script.xlb
  inflating: lightproof_editor/RegisteredFlag
  inflating: lightproof_editor/General.xba
  inflating: lightproof_editor/dialog.xlb
  inflating: Office/UI/StartModuleWindowState.xcu
  inflating: Office/UI/WriterWindowState.xcu
  inflating: Office/Accelerators.xcu
  inflating: icons/comp.png
  inflating: icons/compall.png
  inflating: icons/comp16.png
  inflating: icons/compall16.png
  inflating: icons/debug16.png
  inflating: icons/debug.png
  inflating: META-INF/manifest.xml
  inflating: Addons.xcu
  inflating: pythonpath/lightproof_opts_lightproof_editor.py
Archive:  /home/rene/lightproof-1.6/lightproof_hu-1.6.2.oxt
warning [/home/rene/lightproof-1.6/lightproof_hu-1.6.2.oxt]: zipfile is 
empty
Archive:  /home/rene/lightproof-1.6/lightproof_ru_RU-0.3.4.oxt
warning [/home/rene/lightproof-1.6/lightproof_ru_RU-0.3.4.oxt]: zipfile 
is empty
Archive:  /home/rene/lightproof-1.6/lightproof_en-0.4.3.oxt
  inflating: META-INF/manifest.xml
  inflating: description.xml
  inflating: Linguistic.xcu
  inflating: Lightproof.py
  inflating: pythonpath/lightproof_handler_lightproof_en.py
  inflating: pythonpath/lightproof_impl_lightproof_en.py
  inflating: pythonpath/lightproof_lightproof_en.py
  inflating: README_lightproof_en.txt
  inflating: dialog/en.xdl
  inflating: dialog/en_en_US.default
  inflating: dialog/en_en_US.properties
  inflating: dialog/OptionsDialog.xcs
  inflating: dialog/OptionsDialog.xcu
  inflating: pythonpath/lightproof_opts_lightproof_en.py
make[1]: Leaving directory '/home/rene/lightproof-1.6'
   dh_installdocs
dh_installdocs: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
   dh_installchangelogs
dh_installchangelogs: warning: Compatibility levels before 10 are 
deprecated (level 9 in use)
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
dh_compress: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
dh_compress: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
dh_compress: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
   dh_fixperms
   dh_missing
dh_missing: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
   dh_installdeb
dh_installdeb: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
   debian/rules override_dh_gencontrol
make[1]: Entering directory '/home/rene/lightproof-1.6'
for oxt in `find . -name "*.oxt"`; do \
    oxt=`echo $oxt | sed -e 's,./,,'`; \
    pkg="libreoffice-`echo $oxt | cut -d- -f1 | sed -e "s/_/-/g" | tr 
A-Z a-z`"; \
    if ! dh_listpackages | grep -q $pkg; then continue; fi; \
    ver=$(basename $(echo $oxt | cut -d- -f2) .oxt); \
    dh_gencontrol -p$pkg -- -v$ver+1.6-2; \
done
dpkg-gencontrol: warning: Depends field of package 
libreoffice-lightproof-hu: substitution variable ${shlibs:Depends} used, 
but is not defined
dpkg-gencontrol: warning: Depends field of package 
libreoffice-lightproof-hu: substitution variable ${python:Depends} used, 
but is not defined
dpkg-gencontrol: warning: Depends field of package 
libreoffice-lightproof-ru-ru: substitution variable ${shlibs:Depends} 
used, but is not defined
dpkg-gencontrol: warning: Depends field of package 
libreoffice-lightproof-ru-ru: substitution variable ${python:Depends} 
used, but is not defined
dpkg-gencontrol: warning: Depends field of package 
libreoffice-lightproof-en: substitution variable ${shlibs:Depends} used, 
but is not defined
dpkg-gencontrol: warning: Depends field of package 
libreoffice-lightproof-en: substitution variable ${python:Depends} used, 
but is not defined
make[1]: Leaving directory '/home/rene/lightproof-1.6'
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'libreoffice-lightproof-en' in 
'../libreoffice-lightproof-en_0.4.3+1.6-2_all.deb'.
dpkg-deb: building package 'libreoffice-lightproof-hu' in 
'../libreoffice-lightproof-hu_1.6.2+1.6-2_all.deb'.
dpkg-deb: building package 'libreoffice-lightproof-ru-ru' in 
'../libreoffice-lightproof-ru-ru_0.3.4+1.6-2_all.deb'.
 dpkg-genbuildinfo --build=binary -O../lightproof_1.6-2_amd64.buildinfo
 dpkg-genchanges --build=binary -O../lightproof_1.6-2_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)

Did you add special zip configuration or so to not fail on empty archives?

>
> Relevant part (hopefully):
Nope.
>> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>> for oxt in `find . -name "*.oxt"`; do \
>> 	oxt=`echo $oxt | sed -e 's,./,,'`; \
>> 	pkg="libreoffice-`echo $oxt | cut -d- -f1 | sed -e "s/_/-/g" | tr A-Z a-z`"; \
>> 	dir=`echo $oxt | cut -d- -f1`; \
>> 	mkdir -p /<<PKGBUILDDIR>>/debian/$pkg/usr/lib/libreoffice/share/extensions/$dir && \
>> 	cd /<<PKGBUILDDIR>>/debian/$pkg/usr/lib/libreoffice/share/extensions/$dir && \
>> 		unzip -o /<<PKGBUILDDIR>>/$oxt; \
>> done
>> Archive:  /<<PKGBUILDDIR>>/lightproof_editor-0.1.oxt
>>    inflating: META-INF/manifest.xml
>>    inflating: description.xml
>>    inflating: Linguistic.xcu
>>    inflating: Lightproof.py
>>    inflating: pythonpath/lightproof_handler_lightproof_editor.py
>>    inflating: pythonpath/lightproof_impl_lightproof_editor.py
>>    inflating: pythonpath/lightproof_lightproof_editor.py
>>    inflating: pythonpath/lightproof_compile_lightproof_editor.py
>>    inflating: README
>>    inflating: doc/syntax.txt
>>    inflating: doc/manual.txt
>>    inflating: src/en/en.dat
>>    inflating: lightproof_editor/script.xlb
>>    inflating: lightproof_editor/RegisteredFlag
>>    inflating: lightproof_editor/General.xba
>>    inflating: lightproof_editor/dialog.xlb
>>    inflating: Office/UI/StartModuleWindowState.xcu
>>    inflating: Office/UI/WriterWindowState.xcu
>>    inflating: Office/Accelerators.xcu
>>    inflating: icons/comp.png
>>    inflating: icons/compall.png
>>    inflating: icons/comp16.png
>>    inflating: icons/compall16.png
>>    inflating: icons/debug16.png
>>    inflating: icons/debug.png
>>    inflating: META-INF/manifest.xml
>>    inflating: Addons.xcu
>>    inflating: pythonpath/lightproof_opts_lightproof_editor.py
>> Archive:  /<<PKGBUILDDIR>>/lightproof_en-0.4.3.oxt
>>    inflating: META-INF/manifest.xml
>>    inflating: description.xml
>>    inflating: Linguistic.xcu
>>    inflating: Lightproof.py
>>    inflating: pythonpath/lightproof_handler_lightproof_en.py
>>    inflating: pythonpath/lightproof_impl_lightproof_en.py
>>    inflating: pythonpath/lightproof_lightproof_en.py
>>    inflating: README_lightproof_en.txt
>>    inflating: dialog/en.xdl
>>    inflating: dialog/en_en_US.default
>>    inflating: dialog/en_en_US.properties
>>    inflating: dialog/OptionsDialog.xcs
>>    inflating: dialog/OptionsDialog.xcu
>>    inflating: pythonpath/lightproof_opts_lightproof_en.py
>> Archive:  /<<PKGBUILDDIR>>/lightproof_ru_RU-0.3.4.oxt
>> warning [/<<PKGBUILDDIR>>/lightproof_ru_RU-0.3.4.oxt]:  zipfile is empty
>> Archive:  /<<PKGBUILDDIR>>/lightproof_hu-1.6.2.oxt
>> warning [/<<PKGBUILDDIR>>/lightproof_hu-1.6.2.oxt]:  zipfile is empty

This is a problem, though, though it only affects ru and hu.

Could be disabled alone due to political reasons (at least for ru) ;-)


>> make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1

This doesn't fail here. (see above)


The real issue though seems to be a fallout of the python3 transition 
and that it breaks with python 3.11:

for cfg in `find src -name "*.cfg"`; do \
    python3 make.py $cfg; \
done
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py:170: 
FutureWarning: Possible nested set at position 5
  compr = re.compile(sc)
Traceback (most recent call last):
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 170, in mysplit
    compr = re.compile(sc)
            ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
    return _compile(pattern, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 28

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
    dist(i[:-4], fArgs._sections['args'])
  File "/home/rene/lightproof-1.6/make.py", line 15, in dist
    code = pythonpath.lightproof_compile___implname__.c(f.read(), 
a['lang'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 270, in c
    item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 174, in mysplit
    raise Exception(str(e), oldline)
Exception: ('global flags not at the start of the expression at position 
28', 126)

missing config file or options: src/hu_HU/hu_HU.cfg
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
/usr/lib/python3.11/zipfile.py:1547: UserWarning: Duplicate name: 
'META-INF/manifest.xml'
  return self._open_to_write(zinfo, force_zip64=force_zip64)
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
Traceback (most recent call last):
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 170, in mysplit
    compr = re.compile(sc)
            ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
    return _compile(pattern, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 28

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
    dist(i[:-4], fArgs._sections['args'])
  File "/home/rene/lightproof-1.6/make.py", line 15, in dist
    code = pythonpath.lightproof_compile___implname__.c(f.read(), 
a['lang'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 270, in c
    item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
line 174, in mysplit
    raise Exception(str(e), oldline)
Exception: ('global flags not at the start of the expression at position 
28', 75)

missing config file or options: src/ru_RU/ru_RU.cfg
/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
This alias will be removed in Python 3.12. Use ConfigParser directly 
instead.
  fArgs = cp.SafeConfigParser()
make[1]: Leaving directory '/home/rene/lightproof-1.6'
 fakeroot debian/rules binary

which results in

Archive:  /home/rene/lightproof-1.6/lightproof_hu-1.6.2.oxt
warning [/home/rene/lightproof-1.6/lightproof_hu-1.6.2.oxt]: zipfile is 
empty
Archive:  /home/rene/lightproof-1.6/lightproof_ru_RU-0.3.4.oxt
warning [/home/rene/lightproof-1.6/lightproof_ru_RU-0.3.4.oxt]: zipfile 
is empty
Archive:  /home/rene/lightproof-1.6/lightproof_en-0.4.3.oxt

which somehow fails in your environment but  not here.


After changing that python3 make.py call to a python3.10 make.py call it 
correctly also builds hu and ru.


Regards,

Rene




Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1031578; Package src:lightproof. (Sun, 19 Feb 2023 07:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Rene Engelhard <rene@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Sun, 19 Feb 2023 07:51:04 GMT) (full text, mbox, link).


Added tag(s) unreproducible. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 07:51:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1031578; Package src:lightproof. (Sun, 19 Feb 2023 08:15:05 GMT) (full text, mbox, link).


Acknowledgement sent to Rene Engelhard <rene@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Sun, 19 Feb 2023 08:15:05 GMT) (full text, mbox, link).


Message #22 received at 1031578@bugs.debian.org (full text, mbox, reply):

From: Rene Engelhard <rene@debian.org>
To: Lucas Nussbaum <lucas@debian.org>, 1031578@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#1031578: lightproof: FTBFS in testing: make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1
Date: Sun, 19 Feb 2023 09:12:34 +0100
clone 1031578 -1
retitle -1 ru/hu fail to build with python 3.11: re.error: global flags 
not at the start of the expression at position 28
block -1 by 1031578
tag -1 - unreproducible
tag -1 + help
thanks

Hi,

Am 19.02.23 um 08:49 schrieb Rene Engelhard:
> The real issue though seems to be a fallout of the python3 transition 
> and that it breaks with python 3.11:
> 
> for cfg in `find src -name "*.cfg"`; do \
>      python3 make.py $cfg; \
> done
> /home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
> SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
> This alias will be removed in Python 3.12. Use ConfigParser directly 
> instead.
>    fArgs = cp.SafeConfigParser()
> /home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py:170: FutureWarning: Possible nested set at position 5
>    compr = re.compile(sc)
> Traceback (most recent call last):
>    File 
> "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", line 170, in mysplit
>      compr = re.compile(sc)
>              ^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>      return _compile(pattern, flags)
>             ^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>      p = _compiler.compile(pattern, flags)
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>      p = _parser.parse(p, flags)
>          ^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>      p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>      itemsappend(_parse(source, state, verbose, nested + 1,
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>      raise source.error('global flags not at the start '
> re.error: global flags not at the start of the expression at position 28
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>    File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
>      dist(i[:-4], fArgs._sections['args'])
>    File "/home/rene/lightproof-1.6/make.py", line 15, in dist
>      code = pythonpath.lightproof_compile___implname__.c(f.read(), 
> a['lang'])
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File 
> "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", line 270, in c
>      item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File 
> "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", line 174, in mysplit
>      raise Exception(str(e), oldline)
> Exception: ('global flags not at the start of the expression at position 
> 28', 126)
> 
> missing config file or options: src/hu_HU/hu_HU.cfg
> /home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
> SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
> This alias will be removed in Python 3.12. Use ConfigParser directly 
> instead.
>    fArgs = cp.SafeConfigParser()
> /usr/lib/python3.11/zipfile.py:1547: UserWarning: Duplicate name: 
> 'META-INF/manifest.xml'
>    return self._open_to_write(zinfo, force_zip64=force_zip64)
> /home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
> SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
> This alias will be removed in Python 3.12. Use ConfigParser directly 
> instead.
>    fArgs = cp.SafeConfigParser()
> Traceback (most recent call last):
>    File 
> "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", line 170, in mysplit
>      compr = re.compile(sc)
>              ^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>      return _compile(pattern, flags)
>             ^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>      p = _compiler.compile(pattern, flags)
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>      p = _parser.parse(p, flags)
>          ^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>      p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>      itemsappend(_parse(source, state, verbose, nested + 1,
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>      raise source.error('global flags not at the start '
> re.error: global flags not at the start of the expression at position 28
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>    File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
>      dist(i[:-4], fArgs._sections['args'])
>    File "/home/rene/lightproof-1.6/make.py", line 15, in dist
>      code = pythonpath.lightproof_compile___implname__.c(f.read(), 
> a['lang'])
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File 
> "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", line 270, in c
>      item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File 
> "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", line 174, in mysplit
>      raise Exception(str(e), oldline)
> Exception: ('global flags not at the start of the expression at position 
> 28', 75)
> 
> missing config file or options: src/ru_RU/ru_RU.cfg
> /home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
> SafeConfigParser class has been renamed to ConfigParser in Python 3.2. 
> This alias will be removed in Python 3.12. Use ConfigParser directly 
> instead.
>    fArgs = cp.SafeConfigParser()

Making a new bug out of this since the actual original bug is not 
reproducible.

Regards,

Rene



Bug 1031578 cloned as bug 1031606 Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:15:07 GMT) (full text, mbox, link).


Changed Bug title to 'ru/hu fail to build with python 3.11: re.error: global flags' from 'lightproof: FTBFS in testing: make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1'. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:15:07 GMT) (full text, mbox, link).


Added blocking bug(s) of 1031606: 1031578 Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:15:08 GMT) (full text, mbox, link).


Removed tag(s) unreproducible. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:15:09 GMT) (full text, mbox, link).


Added tag(s) help. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:15:09 GMT) (full text, mbox, link).


Changed Bug title to 'ru/hu fail to build with python 3.11: re.error:' from 'ru/hu fail to build with python 3.11: re.error: global flags'. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:24:03 GMT) (full text, mbox, link).


Changed Bug title to 'ru/hu fail to build with python 3.11: re.error: globalflags not at the start of the expression at position 28' from 'ru/hu fail to build with python 3.11: re.error:'. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:33:03 GMT) (full text, mbox, link).


Removed blocking bug(s) of 1031606: 1031578 Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:54:02 GMT) (full text, mbox, link).


Added indication that bug 1031606 blocks 1031578 Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 08:54:04 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://bugs.documentfoundation.org/show_bug.cgi?id=153726'. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 09:21:03 GMT) (full text, mbox, link).


Added tag(s) upstream. Request was from Rene Engelhard <rene@debian.org> to control@bugs.debian.org. (Sun, 19 Feb 2023 09:21:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>:
Bug#1031606; Package src:lightproof. (Sun, 19 Feb 2023 11:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Jochen Sprickerhof <jspricke@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>. (Sun, 19 Feb 2023 11:09:05 GMT) (full text, mbox, link).


Message #49 received at 1031606@bugs.debian.org (full text, mbox, reply):

From: Jochen Sprickerhof <jspricke@debian.org>
To: 1031606@bugs.debian.org
Subject: Re: Bug#1031578: lightproof: FTBFS in testing: make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1
Date: Sun, 19 Feb 2023 12:05:19 +0100
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch

Hi Rene,

attached is a simple patch to fix this.

Cheers Jochen

* Rene Engelhard <rene@debian.org> [2023-02-19 09:12]:
>clone 1031578 -1
>retitle -1 ru/hu fail to build with python 3.11: re.error: global 
>flags not at the start of the expression at position 28
>block -1 by 1031578
>tag -1 - unreproducible
>tag -1 + help
>thanks
>
>Hi,
>
>Am 19.02.23 um 08:49 schrieb Rene Engelhard:
>>The real issue though seems to be a fallout of the python3 
>>transition and that it breaks with python 3.11:
>>
>>for cfg in `find src -name "*.cfg"`; do \
>>     python3 make.py $cfg; \
>>done
>>/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
>>SafeConfigParser class has been renamed to ConfigParser in Python 
>>3.2. This alias will be removed in Python 3.12. Use ConfigParser 
>>directly instead.
>>   fArgs = cp.SafeConfigParser()
>>/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py:170: FutureWarning: Possible nested set at position 5
>>   compr = re.compile(sc)
>>Traceback (most recent call last):
>>   File "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
>>line 170, in mysplit
>>     compr = re.compile(sc)
>>             ^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>>     return _compile(pattern, flags)
>>            ^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>>     p = _compiler.compile(pattern, flags)
>>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>>     p = _parser.parse(p, flags)
>>         ^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>>     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>>     itemsappend(_parse(source, state, verbose, nested + 1,
>>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>>     raise source.error('global flags not at the start '
>>re.error: global flags not at the start of the expression at position 28
>>
>>During handling of the above exception, another exception occurred:
>>
>>Traceback (most recent call last):
>>   File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
>>     dist(i[:-4], fArgs._sections['args'])
>>   File "/home/rene/lightproof-1.6/make.py", line 15, in dist
>>     code = pythonpath.lightproof_compile___implname__.c(f.read(), 
>>a['lang'])
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
>>line 270, in c
>>     item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
>>line 174, in mysplit
>>     raise Exception(str(e), oldline)
>>Exception: ('global flags not at the start of the expression at 
>>position 28', 126)
>>
>>missing config file or options: src/hu_HU/hu_HU.cfg
>>/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
>>SafeConfigParser class has been renamed to ConfigParser in Python 
>>3.2. This alias will be removed in Python 3.12. Use ConfigParser 
>>directly instead.
>>   fArgs = cp.SafeConfigParser()
>>/usr/lib/python3.11/zipfile.py:1547: UserWarning: Duplicate name: 
>>'META-INF/manifest.xml'
>>   return self._open_to_write(zinfo, force_zip64=force_zip64)
>>/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
>>SafeConfigParser class has been renamed to ConfigParser in Python 
>>3.2. This alias will be removed in Python 3.12. Use ConfigParser 
>>directly instead.
>>   fArgs = cp.SafeConfigParser()
>>Traceback (most recent call last):
>>   File "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
>>line 170, in mysplit
>>     compr = re.compile(sc)
>>             ^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
>>     return _compile(pattern, flags)
>>            ^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
>>     p = _compiler.compile(pattern, flags)
>>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
>>     p = _parser.parse(p, flags)
>>         ^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
>>     p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
>>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
>>     itemsappend(_parse(source, state, verbose, nested + 1,
>>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
>>     raise source.error('global flags not at the start '
>>re.error: global flags not at the start of the expression at position 28
>>
>>During handling of the above exception, another exception occurred:
>>
>>Traceback (most recent call last):
>>   File "/home/rene/lightproof-1.6/make.py", line 43, in <module>
>>     dist(i[:-4], fArgs._sections['args'])
>>   File "/home/rene/lightproof-1.6/make.py", line 15, in dist
>>     code = pythonpath.lightproof_compile___implname__.c(f.read(), 
>>a['lang'])
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
>>line 270, in c
>>     item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>   File "/home/rene/lightproof-1.6/pythonpath/lightproof_compile___implname__.py", 
>>line 174, in mysplit
>>     raise Exception(str(e), oldline)
>>Exception: ('global flags not at the start of the expression at 
>>position 28', 75)
>>
>>missing config file or options: src/ru_RU/ru_RU.cfg
>>/home/rene/lightproof-1.6/make.py:39: DeprecationWarning: The 
>>SafeConfigParser class has been renamed to ConfigParser in Python 
>>3.2. This alias will be removed in Python 3.12. Use ConfigParser 
>>directly instead.
>>   fArgs = cp.SafeConfigParser()
>
>Making a new bug out of this since the actual original bug is not 
>reproducible.
>
>Regards,
>
>Rene
[move-ignore-case-flag-to-the-start-of-th.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Jochen Sprickerhof <jspricke@debian.org> to 1031606-submit@bugs.debian.org. (Sun, 19 Feb 2023 11:09:05 GMT) (full text, mbox, link).


Reply sent to Rene Engelhard <rene@debian.org>:
You have taken responsibility. (Sun, 19 Feb 2023 11:39:05 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sun, 19 Feb 2023 11:39:05 GMT) (full text, mbox, link).


Message #56 received at 1031606-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1031606-close@bugs.debian.org
Subject: Bug#1031606: fixed in lightproof 1.6-3
Date: Sun, 19 Feb 2023 11:34:20 +0000
Source: lightproof
Source-Version: 1.6-3
Done: Rene Engelhard <rene@debian.org>

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

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated lightproof 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 19 Feb 2023 12:14:42 +0100
Source: lightproof
Architecture: source
Version: 1.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 1031578 1031606
Changes:
 lightproof (1.6-3) unstable; urgency=medium
 .
   * apply patch from Jochen Sprickerhof to
     move ignore case flag to the start of the start of the regex
     closes: #1031606 (and also closes: #1031578)
Checksums-Sha1:
 19796977d83540a14031bf8b2cd1a62a46c3c7b4 2007 lightproof_1.6-3.dsc
 c02bb76e6123a20887cb8e14905972947281e371 4468 lightproof_1.6-3.debian.tar.xz
 4b8bb573f28190c8345804d1432c56ba7f8096e8 6329 lightproof_1.6-3_source.buildinfo
Checksums-Sha256:
 783ab9b1c95501f8175077b770adcfc73a796a3e05f3583293a86b7206c0f575 2007 lightproof_1.6-3.dsc
 16b50562082b395c676ec4c3f0352383b22ee90bc4e91f41eebb9693ce1c8e6d 4468 lightproof_1.6-3.debian.tar.xz
 41e862a857505efbb9d5ed91719fcf8a76c02173a5f14f3a36c84a1b3ecf5f52 6329 lightproof_1.6-3_source.buildinfo
Files:
 adfe418b90b1f80a603fc68915f2cdb4 2007 text optional lightproof_1.6-3.dsc
 433dc2909e5c9867c988676da067eb8d 4468 text optional lightproof_1.6-3.debian.tar.xz
 605f580034e36dea0fe28197da53f709 6329 text optional lightproof_1.6-3_source.buildinfo

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

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmPyBg0QHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cJmID/0T8bGa3TxtnQU7/0lxUZv1MtYsalS1MeBt
hMR3nl/AyXEZf/Lla9wayKRQCjM1n/47g3pw26WZUDszXkYW6dID2rF0b8zCj+tV
1n3VSLmLQtNNss+jUJt22zKtkLrA7crWsS+XLrYJrHET0yIEoWnhSQZP5PHx224v
mYYvSrOlWuakxWhrpK7GUnHfBodrUs+HJj65I1T8aVAZxD6DHsKBt5rZIJ89kMMk
usDjzvAv9b/gRrFViKMQZ4tL0T6QXwY4t/ulFCK54rdaSPpR+xXs51QpOpWuwGS8
TvNz8+RUro/C7+FdNQow5fBcslIc6utvTBacExGXqnkY7dDKLwlD9lzq5qwRwY2x
Vv2Tbq6+y41uCR7ouChaJiLT0Drjb3q6Bpkjibi2Y0qSw0PGOQOkvdlk8Y4XRNLM
BjbGt1PWBZhihPHk4CJ0ZadrcAAmvNq5iYpbl+hq8IWCRYFJIpG0XsVvsluPrFHS
T4UFs2RAzIMpE8Oqat+ZfsuQJ4L9NozErLDZzeHJNiB6pHk/iD8usepPgioBQkD5
q9Vim5vWK1btaw1f6IZV5xHE57qQaU1bwMgjK/ReW21Xp2m1FZj+QKYtqZWIkFrn
Q+G9AfX+MsRHCv5kbmX/8FMl2y+9FRuzVR4ou7xmJmTWeHNhsJw8+/dgq1QhC8Mq
wO8RzWDIdg==
=DNn7
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 29 Mar 2023 07:25:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jul 4 10:03:08 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.