Quoting Samuel Thibault (2013-11-18 17:15:05)
> Justus Winter, le Mon 18 Nov 2013 16:49:57 +0100, a écrit :
> > However, the identity ports are still compared. This cannot succeed if
> > fakeroot or chroot is used,
> 
> Aah, that's why.
> 
> So with this patch, does building packages inside the hurdish fakeroot
> now works?

No :/ something funny happens with some path during make
install. Looks like the first and third components are stripped off:

% pwd
/home/teythoon/scratch/packages/hurd-pkg
% fakeroot debian/rules binary
dh binary -Bbuild-deb --with autotools_dev,autoreconf
   debian/rules override_dh_auto_install
make[1]: Entering directory `/teythoon/packages/hurd-pkg'
dh_auto_install -Bbuild-deb --destdir= -- 
prefix=/teythoon/packages/hurd-pkg/debian/tmp 
libdir=/teythoon/packages/hurd-pkg/debian/tmp/lib/i386-gnu 
sysconfdir=/teythoon/packages/hurd-pkg/debian/tmp/etc 
localstatedir=/teythoon/packages/hurd-pkg/debian/tmp/var 
XKB_BASE=/teythoon/packages/hurd-pkg/debian/tmp/usr/share/X11/xkb
/bin/sh: 1: cd: can't cd to ../
make[2]: Entering directory `/teythoon/packages/hurd-pkg/build-deb'
make -C libshouldbeinlibc install
make[3]: Entering directory 
`/teythoon/packages/hurd-pkg/build-deb/libshouldbeinlibc'
mkdir /teythoon
mkdir: cannot create directory `/teythoon': Permission denied
mkdir /teythoon/packages
mkdir: cannot create directory `/teythoon/packages': No such file or directory
mkdir /teythoon/packages/hurd-pkg
mkdir: cannot create directory `/teythoon/packages/hurd-pkg': No such file or 
directory
mkdir /teythoon/packages/hurd-pkg/debian
mkdir: cannot create directory `/teythoon/packages/hurd-pkg/debian': No such 
file or directory
mkdir /teythoon/packages/hurd-pkg/debian/tmp
mkdir: cannot create directory `/teythoon/packages/hurd-pkg/debian/tmp': No 
such file or directory
mkdir /teythoon/packages/hurd-pkg/debian/tmp/lib
mkdir: cannot create directory `/teythoon/packages/hurd-pkg/debian/tmp/lib': No 
such file or directory
mkdir /teythoon/packages/hurd-pkg/debian/tmp/lib/i386-gnu
mkdir: cannot create directory 
`/teythoon/packages/hurd-pkg/debian/tmp/lib/i386-gnu': No such file or directory
make[3]: *** [/teythoon/packages/hurd-pkg/debian/tmp/lib/i386-gnu] Error 1
make[3]: Leaving directory 
`/teythoon/packages/hurd-pkg/build-deb/libshouldbeinlibc'
make[2]: *** [libshouldbeinlibc-install] Error 2
make[2]: Leaving directory `/teythoon/packages/hurd-pkg/build-deb'
dh_auto_install: make -j1 install 
DESTDIR=/teythoon/packages/hurd-pkg/debian/tmp AM_UPDATE_INFO_DIR=no 
prefix=/teythoon/packages/hurd-pkg/debian/tmp 
libdir=/teythoon/packages/hurd-pkg/debian/tmp/lib/i386-gnu 
sysconfdir=/teythoon/packages/hurd-pkg/debian/tmp/etc 
localstatedir=/teythoon/packages/hurd-pkg/debian/tmp/var 
XKB_BASE=/teythoon/packages/hurd-pkg/debian/tmp/usr/share/X11/xkb returned exit 
code 2
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory `/teythoon/packages/hurd-pkg'
make: *** [binary] Error 2
/bin/fakeauth: Error 2 for child 13817

Justus


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to