-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Build error #202
Comments
The error message indicates $DESTDIR was messed up, although I can't recall anything I recently changed that affects it. |
that gives: '--prefix=/usr' '--enable-multibyte=utf-8' '--enable-threads=pthreads' 'CC=gcc' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' |
Hmm, that doesn't look like suspicious. My guess is that somehow DESTDIR is unexpectedly set during the build (which should be set only when "make install"). Could you try this in Makefile.in and build from configure?
|
Indeed I set DESTDIR explicitely in the make-step. I removed it and tried -----Original-Nachricht----- Hmm, that doesn't look like suspicious. My guess is that somehow DESTDIR is diff --git a/src/Makefile.in b/src/Makefile.in index 8dd52e1..df5555a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -81,7 +81,7 @@ LINK = TARGETLIB= — |
Your patch works. Thanks! |
The makeverslink script refers to DESTDIR so that it can create symlinks to the installed *.so, in case files are installed under $DESTDIR for packaging. The script also called during build to create symlinks inside src/, at that point we assume DESTDIR isn't set. The assumption breaks if it is set externally. This addresses #202
Good! |
Under Arch Linux 64 bit the master branch does not compile since very recently.
TARGETLIB=
pwd
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wl,--rpath=pwd
-L. -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,--soname,libgauche-0.9.so.0.5 -shared -o libgauche-0.9.so box.o core.o vm.o compaux.o macro.o code.o error.o class.o prof.o collection.o boolean.o char.o string.o list.o hash.o treemap.o bits.o port.o write.o read.o vector.o weak.o symbol.o gloc.o compare.o regexp.o signal.o parameter.o module.o proc.o number.o bignum.o load.o paths.o lazy.o repl.o autoloads.o system.o compile.o libalpha.o libbool.o libchar.o libcode.o libcmp.o libdict.o libeval.o libexc.o libfmt.o libio.o liblazy.o liblist.o libmisc.o libmod.o libnum.o libobj.o libomega.o libproc.o librx.o libsrfis.o libstr.o libsym.o libsys.o libvec.o libgc_pic.a -latomic_ops -ldl -lcrypt -lutil -lrt -lm -lpthreadTARGETLIB=
pwd
/bin/bash ./makeverslink libgauche-0.9.so./makeverslink: line 29: cd: /home/haawda/paketierung/meine_Pakete/gauche-git/pkg/gauche-git/home/haawda/paketierung/meine_Pakete/gauche-git/src/Gauche/src: No such file or directory
Makefile:346: recipe for target 'libgauche-0.9.so' failed
make[1]: *** [libgauche-0.9.so] Error 1
make[1]: Leaving directory '/home/haawda/paketierung/meine_Pakete/gauche-git/src/Gauche/src'
Makefile:39: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...
The text was updated successfully, but these errors were encountered: