Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133747 - emerge net-print/foomatic-filters-3.0.2-r1 fails when locale is set to et_EE
Summary: emerge net-print/foomatic-filters-3.0.2-r1 fails when locale is set to et_EE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 22:36 UTC by Andres Toomsalu
Modified: 2006-06-05 04:10 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 Andres Toomsalu 2006-05-18 22:36:34 UTC
./mkinstalldirs /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--prefix/usr/bin
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--prefix
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--prefix/usr
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--prefix/usr/bin
/bin/install -c -m 755 foomatic-gswrapper foomatic-rip /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--prefix/usr/bin
./mkinstalldirs /var/tmp/portage/foomatic-filters-3.0.2-r1/image//usr/share/man
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/usr
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/usr/share
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/usr/share/man
./mkinstalldirs /var/tmp/portage/foomatic-filters-3.0.2-r1/image//usr/share/man/man1
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/usr/share/man/man1
/bin/install -c -m 644 *.1 /var/tmp/portage/foomatic-filters-3.0.2-r1/image//usr/share/man/man1
./mkinstalldirs /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy/etc/foomatic/direct
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy/etc
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy/etc/foomatic
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy/etc/foomatic/direct
/bin/install -c -m 644 ./filter.conf /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy/etc/foomatic/filter.conf.sample
if [ ! -f  /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy/etc/foomatic/filter.conf ] ; then /bin/install -c -m 644 ./filter.conf /var/tmp/portage/foomatic-filters-3.0.2-r1/image/--sy/etc/foomatic; fi;
./mkinstalldirs /var/tmp/portage/foomatic-filters-3.0.2-r1/image//usr/lib/cups/filter
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/usr/lib
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/usr/lib/cups
mkdir /var/tmp/portage/foomatic-filters-3.0.2-r1/image/usr/lib/cups/filter
ln -sf --prefix/usr/bin/foomatic-rip /var/tmp/portage/foomatic-filters-3.0.2-r1/image//usr/lib/cups/filter
ln: unrecognized option `--prefix/usr/bin/foomatic-rip'
Lisainfo saamiseks proovige `ln --help'.
make: *** [install-cups] Error 1


Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
LANG="et_EE.UTF-8"
LC_ALL="et_EE.UTF-8"
LINGUAS="et en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm audiofile avi bash-completion bitmap-fonts bzip2 cdr cli crypt cups curl dbus dri dvd dvdread eds effects emboss encode esd exif expat fam foomaticdb fortran gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml hal howl iconv idn imagemagick imlib ipv6 jpeg lcms ldap libwww mad mmap mmx mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdf perl png python quicktime readline reflection samba sdl session slang slp snmp spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xml xml2 xmms xorg xv zlib video_cards_i810 linguas_et linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-19 01:59:17 UTC
try to set your locale to something different. User-only et-EE makes sense in this case I think

*** This bug has been marked as a duplicate of 56407 ***
Comment 2 Andres Toomsalu 2006-05-19 02:20:37 UTC
(In reply to comment #1)
> try to set your locale to something different. User-only et-EE makes sense in
> this case I think
> 
> *** This bug has been marked as a duplicate of 56407 ***
> 

I don't think dismissing the problem is a proper solution. Lot of packages need correct locale set during build time or we miss needed localization features. And switching locale forth and back during long build process is not an acceptable solution in real life. Therefore it is important to be able emerge packages with locale correctly set.

Isn't this problem related to shell scripts that do not know how to deal with alphabets that are not confirming as a-z pattern (after z there is 
Comment 3 Andres Toomsalu 2006-05-19 02:20:37 UTC
(In reply to comment #1)
> try to set your locale to something different. User-only et-EE makes sense in
> this case I think
> 
> *** This bug has been marked as a duplicate of 56407 ***
> 

I don't think dismissing the problem is a proper solution. Lot of packages need correct locale set during build time or we miss needed localization features. And switching locale forth and back during long build process is not an acceptable solution in real life. Therefore it is important to be able emerge packages with locale correctly set.

Isn't this problem related to shell scripts that do not know how to deal with alphabets that are not confirming as a-z pattern (after z there is äöüõ for example)?
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-19 02:42:49 UTC
(In reply to comment #2)
> Lot of packages need
> correct locale set during build time or we miss needed localization features.

That is not true. Packages honour the LINGUAS setting for localization features.
I have requested the portage devs to make the build environment LC_ALL=C only, see http://news.gmane.org/gmane.linux.gentoo.devel

Please do not reopen this bug. I have no intention to fix it. Rather help to fix the root of the problem: Portage not removing locales from the environment

*** This bug has been marked as a duplicate of 133758 ***
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-20 07:27:26 UTC
my request to fix this has been denied, I will leave this bug open, submit patches please.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-20 07:27:46 UTC
.
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2006-05-21 00:55:40 UTC
This particular problem is an autoconf bug which has been fixed already. If autoconf 2.1 is really necessary, applying $PORTDIR/sys-devel/flex/files/flex-configure-LANG.patch after running autoconf fixes it, but autoconf 2.5 works too for this package, and changing autoconf to 'WANT_AUTOCONF=2.5 autoconf' in the ebuild is a simpler way to make it compile and install without errors.
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-05 04:10:59 UTC
I have version bumpeed the package, I assume this is fixed