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

Several issues solved but python issue remaining (Was: [Help] Build issue of latest version of libsbml (probably Java compatibility issue))



Hi again,

> > Now dh_auto_build succeeds but there is a whole bunch of reports for
> > dh_missing, see relevant excerpt at the end of this email (Salsa CI job
> > stopped outputting before this step).
> > Would you like to take over?
> 
> Sure I'll take it.

The Salsa CI log[1] says

  Job's log exceeded limit of 4194304 bytes.
  Job execution will continue but no more output will be collected.

which is unfortunate. (Any idea how to enable the complete build logs?)

My local log contains

...
set -x ; \
for pyv in `py3versions -d` ; do \
    if [ -d /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/*/${pyv}/site-packages/ ] ; then \
        mkdir -p /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/${pyv}/dist-packages ; \
        mv /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/*/${pyv}/site-packages/* /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/${pyv}/dist-packages ; \
    fi ; \
done
+ py3versions -d
+ [ -d /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/python3.10/site-packages/ ]
+ mkdir -p /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/python3.10/dist-packages
+ mv /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/python3.10/site-packages/libsbml /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/python3.10/site-     packages/libsbml.pth /build/libsbml-5.19.7+dfsg/debian/tmp/usr/lib/python3.10/dist-packages
...

since libsbml supports only one Python3 version as upstream said.  I
left the former loop which contained the `-s` option to ease the
change in case upstream might support more versions.

Unfortunately the autopkgtest fails:

autopkgtest [10:28:57]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import sbml5;            print(sbml5)" ; done
autopkgtest [10:28:57]: test autodep8-python3: [-----------------------
Testing with python3.11:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'sbml5'
autopkgtest [10:28:58]: test autodep8-python3: -----------------------]


So on one hand we need to tell autopkgtest to just use the default
Python3.  On the other hand if I install the resulting package on
my local host and do the test with python3.10 it also issues the
ModuleNotFoundError. :-(

Any idea how to fix this?

Kind regards

    Andreas.

[1] https://salsa.debian.org/med-team/libsbml/-/jobs/3591405

-- 
http://fam-tille.de


Reply to: