Package 2.30.2



Hi,

Experienced programmer but I haven't heavily used Linux since my computer science program in university (which was actually UNIX).

I'm running Kubuntu 10.04.  It seems that one should approach Linux programming first by doing packages and I completed these exercises: https://wiki.ubuntu.com/PackagingGuide/HandsOn.  Brasero is used for one of the examples and here:

http://packages.qa.debian.org/b/brasero.html

it seems that the brasero project would like people to do packaging for 2.30.2.  I have an amd64 processor.

With a number of problems along the way that I was able to solve I've been able to complete a debuild for 2.30.2

myid myid-laptop:~/use/packaging/brasero$ ls -lartd  brasero[_-]2.30.2*
-rw-r--r--  1 myid myid 6586303 2010-06-21 16:52 brasero_2.30.2.orig.tar.gz
-rw-r--r--  1 myid myid   12264 2010-06-27 21:23 brasero_2.30.2-1ubuntu1.diff.gz
-rw-r--r--  1 myid myid 4878750 2010-06-27 21:27 brasero_2.30.2-1ubuntu1_amd64.deb
-rw-r--r--  1 myid myid    1338 2010-06-27 21:27 brasero_2.30.2-1ubuntu1.dsc
-rw-r--r--  1 myid myid    1787 2010-06-27 21:27 brasero_2.30.2-1ubuntu1_amd64.changes
-rw-r--r--  1 myid myid  459206 2010-06-27 21:27 brasero_2.30.2-1ubuntu1_amd64.build
drwxr-xr-x 13 myid myid    4096 2010-06-27 21:33 brasero-2.30.2
myid myid-laptop:~/use/packaging/brasero$

I'm now trying to do

sudo pbuilder build
brasero_2.30.2-1ubuntu1.dsc

and it breaks:

...
configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/brasero --disable-maintainer-mode --disable-dependency-tracking returned exit code 1
make: *** [build] Error 9
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//4583 and its subdirectories
myid myid-laptop:~/use/packaging/brasero$ pwd

if I scroll back some distance, I think this is the problem:

configure:11097: checking for pkg-config
configure:11130: result: no
configure:11166: checking gnome-doc-utils >= 0.3.2
configure:11184: result: no
configure:11186: error: gnome-doc-utils >= 0.3.2 not found

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu

gnome-doc-utils needs to be version 0.3.2 or greater.  The installed version was 0.20.0.  I found 0.3.2 on the web - downloaded, built and installed it.

myid myid-laptop:~/use/packaging/brasero$ dpkg --status gnome-doc-utils
Package: gnome-doc-utils
Status: install ok installed
Priority: extra
Section: unknown
Installed-Size: 1152
Maintainer: Whoever I am <patf well com>
Architecture: amd64
Version: 0.3.2-1
Description: <insert up to 60 chars description>
 <insert long description, indented with spaces>
Homepage: <insert the upstream URL, if relevant>
myid myid-laptop:~/use/packaging/brasero$

but this doesn't help - I still get the gnome-doc-utils >= .0.3.2 failed error.

Spent some time searching the web.  It seems the same problem (gnome-doc-utils !>= 0.3.2) has come up a number of times going back several years and in relation to totally different packages such as mousetweaks and gnome-disk-utility

http://www.mail-archive.com/debian-bugs-rc lists debian org/msg146275.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529589

The message above for gnome-disk-utility seems to indicate that the problem is not with gnome-doc-utils but rather with gnome-disk-utility itself which would mean that my problem may not be with gnome-doc-utils (which I've brought up to the version that seems to be required) but with some of the logic in brasero 0.3.2.

I might note that in order to run debuild, I had to create a debian subdirectory under src and that the rules file in debian contains very little:

dh_make -e patf well com

pat



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