Package: cowbuilder Version: 0.73 Severity: normal --- Please enter the report below this line. ---
I'm trying to rebuild a chain of build dependencies to work on a package for the gcc5 and libstdc++6 transition. What I'm doing is building libraries, putting them into a local reprepro repository, and made an APT Pin in the chroot to prioritize the local repository to try to get cowbuilder to use the newly rebuilt version of the libraries in order to pick up the ABI change, without having to modify the source packages of the libraries. This means that the library version numbers between the local repository and Debian's remote repository are exactly the same. The APT Pin looks like it's in place correctly as far as I can tell: # chroot /deb-chroots/amd64-sid-base.cow/ # apt-cache policy Package files: 100 /var/lib/dpkg/status release a=now 1001 ftp://localhost/debian/ sid/main amd64 Packages release o=Local_Packages,a=unstable,n=sid,l=Local_Packages,c=main origin localhost 500 http://ftp.us.debian.org/debian/ sid/main Translation-en 500 http://ftp.us.debian.org/debian/ sid/main amd64 Packages release o=Debian,a=unstable,n=sid,l=Debian,c=main origin ftp.us.debian.org Pinned packages: So I expect that when I try to do a build of avahi that it will pull libglib2.0-0 from the local repository because it contains it: # reprepro list sid sid|main|amd64: libglib2.0-0 2.44.1-1.1 sid|main|amd64: libglib2.0-0-dbg 2.44.1-1.1 sid|main|amd64: libglib2.0-0-refdbg 2.44.1-1.1 sid|main|amd64: libglib2.0-bin 2.44.1-1.1 sid|main|amd64: libglib2.0-data 2.44.1-1.1 sid|main|amd64: libglib2.0-dev 2.44.1-1.1 sid|main|amd64: libglib2.0-doc 2.44.1-1.1 sid|main|amd64: libglib2.0-tests 2.44.1-1.1 u|sid|main|amd64: libglib2.0-udeb 2.44.1-1.1 sid|main|i386: libglib2.0-data 2.44.1-1.1 sid|main|i386: libglib2.0-doc 2.44.1-1.1 sid|main|source: glib2.0 2.44.1-1.1 But when I attempt to do a build, cowbuilder (or pbuilder) is instead pulling libglib2.0-0 from Debian's repository instead: # time nice cowbuilder --build avahi_0.6.31-5.dsc --basepath /deb-chroots/amd64-sid-base.cow/ -> Copying COW directory forking: rm -rf /deb-chroots/cow-buildplace/cow.18920 [...] Need to get 32.4 MB/151 MB of archives. After unpacking 499 MB will be used. Writing extended state information... Get: 1 http://ftp.us.debian.org/debian/ sid/main libglib2.0-0 amd64 2.44.1-1.1 [2461 kB] Get: 2 http://ftp.us.debian.org/debian/ sid/main libdaemon0 amd64 0.14-6 [17.5 kB] [...] If the version number in the local repository is higher, then the version that's downloaded comes from the local repository, but not otherwise. Is there a way to get cowbuilder to use libraries from a local repository regardless of whether the version number is lower, equal, or higher than Debian's remote repo? Thanks. -- Chris -- Chris Knadle chris.kna...@coredump.us --- System information. --- Architecture: amd64 Kernel: Linux 3.16.0-4-amd64 Debian Release: stretch/sid 500 unstable ftp.us.debian.org 500 stable security.debian.org 500 stable ftp.us.debian.org 500 oldstable security.debian.org 500 oldstable ftp.us.debian.org --- Package information. --- Package's Depends field is empty. Package's Recommends field is empty. Package's Suggests field is empty.