Building pinentry (needed for gnupg) fails because of the lack of iconv support on uclibc. checking for iconv... no, consider installing GNU libiconv configure: error: however trying by hand various options to configure () leads to no results ... I know iconv.gettext/etc support is broken on uclibc based hosts, i just fail to find a workaroud ... However it seems to be "possible" to build as some one (solar?) uploaded a bin pkg in tinderbox for uclibc: http://tinderbox.x86.dev.gentoo.org/html/uclibc/i386/pinentry-0.7.4-r1.html so what are the magic invocations needed to build pinentry? a fake iconv lib ? any comprehensive doc about this ? Thanks in advance Aurélien Reproducible: Always Portage 2.1.4.4 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28.3-r2, 2.6.23-hardened-r7 i686) ================================================================= System uname: 2.6.23-hardened-r7 i686 Pentium III (Coppermine) Timestamp of tree: Mon, 10 Mar 2008 01:46:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-uclibc" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -msse -mmmx" CHOST="i686-pc-linux-uclibc" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/aurel/testingportage-hardeneduclibc" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="aalib apache2 audiofile berkdb bzip2 caps cdb chroot cli cracklib crypt curl dri dts expat ffmpeg gd gdbm ggi gmp hardened imagemagick imap ipv6 jpeg lcms libcaca libwww maildir mhash midi mmx mudflap ncurses no-htdocs ogg openmp pcre perl php pic pie png python readline reflection sasl session sftplogging snmp spl sse ssl tcpd tiff truetype uclibc uclibc-compat udev usb wmf x86 xml2 xorg xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Reopen with complete emerge log; thanks.
Created attachment 145796 [details] app-crypt:pinentry-0.7.4-r1:20080311-072259.log here is the full log ... i also tried various combinaisons of the use flags but non helps... thanks
repoening, log attached
http://tinderbox.dev.gentoo.org/portage/local/misc/mini-iconv/
That's great thanks ! is it candidate to get into portage tree ? I can write an ebuild and open a "new ebuild" bug if that's the missing part ... thanks Aurélien
Created attachment 145924 [details] mini-iconv-0.1.ebuild ebuild for dev-libs/mini-iconv if that can help some one ...
Created attachment 145925 [details, diff] libiconv-0.ebuild.patch patch to libiconv-0.ebuild in order to make virtual/libiconv depend on mini-iconv on uclibc
Created attachment 145926 [details] libiconv-0.ebuild.patch fixed a typo
Created attachment 145927 [details] mini-iconv-0.1.ebuild oups i uploaded the wrong file ... sorry for the noise
Attention gentoo.devs. Do *NOT* commit this ebuild to the tree or you will face the wrath of one really upset solar. Thanks in advance.