Menu

#1 debian package fails

closed
nobody
None
5
2012-07-10
2012-01-12
Anonymous
No

The building of debian package with dpkg-buildpackage fails because the install is not building relativly but absolutly.
this is a problem, it needs to build everything relative to the debian dir and then it is packaged. the build script is not allowed to install files abs.

mkdir: cannot create directory `/usr/src/packages': Permission denied

this is a no no.
please repair this.

mike

make[2]: Leaving directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk/retro-guest'
make[1]: Leaving directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk'
cp retro-guest/*.so .
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
rm -f debian/interface.substvars
rm -f debian/interface.*.debhelper
rm -rf debian/interface/
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 {} \; \) \)
dh_installdirs
install -d debian/interface
# Add here commands to install the package into debian/interface.
/usr/bin/make INSTALL_ROOT=/usr/src/packages/BUILD/debian install
make[1]: Entering directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk'
cd libbitdht/src/ && /usr/bin/make -f Makefile.libbitdht install
make[2]: Entering directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk/libbitdht/src'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk/libbitdht/src'
cd libretroshare/src/ && /usr/bin/make -f Makefile.libretroshare install
make[2]: Entering directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk/libretroshare/src'
mkdir: cannot create directory `/usr/src/packages': Permission denied
make[2]: *** [install_target] Error 1
make[2]: Leaving directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk/libretroshare/src'
make[1]: *** [sub-libretroshare-src-libretroshare-pro-install_subtargets-ordered] Error 2
make[1]: Leaving directory `/home/mdupont/experiments/dooble/interface/communicator/guichat/trunk'
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Discussion

  • TorFan

    TorFan - 2012-07-10

    thanks for your hint:
    "The building of debian package with dpkg-buildpackage fails because the install is not building relativly but absolutly.
    this is a problem, it needs to build everything relative to the debian dir and then it is packaged. "

    this might be due to the use of the build-service of opensuse or launchpad etc. that environments have build all the packages, and in case we update the next release, we should definately add and look into that.
    Do you want to be the deb-packager for Interface? Please join the team.
    As this is an issue for 1.3,0, which should be revised for 1.4.0, I close the ticket, so that we have a look for a cool debian package with the next 1.4.0 release, which should include a rss to the forums feature.

     
  • TorFan

    TorFan - 2012-07-10
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.