pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/43518 (converters/libiconv fails to build on OpenSolaris)
The following reply was made to PR pkg/43518; it has been noted by GNATS.
From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/43518 (converters/libiconv fails to build on OpenSolaris)
Date: Sat, 2 Oct 2010 14:59:45 -0400
On 2010-09-27, at 8:40 AM, Tim Zingelman wrote:
> The following reply was made to PR pkg/43518; it has been noted by =
GNATS.
>=20
> From: Tim Zingelman <zingelman%gmail.com@localhost>
> To: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
> Cc: gnats-bugs%netbsd.org@localhost
> Subject: Re: pkg/43518 (converters/libiconv fails to build on =
OpenSolaris)
> Date: Mon, 27 Sep 2010 07:38:47 -0500
>=20
> On Sun, Sep 26, 2010 at 10:08 PM, David H. Gutteridge
> <dhgutteridge%sympatico.ca@localhost> wrote:
>>=20
>> (It's not a big deal
>> for me if we can't figure this out, I was just trying to duplicate a
>> different problem I was encountering on NetBSD on another platform.
>> But I can certainly continue testing.)
>>=20
>=20
> To just get it to build, you could try adding something like this to
> the makefile:
>=20
> BUILDLINK_TRANSFORM+=3D rename:-Wl,-soname:-Wl,-h,
>=20
> It definitely seems that configure is confused, as I think for gnu ld
> it should produce:
> -Wl,-soname=3Dlibcharsest.so.1
> and for sun ld it should produce:
> -Wl,-h -Wl,libcharset.so.1
> but it is putting out a strange combination of both... it almost has
> to be something in your environment. I'm not a configure guru, but
> maybe something in the config.log would show how that is happening?
> (if you want me to look at it, email direct rather than adding that
> much bulk to the pr.)
>=20
> If the hack above to get it to build is enough and you don't care, we
> could also close the pr, since I'm not sure where else to go with it.
>=20
> Thanks,
>=20
> - Tim
I tried that, and have encountered a new error:
cd src && /export/home/disciple/pkg/bin/bmake all
gcc -c -I. -I. -I.. -I../include -I./../include -I../srclib =
-I./../srclib -I../lib -O =
-DINSTALLDIR=3D\"/export/home/disciple/pkg/bin\" =
-DLOCALEDIR=3D\"/export/home/disciple/pkg/share/locale\" =
./iconv_no_i18n.c
/bin/sh ../libtool --mode=3Dlink gcc -Wl,-R/export/home/disciple/pkg/lib =
-O iconv_no_i18n.o ../srclib/libicrt.a ../lib/libiconv.la -o =
iconv_no_i18n
libtool: link: gcc -Wl,-R/export/home/disciple/pkg/lib -O =
iconv_no_i18n.o -o .libs/iconv_no_i18n ../srclib/libicrt.a =
../lib/.libs/libiconv.so =
-L/export/home/disciple/pkgsrc/converters/libiconv/work/.buildlink/lib =
-Wl,-rpath -Wl,/export/home/disciple/pkg/lib
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
collect2: ld returned 1 exit status
*** Error code 1
Stop.
I'll send you the logs.
Thanks,
Dave
Home |
Main Index |
Thread Index |
Old Index