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

Andreas Beckmann anbe at debian.org
Sat Nov 12 23:25:42 UTC 2016


Control: severity -1 normal
Control: tags -1 moreinfo unreproducible

On 2016-11-12 00:45, Santiago Vila wrote:
> I tried to build this package in stretch with "dpkg-buildpackage -A"
> (which is what the "Arch: all" autobuilder would do to build it)
> but it failed:

but the last buildd arch:all build succeeded:

https://buildd.debian.org/status/fetch.php?pkg=nvidia-cuda-toolkit&arch=all&ver=8.0.44-2&stamp=1477563848

> rm -f -r nvidia-cuda-amd64 nvidia-cuda-amd64.tmp
> sh cuda-linux64-rel-8.0.44-21122537.run --noexec --keep --target nvidia-cuda-amd64.tmp
> Creating directory nvidia-cuda-amd64.tmp
> Verifying archive integrity... All good.
> Uncompressing NVIDIA CUDA.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................cuda-linux64-rel-8.0.44-21122537.run: 136: cuda-linux64-rel-8.0.44-21122537.run: cannot create /dev/tty: No such device or address
> debian/rules:46: recipe for target 'nvidia-cuda-amd64' failed

This is was uses /dev/tty:

UnTAR()
{
    tar $1vf - 2>&1 || { echo Extraction failed. > /dev/tty; kill -15 $$; }
}

called like this:

    if MS_dd "$0" $offset $s | eval "gzip -cd" | ( cd "$tmpdir"; UnTAR x ) | MS_Progress; then
                if test x"$ownership" = xy; then
                        (PATH=/usr/xpg4/bin:$PATH; cd "$tmpdir"; chown -R `id -u` .;  chgrp -R `id -g` .)
                fi
    else
                echo
                echo "Unable to decompress $0" >&2
                eval $finish; exit 1
    fi

So there should have been an error when extracting the stuff ...
unfortunately it gets lost due to the progress reporting (the many dots printed)

if I run (as user)

  true || { echo foo > /dev/missing ; }

it does not fail (and with false it does)


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.


Andreas


More information about the pkg-nvidia-devel mailing list