ports/71684: lang/scm does not compile on FreeBSD 5.3BETA

J. Martin Petersen jmp at alvorlig.dk
Sun Sep 12 20:50:30 UTC 2004


>Number:         71684
>Category:       ports
>Synopsis:       lang/scm does not compile on FreeBSD 5.3BETA
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 12 20:50:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     J. Martin Petersen
>Release:        RELENG_5
>Organization:
>Environment:
FreeBSD glitter.sadmachines.org 5.3-BETA2 FreeBSD 5.3-BETA2 #1: Wed Sep  8 16:08:45 CEST 2004     root at glitter.sadmachines.org:/usr/obj/usr/src/sys/JMP  i386

>Description:
The port lang/scm does not compile. It has been tested on two different machines (5.3BETA2 and 5.3BETA4). 

/usr/ports/lang/scm> sudo make clean
===>  Cleaning for unzip-5.51
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.8
===>  Cleaning for expat-1.95.8
===>  Cleaning for scm-5d9_1
/usr/ports/lang/scm> sudo make
===>  Extracting for scm-5d9_1
>How-To-Repeat:
cd /usr/ports/lang/scm && make

>Fix:
The error from sys.c can be fixed by adding an ifdef __FREEBSD__ (like the  Open and Net-BSD ones). This doesn't solve the problem, though.
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for scm5d9.zip.
 >> Checksum OK for slib3a1.zip.
 >> Checksum OK for slib-psd1-3.tar.gz.
 ===>   scm-5d9_1 depends on executable: unzip - found
 ===>  Patching for scm-5d9_1
 ===>  Applying FreeBSD patches for scm-5d9_1
 ===>   scm-5d9_1 depends on executable: gmake - found
 ===>  Configuring for scm-5d9_1
 ===>  Building for scm-5d9_1
 Makefile:69: srcdir.mk: No such file or directory
 echo "CPROTO=`type cproto | sed 's%.* %%'`" > srcdir.mk
 echo "srcdir=`pwd`/" >> srcdir.mk
 echo "#ifndef IMPLINIT" > newflags.h
 echo "#define IMPLINIT \"/usr/ports/lang/scm/work/scm/Init5d9.scm\"" >> newflags.h
 echo "#endif" >> newflags.h
 echo "#define CAUTIOUS" >> newflags.h
 if (diff newflags.h scmflags.h) then rm newflags.h; \
          else mv newflags.h scmflags.h; fi
 diff: scmflags.h: No such file or directory
 cc -c -O -pipe  scm.c -o scm.o
 cc -c -O -pipe  time.c -o time.o
 cc -c -O -pipe  repl.c -o repl.o
 cc -c -O -pipe  scl.c -o scl.o
 cc -c -O -pipe  sys.c -o sys.o
 sys.c: In function `prinport':
 sys.c:369: warning: passing arg 1 of `lputs' makes pointer from integer withouta cast
 cc -c -O -pipe  eval.c -o eval.o
 cc -c -O -pipe  subr.c -o subr.o
 cc -c -O -pipe  unif.c -o unif.o
 cc -c -O -pipe  rope.c -o rope.o
 cc -c -O -pipe  continue.c -o continue.o
 cc -c -O -pipe  findexec.c -o findexec.o
 cc -c -O -pipe  script.c -o script.o
 cc -c -O -pipe  debug.c -o debug.o
 cc -c -O -pipe  scmmain.c -o scmmain.o
 cp -p requires.scm require.scm
 cc -o scmlit scm.o time.o repl.o scl.o sys.o eval.o subr.o unif.o rope.o continue.o findexec.o script.o debug.o scmmain.o
 sys.o(.text+0x4dc): In function `ltmpnam':
 : warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
 gmake checklit
 gmake[1]: Entering directory `/usr/ports/lang/scm/work/scm'
 ./scmlit -fr4rstest.scm -e'(test-sc4)(test-cont)(test-delay)(gc)' \
 -e '(or (null? errs) (quit 1))'
 gmake[1]: *** [checklit] Segmentation fault (core dumped)
 gmake[1]: Leaving directory `/usr/ports/lang/scm/work/scm'
 gmake: *** [scmlit] Error 2
 *** Error code 2
 
 Stop in /usr/ports/lang/scm.
 /usr/ports/lang/scm> 



More information about the freebsd-ports-bugs mailing list