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

HP-UX issue, ECL fails to build properly #7167

Closed
sagetrac-drkirkby mannequin opened this issue Oct 10, 2009 · 2 comments
Closed

HP-UX issue, ECL fails to build properly #7167

sagetrac-drkirkby mannequin opened this issue Oct 10, 2009 · 2 comments

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Oct 10, 2009

On a HP C3600, running HP-UX 11i, I got the following failure.

/src/gc/include/new_gc_alloc.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/new_gc_alloc.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_allocator.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_allocator.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_backptr.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_backptr.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_gcj.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_gcj.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/leak_detector.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/leak_detector.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_amiga_redirects.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_amiga_redirects.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_pthread_redirects.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_pthread_redirects.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_config_macros.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_config_macros.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_tiny_fl.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_tiny_fl.h'
 /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/install-sh -c -m 644 '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/gc/include/gc_version.h' '/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build/ecl//gc/gc_version.h'
        sed -e 's,@ecldir\\@,/home/drkirkby/sage-4.1.2.rc0/local/lib/ecl-9.8.4/,g' < lsp/config.pre > lsp/config.lsp
        sed -e 's,@ecldir\\@,"/home/drkirkby/sage-4.1.2.rc0/local/lib/ecl-9.8.4/",g' \
            -e 's,@libdir\\@,"/home/drkirkby/sage-4.1.2.rc0/local/lib/",g' \
            -e 's,@includedir\\@,"/home/drkirkby/sage-4.1.2.rc0/local/include/",g' < cmp/cmpdefs.pre > cmp/cmpdefs.lsp
        test -d c/ecl || mkdir c/ecl
        sed 's,__declspec(dllimport),,g' /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/h/external.h > c/ecl/external.h
        cp /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/h/*.h ecl/
        cd c; make
        cat /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/symbols_list.h | \
        sed -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*NULL,.*}%{\1,NULL}%g' \
            -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*\([^,]*\),.*}%{\1,"\2"}%g' \
            -e 's%{NULL.*%{NULL,NULL}};%' > /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/symbols_list2.h
        if test -f ../CROSS-DPP; then touch dpp; else \
        gcc -I/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c -I/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build -I./ /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/dpp.c  -I/home/drkirkby/sage-4.1.2.rc0/local/include  -O2  -g  -Wall  -fPIC  -Dhpux11.11 -o ./dpp ; \
        fi
<command-line>: warning: missing whitespace after the macro name
/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/dpp.c: In function 'read_function':
/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/dpp.c:336: warning: array subscript has type 'char'
        if test -f ../CROSS-DPP ; then ../CROSS-DPP /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/main.d tmp.c ; else ./dpp /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/main.d tmp.c ; fi
dpp: /home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c/main.d -> tmp.c

Unknown symbol: mp::*current-process*

Unknown symbol: mp::+load-compile-lock+

Unknown symbol: mp::+load-compile-lock+
        gcc -DECLDIR="\"/home/drkirkby/sage-4.1.2.rc0/local/lib/ecl-9.8.4\"" -I. -I/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/build -I/home/drkirkby/sage-4.1.2.rc0/spkg/build/ecl-9.8.4-20090913cvs.p1/src/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY  -I/home/drkirkby/sage-4.1.2.rc0/local/include  -O2  -g  -Wall  -fPIC  -Dhpux11.11 -c  #         -Wall -W -Wfloat-equal -Wundef -Wendif-labels -Wpointer-arith -Wcast-align  #   -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-prototypes -Wredundant-decls  #    -Wunreachable-code -Winline -o main.o tmp.c
gcc: no input files
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
Failed to build ECL ... exiting

CC: @fchapoton

Component: porting: AIX or HP-UX

Issue created by migration from https://trac.sagemath.org/ticket/7167

@slel
Copy link
Member

slel commented Jan 14, 2019

comment:3

This was with ECL 9.8.4. Sage now uses ECL 16.1.2.

Is this still failing or has one of the ECL upgrades fixed it?

@mkoeppe
Copy link
Contributor

mkoeppe commented Jun 23, 2020

comment:4

We should close this ticket as outdated.

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

No branches or pull requests

4 participants