Your message dated Mon, 06 Feb 2012 01:32:12 +0000
with message-id <e1rudre-0003qu...@franck.debian.org>
and subject line Bug#639859: fixed in apt-build 0.12.41
has caused the Debian Bug report #639859,
regarding apt-build uses outdated apt configuration settings
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 ow...@bugs.debian.org
immediately.)
--
639859: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639859
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt-build
Version: 0.12.38
Severity: grave
Tags: sid wheezy patch
Justification: renders package unusable
Trying to install a package with apt-build, for example:
# apt-build install hello
it fails with:
>W: Failed to fetch
>file:/var/cache/apt-build/repository/dists/apt-build/Release Unable to find
>expected entry 'main/binary-amd64/Packages' in Release file (Wrong
>sources.list entry or malformed file)
>
>E: Some index files failed to download. They have been ignored, or old ones
>used instead.
>Reading package lists... Done
>E: The value 'apt-build' is invalid for APT::Default-Release as such a release
>is not available in the sources
Subsequently, 'apt-get update' gives:
W: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/Release
Unable to find expected entry 'main/binary-amd64/Packages' in Release file
(Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones
used instead.
I erased "/var/cache/apt-build" and applied the following patch to get rid
of this problem:
---------------------------------------------------------------------------
diff -Naur apt-build-0.12.38.orig/apt-build apt-build-0.12.38/apt-build
--- apt-build-0.12.38.orig/apt-build 2008-07-01 08:29:43.000000000 +0200
+++ apt-build-0.12.38/apt-build 2011-08-30 23:55:39.000000000 +0200
@@ -101,9 +101,9 @@
update-source - Update all sources and rebuild them
remove - Remove packages
build-repository - Rebuild the repository
- clean-sources - Clean up all object files in source directories
clean-build - Erase downloaded packages and temporary build files
- clean-repository - Erase downloaded packages and temporary build files
+ clean-repository - Erase built packages
+ clean-sources - Clean up all object files in source directories
world - Rebuild and reinstall all packages on your system
info - Build-related package information
@@ -337,10 +337,10 @@
chdir $conf->repository_dir;
my $arch = $_config->get("APT::Architecture");
- system "ln -s . main" unless -e "main";
- system "ln -s . apt-build" unless -e "apt-build";
- system "ln -s . dists" unless -e "dists";
- system "ln -s . binary-$arch" unless -e "binary-$arch";
+ system "mkdir dists" unless -e "dists";
+ system "mkdir dists/apt-build" unless -e "dists/apt-build";
+ system "mkdir dists/apt-build/main" unless -e "dists/apt-build/main";
+ system "ln -s ../../.. dists/apt-build/main/binary-$arch" unless -e
"dists/apt-build/main/binary-$arch";
make_release_file() unless -e "Release";
system "apt-ftparchive packages . | gzip -9 > Packages.gz";
diff -Naur apt-build-0.12.38.orig/debian/postinst
apt-build-0.12.38/debian/postinst
--- apt-build-0.12.38.orig/debian/postinst 2011-03-13 16:55:00.000000000
+0100
+++ apt-build-0.12.38/debian/postinst 2011-08-31 01:19:41.000000000 +0200
@@ -79,13 +79,8 @@
# Create repository_dir
if [ ! -e "$repository_dir" ]; then
- mkdir -p "$repository_dir"
- cd "$repository_dir"
- ln -s . stable
- ln -s . dists
- ln -s . apt-build
- ln -s . main
- ln -s . binary-`dpkg --print-architecture`
+ mkdir -p "$repository_dir"/dists/apt-build/main
+ ln -s ../../.. "$repository_dir"/dists/apt-build/main/binary-`dpkg
--print-architecture`
fi
sed s/__arch__/`dpkg --print-architecture`/
/usr/share/apt-build/Release > "$repository_dir/Release"
---------------------------------------------------------------------------
Unfortunately, it doesn't solve the problem.
"apt-get update" keeps saying:
E: The value 'apt-build' is invalid for APT::Default-Release as such a release
is not available in the sources
Maybe an apt bug rather than an apt-build bug ?
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (800, 'testing'), (750, 'stable'), (500, 'oldstable'), (50,
'experimental'), (50, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf-8, LC_CTYPE=fr_FR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt-build depends on:
ii apt 0.8.15.6 Advanced front-end for dpkg
ii apt-utils 0.8.15.6 APT utility programs
ii debconf [debconf-2.0] 1.5.40 Debian configuration management sy
ii devscripts 2.11.0 scripts to make the life of a Debi
ii dpkg-dev 1.16.0.3 Debian package development tools
ii g++ 4:4.6.1-2 GNU C++ compiler
ii gcc 4:4.6.1-2 GNU C compiler
ii libappconfig-perl 1.56-2 Perl module for configuration file
ii libapt-pkg-perl 0.1.24+b2 Perl interface to libapt-pkg
ii libc6 2.13-16 Embedded GNU C Library: Shared lib
ii perl 5.12.4-4 Larry Wall's Practical Extraction
Versions of packages apt-build recommends:
ii build-essential 11.5 Informational list of build-essent
ii fakeroot 1.17-1 tool for simulating superuser priv
apt-build suggests no packages.
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Source: apt-build
Source-Version: 0.12.41
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.41.dsc
to main/a/apt-build/apt-build_0.12.41.dsc
apt-build_0.12.41.tar.gz
to main/a/apt-build/apt-build_0.12.41.tar.gz
apt-build_0.12.41_mipsel.deb
to main/a/apt-build/apt-build_0.12.41_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 639...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <ani...@debian.org> (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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 06 Feb 2012 11:55:04 +1100
Source: apt-build
Binary: apt-build
Architecture: source mipsel
Version: 0.12.41
Distribution: experimental
Urgency: low
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Anibal Monsalve Salazar <ani...@debian.org>
Description:
apt-build - frontend to apt to build, optimize and install packages
Closes: 528338 639859
Changes:
apt-build (0.12.41) experimental; urgency=low
.
* QA upload.
* Do not use outdated apt configuration settings
Patch by F Couperin
Closes: 639859
* --help: Fix clean-repository description
Patch by F Couperin
Closes: 528338
Checksums-Sha1:
c8eb4865436030247712fc1901a642a24314ebf6 1541 apt-build_0.12.41.dsc
4205278ac0f1a6417e16e53af13c6f70fd5db8bf 49859 apt-build_0.12.41.tar.gz
5bc47d5ed9f378381520b55725a89d16cbcf215a 39058 apt-build_0.12.41_mipsel.deb
Checksums-Sha256:
1c49572b0dad0636a2af220d10c7447f2993921fdc9462b38c535c6d2fceb03a 1541
apt-build_0.12.41.dsc
f132888f86ca10b68b16d00eb7b60f0d2569737bfb07fa72812feb2614f522f6 49859
apt-build_0.12.41.tar.gz
d7dda25bb08a2c883c3c31a06fa42685b3a13c82b4c4e27e006c2693bb1778aa 39058
apt-build_0.12.41_mipsel.deb
Files:
861c147a5b7e5dd294c7cd83a0030910 1541 devel optional apt-build_0.12.41.dsc
02ca104538eac755afeb17d791620add 49859 devel optional apt-build_0.12.41.tar.gz
feb113d5b69334cd3552892f37a043e0 39058 devel optional
apt-build_0.12.41_mipsel.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJPLyrdAAoJEHxWrP6UeJfYkjcP/02DEWzxXXWHHA2mjzwbo6Dc
6jT20m94nmSzhAKaAgoHWn0YN0q23J3mHkIA7dvAxq/kXZCS4dVCJS9Z6/A0Ni2Q
C8WKkxA02rSTjHX37nSm2No/T0rUpqwgynPBmbxNwOX6pUN6JLeKVamDR2Pc95r+
DNMjPAR6jwo4CUF3ptpLEzT/wXpkGqKbr/gP1Rv+wuugVgHeV8E0GZ+VNCPDp1VF
KWtXffplXewqN+zf6zCHi8ccv4Jfsl2zM5yF8reYQbAS0Tgygmf46C2EeHgm+I5B
zO+QjzplVmFrN1EfjWl1VHDUBgbNkQL02CCVjzIVizkrsnj2ng8mCJDT7qkUmo8b
UvbAwC9q9CFBTPRrZmKGrZC6QWWGZIyGU9X8wNCe3qC+DQCIOqajchkUuYcLa4bA
YoQPXOAWCTw9CeeP8hp5+tUqKZmtbL58LcsAaOeVJiqn9krEO03Mo59Yfu53QtwN
1T30fg2HXSUJEhNNucy1NWIZXVXdhrEzXHIvy80nDkZSZONFb17Od4LP8l+ZfPMm
kJAXbval9uz6jrNMXkWbhNk7u5gyuKV5EGtVbzz+OTryORU97EIrvygy6WXPKrFH
cJvrMbrla0SQ8D4sbUlKogxtwFHAjJFTmDffg8Jv0D22dXaEHhhPxz5md7gLWjmd
GAKwJQ+yodRUOfsC/bbz
=WOAV
-----END PGP SIGNATURE-----
--- End Message ---