Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298207 - media-video/ushare-1.1a : Will not build with nls USE flag
Summary: media-video/ushare-1.1a : Will not build with nls USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 13:28 UTC by Shawn Begin
Modified: 2009-12-29 05:22 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Begin 2009-12-24 13:28:00 UTC
When trying to emerge uShare with the nls use flag enabled, the error "Unknown Option --enable-nls" appears during the packages ./configure stage. 


Looking through the ./configure --help output from the uncompressed source that portage left behind, it appears nls is on by default, and should be explicitly disabled rather than enabled.


./configure --help output:

Standard options:
  --help                      print this message
  --log[=FILE|yes|no]         log tests and output to FILE [config.log]
  --prefix=PREFIX             install in PREFIX [/usr/local]
  --bindir=DIR                install binaries in DIR [PREFIX/bin]
  --sysconfdir=DIR            configuration files DIR [PREFIX/etc]
  --localedir=DIR             use locales from DIR [PREFIX/share/locale]

Extended options:
  --enable-dlna               enable DLNA support through libldna
  --disable-dlna              disable DLNA support
  --disable-nls               do not use Native Language Support

Search paths:
  --with-libupnp-dir=DIR      check for libupnp installed in DIR
  --with-libdlna-dir=DIR      check for libdlna installed in DIR

Advanced options (experts only):
  --enable-debug              enable debugging symbols
  --disable-debug             disable debugging symbols
  --disable-strip             disable stripping of executables at installation
  --disable-optimize          disable compiler optimization
  --cross-prefix=PREFIX       use PREFIX for compilation tools []
  --cross-compile             assume a cross-compiler is used


The ebuild has this for ./configure input:

src_compile() {
        local myconf
        # Configure need some tips
        myconf="--prefix=/usr \
                $(use_enable dlna ) \
                $(use_enable nls ) \
                 --disable-strip"


Reproducible: Always

Steps to Reproduce:
1. Attempt to emerge ushare with the nls use flag by typing in "emerge ushare -av"


Actual Results:  
The ./configure script balks at the input from the portage system and the package fails to emerge.

Expected Results:  
The package should compile up and be installed by portage.

emerge --info:

Portage 2.2_rc61 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)
=================================================================
System uname: Linux-2.6.32-gentoo-i686-Mobile_AMD_Sempron-tm-_Processor_3000+-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Dec 2009 12:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext X a52 aac acl acpi alsa berkdb bzip2 cdda cddb cleartype cli cracklib crypt cups custom-cflags custom-cpuopts custom-optimization cxx dbus digitalradio dlna dri dv dvd emovix encode extras ffmpeg flac fortran gdbm gnutls gpm gzip hal hunspell icecast iconv imagemagick ipv6 java jpeg kde lame laptop lcms mad mjpeg mmx mmxext mng modules mp2 mp3 mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre perl plasma png postproc ppds pppd python qt3support qt4 quicktime readline reflection schroedinger scrobbler session sid sndfile spell spl sql sse sse2 ssl svg sysfs taglib tcpd theora thumbnail tiff truetype tta unicode v4l v4l2 vcd vorbis webkit win32codecs x264 x86 xorg xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="sis"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Shawn Begin 2009-12-24 13:29:50 UTC
I should have also noted, this package compiles and installs just fine without the nls use flag.
Comment 2 Olliver Schinagl 2009-12-27 02:21:10 UTC
Confirmed, have the same issue, builds fine without NLS
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-29 05:22:17 UTC
fixed, sorry. thanks for reporting.