[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1031578: lightproof: FTBFS in testing: make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1



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


Reply to: