Bug#928128: sagemath-database-elliptic-curves: clean after build deletes ellcurves/ which is not regenerated

Andreas Beckmann anbe at debian.org
Sun Apr 28 17:55:52 BST 2019


Source: sagemath-database-elliptic-curves
Version: 0.8.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

anjuta/experimental fails to build twice in a row. The first build
succeeds, but the subsequent clean deletes
ellcurves/* which is not regenerated during the second build,
causing this to fail with:

 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/sagemath-database-elliptic-curves-0.8.1'
rm -rf build
make[1]: Leaving directory '/build/sagemath-database-elliptic-curves-0.8.1'
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building sagemath-database-elliptic-curves using existing ./sagemath-database-elliptic-curves_0.8.1.orig.tar.bz2
dpkg-source: warning: ignoring deletion of directory ellcurves
dpkg-source: warning: ignoring deletion of file ellcurves/rank8, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank21, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank14, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank4, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank24, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank9, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank10, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank6, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank11, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank20, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank22, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank28, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank15, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank17, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank3, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank5, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank23, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank19, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank12, use --include-removal to override
dpkg-source: warning: ignoring deletion of file ellcurves/rank7, use --include-removal to override
dpkg-source: info: building sagemath-database-elliptic-curves in sagemath-database-elliptic-curves_0.8.1-1.debian.tar.xz
dpkg-source: info: building sagemath-database-elliptic-curves in sagemath-database-elliptic-curves_0.8.1-1.dsc
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/sagemath-database-elliptic-curves-0.8.1'
SAGE_SHARE=./build python debian/spkg-install
Traceback (most recent call last):
  File "debian/spkg-install", line 88, in <module>
    install_ellcurves()
  File "debian/spkg-install", line 61, in install_ellcurves
    shutil.move(os.path.join(os.getcwd(), 'ellcurves'), target)
  File "/usr/lib/python2.7/shutil.py", line 325, in move
    copy2(src, real_dst)
  File "/usr/lib/python2.7/shutil.py", line 153, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 96, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/build/sagemath-database-elliptic-curves-0.8.1/ellcurves'
make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1
make[1]: Leaving directory '/build/sagemath-database-elliptic-curves-0.8.1'
make: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sagemath-database-elliptic-curves_0.8.1-1_twice.log.gz
Type: application/gzip
Size: 5343 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190428/23f7f730/attachment.gz>


More information about the debian-science-maintainers mailing list