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

Bug#1033731: sbcl: support bootstrap on riscv64



Hi!

On Fri, Mar 31, 2023 at 6:00 PM John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
>
> Hello!
>
> On Fri, 2023-03-31 at 17:16 +0800, Bo YU wrote:
> > Sorry, the folder is wrong. The right folder is here:
> > https://drive.google.com/drive/folders/1c6AFD_EgGwXTbAiC_-1al6Gb_wBpfMpr
> What about 2.2.9? Has the bug not been fixed since 2.2.3?
Oh. It seems the 2.2.9 can be built with the sbcl(2.2.2-1) riscv64 package.
But, very odd:
```
...
SBCL has been installed:
 binary /<<PKGBUILDDIR>>/stage1/bin/sbcl
 core and contribs in /<<PKGBUILDDIR>>/stage1/lib/sbcl/

Documentation:
 man /<<PKGBUILDDIR>>/stage1/share/man/man1/sbcl.1
chmod 100 stage1 # Make stage 1 unreadable (only executable), to avoid
messing with the stage 2
./clean.sh
make[2]: Entering directory '/<<PKGBUILDDIR>>/tools-for-build'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools-for-build'
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc/manual'
rm -f *~ *.bak *.orig \#*\# .\#* texput.log *.fasl
rm -rf sbcl asdf "docstrings/"
rm -f  sbcl.html asdf.html
rm -f contrib-docs.texi-temp
rm -f package-locks.texi-temp
rm -f variables.texinfo
rm -f sbcl.ps asdf.ps sbcl.pdf asdf.pdf html-stamp tempfiles-stamp
rm -f asdf.aux asdf.cp asdf.cps asdf.fn asdf.fns asdf.ky asdf.log
asdf.pg asdf.toc asdf.tp asdf.tps asdf.vr asdf.vrs sbcl.aux sbcl.cp
sbcl.cps sbcl.fn sbcl.fns sbcl.ky sbcl.log sbcl.pg sbcl.toc sbcl.tp
sbcl.tps sbcl.vr sbcl.vrs
rm -f sbcl.info sbcl.info-* asdf.info
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc/manual'
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc/internals'
rm -rf *.include *.info *.pdf *~ *.cp *.fn *.ky *.log *.pg *.toc \
        *.tp *.vr *.aux *.eps *.png *.dvi *.ps *.txt *.fns \
        html-stamp sbcl-internals/
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc/internals'
# Create stage 2
./make.sh --xc-host="/<<PKGBUILDDIR>>/stage1/bin/sbcl
--disable-debugger --no-sysinit --no-userinit" --prefix=/usr --fancy
make-config.sh: 237: /<<PKGBUILDDIR>>/stage1/bin/sbcl: not found
No working host Common Lisp implementation.
See ./INSTALL, the "SOURCE DISTRIBUTION" section
make[1]: *** [debian/rules:58: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:45: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-03-31T12:36:02Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: riscv64
Build Type: binary
Build-Space: 45904
Build-Time: 2247
Distribution: UNRELEASED
Fail-Stage: build
Host Architecture: riscv64
Install-Time: 559
Job: /home/rv/build/sbcl/2.2.9/sbcl_2.2.9-1.1.dsc
Machine Architecture: riscv64
Package: sbcl
Package-Time: 2908
Source-Version: 2:2.2.9-1.1
Space: 45904
Status: attempted
Version: 2:2.2.9-1.1

```
Nothing change other than B-D and ifeq.

BR,
Bo


Reply to: