head/graphics/svgalib does not build in poudriere

Matthias Apitz guru at unixarea.de
Sun Jan 25 07:51:28 UTC 2015


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
recipe for target 'restorefont' failed
gmake[2]: *** [restorefont] Error 1
gmake[2]: Leaving directory
Makefile:423: recipe for target 'textutils' failed
gmake[1]: *** [textutils] Error 2
gmake[1]: Leaving directory
*** Error code 2

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);

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
# nm `find . -name paradise.o` | fgrep out

Any ideas?

Matthias Apitz, guru at 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.

More information about the freebsd-ports mailing list