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

Bug#292169: marked as done (apt-build failed again to build a dpkg if only src are available)



Your message dated Tue, 28 Feb 2012 03:32:12 +0000
with message-id <E1S2DnQ-0001Ye-WA@franck.debian.org>
and subject line Bug#292169: fixed in apt-build 0.12.42
has caused the Debian Bug report #292169,
regarding apt-build failed again to build a dpkg if only src are available
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
292169: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292169
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-build
Version: 0.11.4
Severity: normal

Hello Julien,

Here is the promised br ;-)

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.Orig 2005-01-21 15:20:52.000000000 +0100
+++ /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 to me as it stand in "sub source" and help me to
make:
# apt-build source libexo-dev
successfuly :-)

Anyway (as discust in private) you could had good reason to not apply :-)

This second hunk
# diff -Nau /usr/bin/apt-build.Orig /usr/bin/apt-build
--- /usr/bin/apt-build.Orig 2005-01-21 15:20:52.000000000 +0100
+++ /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)
                });

========><========
(again just a work around ;-) )

just help me to go a bit further:
# apt-build --sources-list=/Sources/AptBuild/apt-build-src.list build-source
--build-only libexo-dev
Building the following packages from source:
libexo-dev
libexo-1
W: Unable to locate package exo
E: No packages found
-----> Downloading exo source (exo 0.2.0-2) <-----
-----> Updating package lists <-----
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
-----> Building exo <-----
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
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
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc
--enable-final
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
----> Cleaning up object files <-----
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

thanks in advance for additonal help,
    Joel




--- End Message ---
--- Begin Message ---
Source: apt-build
Source-Version: 0.12.42

We believe that the bug you reported is fixed in the latest version of
apt-build, which is due to be installed in the Debian FTP archive:

apt-build_0.12.42.dsc
  to main/a/apt-build/apt-build_0.12.42.dsc
apt-build_0.12.42.tar.gz
  to main/a/apt-build/apt-build_0.12.42.tar.gz
apt-build_0.12.42_mipsel.deb
  to main/a/apt-build/apt-build_0.12.42_mipsel.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 292169@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Lasserre <lasserre.d@gmail.com> (supplier of updated apt-build package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 24 Feb 2012 02:02:46 +0100
Source: apt-build
Binary: apt-build
Architecture: source mipsel
Version: 0.12.42
Distribution: experimental
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Dominique Lasserre <lasserre.d@gmail.com>
Description: 
 apt-build  - frontend to apt to build, optimize and install packages
Closes: 179850 291565 292169 314155 315102 316572 369173 391449 392844 425044 434859 507881 511853 592006 596296 624365 660590
Changes: 
 apt-build (0.12.42) experimental; urgency=low
 .
   * QA upload.
   * Bump source format to 3.0 (native).
   * Added archive suite. Clear solution for #639859.
   * Allow non authenticated installation from apt-build repository. Closes:
     #316572, #369173
   * Added new cpu-type profiles to debconf templates.
   * Changed default make option in template (-j`cpu_cores`). Set question
     priority to "high".
   * debian/dirs: Removed due to its redundancy.
   * Prevent empty directory for build_dir and repository_dir (use loop).
     Closes: #511853
   * Move debconf-only related content from postinst to config file and pimp
     debconf stuff (configuration file handling).
   * --yes (assume-yes) functionality is now recognized by aptitude. Also
     renamed help information from apt-get and apt-cache to aptget and aptcache.
     (thanks to Bryant Wong) Closes: #392844
   * Improved source version and name handling. Closes: #314155, #315102,
     #425044, #434859
   * Pull correct build dependencies. Closes: #624365
   * Compilation with cmake is supported (no code changes). Closes: #507881
   * Build with local version number (suffix +aptbuild). Closes: #391449,
     #592006
   * Support sources stored at /Dir::Etc::sourceparts. Closes: #596296
   * Rebuild Packages.gz after repository cleaning.
   * Patch from Kumar Appaiah: Allow package builds without binary packages
     registered in sources. Closes: #179850, #291565, #292169
   * Unregister conffiles located in /etc/apt/sources.list.d/. Changes are
     completely managed by debconf and maintainer scripts. Closes: #660590
   * Bump debhelper compatibility mode to 9.
   * Bump Standards version to 3.9.3.
Checksums-Sha1: 
 88b86903c8156f48205e89371093fd53f2da3b7d 1550 apt-build_0.12.42.dsc
 469be4c4c6aafd483a05566025fb0891f4ce12c6 52168 apt-build_0.12.42.tar.gz
 bf5f8c657aa98cde4eb583d534a17f3a140cb502 41298 apt-build_0.12.42_mipsel.deb
Checksums-Sha256: 
 95b37faa6d66d09a6ffd6d623b36f38f89ff4fda9520fea27c14536e681aa00c 1550 apt-build_0.12.42.dsc
 ab5b8695bafd872058436ec3b18eddf83b7efe07f9f25181d334c96c04d7d363 52168 apt-build_0.12.42.tar.gz
 344e7586795f7680a4ab334e1e4b77e325d5f9d8682929ef29c31a9472de03be 41298 apt-build_0.12.42_mipsel.deb
Files: 
 4edb97edbb39549b9c6b2c4f0f9d1e53 1550 devel optional apt-build_0.12.42.dsc
 cbb307d6124b5c2a4f323e6fab2cb28e 52168 devel optional apt-build_0.12.42.tar.gz
 e32793eb1a0364438fab56cd692a133a 41298 devel optional apt-build_0.12.42_mipsel.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPTEc3AAoJEHxWrP6UeJfYGxkQAIf4InGAS3+MqrADaDiiv0jO
jvjO/HbaNJKOXE2MFeETlw72XP10z5nib6tfiD3UWeOy8i2pQHXSm+eoccjhg+A/
fVhp5je1IphufnF5SNlFzBxh6uMJnL6tD6669ipCFhPuNxh3rF9lCjCTRRy6QfHr
aMkWpglcW9oO8GJDFA2VLdlKQWT77jnJzzICTTDcLYJ214owXghYyaUMDWTIvaJO
xJ3dioYmaQzd7FaLqR8IL8G8VSq/3ZTgFQravPJ2AB4MF/eOZjbFNqQzfqQ4B113
C0UM5gsQoWKbCxRkmnsWi/LFDoHGTb67lyMGhpv/eJBljJT9TDkM3UUZjdz0yD51
oGVABJK5WZKfL+OJ1Efq9ZQtWQ+jaOLEHUZpCasb13uoF7NxJq1Pf+qCX4zV/W+Q
G4tgi0pv858RsuLPoDIEN4AIKR8x0SmthW5QxGBuLHlcp/gOq3o+nECIhLkE/sYu
+MNIe0DDNusnNvkor4YK72R+VymC+SoxegBkDdO051G4x4qWUVoIpo41ijmM8vhD
U2wWLtNEC/qC+Lnp2rzDmnoweS9PYxPWpkFuZPLcSgbaXF0F9+50z7OQLCByL6RI
slBqIV3evMsmWS6aFxwhydu1IMCJ0+gKRrT6OPU/KCAdkWbgSguGDz7ts7hwS/ns
9VtT1VoYR3nkCg4tWYLj
=o0il
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: