Created attachment 439256 [details] build.log utils.o: In function `touch': utils.c:(.text+0x75c): warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes' /usr/lib/gcc/armv7a-hardfloat-linux-uclibceabi/4.9.3/../../../libcrypto.so: warning: gethostbyname is obsolescent, use getnameinfo() instead. url.o: In function `url_file_name': url.c:(.text+0x12f8): undefined reference to `libiconv_open' url.c:(.text+0x1384): undefined reference to `libiconv' url.c:(.text+0x13a4): undefined reference to `libiconv' url.c:(.text+0x13e8): undefined reference to `libiconv_close' url.c:(.text+0x1644): undefined reference to `libiconv_close' collect2: error: ld returned 1 exit status Makefile:1500: recipe for target 'wget' failed make[3]: *** [wget] Error 1 I attached the full build log, both dev-libs/libiconv and virtual/libiconv are installed of course. it may be related to #557122 in some point. uclibc is built with the default config, I may attach it if it is helpfull.
Created attachment 439258 [details] output of emerge --info
This should do it: echo "net-misc/wget net-misc_wget_0" >> /etc/portage/package.env mkdir /etc/portage/env echo "LDFLAGS=-liconv" > /etc/portage/env/net-misc_wget_0 Unfortunately I broke out libiconv from uclibc so you need to explicitly link against it. I don't want to go fixing a bunch of ebuilds adding this. Rather I should get iconv working in uclibc.
Indeed, to apply LDFLAGS=-liconv fixes the compile error.
Created attachment 439424 [details, diff] wget-1.18.ebuild.patch I solved that problem by applying the same trick as for Solaris and Darwin as described in bug 585924
(In reply to René Rhéaume from comment #4) > Created attachment 439424 [details, diff] [details, diff] > wget-1.18.ebuild.patch > > I solved that problem by applying the same trick as for Solaris and Darwin > as described in bug 585924 Seeing as wget does this, I see it as legit; however, the better solution is to link against libiconv.
@base-system, looks good to me, may I commit?
(In reply to Anthony Basile from comment #6) OK