Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447688 - sys-fs/mtools: ld fails to build because of lost libiconv linkage flag
Summary: sys-fs/mtools: ld fails to build because of lost libiconv linkage flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 09:29 UTC by Yuriy Taraday
Modified: 2017-08-08 18:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,22.19 KB, text/plain)
2012-12-18 09:30 UTC, Yuriy Taraday
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy Taraday 2012-12-18 09:29:03 UTC
Last gcc call fails because of missing -liconv (with this flag make finishes successfully). I don't know how to resolve it as general case.

Reproducible: Always

Steps to Reproduce:
ebuild /Gentoo/usr/portage/sys-fs/mtools/mtools-4.0.17.ebuild compile
Actual Results:  
See build.log


Portage 2.2.01.21418-prefix (prefix/darwin/macos/10.5/x64, gcc-4.2.1, unavailable, 9.8.0 i386)
=================================================================
System uname: Darwin-9.8.0-i386-64bit
Timestamp of tree: Tue, 18 Dec 2012 06:37:27 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:      4.2_p37::gentoo_prefix
dev-lang/python:      2.7.3-r2::gentoo_prefix, 3.3.0::gentoo_prefix
dev-util/ccache:      3.1.8::gentoo_prefix
dev-util/pkgconfig:   0.27.1::gentoo_prefix
sys-devel/autoconf:   2.13::gentoo_prefix, 2.69::gentoo_prefix
sys-devel/automake:   1.11.5::gentoo_prefix, 1.12.4::gentoo_prefix
sys-devel/gcc-config: 1.5-r2::gentoo_prefix
sys-devel/libtool:    2.4.2::gentoo_prefix
sys-devel/make:       3.82-r4::gentoo_prefix
Repositories:

gentoo_prefix
    location: /Gentoo/usr/portage
    sync: rsync://rsync.prefix.freens.org/gentoo-portage-prefix
    priority: -1000
    aliases: gentoo

moby-ya-repo
    location: /Users/yorik/portage
    masters: gentoo_prefix
    priority: 0

ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="x64-macos"
AUTOCLEAN="yes"
Apple_PubSub_Socket_Render="/tmp/launch-jboeqW/Render"
BOOTSTRAP_USE="cxx unicode"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump"
CAMERAS="ptp2"
CBUILD="x86_64-apple-darwin9"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-apple-darwin9"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class"
COLORFGBG="7;0"
COMMAND_MODE="unix2003"
CONFIGURE_EPREFIX="/Gentoo"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -march=nocona"
DEFAULT_PATH="/Gentoo/usr/sbin:/Gentoo/usr/bin:/Gentoo/sbin:/Gentoo/bin"
DISPLAY="/tmp/launch-MvdYA0/:0"
DISTDIR="/Gentoo/usr/portage/distfiles"
EDITOR="/Gentoo/usr/bin/vim"
ELIBC="Darwin"
EMERGE_DEFAULT_OPTS="--verbose --tree --jobs --usepkg=y"
EMERGE_WARNING_DELAY="10"
EPREFIX="/Gentoo"
EROOT="/Gentoo/"
EXTRA_PATH="/usr/sbin:/usr/bin:/sbin:/bin"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
GRUB_PLATFORMS=""
GUILE_LOAD_PATH="/Gentoo/usr/share/guile/1.8"
HG="/Gentoo/usr/bin/hg"
HOME="/Users/yorik"
INFOPATH="/Gentoo/usr/share/info:/Gentoo/usr/share/gcc-data/x86_64-apple-darwin9/4.2.1/info"
INPUT_DEVICES="keyboard mouse"
ITERM_PROFILE="Default"
ITERM_SESSION_ID="w0t0p0"
IUSE_IMPLICIT="prefix"
KERNEL="Darwin"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_CTYPE="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LOGNAME="yorik"
MACOSX_DEPLOYMENT_TARGET="10.5"
MANPATH="/Gentoo/usr/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OPENGL_PROFILE="xorg-x11"
PAGER="/Gentoo/usr/bin/less"
PATH="/Gentoo/usr/bin:/Gentoo/bin:/Gentoo/usr/lib/portage/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Library/Frameworks/Python.framework/Versions/3.2/bin"
PHP_TARGETS="php5-3"
PKGDIR="/Gentoo/usr/portage/packages"
PKG_CONFIG_PATH="/Gentoo/usr/lib/pkgconfig:/Gentoo/usr/share/pkgconfig"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris m68k sh x86-solaris sparc-fbsd"
PORTAGE_BIN_PATH="/Gentoo/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/Gentoo/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/Gentoo/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="root@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="0"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_GROUP="wheel"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_OVERRIDE_EPREFIX="/Gentoo"
PORTAGE_PYM_PATH="/Gentoo/usr/lib/portage/pym"
PORTAGE_ROOT_USER="root"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/Gentoo/var/tmp"
PORTAGE_USER="root"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/yorik/portage"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PRELINK_PATH_MASK="/Gentoo/usr/lib/libfreebl3.dylib:/Gentoo/usr/lib/libnssdbm3.dylib:/Gentoo/usr/lib/libsoftokn3.dylib"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/Users/yorik"
PYTHONDONTWRITEBYTECODE="1"
PYTHONPATH="/Gentoo/usr/lib/portage/pym"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_3 python3_2"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/Gentoo/opt/bin:/Gentoo/usr/x86_64-apple-darwin9/gcc-bin/4.2.1"
RPMDIR="/Gentoo/usr/portage/rpm"
RUBY_TARGETS="ruby18 ruby19"
SECURITYSESSIONID="ac0520"
SHELL="/bin/bash"
SHLVL="1"
SSH_AUTH_SOCK="/tmp/launch-DPA75K/Listeners"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
TERM="xterm-256color"
TERM_PROGRAM="iTerm.app"
TMPDIR="/var/folders/LR/LRiqkgIaGwWDfMTar0YtR++++TI/-Tmp-/"
UNINSTALL_IGNORE="/lib/modules/*"
USE="aqua coreaudio cracklib cxx ipv6 mmx mmxext modules ncurses nls objc objc++ prefix readline sse sse2 ssl unicode vim-syntax x64-macos zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="yorik"
USERLAND="GNU"
USE_EXPAND="APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin FreeBSD glibc HPUX Interix mintlib NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
XDG_DATA_DIRS="/Gentoo/usr/share"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
_="/Gentoo/usr/bin/emerge"
__CF_USER_TEXT_ENCODING="0x1F5:0:0"
Comment 1 Yuriy Taraday 2012-12-18 09:30:29 UTC
Created attachment 332622 [details]
build.log
Comment 2 Yuriy Taraday 2012-12-18 20:29:17 UTC
As I understand, the problem is that configure script assumes that if iconv.h is accessible, libc provides iconv(). In my case (with alternative, Darwin libc) I have to use libiconv instead.

I guess, this bug is not Prefix-specific and should be reproducible on other systems with alternate libc.
Comment 3 Daniel Hornung 2013-02-26 23:28:10 UTC
I can confirm this bug, on Mac 10.5.8.  Looks very similar to bug #455512 to me.
Comment 4 Daniel Hornung 2013-02-26 23:50:29 UTC
(In reply to comment #3)
Sorry, was a different bug...
Comment 5 Fabian Groffen gentoo-dev 2013-07-04 14:57:38 UTC
fixed, thanks!