[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] chicken-5-new-egg-install branch
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] chicken-5-new-egg-install branch |
Date: |
Sat, 15 Apr 2017 16:06:21 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Apr 12, 2017 at 01:18:27PM +0200, address@hidden wrote:
> I hereby politely ask on how to proceed. Submitting patches is probably
> counter-productive - the changes are extensive.
In my opinion, we should just merge it; this new install tool is the way
forward. Maybe fix a few things first? Or just merge and go from there.
The latter would probably be easier to keep working on the overhaul of
the modules. What do the others think?
> To review or test the code, see the branch here:
>
>
> http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=shortlog;h=refs/heads/chicken-5-new-egg-install
I got an error during "make check":
======================================== linking tests ...
/home/sjamaan/src/chicken-core/tests/../chicken
'reverser/tags/1.0/reverser.scm' -output-file 'reverser.c' -verbose
-include-path /home/sjamaan/src/chicken-core/tests/.. -unit reverser
-emit-all-import-libraries
generating import library `reverser.import.scm' for module `reverser' ...
'gcc' 'reverser.c' -o 'reverser.o' -c -fno-strict-aliasing -fwrapv
-DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -g -Wall -Wno-unused
-I/home/sjamaan/src/chicken-core/tests/..
-I/home/sjamaan/chickens/chicken-5-new-egg-install/include/chicken
rm reverser.c
/home/sjamaan/src/chicken-core/tests/../chicken 'linking-tests.scm'
-output-file 'linking-tests.c' -verbose -include-path
/home/sjamaan/src/chicken-core/tests/.. -uses reverser
'gcc' 'linking-tests.c' -o 'linking-tests.o' -c -fno-strict-aliasing -fwrapv
-DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -g -Wall -Wno-unused
-I/home/sjamaan/src/chicken-core/tests/..
-I/home/sjamaan/chickens/chicken-5-new-egg-install/include/chicken
rm linking-tests.c
'gcc' 'reverser.o' 'linking-tests.o' -o 'linking-tests'
-L/home/sjamaan/src/chicken-core/tests/..
-L/home/sjamaan/chickens/chicken-5-new-egg-install/lib
-Wl,-R'/home/sjamaan/chickens/chicken-5-new-egg-install/lib' -lchicken -lm -ldl
rm linking-tests.o
/home/sjamaan/src/chicken-core/tests/../chicken 'linking-tests.scm'
-output-file 'linking-tests.c' -static -verbose -include-path
/home/sjamaan/src/chicken-core/tests/.. -uses reverser -emit-link-file
linking-tests.link
'gcc' 'linking-tests.c' -o 'linking-tests.o' -c -fno-strict-aliasing -fwrapv
-DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -g -Wall -Wno-unused
-I/home/sjamaan/src/chicken-core/tests/..
-I/home/sjamaan/chickens/chicken-5-new-egg-install/include/chicken
rm linking-tests.c
'gcc' 'reverser.o' 'linking-tests.o' -o 'linking-tests'
-L/home/sjamaan/src/chicken-core/tests/..
-L/home/sjamaan/chickens/chicken-5-new-egg-install/lib
-Wl,-R'/home/sjamaan/chickens/chicken-5-new-egg-install/lib'
/home/sjamaan/chickens/chicken-5-new-egg-install/lib/libchicken.a -lm -ldl
rm linking-tests.o
csc: could not find linked extension: reverser
rules.make:907: recipe for target 'check' failed
make: *** [check] Error 64
> The preliminary eggs for C5 can be found here:
>
> http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-5-eggs.git;a=summary
>
> (You need to add "(location "<dir>/c5-eggs")" to your setup.defaults to use
> them)
I had to fix some stuff to make the base64 egg work. Interestingly,
on first install it worked, but when I ran chicken-install again,
I get this error:
building base64
/home/sjamaan/chickens/chicken-5-new-egg-install/bin/csc -host -D
compiling-extension -J -s -setup-mode -I
/home/sjamaan/src/chicken-5-eggs/base64 -C
-I/home/sjamaan/src/chicken-5-eggs/base64 -O2 -d1
/home/sjamaan/src/chicken-5-eggs/base64/base64.scm -o
/home/sjamaan/src/chicken-5-eggs/base64/base64.so
/usr/bin/ld:
/home/sjamaan/chickens/chicken-5-new-egg-install/lib/chicken/8/srfi-13.o:
relocation R_X86_64_32 against `.rodata' can not be used when making a shared
object; recompile with -fPIC
/home/sjamaan/chickens/chicken-5-new-egg-install/lib/chicken/8/srfi-13.o: error
adding symbols: Bad value
collect2: error: ld returned 1 exit status
Error: shell command terminated with non-zero exit status 256: 'gcc'
'/home/sjamaan/src/chicken-5-eggs/base64/base64.o'
'/home/sjamaan/chickens/chicken-5-new-egg-install/lib/chicken/8/srfi-13.o'
'/home/sjamaan/chickens/chicken-5-new-egg-install/lib/chicken/8/srfi-14.o' -o
'/home/sjamaan/src/chicken-5-eggs/base64/base64.so' -shared
-L/home/sjamaan/chickens/chicken-5-new-egg-install/lib
-Wl,-R'/home/sjamaan/chickens/chicken-5-new-egg-install/lib' -lchicken -lm -ldl
Error: shell command terminated with nonzero exit code
256
"sh /home/sjamaan/src/chicken-5-eggs/base64/base64.build.sh"
Call history:
egg-compile.scm:708: ##sys#print
egg-compile.scm:708: ##sys#print
egg-compile.scm:708: ##sys#print
egg-compile.scm:708: ##sys#print
egg-compile.scm:708: ##sys#print
egg-compile.scm:708: ##sys#write-char-0
chicken-install.scm:808: print
chicken-install.scm:809: run-script
chicken-install.scm:871: ##sys#get-keyword
chicken-install.scm:872: d
chicken-install.scm:879: software-version
chicken-install.scm:875: string-append
chicken-install.scm:873: exec
chicken-install.scm:896: d
chicken-install.scm:897: system
chicken-install.scm:900: error <--
It looks like somehow the srfi-13.o got corrupted, but reinstalling
the srfi-13 egg and then trying to install base64 again didn't get
rid of the problem.
This was all on Debian Jessie, amd64.
Cheers,
Peter
signature.asc
Description: Digital signature