Package: src:cylc
Version: 7.7.2-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh  build-indep --with python2
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
echo 7.7.2-2 > VERSION
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/<<PKGBUILDDIR>>/bin
 && /usr/bin/make
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd doc && /usr/bin/make
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
cd src/suite-design-guide && /usr/bin/make
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc/src/suite-design-guide'

[... snipped ...]

I: dh_python2 tools:113: replacing shebang in 
debian/cylc/usr/share/cylc/bin/cylc-view
I: dh_python2 tools:113: replacing shebang in 
debian/cylc/usr/share/cylc/bin/cylc-warranty
   dh_perl -i
   dh_link -i
   dh_strip_nondeterminism -i
   dh_compress -i
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Delete after install. Use packages instead.
for p in Pyro cherrypy markupsafe jinja2 ; do \
        rm -rf debian/python-cylc/usr/lib/python2.7/dist-packages/$p ; \
        done
mkdir -p debian/cylc/usr/share/cylc
mv debian/python-cylc/usr/lib/python2.7/dist-packages/cylc/job.sh 
debian/cylc/usr/share/cylc/job.sh
mv: cannot stat 
'debian/python-cylc/usr/lib/python2.7/dist-packages/cylc/job.sh': No such file 
or directory
make[1]: *** [debian/rules:39: override_dh_fixperms] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess 
returned exit status 2
--------------------------------------------------------------------------------

To reproduce, please try building with "dpkg-buildpackage -A".

The usual hint here would be to split override_dh_fixperms into 
override_dh_fixperms-arch
and override_dh_fixperms-indep, but honestly, I wonder why there is so much
stuff in the current override_dh_fixperms target, that's usually to fix 
permissions.

Maybe you just need to add an override_dh_auto_install-indep target in addition 
to the
already existing override_dh_auto_install-arch.

In either case, please consider uploading in source-only form 
(dpkg-buildpackage -S),
so that this kind of bugs never propagate to testing.

Thanks.

Reply via email to