Bug#844041: nvidia-cuda-toolkit: FTBFS (cannot create /dev/tty)

Santiago Vila sanvila at unex.es
Sat Nov 12 23:55:21 UTC 2016


On Sun, Nov 13, 2016 at 12:25:42AM +0100, Andreas Beckmann wrote:

> Did you repeat the test several times? Does it always fail?
> 
> Since I have no clue what happened here and I don't know how to reproduce it, I'm downgrading the severity.

I tried to build it three times on two different autobuilders and it
always failed, so it's not random.

To reproduce it, please try to build it with sbuild and "union-type=overlay".

Just use a file called /etc/schroot/chroot.d/stretch containing this:

[stretch]
type=directory
description=Debian stretch
directory=/chroot/stretch
groups=sbuild
root-groups=sbuild
preserve-environment=true
union-type=overlay

where /chroot/stretch has a stretch chroot created with debootstrap.

Then you can enter the chroot by writing "schroot -c stretch"
or tell sbuild that "stretch" is the name of the chroot.

I believe this is a problem with "union-type=overlay" but I have not
had time to check it (sorry). Even in such case, very few packages
do not build with such option, it may be worth to know why it fails
and maybe find a workaround.

(For example, one of the packages that failed with union-type=overlay
has an orig.tar.gz not containing any directory entries, that kind
of thing is easy to fix).

Thanks.



More information about the pkg-nvidia-devel mailing list