Ever since PORTREVISION 11 (22 August) I have been unable to update the cad/spice port. It fails so: [...] cc -O2 -pipe -fno-strict-aliasing -Dbsd -I/users/scratch/usr/ports/cad/spice/work/spice3f5/src/include -I/users/scratch/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /users/scratch/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c mv -f main.o spice3.o mv: rename main.o to spice3.o: No such file or directory *** [spice3.o] Error code 1 [...] cc -o nutmeg nutmeg.o nconf.o tune.o /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/hlp.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/mfb.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/misc.a -L/usr/local/lib -lXaw -lXt -lXext -lXmu -lX11 -lm -ltermcap cc -o nutmeg nutmeg.o nconf.o tune.o /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/hlp.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/mfb.a /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/misc.a -L/usr/local/lib -lXaw -lXt -lXext -lXmu -lX11 -lm -ltermcap nutmeg.o:(.data+0x20): undefined reference to `IFnewUid' nutmeg.o:(.data+0x24): undefined reference to `IFdelUid' /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte.a(outitf.o): In function `getSpecial': outitf.c:(.text+0x599): undefined reference to `INPaName' /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte.a(outitf.o): In function `beginPlot': outitf.c:(.text+0xe69): undefined reference to `analInfo' outitf.c:(.text+0x1616): undefined reference to `INPinsert' outitf.c:(.text+0x167f): undefined reference to `analInfo' /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte.a(shyu.o): In function `if_sens_run': shyu.c:(.text+0x69): undefined reference to `INPgetTok' shyu.c:(.text+0x22b): undefined reference to `INPmkTemp' shyu.c:(.text+0x23a): undefined reference to `INPerrCat' shyu.c:(.text+0x2a3): undefined reference to `INPgetTok' shyu.c:(.text+0x36a): undefined reference to `INPgetTok' shyu.c:(.text+0x395): undefined reference to `INPapName' shyu.c:(.text+0x3be): undefined reference to `INPgetValue' shyu.c:(.text+0x3e0): undefined reference to `INPapName' shyu.c:(.text+0x409): undefined reference to `INPgetValue' shyu.c:(.text+0x42b): undefined reference to `INPapName' [...many lines of undefined references...] spiceif.c:(.text+0x14b1): undefined reference to `INPtabEnd' /users/scratch/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte.a(gens.o): In function `dgen_next': gens.c:(.text+0x331): undefined reference to `DEVmaxnum' gens.c:(.text+0x33f): undefined reference to `DEVmaxnum' *** [nutmeg] Error code 1 2 errors `recursive' not remade because of errors. Done with build at Sat Aug 30 15:06:50 MDT 2014 ===> Staging for spice-3f5.2_11 ===> spice-3f5.2_11 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> spice-3f5.2_11 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> spice-3f5.2_11 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> spice-3f5.2_11 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> spice-3f5.2_11 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Generating temporary packing list make: don't know how to make spice3. Stop *** [do-install] Error code 2 I've checked again every time I see a commit to cad/spice, but it hasn't started building again yet. My system: > uname -a FreeBSD bogodyn.org 9.3-STABLE FreeBSD 9.3-STABLE #0 r270492: Sun Aug 24 15:57:37 MDT 2014 russo@bogodyn.org:/usr/obj/usr/src/sys/BOGODYN i386
FWIW, the symbols that the linker is complaining about are all present as defined symbols (not just undefined references) in .a files in work/spice3f5/FreeBSD/obj/lib that are not being included on the link line (e.g. inp.a, fte.a, etc.) with the exception of DEVmaxnum, which appears in none of those libraries except as undefined references: >nm inp.a | grep INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok U INPgetTok 00000000 T INPgetTok U INPgetTok U INPgetTok > nm inp.a | grep IFnewUid 00000080 T IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid U IFnewUid So clearly *something* changed that stopped putting these libraries onto the link line.
Sigh... should have tried this before posting the report. Apparently, at 19:41 on 21 Aug, the last commit to PORTREVISION 10 of cad/spice was to remove the MAKE_JOBS_UNSAFE line from Makefile. If I do env MAKE_JOBS_UNSAFE=yes make in /usr/ports/cad/spice, all these link errors go away. Perhaps removing it wasn't safe?
Changing bug summary to reflect the real issue. Sorry for the noise. This issue would be completely solved if MAKE_JOBS_UNSAFE were restored. Forcing that variable into the environment lets portupgrade proceed on cad/spice for me.
Take.
MAKE_JOBS_UNSAFE=yes has been added. Thank you for your report.