Package: apt-build Severity: normal ----- Forwarded message from Joel Soete <[EMAIL PROTECTED]> -----
> From: Joel Soete <[EMAIL PROTECTED]> > To: Julien Danjou <[EMAIL PROTECTED]> > Subject: apt-build: pb to build without bin available is back > Date: Fri, 21 Jan 2005 16:34:43 +0100 > X-Spam-Status: No, score=-2.6 required=4.0 tests=BAYES_00 autolearn=ham > version=3.0.2 > > Hello Julien, > > Sorry, I was busy somewhere else but I come back to you with this pb to build > a pkg with only src without bin (my case is the new xfce not yet in debian > but already in <http://www.os-works.com/view/debian/packages/>. > > (apt-build 0.11.4) > > # diff -Nau /usr/bin/apt-build.Orig /usr/bin/apt-build > +++ /usr/bin/apt-build 2005-01-21 15:33:01.000000000 +0100 > @@ -230,9 +230,9 @@ > my ($srcpkg, $srcver, @packages); > > # apt-get here prints lines, we pick the one talking about .deb file. > - read_apt_list("apt-get --print-uris @apt_args install $pkg |", "^'", > + read_apt_list("apt-get --print-uris @apt_args source $pkg |", "^'", > sub { > - my ($n, $v) = extract_deb($_) or return; > + my ($n, $v) = extract_dsc($_) or return; > ($srcpkg, $srcver) = ($n, $v) > }); > > =========><========= > > this first hunk make sens as it stand in "sub source" and help me to make: > # apt-build source libexo-dev > successfuly :-) > > This second hunk > # diff -Nau /usr/bin/apt-build.Orig /usr/bin/apt-build > +++ /usr/bin/apt-build 2005-01-21 15:33:01.000000000 +0100 > @@ -272,9 +272,9 @@ > > chdir $conf{build_dir}; > > - read_apt_list("apt-get --print-uris @apt_args install $pkg |", "^'", > + read_apt_list("apt-get --print-uris @apt_args source $pkg |", "^'", > sub { > - my ($n, $v) = extract_deb($_) or return; > + my ($n, $v) = extract_dsc($_) or return; > ($srcpkg, $srcver) = ($n, $v) > }); > > ========><======== > help me to go a bit further: > # apt-build --sources-list=/Sources/AptBuild/apt-build-src.list build-source > Building the following packages from source: > libexo-dev > libexo-1 > W: Unable to locate package exo > E: No packages found > Hit http://www.os-works.com testing/main Sources > Hit http://www.os-works.com testing/main Release > Reading Package Lists... Done > Reading Package Lists... Done > Building Dependency Tree... Done > Need to get 514kB of source archives. > Get:1 http://www.os-works.com testing/main exo 0.2.0-2 (dsc) [621B] > Get:2 http://www.os-works.com testing/main exo 0.2.0-2 (tar) [507kB] > Get:3 http://www.os-works.com testing/main exo 0.2.0-2 (diff) [6406B] > Fetched 514kB in 0s (936kB/s) > dpkg-source: extracting exo in exo-0.2.0 > W: Unable to locate package exo > E: No packages found > dpkg-buildpackage: source package is exo > dpkg-buildpackage: source version is 0.2.0-2 > dpkg-buildpackage: source maintainer is root <[EMAIL PROTECTED]> > dpkg-buildpackage: host architecture is hppa > debian/rules clean > dh_testdir > dh_testroot > rm -f build-stamp > # Add here commands to clean up after the build process. > /usr/bin/make distclean > make[1]: Entering directory `/Develop/AptBuild/build/exo-0.2.0' > make[1]: *** No rule to make target `distclean'. Stop. > make[1]: Leaving directory `/Develop/AptBuild/build/exo-0.2.0' > make: [clean] Error 2 (ignored) > cp -f /usr/share/misc/config.sub config.sub > cp -f /usr/share/misc/config.guess config.guess > dh_clean > debian/rules build > dh_testdir > # Add here commands to configure the package. > CFLAGS="-Wall -g -O2" ./configure --host=hppa-linux --build=hppa-linux > --prefix=/usr > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for style of include used by make... GNU > checking for hppa-linux-gcc... hppa-linux-gcc > checking for C compiler default output file name... configure: error: C > compiler > cannot create executables > See `config.log' for more details. > make: *** [config.status] Error 77 > dh_testdir > dh_testroot > rm -f build-stamp > # Add here commands to clean up after the build process. > /usr/bin/make distclean > make[1]: Entering directory `/Develop/AptBuild/build/exo-0.2.0' > make[1]: *** No rule to make target `distclean'. Stop. > make[1]: Leaving directory `/Develop/AptBuild/build/exo-0.2.0' > make: [clean] Error 2 (ignored) > cp -f /usr/share/misc/config.sub config.sub > cp -f /usr/share/misc/config.guess config.guess > dh_clean > Error while building libexo-dev! > Some error occured building package > > ... not yet success? > > Even thought if I remove sources and grab it again to launch handy > 'dpkg-buildpackage' > there are no pb: > :/Develop/AptBuild/build/exo-0.2.0# lrt .. > total 756 > -rw-r--r-- 1 root root 506686 Jan 5 00:59 exo_0.2.0.orig.tar.gz > drwxr-xr-x 3 root root 4096 Jan 21 15:23 .. > -rw-r----- 1 root root 0 Jan 21 15:45 lock > -rw-r--r-- 1 root root 6461 Jan 21 15:47 exo_0.2.0-2.diff.gz > -rw-r--r-- 1 root root 384 Jan 21 15:47 exo_0.2.0-2.dsc > drwxrwxrwx 7 2000 users 4096 Jan 21 15:54 exo-0.2.0 > -rw-r--r-- 1 root root 149060 Jan 21 15:55 libexo-dev_0.2.0-2_hppa.deb > -rw-r--r-- 1 root root 72120 Jan 21 15:55 libexo-1_0.2.0-2_hppa.deb > drwxr-xr-x 3 root root 4096 Jan 21 15:55 . > -rw-r--r-- 1 root root 788 Jan 21 15:55 exo_0.2.0-2_hppa.changes > > If you prefer I can also fill in a bug report for this pb. > > thanks in advance for additonal help, > Joel > > PS: Just in case: mother tongue is french > > > ----- End forwarded message ----- -- Julien Danjou .''`. Debian developer : :' : http://julien.danjou.info `. `' http://people.debian.org/~acid `- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
signature.asc
Description: Digital signature