Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94525 - kphone fails installing with "lrelease: Command not found"
Summary: kphone fails installing with "lrelease: Command not found"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-30 10:45 UTC by Stefan Schweizer (RETIRED)
Modified: 2009-02-16 19:14 UTC (History)
0 users

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


Attachments
Patch to make kphone use complete path to lrelease (kphone-4.1.1-lrelease-path.diff,1007 bytes, patch)
2005-06-29 12:08 UTC, Dan Armak (RETIRED)
Details | Diff
Ebuild using the attached patch and calling autoconf (kphone-4.1.1.ebuild,1.15 KB, text/plain)
2005-06-29 12:09 UTC, Dan Armak (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schweizer (RETIRED) gentoo-dev 2005-05-30 10:45:37 UTC
>>> Install kphone-4.1.1 into /var/tmp/portage/kphone-4.1.1/image/ category net-misc
make[1]: Entering directory `/var/tmp/portage/kphone-4.1.1/work/kphone/po'
lrelease kphone_de.ts
make[1]: lrelease: Command not found
make[1]: *** [kphone_de.qm] Error 127
make[1]: Leaving directory `/var/tmp/portage/kphone-4.1.1/work/kphone/po'
make[1]: Entering directory `/var/tmp/portage/kphone-4.1.1/work/kphone/dissipate2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/kphone-4.1.1/work/kphone/dissipate2'
make[1]: Entering directory `/var/tmp/portage/kphone-4.1.1/work/kphone/gsm'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/kphone-4.1.1/work/kphone/gsm'
make[1]: Entering directory `/var/tmp/portage/kphone-4.1.1/work/kphone/ilbc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/kphone-4.1.1/work/kphone/ilbc'
make[1]: Entering directory `/var/tmp/portage/kphone-4.1.1/work/kphone/kphone'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/kphone-4.1.1/work/kphone/kphone'
make -C po install
make[1]: Entering directory `/var/tmp/portage/kphone-4.1.1/work/kphone/po'
lrelease kphone_de.ts
make[1]: lrelease: Command not found
make[1]: *** [kphone_de.qm] Error 127
make[1]: Leaving directory `/var/tmp/portage/kphone-4.1.1/work/kphone/po'
make: *** [install] Erro

Reproducible: Always
Steps to Reproduce:






# emerge info
Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.12-rc4-mm1 i686)
=================================================================
System uname: 2.6.12-rc4-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Gentoo Base System version 1.7.1
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 21:47:15)]
distcc: No such file or directory [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r9, 2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -fomit-frame-pointer -pipe -Os"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/share/config /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i586 -fomit-frame-pointer -pipe -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.inode.at"
LANG="C"
LC_ALL="C"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/stefan/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa arts avi bash-completion bitmap-fonts bri cdparanoia
cdr crypt crypto cups curl dga distcache divx4linux dvd dvdread edl emboss fam
fbcon foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 hal imagemagick imlib
ipv6 java javascript jpeg kde kdeenablefinal libg++ libwww live lm_sensors lzo
mmx mng mono mozilla mp3 mpeg mysql ncurses network nls nptl ogg oggvorbis
opengl pam pcmcia pdflib perl png qt quicktime readline rtc ruby samba scanner
sdl slang spell sqlite sse ssl svg svga tcltk tcpd tga tiff truetype
truetype-fonts type1-fonts usb vorbis wifi wxwindows xfs xine xinerama xml xml2
xmms xosd xv xvid zlib video_cards_ati video_cards_radeon linguas_de linguas_en
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

Config files: /etc/make.conf, /etc/portage/package.mask,
/etc/portage/package.unmask, /etc/portage/package.keywords,
/etc/portage/profile/virtuals
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-30 11:16:37 UTC
Don't you have /usr/qt/3/bin/lrelease? 
 
It should come with x11-libs/qt. 
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2005-05-30 11:27:55 UTC
I guess thats a portage-cvs problem then of not keeping variables exported
during the different phases, analog to the other bug I filed:

http://bugs.gentoo.org/show_bug.cgi?id=92952
Comment 3 Dan Armak (RETIRED) gentoo-dev 2005-06-29 12:08:15 UTC
Created attachment 62251 [details, diff]
Patch to make kphone use complete path to lrelease

If configure hadn't found QT it would have aborted much earlier, so I'm 
guessing it did, and the thing that's broken is calling lrelease without a 
full path... (Why wouldn't portage-cvs provide the complete path from
/etc/profile including $QTDIR/bin, anyway?)

Try the attached diff that makes it use the full path to lrelease. (I'll
prolly get eaten alive by the configure monster for putting a line saying
'autoconf' in an ebuild, so for the tree we may want to just use $QTDIR,
but that as you say needs eclass changes :-)
Comment 4 Dan Armak (RETIRED) gentoo-dev 2005-06-29 12:09:00 UTC
Created attachment 62252 [details]
Ebuild using the attached patch and calling autoconf

And the correspondingly modified ebuild
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-12 09:32:51 UTC
old bug, never happened again ..
Comment 6 Battiston Giacomo 2009-02-16 19:09:48 UTC
i get the same error on kphone-4.2-r1
Comment 7 Battiston Giacomo 2009-02-16 19:14:52 UTC
ehm, no sry, the error is different