[Python-modules-team] FTBFS trouble upgrading python-django to 1.9.4-1
Luke Faraone
lfaraone at debian.org
Sat Mar 5 23:08:12 UTC 2016
Heya,
I tried upgrading our Django package to 1.9.4, but I'm stuck with a
FTBFS[1] I can't diagnose.
An excerpt of the end of the log of the build failure is attached.
Notably, similar ln/mv errors happen in 1.9.2-1[2], but they aren't
fatal.
Does anybody have an idea what's wrong here?
-- Luke Faraone
[1]: https://people.debian.org/~lfaraone/notes/2016-django194/python-dj
ango_1.9.4-1_amd64.build
[2]: https://people.debian.org/~lfaraone/notes/2016-django194/python-dj
ango_1.9.2-1_amd64.build
PS: Apologies for pushing a tag before I had verified this was working;
I haven't uploaded this package however of course. I can either
overwrite the tag or cut a -2 release.
-------------- next part --------------
make[1]: Entering directory '/«PKGBUILDDIR»'
dh_python3
find debian/python3-django/usr/lib/python3/dist-packages/ \
\( -type f -not -name '*.py' \) -o \( -type d -path '*/django/conf/*_template' \) | \
(while read file; do \
relname=${file##debian/python3-django/usr/lib/python3/dist-packages/}; \
reldirname=$(dirname $relname); \
mkdir -p debian/python-django-common/usr/share/python-django-common/$reldirname; \
mv $file debian/python-django-common/usr/share/python-django-common/$reldirname/; \
ln -sf /usr/share/python-django-common/$relname $file; \
if test -e debian/python-django/usr/share/pyshared/$relname; then \
rm -rf debian/python-django/usr/share/pyshared/$relname; \
ln -sf /usr/share/python-django-common/$relname debian/python-django/usr/share/pyshared/$relname; \
else \
rm -rf debian/python-django/usr/lib/python2.7/dist-packages/$relname; \
ln -sf /usr/share/python-django-common/$relname debian/python-django/usr/lib/python2.7/dist-packages/$relname; \
fi \
done)
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/views.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/views.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/app_template/views.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/apps.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/apps.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/app_template/apps.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/models.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/models.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/app_template/models.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/__init__.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/__init__.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/app_template/__init__.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/tests.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/tests.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/app_template/tests.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/admin.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/admin.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/app_template/admin.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/migrations/__init__.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/app_template/migrations/__init__.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/app_template/migrations/__init__.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/urls.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/urls.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/project_template/project_name/urls.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/__init__.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/__init__.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/project_template/project_name/__init__.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/settings.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/settings.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/project_template/project_name/settings.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/wsgi.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/project_name/wsgi.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/project_template/project_name/wsgi.py-tpl': No such file or directory
mv: cannot stat 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/manage.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python3-django/usr/lib/python3/dist-packages/django/conf/project_template/manage.py-tpl': No such file or directory
ln: failed to create symbolic link 'debian/python-django/usr/lib/python2.7/dist-packages/django/conf/project_template/manage.py-tpl': No such file or directory
make[1]: *** [override_dh_python3] Error 1
debian/rules:67: recipe for target 'override_dh_python3' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [binary] Error 2
debian/rules:10: recipe for target 'binary' failed
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160305/94a4afa3/attachment-0001.sig>
More information about the Python-modules-team
mailing list