Your message dated Tue, 13 Oct 2020 12:49:34 +0200
with message-id <160258617436.3150661.5708136163414757...@auryn.jones.dk>
and subject line Re: emscripten: FTBFS when built with dpkg-buildpackage -A 
(ln: failed to create symbolic link)
has caused the Debian Bug report #817810,
regarding emscripten: FTBFS when built with dpkg-buildpackage -A (ln: failed to 
create symbolic link)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
817810: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817810
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:emscripten
Version: 1.22.1-1
User: sanv...@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.

--- End Message ---
--- Begin Message ---
Version: 1.22.1+dfsg-1

Packaging was restructured since 1.22.1+dfsg-1 to use dh_link,
and was (at a later release, but believed working that early too)
checked that it now succesfully builds with -A option.

(also, the package is now arch-independent, which I believe should have 
triggered this bug even without the -A option).

Thanks for reporting,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


--- End Message ---

Reply via email to