Re: debian library generation issue

2010-08-11 Thread Bhavani Shankar R
On Tue, Aug 10, 2010 at 7:50 AM, Zvi Dubitzky d...@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 ?

 d...@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.. butanotherplace,
  /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..!


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimxggsq50dju6ebzp1ur2zu_w3lh3e=axsma...@mail.gmail.com



debian library generation issue

2010-08-09 Thread Zvi Dubitzky
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 ?

d...@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/root150746 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 ?

Zvi Dubitzky 
Email:d...@il.ibm.com
IBM Haifa Research LaboratoryPhone: +972-4-8296182
Haifa, 31905, ISRAEL 



-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/of84a0e574.15fc9864-onc225777b.000bd4e2-c225777b.000ce...@il.ibm.com