Control: reassign -1 pbuilder Control: tags -1 moreinfo Hi,
On Thu, 13 Aug 2015 14:45:23 -0400 Chris Knadle <chris.kna...@coredump.us> wrote: > 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: The interactions with apt are all done by pbuilder (with the exception of apt-get clean). Have you verified that you can get the pinning to work *outside* the chroot? I’m not aware of pbuilder doing anything to stop pinning. > > # 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] Regards, James
signature.asc
Description: Message signed with OpenPGP using GPGMail