Bug#660741: buildcross: breakage in the apt-db init due to missing sources.list.d (probably new requirement)
Package: buildcross
Version: 0.0.11
Severity: important
Dear Maintainer,
I get an error in the init of the cache/apt/apt-db directory hierarchy.
Namely sources.list.d is not created and failure ensue (it seems it is
also the root cause for cache/repo/incoming missing, ie it breaks the
initialization in the middle of the process).
Patch attached
BR,
Alban
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.0-rc1test0-00391-g9454d2f (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages buildcross depends on:
ii autoconf 2.68-1
ii autoconf2.13 2.13-61
ii autogen 1:5.12-0.1
ii automake1.4 1:1.4-p6-13.1
ii automake1.7 1.7.9-9.1
ii automake1.9 1.9.6+nogfdl-3.1
ii bison 1:2.5.dfsg-2.1
ii build-essential 11.5
ii bzip2 1.0.6-1
ii cdbs 0.4.102
ii chrpath 0.13-2
ii dctrl-tools 2.20.1
ii debhelper 9.20120115
ii dejagnu 1.5-3
ii devscripts 2.11.4
ii dh-make 0.60
ii dpatch 2.0.35
ii dpkg-cross 2.6.5
ii fakeroot 1.18.2-1
ii flex 2.5.35-10
ii gawk 1:3.1.8+dfsg-0.1
ii gobjc 4:4.6.2-4
ii gperf 3.0.3-1+b1
ii libcloog-ppl-dev 0.15.11-4
ii libmpfr-dev 3.1.0-3
ii libncurses5-dev [libncurses-dev] 5.9-4
ii libreadline-dev 6.2-8
ii libtool 2.4.2-1
ii liburi-perl 1.59-1
ii lsb-release 3.2-28.1
ii patchutils 0.3.2-1.1
ii pbuilder 0.206
ii quilt 0.51-1
ii realpath 1.16
ii reprepro 4.9.0-1
ii sharutils 1:4.11-1
ii sudo 1.8.3p2-1
ii texinfo 4.13a.dfsg.1-8
ii time 1.7-23.1
ii type-handling 0.2.23
ii wget 1.13.4-2
Versions of packages buildcross recommends:
ii xapt 2.2.18
buildcross suggests no packages.
-- Configuration Files:
/etc/buildcross.conf changed:
PKGLIST=${PKGLIST:-"libs"}
ARCHLIST=${ARCHLIST:-"armel"}
SRCSUITE=${SRCSUITE:-"unstable"}
SUITE=${SUITE:-"unstable"}
WARNMSG=${WARNMSG:-"no"}
LOCALREPO=${LOCALREPO:-"no"}
VERBOSEMODE=${VERBOSEMODE:-"yes"}
CURDIR=${CURDIR:-"$(pwd)"}
SRCDIR=${SRCDIR:-"$CURDIR/cache/src"}
APTCACHE=${APTCACHE:-"$CURDIR/cache/apt"}
REPOPATH=${REPOPATH:-"$CURDIR/cache/repo"}
BUILDPATH=${BUILDPATH:-"$CURDIR/cache/build"}
CLEANTREE=${CLEANTREE:-"yes"}
CLEANDIRS=${CLEANDIRS:-"yes"}
HOSTARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
DPKGFLAGS="--force-overwrite"
FETCH=${FETCH:-"wget"}
ONLINE=${ONLINE:-"no"}
LOGHTMLPATH=${LOGHTMLPATH:-"$CURDIR"}
LOGPATH="$LOGHTMLPATH/logs/"
LOGHTML="index.html"
MIRROR=${MIRROR:-"http://cdn.debian.net/debian/"}
ROOTCMD=${ROOTCMD:-sudo}
FORCE_REBUILD=${FORCE_REBUILD:-yes}
FORCE_UPGRADE=${FORCE_UPGRADE:-yes}
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical
export DEBCONF_NONINTERACTIVE_SEEN=true
export LANG=C
export LANGUAGE=C
export LC_ALL=C
export LC_PAPER=C
export LC_MONETARY=C
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/lib/buildcross/functions (from buildcross package)
--- patches/orig/functions 2012-02-21 14:12:10.042724664 +0100
+++ patches/functions 2012-02-21 05:51:12.702713086 +0100
@@ -427,6 +427,7 @@
dircheck $APTCACHE/apt-db
dircheck $APTCACHE/apt-db/preferences.d
dircheck $APTCACHE/apt-db/trusted.gpg.d
+ dircheck $APTCACHE/apt-db/sources.list.d
dircheck $APTCACHE/apt-db/archives
dircheck $APTCACHE/apt-db/archives/partial
dircheck $APTCACHE/apt-db/lists
Reply to: