On Mon, Mar 10, 2008 at 6:31 AM, Mark Wright <markwright at myrealbox.com> 
wrote:
> Hello,
>
>  Please find below a proposed patch for some nits compiling
>  dirmngr and aspell with Sun Studio 12 on Solaris 10u4 amd64.
>
>  (1) From /h/goanna/2/os_5.10/kbe/build-logs/FOSSaspell.log:
>
>  pkgbuild:  /opt/SunStudio12/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I. -I./gen 
> -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ 
> -DLOCALEDIR=\"/opt/foss/share/locale\" -D_REENTRANT -D__EXTENSIONS__ 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS 
> -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE 
> -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/opt/foss/include 
> -I/opt/foss/include/ansi -library=no%Cstd 
> -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
>  -instances=global -template=geninlinefuncs -s -xlang=c99 
> -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe 
> ++boolflag:sunwcch=false -xF=%none -xbuiltin=%all -xinline=%auto 
> -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 
> -xalias_level=compatible -xO3 -xregs=no%frameptr -xjobs=2 -Kpic 
> -xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z 
> ignore -z now -z rescan -z absexec -xi
>   po=0 -xldscope=symbolic -xlibmil -s -xtarget=opteron -m64 -xchip=opteron 
> -xcache=64/64/2:1024/64/16 -lm -ldl -lc -lpthread -lposix4 -lrt -mt 
> -L/opt/foss/lib/amd64 -L/usr/lib/amd64 -R/opt/foss/lib/amd64 -R/usr/lib/amd64 
> -Y P,/opt/foss/lib/amd64:/usr/lib/amd64 -i -L/usr/lib/amd64 -R/usr/lib/amd64 
> -Bdynamic -lCrun -lstdcxx -c modules/speller/default/readonly_ws.cpp  -KPIC 
> -DPIC -o modules/speller/default/.libs/readonly_ws.o
>  pkgbuild: "/usr/include/floatingpoint.h", line 164: Error: FILE is not 
> defined.
>  pkgbuild: 1 Error(s) detected.
>  pkgbuild: make[2]: *** [modules/speller/default/readonly_ws.lo] Error 1
>  pkgbuild: make[2]: Leaving directory 
> `/h/goanna/2/os_5.10/kbe/BUILD/FOSSaspell-0.60.4/amd64/ASPELL/0.60.4'
>  pkgbuild: make[1]: *** [all-recursive] Error 1
>  pkgbuild: make[1]: Leaving directory 
> `/h/goanna/2/os_5.10/kbe/BUILD/FOSSaspell-0.60.4/amd64/ASPELL/0.60.4'
>  pkgbuild: Bad exit status from /var/tmp/pkgbuild-mwright/pkgbuild-tmp-2.6507 
> (%build)
>  --- command output ends --- finished at Sun Mar  9 12:18:35 EST 2008
>

Mark, this doesn't happens on Nevada box. I'm not sure why this
happens on Sol10 box, because i haven't access to any Sol10 box. I
think add -DFILE=__FILE to CPPFLAGS should be enough.

-- 
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode


When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
Dale Carnegie

Reply via email to