Subject: pkg/32832: [SOLARIS] gettext-asprintf doesn't build on Solaris 10
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 02/14/2006 10:15:04
>Number:         32832
>Category:       pkg
>Synopsis:       [SOLARIS] gettext-asprintf doesn't build on Solaris 10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 14 10:15:04 +0000 2006
>Originator:     Krzysztof Raczkowski
>Release:        Solaris 10, x86_64
Rzeszow University of Technology
SunOS pkgsrc-i64 5.10 Generic_118844-27 i86pc i386 i86pc

gettext-asprintf-0.14.5 doesn't build on Solaris. There are problems with linking, I suppose, because building process doesn't create library.

===> Building for gettext-asprintf-0.14.5
/usr/pkg/bin/bmake  all-am
cp ./ autosprintf.h
/usr/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -O -xtarget=pentium4 -xarch=amd64 -c -o lib-asprintf.lo lib-asprintf.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -O -xtarget=pentium4 -xarch=amd64 -c lib-asprintf.c  -KPIC -DPIC -o .libs/lib-asprintf.o
 gcc -DHAVE_CONFIG_H -I. -O -xtarget=pentium4 -xarch=amd64 -c lib-asprintf.c -o lib-asprintf.o >/dev/null 2>&1
/usr/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  -I. -I. -I.      -O -xtarget=pentium4 -xarch=amd64 -c -o autosprintf.lo
 g++ -DHAVE_CONFIG_H -I. -O -xtarget=pentium4 -xarch=amd64 -c  -DPIC -o .libs/autosprintf.o
 g++ -DHAVE_CONFIG_H -I. -O -xtarget=pentium4 -xarch=amd64 -c -o autosprintf.o >/dev/null 2>&1
/usr/bin/bash ./libtool --tag=CXX --mode=link g++   -O -xtarget=pentium4 -xarch=amd64  -Wl,-R/usr/pkg/lib -o -rpath /usr/pkg/lib  lib-asprintf.lo autosprintf.lo   ||  /usr/bin/bash ./libtool --tag=CC --mode=link gcc  -O -xtarget=pentium4 -xarch=amd64   -Wl,-R/usr/pkg/lib -o -rpath /usr/pkg/lib  lib-asprintf.lo autosprintf.lo
(cd .libs && rm -f && ln -s
(cd .libs && rm -f && ln -s
ar cru .libs/libasprintf.a  lib-asprintf.o autosprintf.o
ranlib .libs/libasprintf.a
(cd .libs && rm -f && ln -s ../
=> Unwrapping files-to-be-installed.
===> Installing for gettext-asprintf-0.14.5
test -z "/usr/pkg/lib" || /usr/bin/bash ./../../build-aux/mkinstalldirs "/usr/pkg/lib"
 /usr/bin/bash ./libtool --mode=install /usr/ucb/install -c -o root -g root  '' '/usr/pkg/lib/'
/usr/ucb/install -c -o root -g root .libs/ /usr/pkg/lib/
install: .libs/ No such file or directory
*** Error code 1

1. cd /usr/pkgsrc/devel/gettext-asprintf
2. bmake