Volker Braun wrote:
AFAIK many scripts assume that CC etc. are a single command. Which is a
rather pointless restriction, but as always untested == does not work.
$ cat >"$SAGE_ROOT"/src/bin/ccache\ gcc <<"EOF"
#!/usr/bin/env bash
ccache gcc "$@"
EOF
$ chmod +x "$SAGE_ROOT"/src/bin/ccache\ gcc
;-)
Or report this upstream. (I *think* ECL is [meanwhile] the only one.)
-leif
On Sunday, April 27, 2014 3:30:52 PM UTC+1, Ralf Stephan wrote:
On Wed, Apr 23, 2014 at 3:40 PM, Ralf Stephan <[email protected]
<javascript:>> wrote:
Fine on OpenSuSE 12.3 (AMD) after 'make doc-clean; make'.
That was starting from a working develop branch. Then I played with
patchbot
which switched branches and installed packages anew. Then I checked
out develop,
did 'make distclean; make' and got:
The following package(s) may have failed to build:
package: ecl-12.12.1.p4
----log--------------
;;; Note:
;;; Invoking external command:
;;; ccache gcc -I.
-I/home/ralf/sage/local/var/tmp/sage/build/ecl-12.12.1.p4/sr
c/build/ -DECL_API
-I/home/ralf/sage/local/var/tmp/sage/build/ecl-12.12.1.p4/src/
build/c -I/home/ralf/sage/local/include
-I/home/ralf/sage/local/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-g -O2 -fPIC -Dlinux
-I/home/ralf/sage/local/var/tmp/sage/build/ecl-12.12.1.p4/src/src/c
-w -c lsp/export.c -o lsp/export.o exec: No such file or directory
Condition of type: SIMPLE-ERROR
Error code 6 when executing
(RUN-PROGRAM "ccache gcc" ("-I."
"-I/home/ralf/sage/local/var/tmp/sage/build/ecl-12.12.1.p4/src/build/"
"-DECL_API"
"-I/home/ralf/sage/local/var/tmp/sage/build/ecl-12.12.1.p4/src/build/c"
"-I/home/ralf/sage/local/include" "-I/home/ralf/sage/local/include"
"-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=64" "-g" "-O2" "-fPIC"
"-Dlinux"
"-I/home/ralf/sage/local/var/tmp/sage/build/ecl-12.12.1.p4/src/src/c" "-w"
"-c" "lsp/export.c" "-o" "lsp/export.o"))
...
/usr/bin/install: cannot stat 'bin/ecl': No such file or directory
So I guess using ccache via setting of CC is a no-no?
Regards
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.