sane-backends-1.0.14 fails to compile with the following error: [snip] rm -f .libs/fujitsu.lo cc -c -O -pipe -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=fujitsu -DLIBDIR=/usr/local/lib/sane fujitsu.c -fPIC -DPIC -o .libs/fujitsu.lo In file included from fujitsu.c:173: /usr/local/include/libc.h:33: error: syntax error before "Rune" /usr/local/include/libc.h:34: error: syntax error before '*' token fujitsu.c:3754: warning: `sigtermHandler' defined but not used gmake[1]: *** [fujitsu.lo] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.14/backend' gmake: *** [all-recursive] Error 1 *** Error code 2 I just built a new world, kernel and did a complete portupgrade; everything worked fine, so my system seems to be in a usable state. This error persists since at least some weeks over different versions of world and kernel. Fix: unknown How-To-Repeat: cvsup to latest ports- and src-tree, then: portupgrade sane-backends
Can you please run "pkg_info -W usr/local/include/libc.h"? Looks like we've got a conflict there. Then, please run "make clean patch", and edit ${WRKSRC}/configure -- there's one occurence of "libc.h" in there. Please remove it and try to build. If everything works out fine, I'll add a patch for this to the port. Volker
Responsible Changed From-To: freebsd-ports-bugs->vs I'll look into this.
# pkg_info -W /usr/local/include/libc.h /usr/local/include/libc.h was installed by package 9libs-1.0 # I changed the configure-script as you described, i.e. I removed the word "libc.h". The compile worked this time, the scanner does its job as expected. Thanks for the fast help. Further on I noticed that the "xsane-0.93" port has exactly the same problem. Fortunately the same patch works. Should i open a separate PR for this one?
State Changed From-To: open->closed Fixed, thanks for your submission!