[Pkg-javascript-devel] Bug#980652: select2.js: FTBFS: dh_link: error: link destination debian/node-select2/usr/share/nodejs/select2/dist/js is a directory
Lucas Nussbaum
lucas at debian.org
Wed Jan 20 21:02:20 GMT 2021
Source: select2.js
Version: 4.0.13+dfsg1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> grunt
> Running "requirejs:dist" (requirejs) task
>
> Running "requirejs:dist.full" (requirejs) task
>
> Running "requirejs:i18n" (requirejs) task
>
> Running "concat:dist" (concat) task
>
> Running "concat:dist.full" (concat) task
>
> Running "sass:dev" (sass) task
>
> Running "uglify:dist" (uglify) task
> >> 1 file created 149.99KB → 67.55KB
>
> Running "uglify:dist.full" (uglify) task
> >> 1 file created 169.49KB → 75.58KB
>
> Running "sass:dist" (sass) task
>
> Done.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/select2
> /usr/bin/node -e require\(\"./.\"\)
> Removing node_modules/select2
> create-stamp debian/debhelper-build-stamp
> dh_prep
> dh_installdirs
> dh_auto_install --buildsystem=nodejs
> dh_auto_install: warning: package.json#main file not installed, forcing it (./dist/js/select2.js)
>
> mkdir -p /<<BUILDDIR>>/select2.js-4.0.13\+dfsg1/debian/tmp//usr/share/nodejs/select2/
> cp --reflink=auto -a ./package.json /<<BUILDDIR>>/select2.js-4.0.13\+dfsg1/debian/tmp//usr/share/nodejs/select2//
> mkdir -p /<<BUILDDIR>>/select2.js-4.0.13\+dfsg1/debian/tmp//usr/share/nodejs/select2/dist/js
> cp --reflink=auto -a ./dist/js/select2.js /<<BUILDDIR>>/select2.js-4.0.13\+dfsg1/debian/tmp//usr/share/nodejs/select2/dist/js/
> Set ${nodejs:Version} to 12.20.1~dfsg
> dh_install
> dh_installdocs
> dh_installchangelogs
> dh_perl
> dh_link
> dh_link: error: link destination debian/node-select2/usr/share/nodejs/select2/dist/js is a directory
> make: *** [debian/rules:4: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2021/01/20/select2.js_4.0.13+dfsg1-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-javascript-devel
mailing list