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

Re: library files are not included in the .deb files



On Sat, 2005-07-09 at 16:00 -0400, kamaraju kusumanchi wrote:
> Mattia Dongili wrote:
> 
> >On Sat, Jul 09, 2005 at 02:13:58PM -0400, kamaraju kusumanchi wrote:
> >  
> >
> >>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.
> >>    
> >>
> >
> >maybe it's just something wrong within your
> >debian/<package>.{install,dirs,whatever} files (if you're using
> >debhelper scripts
> >
> >[...]
> >  
> >
> >>$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/
> >>    
> >>
> >
> >/usr/sbin and /usr/sbin are useless, don't create them. They look like
> >the default entries for the dirs file created by dh_make :)
> >  
> >
> done.
> 
> >[...]
> >  
> >
> >>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
> >>    
> >>
> >
> >can't see dh_install in the above list, might be the problem?
> >Could you eventually put your debian/* scrips somewhere to give them a
> >look?
> >  
> >
> 
> I have added dh_install in the binary-arch: stanza of the rules files. 
> Still the library files are not included in the .deb files. 

Try:

dh_install --sourcedir=debian/tmp

in the rules file.

Steve

> The new 
> build.log can be found at
> 
> http://24.58.7.0/debian-mentors/fortranposix-0.1/build.log
> 
> Is there any website where I can upload the debian directory? For now, I 
> have set up a web server on my laptop and all the relevent files can be 
> found at
> 
> http://24.58.7.0/debian-mentors/
> 
> If there is any public website where I can upload this stuff that would 
> be great.
> 
> thanks
> raju
> 
> -- 
> Kamaraju S Kusumanchi
> Graduate Student, MAE
> Cornell University
> http://www.people.cornell.edu/pages/kk288/
> 
> 



Reply to: