Open F2X opened 10 years ago
Sorry for the delay I'll look into it later today and get back to you.
Can you run the build with the --verbose flag set and add the output so I can see the issue.
I've found the debuild before fails and output a message saying that the dependency doesn't exist, but the error is often easy to see in --verbose mode.
Hello, I have the same pb. Here the output message with --verbose:
... dpkg-source -b packaging dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision dpkg-buildpackage: error: dpkg-source -b packaging gave error exit status 255
The reason comes from this patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700177
You can't use a revision number (options.build_number) in the version of the changelog if source format is equal to "3.0 (native)".
If I remove the "-${build_number}" pattern from the changelog template everything is ok. But as mentioned by F2X source format shouldn't it be "3.0 (quirt)" ? As explain here : https://wiki.debian.org/DebianMentorsFaq#What_is_the_difference_between_a_native_Debian_package_and_a_non-native_package.3F
By the way, thank you for this cool grunt plugin.
I can't remember but I'm pretty sure when I used "3.0 (quirt)" there were other issues and the only way to fix them was to use "3.0 (native)".
Which version of the plugin are you using because I'm this on about 20 builds with "3.0 (native)" and "-${build_number}" pattern. The current version is 0.1.8.
Also what version of debuild are you using?
I get the following:
$dpkg -l devscripts
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================================================-=====================================-=====================================-======================================================================================================================================
ii devscripts 2.14.1 amd64 scripts to make the life of a Debian Package maintainer easier
I'm using the current version (0.1.8) of the plugins under debian jessie with devscripts v2.14.5 You must check the version of dpkg-dev. This behavior has been introduced since version 1.17.0
http://metadata.ftp-master.debian.org/changelogs//main/d/dpkg/dpkg_1.17.10_changelog:
"Catch mismatches between version strings and format versions in dpkg-source. Ensure that a 3.0 (quilt) package has a non-native version and that a 3.0 (native) package has a native version. Closes: #700177"
Devscripts v2.14.5 is using dpkg-dev v1.17.10
I guess this is an early warning of a problem will affect me once I update to 2.14.5.
I'll double check why / if I can't use "3.0 (quirt)" and try to work around the issue(s) you mentioned.
Cool. Thanks!
I am in a similar situation. Found this plugin and got quite excited, but can't get past this issue.
I'm having the same issue for one of my nodejs projects. 2 others succeed without errors. All three projects are on the same VM (debian wheezy, fully updated packages).
Here some errors at the end of packaging using verbose mode. I think the copy error should not be relevant to succeeding the build, or at least show another error then debhelper so it is clear why it fails.
For the make stuff I have really no clue. Hopefully you are able to solve with this with following info.
cp: cannot overwrite non-directory `/data/myproj/tmp/packaging/debian/myproj/var/myproj/node_modules/mysql/node_modules/bignumber.js/bignumber.js' with directory `/data/myproj/node_modules/mysql/node_modules/bignumber.js'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/data/myproj/tmp/packaging'
dh_auto_install: make -j1 install DESTDIR=/data/myproj/tmp/packaging/debian/myproj AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [binary] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc -sa failed
Reading tmp/myproj_0.0.0-1_amd64.build...OK
error running debuild!!
>> debhelper dependency not found try running 'sudo apt-get install debhelper'
Warning: Task "debian_package:files" failed. Use --force to continue.
Aborted due to warnings.
Using nodeinspector I was able to debug. I hope following information can be usefull in order to solve the issue.
debian_package.js line 212 finds the string in the search.
logFile.search("Unmet\\sbuild\\sdependencies\\:\\sdebhelper")
causing the warning as shown in my previous comment. >> debhelper dependency not found try running 'sudo apt-get install debhelper'
I'm lost and have no clue why it fails for this specific nodejs solution while it succeeds for both my other solutions.
Logfile
dpkg-buildpackage -rfakeroot -D -us -uc -sa
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package ws-notify
dpkg-buildpackage: source version 0.0.0-1
dpkg-buildpackage: source changed by abcdefgh <dev@abcdefgh.com>
dpkg-source --before-build packaging
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-draw
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-binfilter
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-impress
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-help
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-writer
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-base
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-math
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-calc
dpkg-checkbuilddeps: warning: can't parse dependency ooobasis33-en_us-res
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
dh_clean
rm -f debian/ws-notify.substvars
rm -f debian/ws-notify.*.debhelper
rm -rf debian/ws-notify/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} \; \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
rm -f *-stamp
dpkg-source -b packaging
dpkg-source: info: using source format `3.0 (native)'
dpkg-source: info: building ws-notify in ws-notify_0.0.0-1.tar.gz
dpkg-source: info: building ws-notify in ws-notify_0.0.0-1.dsc
debian/rules build
dh build
dh_testdir
dh_auto_configure
dh_auto_build
make -j1
make[1]: Entering directory `/data/abcdefgh/ws-notify/tmp/packaging'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/data/abcdefgh/ws-notify/tmp/packaging'
dh_auto_test
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
rm -f debian/ws-notify.substvars
rm -f debian/ws-notify.*.debhelper
rm -rf debian/ws-notify/
dh_installdirs
install -d debian/ws-notify
install -d debian/ws-notify/var/abcdefgh/ws-notify
dh_auto_install
make -j1 install DESTDIR=/data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify AM_UPDATE_INFO_DIR=no
make[1]: Entering directory `/data/abcdefgh/ws-notify/tmp/packaging'
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/HISTORY.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/HISTORY.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/LICENSE /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/LICENSE
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/README.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/README.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/index.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/index.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/lib /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/lib/read.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/read.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/lib/types /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/lib/types/json.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types/json.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/lib/types/raw.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types/raw.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/lib/types/text.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types/text.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/lib/types/urlencoded.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/lib/types/urlencoded.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/History.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/History.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/Makefile /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/Makefile
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/Readme.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/Readme.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/component.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/component.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/index.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/index.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/package.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/bytes/package.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/History.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/History.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/LICENSE /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/LICENSE
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/Readme.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/Readme.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/index.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/index.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/package.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/depd/package.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/Changelog.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/Changelog.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/LICENSE /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/LICENSE
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/README.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/README.md
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/README.md~ /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/README.md~
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/dbcs-codec.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/dbcs-codec.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/dbcs-data.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/dbcs-data.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/index.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/index.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/internal.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/internal.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-codec.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-codec.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-data-generated.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-data-generated.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-data.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-data.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/big5-added.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/big5-added.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp936.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp936.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp949.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp949.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp950.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp950.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/eucjp.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/eucjp.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/gbk-added.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/gbk-added.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/shiftjis.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/shiftjis.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/utf16.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/utf16.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/utf7.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/encodings/utf7.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib/extend-node.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib/extend-node.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib/index.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib/index.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib/streams.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/lib/streams.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/package.json /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/iconv-lite/package.json
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/media-typer /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/media-typer
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/media-typer && cp -a /data/abcdefgh/ws-notify/node_modules/body-parser/node_modules/media-typer/HISTORY.md /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/body-parser/node_modules/media-typer/HISTORY.md
....................
................
.....................
Removed to be able to past in this comment
....................
.......................
......................
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/errors.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/errors.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/field_flags.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/field_flags.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/server_status.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/server_status.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/types.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/constants/types.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ClientAuthenticationPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ClientAuthenticationPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComChangeUserPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComChangeUserPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComPingPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComPingPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComQueryPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComQueryPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComQuitPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComQuitPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/EmptyPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/EmptyPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/EofPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/EofPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ErrorPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ErrorPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/Field.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/Field.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/FieldPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/FieldPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/HandshakeInitializationPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/HandshakeInitializationPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/OkPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/OkPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/OldPasswordPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/OldPasswordPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ResultSetHeaderPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/ResultSetHeaderPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/RowDataPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/RowDataPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/SSLRequestPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/SSLRequestPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/StatisticsPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/StatisticsPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/UseOldPasswordPacket.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/UseOldPasswordPacket.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/index.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/packets/index.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/ChangeUser.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/ChangeUser.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Handshake.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Handshake.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Ping.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Ping.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Query.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Query.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Quit.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Quit.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Sequence.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Sequence.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Statistics.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/Statistics.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/index.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/lib/protocol/sequences/index.js
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/node_modules /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/node_modules
mkdir -p /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/node_modules && cp -a /data/abcdefgh/ws-notify/node_modules/mysql/node_modules/bignumber.js /data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/node_modules/bignumber.js
cp: cannot overwrite non-directory `/data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify/var/abcdefgh/ws-notify/node_modules/mysql/node_modules/bignumber.js/bignumber.js' with directory `/data/abcdefgh/ws-notify/node_modules/mysql/node_modules/bignumber.js'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/data/abcdefgh/ws-notify/tmp/packaging'
dh_auto_install: make -j1 install DESTDIR=/data/abcdefgh/ws-notify/tmp/packaging/debian/ws-notify AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [binary] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Sorry I've been complete flat out on another project. I will definitely look into this over the next week.
No worries. Just updated my previous comment with the full log, since it was missing the last part.
Hi,
I had same problem. Neither 3.0 (quirt)
nor 3.0 (native)
worked. However, if I remove format
file it worked.
I forked the project and added packaging_directory
option to change the content of the packaging
directory: https://github.com/jenshaase/grunt-debian-package/commit/6149b795a79f9ebd0ef52d73c7d166fdbf2c0b9b
Cheers, Jens
Is there any status update yet?
Hello
I've had a similar problem, but I was able to make it work by slightly changing my Gruntfile. This is my former "files" section for target "build":
build: {
expand: true,
cwd: './',
src: [
'**/*',
],
dest: '/var/www/'
}
and this is the error output from grunt debian_package --verbose
:
mkdir -p "/iG/projects/news-importer/tmp/packaging/debian/newsimporter/var/www/tmp/packaging/debian" && cp -a -P "/iG/projects/news-importer/tmp/packaging/debian/files" "/iG/projects/news-importer/tmp/packaging/debian/newsimporter/var/www/tmp/packaging/debian/files"
cp: cannot stat '/iG/projects/news-importer/tmp/packaging/debian/files': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/iG/projects/news-importer/tmp/packaging'
dh_auto_install: make -j1 install DESTDIR=/iG/projects/news-importer/tmp/packaging/debian/newsimporter AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -sa failed
Reading tmp/newsimporter_1.0.0-1_amd64.build...OK
error running debuild!!
>> debhelper dependency not found try running 'sudo apt-get install debhelper'
Warning: Task "debian_package:build" failed. Use --force to continue.
Aborted due to warnings.
All I had to do to get the packager to complete successfully is to add a file filter in my Gruntfile, negating the temporary files the debian_package plugins creates during the packaging process (everything under ./tmp folder):
build: {
expand: true,
cwd: './',
src: [
'**/*',
'!tmp/**/*' // Excluding debian_package temporary files
],
dest: '/var/www/'
}
And now the process output is:
Finished running lintian.
>> Created package: tmp/newsimporter_1.0.0-1_all.deb
Done, without errors.
From that I suspect that what causes the error (at least in my case) is that, without that negating rule, debianpackage plugin attempts to package the grunt temporary files (./tmp/*/_) into the final deb package.
Hope this helps.
Ricardo
"debhelper dependency not found" was the message displayed for all errors. Fixed with commit https://github.com/jamesdbloom/grunt-debian-package/commit/b6521d55e43a8970e884d3f9c69a2e4a1b2c7ae7
Now it is displayed only in the right cases. In all other cases, use the --verbose flag to get more details about what caused your error
This issue should be closed as it regroup several different issues that are not related to the lack of debhelper
I tried to package a simple angular app but I have the following error when I launch 'grunt debian_package --verbose'. debhelper is already installed but I'm asked to install it again. Moreover is it normal that the source format is in '3.0 (native)' and not '3.0 (quirt)'?
Here is my Gruntfile.js config: