bugGNU Wget - Bugs: bug #44559, Configure flag...

 
 

bug #44559: Configure flag --without-libiconv-prefix is not respected; libiconv is linked against despite the flag

Submitted by:  None
Submitted on:  Tue 17 Mar 2015 11:17:34 AM UTC  
 
Category:  Build/Install Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.16.3
Operating System:  None Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 17 Mar 2015 01:13:05 PM UTC, comment #2:

One further observation.

When I don't disable it, wget would depend on libidn and libintl which further depend on libiconv:

> ldd /opt/csw/lib/libidn.so.11

libintl.so.8 => /opt/csw/lib/libintl.so.8
libiconv.so.2 => /opt/csw/lib/libiconv.so.2
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1

> ldd /opt/csw/lib/libintl.so.8

libiconv.so.2 => /opt/csw/lib/sparcv8/libiconv.so.2
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1

So there is a chance that I won't be able to disable libiconv unless I disable idn and intl first.

I suspect that a lot of iconv-related code comes from gettext.m4.

(The change you proposed doesn't seem to influence much.)

Anonymous
Tue 17 Mar 2015 11:48:09 AM UTC, comment #1:

Could you change configure.ac in a way that
AM_ICONV
is processed unconditionally ? e.g. moving it two lines up.

AFAIR, I once had a similar problem but remeber no details.

Tim Ruehsen <rockdaboot>
Project Administrator
Tue 17 Mar 2015 11:17:34 AM UTC, original submission:

I'm trying to create a portable binary on Solaris (Sparc Solaris 10).

I tried to configure with

./configure --disable-nls --without-ssl --enable-ipv6 --without-zlib --without-libiconv-prefix

But I end up with libiconv included:

checking for sys/time.h... (cached) yes
checking for iconv.h... yes
checking for langinfo.h... yes
...
checking whether gettimeofday is declared without a macro... yes
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * inbuf, size_t inbytesleft, char * outbuf, size_t outbytesleft);
checking for wint_t... yes

ldd wget:
...
libiconv.so.2 => /opt/csw/lib/libiconv.so.2
...

I "got rid" of libiconv when using the following flags though:

/configure --disable-nls --without-ssl --enable-ipv6 --without-zlib --without-libiconv-prefix --without-libuuid --without-libpsl --disable-iri --disable-pcre --without-libintl-prefix

Maybe one of the dependencies (libintl?) pulls the dependency on libiconv, but it's weird to see libiconv being used despite attempts to disable it.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rockdaboot (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3