Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chroot build failure with autoconf #362

Open
lrvick opened this issue Dec 24, 2023 · 1 comment
Open

chroot build failure with autoconf #362

lrvick opened this issue Dec 24, 2023 · 1 comment

Comments

@lrvick
Copy link

lrvick commented Dec 24, 2023

Failed identically building multiple times in a row.

Deleting distfiles and I still hit autoconf error, and looks like maybe a broken/missing var between "steps/" and "1.sh"

git clone https://github.com/fosslinux/live-bootstrap.git
cd live-bootstrap
git submodule update --init --recursive
./rootfs.py --chroot
[...]
tcc -DPRIVLIB_EXP=\"/usr/lib/perl5/5.6.2\" -DPERL_CORE=1 -I. -DVERSION=\"5.6.2\"   -c -o ext/File/Glob/bsd_glob.o ext/File/Glob/bsd_glob.c
mkdir -p lib/auto/File/Glob
tcc -ar cr lib/auto/File/Glob/Glob.a ext/File/Glob/Glob.o ext/File/Glob/bsd_glob.o
cp ext/File/Glob/Glob.pm lib/auto/File/Glob/
cd ext/IO; /steps/perl-5.6.2/build/perl-5.6.2/miniperl -I/steps/perl-5.6.2/build/perl-5.6.2/lib /steps/perl-5.6.2/build/perl-5.6.2/lib/ExtUtils/xsubpp -noprototypes -typemap /steps/perl-5.6.2/build/perl-5.6.2/lib/ExtUtils/typemap IO.xs > IO.c
tcc -DPRIVLIB_EXP=\"/usr/lib/perl5/5.6.2\" -DPERL_CORE=1 -I. -DVERSION=\"5.6.2\"   -c -o ext/IO/IO.o ext/IO/IO.c
tcc -DPRIVLIB_EXP=\"/usr/lib/perl5/5.6.2\" -DPERL_CORE=1 -I. -DVERSION=\"5.6.2\"   -c -o ext/IO/poll.o ext/IO/poll.c
mkdir -p lib/auto/IO
tcc -ar cr lib/auto/IO/IO.a ext/IO/IO.o ext/IO/poll.o
cp ext/IO/IO.pm lib/auto/IO/
cd ext/POSIX/; \
/steps/perl-5.6.2/build/perl-5.6.2/miniperl -I/steps/perl-5.6.2/build/perl-5.6.2/lib /steps/perl-5.6.2/build/perl-5.6.2/lib/ExtUtils/xsubpp -noprototypes -typemap /steps/perl-5.6.2/build/perl-5.6.2/lib/ExtUtils/typemap POSIX.xs > POSIX.c
tcc -DPRIVLIB_EXP=\"/usr/lib/perl5/5.6.2\" -DPERL_CORE=1 -I. -DVERSION=\"5.6.2\"   -c -o ext/POSIX/POSIX.o ext/POSIX/POSIX.c
POSIX.xs:3451: warning: assignment from incompatible pointer type
POSIX.xs:3451: warning: assignment makes integer from pointer without a cast
mkdir -p lib/auto/POSIX
tcc -ar cr lib/auto/POSIX/POSIX.a ext/POSIX/POSIX.o
mkdir -p ext/POSIX/blib/lib
cp ext/POSIX/POSIX.pod ext/POSIX/POSIX.pm ext/POSIX/blib/lib
cd ext/POSIX/blib; \
../../../miniperl -I../../../lib /steps/perl-5.6.2/build/perl-5.6.2/autosplit.pl lib/*.pm
Warning: AutoSplit had to create top-level lib/auto unexpectedly.
AutoSplitting lib/POSIX.pm (lib/auto/POSIX)
cp ext/POSIX/blib/lib/auto/POSIX/* lib/auto/POSIX/
cd ext/Errno; \
../../miniperl -I../../lib Errno_pm.PL
mv ext/Errno/Errno.pm lib/Errno.pm
tcc -DPRIVLIB_EXP=\"/usr/lib/perl5/5.6.2\" -DPERL_CORE=1 -I. -DVERSION=\"5.6.2\" perlmain.o lib/auto/DynaLoader/DynaLoader.a  lib/auto/ByteLoader/ByteLoader.a  lib/auto/Data/Dumper/Dumper.a  lib/auto/Fcntl/Fcntl.a  lib/auto/File/Glob/Glob.a  lib/auto/IO/IO.a lib/auto/POSIX/POSIX.a libperl.a -o perl
perl-5.6.2: install to fakeroot.
install -D perl /tmp/destdir/usr/bin/perl
mkdir -p "/tmp/destdir/usr/lib/perl5/5.6.2"
cp -r lib/* "/tmp/destdir/usr/lib/perl5/5.6.2"
install -m 644 ext/DynaLoader/XSLoader.pm "/tmp/destdir/usr/lib/perl5/5.6.2"
install -m 644 ext/DynaLoader/DynaLoader.pm "/tmp/destdir/usr/lib/perl5/5.6.2"
install -m 644 ext/ByteLoader/ByteLoader.pm "/tmp/destdir/usr/lib/perl5/5.6.2"
mkdir "/tmp/destdir/usr/lib/perl5/5.6.2/Data/"
install -m 644 ext/Data/Dumper/Dumper.pm "/tmp/destdir/usr/lib/perl5/5.6.2/Data/"
install -m 644 ext/Fcntl/Fcntl.pm "/tmp/destdir/usr/lib/perl5/5.6.2"
install -m 644 ext/File/Glob/Glob.pm "/tmp/destdir/usr/lib/perl5/5.6.2/File/"
install -m 644 ext/IO/IO.pm "/tmp/destdir/usr/lib/perl5/5.6.2"
mkdir "/tmp/destdir/usr/lib/perl5/5.6.2/IO/"
cp ext/IO/lib/IO/*.pm "/tmp/destdir/usr/lib/perl5/5.6.2/IO/"
install -m 644 ext/POSIX/POSIX.pm "/tmp/destdir/usr/lib/perl5/5.6.2/"
install -m 644 ext/POSIX/POSIX.pod "/tmp/destdir/usr/lib/perl5/5.6.2/"
cp lib/auto/POSIX/* "/tmp/destdir/usr/lib/perl5/5.6.2/auto/POSIX/"
perl-5.6.2: postprocess binaries.
perl-5.6.2: creating package.
perl-5.6.2: checksumming created package.
perl-5.6.2_0.tar.bz2: OK
perl-5.6.2: cleaning up.
perl-5.6.2: installing package.
perl-5.6.2: build successful
/steps//1.sh: line 33: /dev/null: error 13
autoconf-2.52: beginning build using script pass1.sh
autoconf-2.52: getting sources.
autoconf-2.52.tar.bz2: OK
autoconf-2.52: unpacking source.
autoconf-2.52: preparing source.
autoconf-2.52: configuring source.
autoconf-2.52: compiling source.
autoconf-2.52: install to fakeroot.
autoconf-2.52: postprocess binaries.
/steps//1.sh: line 34: /dev/null: error 13
autoconf-2.52: creating package.
/steps//1.sh: line 1: /dev/null: error 13
/steps//1.sh: line 41: /dev/null: error 13
/steps//1.sh: line 1: /dev/null: error 13
/steps//1.sh: line 1: /dev/null: error 13
/steps//1.sh: line 358: /dev/null: error 13
/steps//1.sh: line 366: /dev/null: error 13
/steps//1.sh: line 369: /dev/null: error 13
/steps//1.sh: line 1: /dev/null: error 13
/steps//1.sh: line 1: /dev/null: error 13
/steps//1.sh: line 68: /dev/null: error 13
autoconf-2.52: checksumming created package.
autoconf-2.52_0.tar.bz2: FAILED
sha256sum: WARNING: 1 of 1 computed checksum did NOT match
Subprocess error 1
ABORTING HARD
Subprocess error 1
ABORTING HARD
Subprocess error 1
ABORTING HARD
Subprocess error
ABORTING HARD
Bootstrapping failed
Removing /home/lrvick/Sources/live-bootstrap/tmp
@rick-masters
Copy link
Contributor

Does this problem still occur for you?
What is the result of ls -l /dev/null outside of the chroot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants