Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138884 - openoffice-bin-2.0.3 lingua: "bogus" message from ebuild
Summary: openoffice-bin-2.0.3 lingua: "bogus" message from ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 139402 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-02 10:03 UTC by Phil Richards
Modified: 2006-07-06 23:39 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 Phil Richards 2006-07-02 10:03:48 UTC
Here is the email I got from portage:

| WARN: unpack
| Sorry, but openoffice-bin does not support the LINGUAs:

And that's it.  Accurate, perhaps, but not enormously useful :-)

Probably because the eutils.eclass contains (in strip-linguas):
        [[ -n ${newls} ]] \
                && ewarn "Sorry, but ${PN} does not support the LINGUAs:" ${nols}

(This should *actually* be testing ${nols}, not ${newls}.)

Looking at the openoffice-bin ebuild, I also noticed:
...
        strip-linguas "en ${LANGS}"

        for i in ${LINGUAS}; do
                i="${i/_/-}"
                if [ ${i} != "en" ] ; then
...

Surely this second check for LINGUA "en" is unnecessary?  It has already been stripped...

Phil


~ # emerge --info
Portage 2.1.1_pre2-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/src/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/usr/src/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apm avi berkdb bitmap-fonts bzip2 cairo cddb cdr cli crypt cups curl dbus dlloader doc dri dvd dvdr dvi eds emboss encode esd exif expat ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib isdnlog jbig jpeg lcms lesstif libg++ libwww logrotate mad maildir mikmod mmx mng motif mp3 mpeg ncurses nls nntp nptl offensive ogg opengl pam pcre pdf pdflib perl png pppd python quicktime readline real reflection samba sdl session slang speex spell spl sse ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux linguas_en linguas_en_GB userland_GNU video_cards_i915 video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-06 03:32:49 UTC
*** Bug 139402 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2006-07-06 16:56:21 UTC
ive fixed the warning message

side note, you should not be passing the $LANGS stuff to `strip-linguas` as one argument ... this is the correct method:
strip-linguas en ${LANGS}
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-06 23:39:16 UTC
thanks vapier, also fixed the strip-linguas-stuff so closing this