on osol b108 and today's hg, FOSSsane-backends fails to build.
The below message is shown in the build log:
pkgbuild: /opt/SUNWspro/bin/cc -m32 -s -z combreloc -z redlocsym -z
nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil
-s -mt -o gamma4scanimage gamm
a4scanimage.o -L/opt/foss/lib -L/usr/lib -lc -ldl -lpthread -lposix4 -lrt -lm
-R/opt/foss/lib -R/usr/lib
pkgbuild: /opt/SUNWspro/bin/cc -c -Xc -xc99=%all -errshort=full -errfmt=error
-errwarn=%none -s -xcsi -xustr=ascii_utf16_ushort -features=extinl
-xalias_level=std -mt -xF=%none
-xbuiltin=%all -xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xthreadvar=%all
-xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -KPIC -xre
strict=%all -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4
-xcache=8/64/4:256/128/8 -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-D_REENTRANT -D__EXTENSIONS__ -D_LARGEF
ILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS
-DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE -D_XOPEN_SOURCE=600
-D_XPG6 -D_POSIX_C_SOURCE=200112L
-D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99
-D_ISOC99_SOURCE -I/opt/foss/include -D_REENTRANT -I/usr/include/gphoto2
-DPATH_SANE_CONFIG_DIR=/opt/foss/etc/
sane.d -DPATH_SANE_DATA_DIR=/opt/foss/share -DPATH_SANE_LOCK_DIR=
-DV_MAJOR=1 -DV_MINOR=0 sane-desc.c
pkgbuild: "sane-desc.c", line 1877: error: empty character constant
pkgbuild: "sane-desc.c", line 1880: error: empty character constant
pkgbuild: "sane-desc.c", line 1880: error: duplicate case in switch: 0
pkgbuild: cc: acomp failed for sane-desc.c
pkgbuild: gmake[1]: *** [sane-desc.o] Error 2
pkgbuild: gmake[1]: Leaving directory
`/export/home/hajma/packages/BUILD/FOSSsane-backends-1.0.19/i386/sane-backends-1.0.19/tools'
pkgbuild: gmake: *** [all-recursive] Error 1
pkgbuild: Bad exit status from /var/tmp/pkgbuild-hajma/pkgbuild-tmp-2.3720
(%build)
--
This message posted from opensolaris.org