library files are not included in the .deb files
I am trying to package a library whose upstream is located at
http://sourceforge.net/projects/fortranposix
I already read the libpkg-guide, maint-guide. This problem was not
discussed in any of them. I googled and also asked in the irc about this
problem.
There were no errors/warnings when I checked the final packages with
linda -i and lintian -i. But when I did dpkg -c, there are no libraries
in the packages.
$dpkg -c libfortranposix0_0.1-1_i386.deb
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./usr/
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./usr/share/
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./usr/share/doc/
drwxr-xr-x root/root 0 2005-07-09 13:46:00
./usr/share/doc/libfortranposix0/
-rw-r--r-- root/root 707 2004-11-21 02:47:24
./usr/share/doc/libfortranposix0/changelog.gz
-rw-r--r-- root/root 1138 2005-07-09 13:42:58
./usr/share/doc/libfortranposix0/copyright
-rw-r--r-- root/root 277 2005-07-09 13:42:59
./usr/share/doc/libfortranposix0/changelog.Debian.gz
$dpkg -c libfortranposix0-dev_0.1-1_i386.deb
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./usr/
drwxr-xr-x root/root 0 2005-07-09 13:45:59 ./usr/bin/
drwxr-xr-x root/root 0 2005-07-09 13:45:59 ./usr/sbin/
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./usr/share/
drwxr-xr-x root/root 0 2005-07-09 13:46:00 ./usr/share/doc/
drwxr-xr-x root/root 0 2005-07-09 13:46:00
./usr/share/doc/libfortranposix0-dev/
-rw-r--r-- root/root 707 2004-11-21 02:47:24
./usr/share/doc/libfortranposix0-dev/changelog.gz
-rw-r--r-- root/root 1198 2004-11-21 02:47:24
./usr/share/doc/libfortranposix0-dev/CHANGES
-rw-r--r-- root/root 1420 2004-04-25 05:47:47
./usr/share/doc/libfortranposix0-dev/CREDITS
-rw-r--r-- root/root 2911 2004-11-21 02:46:26
./usr/share/doc/libfortranposix0-dev/README
-rw-r--r-- root/root 1315 2004-11-21 02:48:02
./usr/share/doc/libfortranposix0-dev/TODO
-rw-r--r-- root/root 287 2005-07-09 13:42:59
./usr/share/doc/libfortranposix0-dev/README.Debian
-rw-r--r-- root/root 1138 2005-07-09 13:42:58
./usr/share/doc/libfortranposix0-dev/copyright
-rw-r--r-- root/root 277 2005-07-09 13:42:59
./usr/share/doc/libfortranposix0-dev/changelog.Debian.gz
While building the packages, I stored the output in build.log which is
attached in the end. This file was generated by
dpkg-buildpackage -rfakeroot 2>&1 | tee build.log
The libraries are actually generated during this as can be seen from
$tree fortranposix-0.1/debian/tmp/
fortranposix-0.1/debian/tmp/
`-- usr
`-- lib
|-- libfortranposix.a
`-- libfortranposix.so.0.0.0
2 directories, 2 files
I don't know what I am doing wrong. Could someone tell me why these
libraries are not included in the .deb files?
thanks
raju
--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/
--------------------------- build.log -----------------------------------------
dpkg-buildpackage: source package is fortranposix
dpkg-buildpackage: source version is 0.1-1
dpkg-buildpackage: source changed by Kamaraju Kusumanchi <kamaraju@gmail.com>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/rajulocal/practice/fortranposix-0.1'
rm -f *.lo
rm -f *.o
make[1]: Leaving directory `/home/rajulocal/practice/fortranposix-0.1'
dh_clean
dpkg-source -b fortranposix-0.1
dpkg-source: building fortranposix using existing fortranposix_0.1.orig.tar.gz
dpkg-source: building fortranposix in fortranposix_0.1-1.diff.gz
dpkg-source: warning: file Makefile has no final newline (either original or modified version)
dpkg-source: building fortranposix in fortranposix_0.1-1.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/rajulocal/practice/fortranposix-0.1'
gfortran-4.0 -O2 -Wall -fPIC -c fortranposix.f90 -o fortranposix.lo
gcc-4.0 -O2 -Wall -fPIC -c posixwrapper.c -o posixwrapper.lo
gfortran-4.0 -o libfortranposix.so.0.0.0 -shared -Wl,-soname="libfortranposix.so.0" fortranposix.lo posixwrapper.lo
gfortran-4.0 -O2 -Wall -c fortranposix.f90 -o fortranposix.o
gcc-4.0 -O2 -Wall -c posixwrapper.c -o posixwrapper.o
ar crus libfortranposix.a fortranposix.o posixwrapper.o
rm -f *.lo
rm -f *.o
make[1]: Leaving directory `/home/rajulocal/practice/fortranposix-0.1'
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp
/usr/bin/make install DESTDIR=/home/rajulocal/practice/fortranposix-0.1/debian/tmp
make[1]: Entering directory `/home/rajulocal/practice/fortranposix-0.1'
install -d /home/rajulocal/practice/fortranposix-0.1/debian/tmp/usr/lib
install libfortranposix.so.0.0.0 libfortranposix.a /home/rajulocal/practice/fortranposix-0.1/debian/tmp/usr/lib
make[1]: Leaving directory `/home/rajulocal/practice/fortranposix-0.1'
dh_testdir
dh_testroot
dh_installchangelogs CHANGES
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `libfortranposix0-dev' in `../libfortranposix0-dev_0.1-1_i386.deb'.
dpkg-deb: building package `libfortranposix0' in `../libfortranposix0_0.1-1_i386.deb'.
signfile fortranposix_0.1-1.dsc
dpkg-genchanges
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
signfile ../fortranposix_0.1-1_i386.changes
Reply to: