aMule Forum

English => Compilation problems => Topic started by: stoatwblr on April 24, 2011, 12:40:11 AM

Title: debian install bug - ED2K-Links.HOWTO missing
Post by: stoatwblr on April 24, 2011, 12:40:11 AM
svn 10530

dh_installdocs -pamule-ed2k
   cp -a docs/ED2K-Links.HOWTO debian/amule-ed2k/usr/share/doc/amule-ed2k
cp: cannot stat `docs/ED2K-Links.HOWTO': No such file or directory
dh_installdocs: cp -a docs/ED2K-Links.HOWTO debian/amule-ed2k/usr/share/doc/amule-ed2k returned exit code 1
make: *** [amule-ed2k-stage1] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
alan@Magenta:~/Desktop/src/amule/amule-2.2.6+svn-r10530$ ls -l docs/
total 777
-rw-r--r-- 1 alan alan  24687 2011-04-19 20:26 ABOUT-NLS
-rw-r--r-- 1 alan alan   2161 2011-04-19 20:26 amulesig.txt
-rw-r--r-- 1 alan alan   6890 2011-04-19 20:26 AUTHORS
-rw-r--r-- 1 alan alan 320015 2011-04-19 20:26 Changelog
-rw-r--r-- 1 alan alan  18011 2011-04-19 20:26 COPYING
-rw-r--r-- 1 alan alan  44805 2011-04-19 20:26 Doxyfile
-rw-r--r-- 1 alan alan  14403 2011-04-19 20:26 EC_Protocol.txt
-rw-r--r-- 1 alan alan   3143 2011-04-19 20:26 INSTALL
-rw-r--r-- 1 alan alan  18011 2011-04-19 20:26 license.txt
-rw-r--r-- 1 alan alan  25267 2011-04-23 22:30 Makefile
-rw-r--r-- 1 alan alan    255 2011-04-19 20:26 Makefile.am
-rw-r--r-- 1 alan alan  23319 2011-04-19 20:26 Makefile.in
drwxr-xr-x 3 alan alan     54 2011-04-23 22:30 man
-rw-r--r-- 1 alan alan  10903 2011-04-19 20:26 README
-rw-r--r-- 1 alan alan   4390 2011-04-19 20:26 README.Mac.txt
-rw-r--r-- 1 alan alan     92 2011-04-19 20:26 README.Windows.txt
-rw-r--r-- 1 alan alan   8941 2011-04-19 20:26 Releases.dia
-rw-r--r-- 1 alan alan     29 2011-04-19 20:26 TODO
Title: Re: debian compile bug - ED2K-Links.HOWTO missing
Post by: stoatwblr on April 24, 2011, 12:58:07 AM
Or should I say, the deb packager is trying to include an obselete file which no longer exists? :)
Title: Re: debian compile bug - ED2K-Links.HOWTO missing
Post by: stoatwblr on April 24, 2011, 01:16:28 AM
more of the same

dh_install -Xlicense.txt -pamule-plasmamule
   cp -a debian/tmp/usr/bin/plasmamule-engine-feeder debian/amule-plasmamule//usr/bin/
   cp -a debian/tmp/usr/lib/kde4/plasma-applet-plasmamule.so debian/amule-plasmamule//usr/lib/kde4/
   cp -a debian/tmp/usr/lib/kde4/plasma-engine-plasmamule.so debian/amule-plasmamule//usr/lib/kde4/
   cp -a debian/tmp/usr/share/applications/plasmamule-engine-feeder.desktop debian/amule-plasmamule//usr/share/applications/
cp: cannot stat `debian/tmp/usr/share/applications/plasmamule-engine-feeder.desktop': No such file or directory
dh_install: cp -a debian/tmp/usr/share/applications/plasmamule-engine-feeder.desktop debian/amule-plasmamule//usr/share/applications/ returned exit code 1
make: *** [amule-plasmamule-stage1] Error 2
rm amule-wxcas-stage1 amule-cas-stage1 amule-ed2k-stage1 amule-remote-gui-stage1 amule-alcc-stage1 amule-daemon-stage1 amule-alc-stage1 amule-cmd-stage1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Title: Re: debian compile bug - ED2K-Links.HOWTO missing
Post by: Vollstrecker on April 24, 2011, 01:41:30 AM
ED2K has been removed after last update, so yes, a missing file is going to be installed. The .desktop has to be there. I've no clue where you lost it.
Title: Re: debian compile bug - ED2K-Links.HOWTO missing
Post by: stoatwblr on April 24, 2011, 02:41:49 AM
It's there alright but it's not being copied from ./src/utils/plasmamule/plasmamule-engine-feeder.desktop correctly

alan@Magenta:~/Desktop/src/amule/amule-2.2.6+svn-r10530$ find . -name plasmamule-engine-feeder.desktop
./debian/tmp/usr/share/gnome/applications/plasmamule-engine-feeder.desktop
./src/utils/plasmamule/plasmamule-engine-feeder.desktop

Title: Re: debian compile bug - ED2K-Links.HOWTO missing
Post by: stoatwblr on April 26, 2011, 08:10:28 PM
Noone has any ideas?
Title: Re: debian compile bug - ED2K-Links.HOWTO missing
Post by: Kry on April 26, 2011, 09:48:44 PM
You have to pester Vollstrecker. Noone else is touching the debian scripts.
Title: Re: debian compile bug - ED2K-Links.HOWTO missing
Post by: Vollstrecker on April 26, 2011, 10:11:52 PM
He is working on some other stuff that has deadline on friday, so no chance to get it done before, after that maybe the configure fix and some minor stuff in cmake-env and a bigger event from 05.05 til 09.05. I can look at them after this all is done, but the problem is not the scripts (for the missing file it is, but at the last update it was existing), the problem is that kde-env-path-queries return gnome paths, which is not expected. So a clean build env should do the trick.

I would suggest cowbuilder.
Title: Re: debian install bug - ED2K-Links.HOWTO missing
Post by: Stu Redman on April 27, 2011, 12:26:11 PM
Renamed the topic, it's not a compile problem.