Bug#753801: pbuilder: Please consider patch to fix it on hurd-i386
Gabriele Giacone
1o5g4r8o at gmail.com
Tue Jun 23 00:39:36 UTC 2015
On Tue, Jun 23, 2015 at 12:57 AM, Mattia Rizzolo <mattia at mapreri.org> wrote:
> On Sat, Jul 05, 2014 at 11:37:45AM +0200, Gabriele Giacone wrote:
>> attached patch makes pbuilder working on hurd.
>
> Thanks, committed to my git repo, i'll include it in the next NMU/regular
> upload I'll do.
> I've just added a couple of quotes here and then.
> I'm easy on this patch since quite whatever might have break is inside
> [ $DEB_BUILD_ARCH_OS = hurd ] clouses, so if something still breaks, just send
> another patch.
Thanks.
I also have a schroot patch you might be interested in due to
hurd-and-only-hurd (GNU) case. Patch is at
http://darnassus.sceen.net/~gg0/02schroot.diff
More info in following threads:
https://lists.debian.org/debian-hurd/2014/10/msg00007.html
https://lists.debian.org/debian-hurd/2015/05/msg00063.html
I should probably file a schroot bug.
>> First and last hunks work around a hurd limitation: currently if
>> mountpoints (also device pathnames) contain superfluous "." and "/",
>> path is not canonicalized so user to properly umount needs to specify
>> mountpoint exactly as it was specified at mount time, with superfluous
>> "." and "/" if any.
>
>> --- a/pbuilderrc
>> +++ b/pbuilderrc
>> @@ -4,7 +4,7 @@
>> BASETGZ=/var/cache/pbuilder/base.tgz
>> #EXTRAPACKAGES=""
>> #export DEBIAN_BUILDARCH=athlon
>> -BUILDPLACE=/var/cache/pbuilder/build/
>> +BUILDPLACE=/var/cache/pbuilder/build
>> MIRRORSITE=http://cdn.debian.net/debian
>> #OTHERMIRROR="deb http://www.home.com/updates/ ./"
>> #export http_proxy=http://your-proxy:8080/
>
> Well, keep in mind that people might have changed this on /etc/pbuilderrc,
> so not sure whether you want to account this somewhere else too.
IIRC superfluous-dots-and-slashes issue has been fixed on hurd side,
so first and last hunks are useless at the moment.
--
G..e
More information about the Pbuilder-maint
mailing list