Hi,
finally, I get round to reporting this (I've been able to repeat this
for quite some time :-():
this morning, I ran svn up in Dude, it told me:
Updated to revision 1797
so I then cd'd into SPECS said 'make' and got
pkginfo -q "FOSSa52dec" || pkgtool build "FOSSa52dec.spec"
pkginfo -q "FOSSamrnb" || pkgtool build "FOSSamrnb.spec"
pkginfo -q "FOSSamrwb" || pkgtool build "FOSSamrwb.spec"
pkginfo -q "FOSSanthy" || pkgtool build "FOSSanthy.spec"
pkginfo -q "FOSSncurses" || pkgtool build "FOSSncurses.spec"
pkginfo -q "FOSSstdcxx" || pkgtool build "FOSSstdcxx.spec"
pkginfo -q "FOSSexpat" || pkgtool build "FOSSexpat.spec"
pkginfo -q "FOSSgettext" || pkginfo -q "FOSSgettextwo" || pkgtool build
"FOSSgettextwo.spec"
INFO: Copying %use'd or %include'd spec files to SPECS directory
INFO: Processing spec files
INFO: Finding sources
INFO: Running pkgbuild -ba [...] FOSSgettextwo.spec (FOSSgettextwo)
ERROR: FOSSgettextwo FAILED
INFO: Check the build log in /tmp/FOSSgettextwo.log for details
Summary:
package | status | details
---------------------------------+-------------+-------------------------------
FOSSgettextwo | FAILED | pkgbuild build failed
make: *** [build-gettextwo] Error 1
I think this is the relevant part of the logfile (I got rid of most of
the options for readability):
pkgbuild: /opt/SUNWspro/bin/CC
[...]
-I/opt/foss/include
-I/opt/foss/include/ansi
[..]
-c autosprintf.cc
[...]
-o .libs/autosprintf.o
pkgbuild: "autosprintf.cc", line 53: Error: The function "strdup" must
have a prototype.
pkgbuild: 1 Error(s) detected.
pkgbuild: make[5]: *** [autosprintf.lo] Error 1
pkgbuild: make[5]: Leaving directory
`/home/schuster/packages/BUILD/FOSSgettextw
o-0.17/sparc/GETTEXT/0.17/gettext-runtime/libasprintf'
according to the man-page, strdup is defined in /usr/include/string.h,
where I found it ... but NOT in /opt/foss/include/ansi/string.h, or
/opt/foss/includes/ansi/*.h or /opt/foss/include/*.h, as a matter of fact.
what am I missing? (I'm using "my" not quite up-to-date version of KBE
which Adriaan still has on bionicmutton, btw).
TIA
Michael
--
Michael Schuster http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'