2018-09-19 18:56:21 |
Mauricio Faria de Oliveira |
bug |
|
|
added bug |
2018-09-19 18:56:39 |
Mauricio Faria de Oliveira |
node-mime-types (Ubuntu): status |
New |
In Progress |
|
2018-09-19 18:56:42 |
Mauricio Faria de Oliveira |
node-mime-types (Ubuntu): assignee |
|
Mauricio Faria de Oliveira (mfo) |
|
2018-09-19 18:58:55 |
Mauricio Faria de Oliveira |
description |
node-mime-types FTBFS with node-mime 2.3.1
node-mime 2.3.1 no longer ships /usr/share/node-mime/types.json,
leading to this build failure:
...
# just copy the file from node-mime
cp /usr/share/node-mime/types.json node_modules/mime-db/src/deb.types.json
cp: cannot stat '/usr/share/node-mime/types.json': No such file or directory
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 1
make[1]: Leaving directory '/tmp/autopkgtest.bNiyPN/build.yAz/src'
make: *** [debian/rules:8: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
...
The new version ships /usr/share/node-mime/{standard,other}.json instead.
Debian upstream switched to only standard.json, not other.json.
With this patch, the package builds correctly. |
node-mime-types FTBFS with node-mime 2.3.1
node-mime 2.3.1 no longer ships /usr/share/node-mime/types.json,
leading to this build failure:
...
# just copy the file from node-mime
cp /usr/share/node-mime/types.json node_modules/mime-db/src/deb.types.json
cp: cannot stat '/usr/share/node-mime/types.json': No such file or directory
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 1
make[1]: Leaving directory '/tmp/autopkgtest.bNiyPN/build.yAz/src'
make: *** [debian/rules:8: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
...
The new version ships /usr/share/node-mime/{standard,other}.json instead.
Debian upstream switched to only standard.json, not other.json.
With this patch from Debian, the package builds correctly:
...
# just copy the file from node-mime
cp /usr/share/node-mime/standard.json node_modules/mime-db/src/deb.types.json
cd node_modules/mime-db/ && nodejs scripts/build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
... |
|
2018-09-19 18:59:09 |
Mauricio Faria de Oliveira |
attachment added |
|
node-mime-types_node-mime-2.3.1.debdiff https://bugs.launchpad.net/ubuntu/+source/node-mime-types/+bug/1793367/+attachment/5190608/+files/node-mime-types_node-mime-2.3.1.debdiff |
|
2018-09-19 20:19:39 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2018-09-19 20:19:45 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2018-09-19 21:46:52 |
Jeremy Bícha |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906389 |
|
2018-09-19 21:46:52 |
Jeremy Bícha |
bug task added |
|
node-mime-types (Debian) |
|
2018-09-19 22:37:11 |
Bug Watch Updater |
node-mime-types (Debian): status |
Unknown |
New |
|
2018-09-20 00:03:08 |
Launchpad Janitor |
node-mime-types (Ubuntu): status |
In Progress |
Fix Released |
|
2018-11-07 18:05:41 |
Bug Watch Updater |
node-mime-types (Debian): status |
New |
Fix Released |
|