Debian Bug report logs -
#817810
emscripten: FTBFS when built with dpkg-buildpackage -A (ln: failed to create symbolic link)
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, sanvila@debian.org, LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>:
Bug#817810; Package src:emscripten.
(Thu, 10 Mar 2016 15:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>.
(Thu, 10 Mar 2016 15:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:emscripten
Version: 1.22.1-1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2
dh_testdir -i
dh_update_autotools_config -i
dh_auto_configure -i
dh_auto_build -i
dh_auto_test -i
fakeroot debian/rules binary-indep
dh binary-indep --with python2
dh_testroot -i
dh_prep -i
dh_auto_install -i
debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f system/include/libcxx/LICENSE.txt system/lib/compiler-rt/LICENSE.TXT system/lib/libcxx/LICENSE.txt system/lib/libcxxabi/LICENSE.TXT tests/bullet/LICENSE tests/enet/LICENSE tests/freetype/LiberationSansBoldLICENSE.txt tests/freetype/docs/LICENSE.TXT tests/openjpeg/LICENSE tests/python/LICENSE tests/sounds/LICENSE.txt tests/poppler/COPYING tests/freetype/LiberationSansBoldLICENSE.txt tests/freealut/COPYING tests/bullet/COPYING system/lib/libcxx/LICENSE.txt system/lib/libcxxabi/LICENSE.TXT tests/bullet/BulletLicense.txt system/include/SDL/COPYING tests/enet/docs/license.dox tests/box2d/License.txt tests/box2d/freeglut/COPYING tools/node_modules/source-map/LICENSE tools/node_modules/source-map/node_modules/amdefine/LICENSE tests/freetype/docs/GPL.TXT
rm -f tools/eliminator/node_modules/uglify-js/.gitignore
rm -f `find . -iname '*.vcproj' -o -iname '*.sln' -o -iname '*.dsp' -o -iname '*.dsw'`
chmod +x tests/embind/build_benchmark
dh_install
mkdir -p /<<PKGBUILDDIR>>/debian/emscripten/usr/bin
cd /<<PKGBUILDDIR>>/debian/emscripten/usr/bin; \
for f in em++ emar emcc emcc.py em-config emconfigure emmake emranlib emscripten.py emscons; do \
ln -s ../share/emscripten/$f; \
done
cd /<<PKGBUILDDIR>>/debian/emscripten/usr/share/emscripten/tools/eliminator/node_modules/uglify-js/; \
rm -rf lib/* bin/uglifyjs; \
ln -s /usr/bin/uglifyjs bin/; \
cd lib; for f in /usr/lib/nodejs/uglify-js/*; do ln -s $f .; done
/bin/sh: 1: cd: can't cd to /<<PKGBUILDDIR>>/debian/emscripten/usr/share/emscripten/tools/eliminator/node_modules/uglify-js/
ln: target 'bin/' is not a directory: No such file or directory
/bin/sh: 4: cd: can't cd to lib
ln: failed to create symbolic link './package.json': File exists
ln: failed to create symbolic link './tools': File exists
debian/rules:15: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:11: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------
Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:
* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.
* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").
Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.
Thanks.
Information forwarded
to debian-bugs-dist@lists.debian.org, LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>:
Bug#817810; Package src:emscripten.
(Thu, 14 Jul 2016 22:14:35 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@debian.org>:
Extra info received and forwarded to list. Copy sent to LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>.
(Thu, 14 Jul 2016 22:14:35 GMT) (full text, mbox, link).
Message #10 received at 817810@bugs.debian.org (full text, mbox, reply):
Greetings.
I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".
If you need help to fix this bug, please tag it as "help".
Thanks.
Severity set to 'serious' from 'important'
Request was from Santiago Vila <sanvila@debian.org>
to control@bugs.debian.org.
(Mon, 01 Aug 2016 21:16:05 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Nov 7 17:52:12 2017;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.