When trying to build subversion with ruby bindings and without swig installed, compilation fails. However, swig is not in DEPEND.
Created attachment 321924 [details] build error with swig missing
emerge --info: Portage 2.1.10.49 (hardened/linux/amd64/no-multilib, gcc-4.5.3, glibc-2.14.1-r3, 3.3.0-3-grml-amd64 x86_64) ================================================================= System uname: Linux-3.3.0-3-grml-amd64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.1 Timestamp of tree: Wed, 22 Aug 2012 00:45:01 +0000 app-shells/bash: 4.2_p20 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/pkgconfig: 0.27 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.mneisen.org/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en fr es" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync7.de.gentoo.org/gentoo-portage" USE="7zip acl amd64 bash-completion bzip2 calendar cgi cli cracklib crypt ctype curl cxx dri exif fam fastcgi filter fontconfig force-cgi-redirect ftp gd geoip gif glibc-omitfp gmp gpg gpgme hardened hash httpbind iconv idn imagemagick imap intl iproute2 ipv6 irc jpeg json justify leim logrotate mailwrapper mhash mmap mmx mod_irc mod_muc mod_proxy65 mod_pubsub modules mpm-prefork muc mudflap mysqli ncurses nls nptl ocamlopt openmp openssl otr pam pax_kernel pcre pdf pdo perl php pic png pop pppd proxy pubsub python qdbm readline reflection ruby sasl sensord session sidebar silvercity simplexml slang smime smtp soap spell spl sqlite sqlite3 sse sse2 ssl static-modules subversion suexec suhosin svg tiff tokenizer tools truetype unicode urandom web xattr xml xmlrpc xsl xtended zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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_file authn_anon authn_default authz_host authz_groupfile authz_user authz_owner authz_default auth_basic auth_digest cache include deflate log_config logio env mime_magic unique_id setenvif mime dav status autoindex info suexec cgi dav dav_fs dav_lock vhost_alias negotiation dir actions alias rewrite so charset_lite filter headers expires reqtimeout" APACHE2_MPMS="prefork" 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="glibc" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr es" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I can build subversion with USE=ruby and without swig installed. Your build.log shows "none" in the failing command, so whatever injects it there is causing the failure, since of course there is no file or dir named "none". So please provide a way to reproduce this or tell me, how this "none" gets into the line, otherwise i dont see any way to handle this report.
Same problem here. Seems to be a problem with building packages with support for ruby 1.8 when 1.9 is set as the default ruby profile. Solution is to export RUBYOPT="" when emerging. This happes with some other packages as well. (#434064)
Please try with subversion-1.7.6 too. If it fails, do you get the same as reported in bug 434080?
I also asked graff to test subversion-1.7.6 and he also can install it fine without swig installed. Additionally he also has ruby18 and ruby19 installed and the second as the default ruby provider, so this isnt the cause either. So please provide me with a way to reproduce this or provide me with a patch, which fixes the build failure for you, since i cannot reproduce/check this one.