Hello Michael,

The lib*.a files are created on my box, but I thought that
was because I am playing with libtool 2.2.4, which is not
used in Dude (except for ncurses, so far).

You could check the outputs of:

which libtool
libtool --version

Which should find libtool 1.5.something in /opt/kdebld/bin.

Another possibility is: maybe they might be created by
some change in automake 1.10.1.

Its trivial change to the .pspc files to fix the errors below,
just search for the lib*.so*, copy the line, and change the
duplicate lib*.so* line to lib*.a, like:

Index: Dude/SPECS/gettext.pspc
===================================================================
--- Dude/SPECS/gettext.pspc     (revision 2029)
+++ Dude/SPECS/gettext.pspc     (working copy)
@@ -43,6 +43,7 @@
 %{_bindir}/autopoint
 %dir %attr (0755, root, bin) %{_libdir}
 %{_libdir}/lib*.so*
+%{_libdir}/lib*.a
 %{_libdir}/gettext/*
 %ifarch amd64 sparcv9
 %dir %attr (0755, root, bin) %{_bindir}/%_arch64
@@ -70,6 +71,7 @@
 %{_bindir}/%_arch64/autopoint
 %dir %attr (0755, root, bin) %{_libdir}/%_arch64
 %{_libdir}/%_arch64/lib*.so*
+%{_libdir}/%_arch64/lib*.a
 %{_libdir}/%_arch64/gettext/*
 %endif
 %dir %attr (0755, root, bin) %{_includedir}

On my box I have made the same mindless change to
the following .pspc files so far:

Dude/SPECS/ctl.pspc
Dude/SPECS/enchant.pspc
Dude/SPECS/fontconfig.pspc
Dude/SPECS/libksba.pspc
Dude/SPECS/faad2.pspc
Dude/SPECS/gcroots.pspc
Dude/SPECS/cppunit.pspc
Dude/SPECS/lzo.pspc
Dude/SPECS/libiconv.pspc
Dude/SPECS/flac.pspc
Dude/SPECS/libtheora.pspc
Dude/SPECS/libiconvwo.pspc
Dude/SPECS/freeglut.pspc
Dude/SPECS/giflib.pspc
Dude/SPECS/cyrus-sasl.pspc
Dude/SPECS/cyrus-saslwo.pspc
Dude/SPECS/openexr.pspc
Dude/SPECS/pcre.pspc
Dude/SPECS/gpgme.pspc
Dude/SPECS/a52dec.pspc
Dude/SPECS/freetype2.pspc
Dude/SPECS/aspell.pspc
Dude/SPECS/gettextwo.pspc
Dude/SPECS/faac.pspc
Dude/SPECS/openldap.pspc
Dude/SPECS/gnupth.pspc
Dude/SPECS/curl.pspc
Dude/SPECS/capseo.pspc
Dude/SPECS/ilmbase.pspc
Dude/SPECS/gnump.pspc
Dude/SPECS/bdb.pspc
Dude/SPECS/libidn.pspc
Dude/SPECS/libtasn1.pspc
Dude/SPECS/gettext.pspc
Dude/SPECS/libgpg-error.pspc
Dude/SPECS/libvorbis.pspc
Dude/SPECS/libogg.pspc
Dude/SPECS/fam.pspc
Dude/SPECS/openldapwo.pspc

That is an incomplete list, I am up to creating hal.pspc
for Stefan's port of HAL to Solaris 10.

Thanks, Mark

On Tue, 27 May 2008 07:57:42 -0700
Michael Schuster <Michael.Schuster at Sun.COM> wrote:

> oops ... forgot to add: this is Sparc on Nevada.
> 
> Michael Schuster wrote:
> > Hi,
> > 
> > contrary to everybody else on this list, I seem to be regressing
> > back further and further with the errors I get (in this case while
> > trying to build FOSSgettextwo).
> > 
> > all recent efforts at "make"ing in SPECS have stopped with these
> > lines in the log file:
> > 
> > pkgbuild: 
> > /home/kdedev/packages/PKGS/FOSSgettextwo/reloc/share/man/man3/textdomain.3
> > pkgbuild: ## Validating control scripts.
> > pkgbuild: ## Packaging complete.
> > pkgbuild: error: Installed (but unpackaged) file(s) found:
> > pkgbuild:         /opt/foss/lib/sparcv9/libasprintf.a
> > pkgbuild:         /opt/foss/lib/libasprintf.a
> > pkgbuild: pkgbuild: FOSSgettextwo.spec(115): Installed (but
> > unpackaged) file(s) found
> > --- command output ends --- finished at Mon May 26 21:54:13 PDT 2008
> > [ ... epilogue ... ]
> > 
> > 
> > Any ideas? I've been 'snv up' and 'make cleanin'ing every so often,
> > this was at rev. 2022
> > 
> > Michael
> > 
> > PS:  this is *before* the error I was previously seeing (no
> > prototype for strsub() in autosprintf.cc) has any chance to occur,
> > so I have no idea whether that's gone away or not.
> 
> 


-- 

Reply via email to