Error with kurento-buildpackage.sh: File name too long. #37
M-Dominguez
started this conversation in
Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using kurento-buildpackage.sh to build a face detection module with OpenCV
Kurento 7.0.0
opencv ^3.2.0
cmake 3.0
The issue
When I run the kurento-buildpackage.sh script I get "File name too long". It looks like the file name string is getting built based on some git logs.
Question
How does the file name string get built? and can I change how the string is built?
debian/changelog:
1 face-detection-module (0.0.1~rc1.20.04~20230426135001.git5c22978.20.04~20230426192106.git5c22978.20.04~2023050213531 4.git5c22978.20.04~20230519152955.git3e863eb.20.04~20230519153351.git3e863eb.20.04~20230519210151.git3e863eb.20.04~2 0230519210843.git3e863eb) UNRELEASED; urgency=medium 2 3 4 -- Kurento <[kur...@openvidu.io](https://groups.google.com/)> Fri, 19 May 2023 16:08:46 -0500 5 6 face-detection-module (0.0.1~rc1) testing; urgency=medium 7 8 * Initial release. 9 10 -- Maintainer Name <[maintai...@example.com](https://groups.google.com/)> Tue, 11 Apr 2023 14:27:27 -0500
Error:
sudo ~/Kurento/kurento/ci-scripts/kurento-buildpackage.sh
[kurento-buildpackage.sh] ==================== BEGIN ==================== ++ id -u + [[ 0 -eq 0 ]] + CFG_INSTALL_KURENTO=false + CFG_INSTALL_KURENTO_VERSION= + CFG_INSTALL_FILES=false + CFG_INSTALL_FILES_DIR=/home/mdominguez/github/kurento-face-detection + CFG_DSTDIR=/home/mdominguez/github/kurento-face-detection + CFG_ALLOW_DIRTY=false + CFG_RELEASE=false ++ date --utc +%Y%m%d%H%M%S + CFG_TIMESTAMP=20230522142358 + CFG_APT_ADD_REPO=false + CFG_APT_PROXY_URL= + [[ 0 -gt 0 ]] + [[ -d /home/mdominguez/github/kurento-face-detection ]] + [[ -d /home/mdominguez/github/kurento-face-detection ]] + [[ false == \t\r\u\e ]] + CFG_APT_ADD_REPO=false [kurento-buildpackage.sh] CFG_INSTALL_KURENTO=false [kurento-buildpackage.sh] CFG_INSTALL_KURENTO_VERSION= [kurento-buildpackage.sh] CFG_INSTALL_FILES=false [kurento-buildpackage.sh] CFG_INSTALL_FILES_DIR=/home/mdominguez/github/kurento-face-detection [kurento-buildpackage.sh] CFG_DSTDIR=/home/mdominguez/github/kurento-face-detection [kurento-buildpackage.sh] CFG_ALLOW_DIRTY=false [kurento-buildpackage.sh] CFG_RELEASE=false [kurento-buildpackage.sh] CFG_TIMESTAMP=20230522142358 [kurento-buildpackage.sh] CFG_APT_ADD_REPO=false [kurento-buildpackage.sh] CFG_APT_PROXY_URL= + source /etc/lsb-release ++ DISTRIB_ID=Ubuntu ++ DISTRIB_RELEASE=20.04 ++ DISTRIB_CODENAME=focal ++ DISTRIB_DESCRIPTION='Ubuntu 20.04.6 LTS' + APT_ARGS=() + [[ -n '' ]] + [[ false == \t\r\u\e ]] + [[ false == \t\r\u\e ]] [kurento-buildpackage.sh] Install build dependencies + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive + apt-get update Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease Hit:6 http://ubuntu.openvidu.io/7.0.0 focal InRelease Reading package lists... Done + mk-build-deps --install --remove '--tool=apt-get -o Debug::pkgProblemResolver=yes --target-release '\''a=focal-backports'\'' --no-install-recommends --no-remove --yes' ./debian/control mk-build-deps: warning: ./debian/changelog(l4): found trailer where expected start of change data LINE: -- Kurento Fri, 19 May 2023 16:08:46 -0500 dh_testdir dh_testroot dh_prep dh_testdir dh_testroot dh_install dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms dh_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'face-detection-module-build-deps' in '../face-detection-module-build-deps_0.0.1~rc1.20.04~20230426135001.git5c22978.20.04~20230426192106.git5c22978.20.04~20230502135314.git5c22978.20.04~20230519152955.git3e863eb.20.04~20230519153351.git3e863eb.20.04~20230519210151.git3e863eb.20.04~20230519210843.git3e863eb_all.deb'. dpkg-deb: error: unable to create '../face-detection-module-build-deps_0.0.1~rc1.20.04~20230426135001.git5c22978.20.04~20230426192106.git5c22978.20.04~20230502135314.git5c22978.20.04~20230519152955.git3e863eb.20.04~20230519153351.git3e863eb.20.04~20230519210151.git3e863eb.20.04~20230519210': File name too long dh_builddeb: error: dpkg-deb --build debian/face-detection-module-build-deps .. returned exit code 2 dh_builddeb: error: Aborting due to earlier error make: *** [debian/rules:30: binary-indep] Error 2 Error in the build process: exit status 2 dpkg: error: cannot access archive 'face-detection-module-build-deps_0.0.1~rc1.20.04~20230426135001.git5c22978.20.04~20230426192106.git5c22978.20.04~20230502135314.git5c22978.20.04~20230519152955.git3e863eb.20.04~20230519153351.git3e863eb.20.04~20230519210151.git3e863eb.20.04~20230519210843.git3e863eb_all.deb': File name too long mk-build-deps: dpkg --unpack failed + on_exit [kurento-buildpackage.sh] ERROR (2) [kurento-buildpackage.sh] ==================== END ====================
Beta Was this translation helpful? Give feedback.
All reactions