Bug#678407: pbuilder: pdebuild --use-pdebuild-internal gets it's knickers into a twist when in symplinked dir
Junichi Uekawa
dancer at netfort.gr.jp
Mon Nov 19 22:07:16 UTC 2012
I believe you can work around by sending extra directories to
--bindmounts option.
Currently for convenience the default is:
--bindmounts $(readlink -f ..) \
I assume that .. is symlinked to somewhere else and that breaks some
assumption here.
Not sure what the generic solution will be.
Would doing 'cd $(readlink -f .)' inside pdebuild help ?
At Thu, 21 Jun 2012 15:18:56 +0100,
Robert Lemmen wrote:
>
> Package: pbuilder
> Version: 0.211
> Severity: normal
>
> Dear Maintainer,
>
> I am symlinking various directories under my home to a different,
> faster and not backup-ed, filesystem. when running pdebuild
> --use-pdebuild-internal from one of these, funny things happen. assume
> /home/test is a symlink to /store/test:
>
> cd /home/test/wM7cwjmM0I/gzip-1.4/
> pdebuild --use-pdebuild-internal
> ...
> I: Mounting /store/test/wM7cwjmM0I
> ...
> /runscript: line 38: cd: /home/test/wM7cwjmM0I/gzip-1.4: No such file or directory
>
> so it seems to mount the /store/ part ( i assume it mounts it to the
> same location within the cchroot), but then tries to mount the /home/
> version
>
> this can of course be worked around by starting pdebuild from
> /store/test/wM7cwjmM0I/gzip-1.4.
>
> regards robert
>
> -- System Information:
> Debian Release: wheezy/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages pbuilder depends on:
> ii cdebootstrap 0.5.9
> ii coreutils 8.13-3.2
> ii debconf [debconf-2.0] 1.5.43
> ii debianutils 4.3.1
> ii debootstrap 1.0.40
> ii dpkg-dev 1.16.3
> ii wget 1.13.4-3
>
> Versions of packages pbuilder recommends:
> ii devscripts 2.11.8
> ii fakeroot 1.18.4-2
> ii sudo 1.8.3p2-1.1
>
> Versions of packages pbuilder suggests:
> pn cowdancer <none>
> pn gdebi-core <none>
> pn pbuilder-uml <none>
>
> -- debconf information excluded
>
>
>
> _______________________________________________
> Pbuilder-maint mailing list
> Pbuilder-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pbuilder-maint
>
More information about the Pbuilder-maint
mailing list