Date: Sun, 25 Jan 2015 08:51:22 +0100 From: Matthias Apitz <guru@unixarea.de> To: freebsd-ports@freebsd.org, zeising@FreeBSD.org Subject: head/graphics/svgalib does not build in poudriere Message-ID: <20150125075122.GA1377@c720-r276659>
next in thread | raw e-mail | index | archive | help
Hello, This is in head r276659, ports r377801 and with poudriere 3.1.1 on amd64; the port graphics/svgalib fails to build (only) in poudriere with: ... clang -Wall -Wstrict-prototypes -Wall -Wstrict-prototypes -fPIC -I/wrkdirs/usr/ports/graphics/svgalib/work/svgalib-1.4.3/include -I. -fstack-protector -fno-strict-aliasing -I../include -L../sharedlib -o restorefont restorefont.o -lvga -lm ../sharedlib/libvga.so: undefined reference to `_outb' clang: error: linker command failed with exit code 1 (use -v to see invocation) /wrkdirs/usr/ports/graphics/svgalib/work/svgalib-1.4.3/utils/Makefile:34: recipe for target 'restorefont' failed gmake[2]: *** [restorefont] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/svgalib/work/svgalib-1.4.3/utils' Makefile:423: recipe for target 'textutils' failed gmake[1]: *** [textutils] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/svgalib/work/svgalib-1.4.3' *** Error code 2 Stop. make: stopped in /usr/ports/graphics/svgalib ====>> Cleaning up wrkdir ===> Cleaning for svgalib-1.4.3_7 build of graphics/svgalib ended at Sun Jan 25 04:52:14 CET 2015 build time: 00:00:59 !!! build failure encountered !!! -- the offending code is in src/paradise.c: ... void inline _outb(unsigned port,unsigned value) { #ifdef DEBUG printf ("0x%x, 0x%x\n",port,value); #endif outb(port,value); } ... When I do the ports build the normal way, it builds fine and the object files do not contain any reference to _out: # find . -name paradise.o ./sharedlib/paradise.o ./staticlib/paradise.o # nm `find . -name paradise.o` | fgrep out # Any ideas? matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150125075122.GA1377>