Re: debian library generation issue
On Tue, Aug 10, 2010 at 7:50 AM, Zvi Dubitzky <DUBI@il.ibm.com> wrote:
> Hi,
>
> While exercising a library generation with libvirt using debian pbuider
> I see no error mesage except the following
>
> ...
> 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 `libvirt-dev' in
> `../libvirt-dev_0.6.1-1_i386.deb'.
> dpkg-deb: building package `libvirt' in `../libvirt_0.6.1-1_i386.deb'.
> ...
>
> So the library is generated but it contains no real /usr/lib content as
> the "dpkg -c" shows below.
> No compile errors is seen an I can see the .so..and .a build in the
> fakeroot environment
> Does the above indicate about the reason and how ?
>
> dubi@lnx-phenix1:~/libvirt/libvirt-0.6.1$ sudo dpkg -c
> /var/cache/pbuilder/result/libvirt-bin_0.6.1-1_i386.deb
> drwxr-xr-x root/root 0 2010-08-09 15:36 ./
> drwxr-xr-x root/root 0 2010-08-09 15:36 ./usr/
> drwxr-xr-x root/root 0 2010-08-09 15:36 ./usr/share/
> drwxr-xr-x root/root 0 2010-08-09 15:36 ./usr/share/doc/
> drwxr-xr-x root/root 0 2010-08-09 15:36
> ./usr/share/doc/libvirt-bin/
> -rw-r--r-- root/root 150746 2009-03-04 08:13
> ./usr/share/doc/libvirt-bin/changelog.gz
> -rw-r--r-- root/root 658 2010-08-09 15:33
> ./usr/share/doc/libvirt-bin/copyright
> -rw-r--r-- root/root 176 2010-08-09 15:33
> ./usr/share/doc/libvirt-bin/changelog.Debian.gz
>
>
> The production .deb packages are located finally in
> /var/cache/pbuilder/result
> Is it ok ?
>
> Any idea ?
>
Hello
AFAIK that warning means that the helper while building the package
has not inserted any deps in those substitution fields and as far as
the package builds it shouldn't be much of a problem I think
secondly from pbuilder manpage:
" --buildresult [location to put build result]
Specifies the location the build result gets into after build‐
ing. The deb files and other files that have resulted from
build is copied there. Note that the default value is not the
current directory, or .. but another place,
/var/cache/pbuilder/result This is to avoid overwriting already
existing deb files with the newly generated ones. "
I hope that helps
regards
--
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community member.
What matters in life is application of mind!,
It makes great sense to have some common sense..!
Reply to: