[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

packaging my first library, error from dpkg-buildpackage


I'm just trying to package my first library. First I have compiled
the package to test it. Than again unpacked it and done
a `dh_make'. Checked the Makefike, edited 
the Debian config files and than `dpkg-buildpackage -rfakeroot'. 
Now I got an error, which I don't understand:

# Add here commands to install the package into debian/tmp
/usr/bin/make install DESTDIR="/usr/src/libkemo-m104-1/debian/tmp"
make[1]: Entering directory `/usr/src/libkemo-m104-1'
find  /usr/src/libkemo-m104-1/debian/tmp/man/man3 -name "*M104*" -exec
rm -f
{} \;
find: /usr/src/libkemo-m104-1/debian/tmp/man/man3: No such file or
make[1]: *** [uninstall] Error 1
make[1]: Leaving directory `/usr/src/libkemo-m104-1'
make: *** [install] Error 2

It looks like some temporary files (for the man.3 files
in the source dir) will be created in ./debian/tmp/man/man3

On the other hand `dh_make' created these files and dirs,
where I suppose the dirs are for holding the temporary
files for the package build process:
drwxr-xr-x    3 wehe     wehe         4096 Apr 21 12:54 libkemo-m104-dev
-rw-rw-r--    1 wehe     wehe           33 Apr 21 12:53
-rw-rw-r--    1 wehe     wehe           45 Apr 21 07:11
drwxr-xr-x    3 wehe     wehe         4096 Apr 21 12:54 libkemo-m1041
-rw-rw-r--    1 wehe     wehe           21 Apr 21 12:53
-rw-rw-r--    1 wehe     wehe           18 Apr 21 07:11

Than I checked other library source packages.  But when
finding one with a sort of canonical rules file, these
kind of dirs are not in the ./debian tree.

I tried to find a solution in the packaging related docs and
googelt, too. Also set the debug option in debian/rules to gain 
more information. Also I have Debian/testing with latest
packaging tools. Please give me a pointer.


Description: driver library for the M104 4 way parallel port switch by
 This is the driver library for the M104 4 way computer switch 
 made by Kemo electronic (http://www.kemo-electronic.de/m104_gb.html).
 With this library you will be able to access your switch under Linux, 
 in order to control appliances plugged to your parallel port in a 
 safe and consistent way, without risking to damage your parallel port 
 or even worse your motherboard.
The primary site is :

|=| Werner Heuser = Keplerstr. 11A = D-10589 Berlin = Germany
|=| <wehe(@)mobilix.org>       T. 0049 - (0)30 - 349 53 86
|=| http://MobiliX.org         Linux and BSD on Mobile Computers
|=| http://Xtops.DE            Laptops+PDAs pre-installed with UniX
|*| This  is  no  time  for  phony  rhetoric  --  Lou Reed

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: