NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sun2/56158: sun2 m68000: super-block backups (for fsck -b #) at: 32,nbmakefs: Writing inode 152 (work/./bin/cat), bytes 528384 + 4096: No space left on device


On Mon, 2021-05-10 16:00:13 +0200, Jan-Benedict Glaw <> wrote:
> On Mon, 2021-05-10 09:08:47 +0200, Jan-Benedict Glaw <> wrote:
> > Will now start a "bullseye"-based run. Just as a note of amazement,
> > I'd like to notice how self-contained the NetBSD build is and how
> > minimal (gcc, g++, zlib1g-dev and possibly make) the external
> > dependencies are.
> Testing in Docker so far:
> Debian stable  "Buster":   successful build for tools+release
> Debian testing "Bullseye": successful build for tools+release
> Debian unstable "Sid":     Next to go!

The Debian "unstable" build also succeeded. So either something that's
installed or in the environment breaks the build.

  My next guess is that, somehow, my compiler choice could be the
culprit: As these are CI builds, I implemented a way to choose a
compiler suite:

# vim:filetype=bash:

# This file is to be source'd.
# Input:
#               "gcc-system", "gcc-snapshot", "clang-12"
# Sets/Modifies
#       $CC
#       $CXX
#       $CPP
#       $LD
#       $PATH

: "${COMPILER_SUITE:=gcc-snapshot}"

case "${COMPILER_SUITE}" in
                export CC=gcc
                export CXX=g++
                export CPP=cpp
                export LD=gcc

                export CC=/usr/lib/gcc-snapshot/bin/gcc
                export CXX=/usr/lib/gcc-snapshot/bin/g++
                export CPP=/usr/lib/gcc-snapshot/bin/cpp
                export LD=/usr/lib/gcc-snapshot/bin/gcc
                export LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
                export PATH=/usr/lib/gcc-snapshot/bin:$PATH
                hash -r

                export CC=/usr/bin/clang-12
                export CXX=/usr/bin/clang++-12
                export CPP=/usr/bin/clang-cpp-12
                export LD=/usr/bin/clang-12

                echo "Unknown compiler suite ${COMPILER_SUITE}, aborting" >&2
                exit 1

So maybe one of $CC, $CXX, $CPP or $LD interfered? Will check that



Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index