Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 107568
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Roessner <info@roessner-net.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ooo2rc1.diff ooo2rc1.diff text/plain Christian Roessner 2005-10-02 04:20 0000 809 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107568 depends on: Show dependency tree
Bug 107568 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-29 01:41 0000
Hi,

I have installed the release candidate of OOo. The application suite is working
fine.

Why does the ebuild install it under /usr/lib64 and not /usr/lib32? It is a 32
bit app.

Conflicts:

revdep-rebuild
prelink

It should be under /usr/lib32 I think. What do you mean?

Regards
Christian

N.B.: If you check this for OOo, maybe think about
mozilla-{firefox,thunderbird}-bin as well.

(I am using the versions directly from www.mozilla-europe.org, so I do not
really know, if the binary versions "from" Gentoo are installed under /usr/lib64
or /usr/lib32). If firefox and thunderbird are also installed at the wrong
position, maybe mozilla-launcher needs updating then. Evil chain :-)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
revdep-rebuild always wants to re-emerge openoffice-bin
prelink can not find any depandant libs for app x.y.z (32 bit version)

Expected Results:  
32 bit apps should go under /usr/lib32 not /usr/lib64

Gentoo Base System version 1.6.13
Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-4.0.2-pre20050917,
glibc-2.3.5.20050722-r0, 2.6.13.2 x86_64)
=================================================================
System uname: 2.6.13.2 x86_64 AMD Athlon(tm) 64 Processor 3200+
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE=""
ALSA_CARDS="intel8x0 emu10k1"
ARCH="amd64"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/tmp/.ccache_64"
CCACHE_SIZE="2G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
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/lib64/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTCC_DIR="/var/tmp/.distcc"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache digest distlocks prelink sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --no-check-certificate ${URI} -P
${DISTDIR}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.6/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GDM_LANG="de_DE.utf8"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gentoo.inode.at/source/ ftp://ftp.easynet.nl/mirror/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HISTCONTROL="ignoredups:erasedups"
HOME="/root"
HOSTNAME="amd64"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.0.2-pre20050917/info"
JAVAC="/opt/blackdown-jdk-1.4.2.02/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.02"
JDK_HOME="/opt/blackdown-jdk-1.4.2.02"
KDEDIRS="/usr"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
LESS="-R -M"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_x86="lib32"
LINGUAS="de"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.0.2-pre20050917/man::/opt/blackdown-jdk-1.4.2.02/man:/usr/qt/3/doc/man"
MOZILLA_FIVE_HOME="/usr/lib64/mozilla"
MULTILIB_ABIS="x86 amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3)"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/root/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.0.2-pre20050917:/opt/Acrobat7:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od
s390 sh sparc x86 x86-fbsd x86-od"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="4783"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8:/lib/modules:/usr/lib64/locale:/usr/lib64/wine:/usr/lib64/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib/klibc"
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.1/html"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp --no-check-certificate ${URI}
-P ${DISTDIR}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="1"
SSH_AGENT_PID="18768"
SSH_AUTH_SOCK="/tmp/ssh-jZiTB18767/agent.18767"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="amd64 X X509 a52 aac aalib acl acpi acpi4linux activefilter adns alsa
apache2 arts artswrappersuid audiofile avi bash-completion bcmath berkdb
bigger-fonts bitmap-fonts bluetooth bonobo browserplugin bzlib caps cddb
cdparanoia cdr chroot client codecs crypt cscope css ctype cups dbm dbus dga
dhcp directfb doc dts dvd dvdr dvdread dxr3 eds emboss encode esd extensions
faac faad fame
fax faxonly fbcon ffmpeg flac font-server foomaticdb freetype gd gdbm gif gimp
gimpprint glitz gnome gpm gstreamer gtk2 gtkhtml guile hal hbci icq icu
imagemagick imap imlib ipv6 javascript jbig jpeg jpeg2k kde lcd lcms ldap
libclamav libwww lirc lm_sensors lzo lzw lzw-tiff mad maildir mailwrapper mbox
mcal md5sum mikmod mime mjpeg mng motif mozilla mp3 mpeg mpeg4 mppe-mppc mysql
nas ncurses network nls no-old-linux nptl nptlonly nsplugin nvidia ogg oggvorbis
opengl oss pam password pcntl pcre pdflib perl php pic png pnp posix postgres
ppds python qt quicktime readline rtc ruby samba scanner sdl session sftplogging
slang snmp sockets sox speex spell sqlite ssl subversion symlink tcltk tcpd
tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode
usb userlocales vcd vim-with-x vorbis wxwindows xine xml xml2 xmms xpm xprint
xrandr xsl xv xvid zlib video_cards_nvidia linguas_de userland_GNU kernel_linux
elibc_glibc"
USER="root"
USERLAND="GNU"
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS
USERLAND KERNEL ELIBC"
VIDEO_CARDS="nvidia"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthoNGjb0"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"

------- Comment #1 From Tom Knight 2005-09-29 01:56:38 0000 -------
*** Bug 107570 has been marked as a duplicate of this bug. ***

------- Comment #2 From Tom Knight 2005-09-29 01:56:47 0000 -------
*** Bug 107569 has been marked as a duplicate of this bug. ***

------- Comment #3 From Christian Roessner 2005-10-02 04:19:54 0000 -------
Hi,

I have moved /usr/lib/openoffice to /usr/lib32. You also need to modify the
wrapper script. I moved all lib to lib32. Everything works fine here.

Please correct the ebuild and the script.

I have patched the ebuild but did not want to test it, because, ebuild ...
digest would download all langpacks. So you may have a look at my diff and maybe
like to  use it.

Regards

Christian

------- Comment #4 From Christian Roessner 2005-10-02 04:20:45 0000 -------
Created an attachment (id=69705) [details]
ooo2rc1.diff

Changing path arguments for amd64.

------- Comment #5 From Simon Stelling (RETIRED) 2005-10-08 10:26:19 0000 -------
just adding ABI=x86 and adding a sed statement using $(get_libdir) was enough..
thanks for pointing it out :)

------- Comment #6 From Andreas Proschofsky 2005-10-08 11:41:40 0000 -------
@Simon: Your solution breaks the x86 arch, libdir is set to nothing so
everything is installed in /usr/openoffice instead of /usr/lib/openoffice. I'm
going to remove it again for rc2, until there is a proper solution

------- Comment #7 From Simon Stelling (RETIRED) 2005-10-08 11:59:27 0000 -------
(In reply to comment #6)
> @Simon: Your solution breaks the x86 arch, libdir is set to nothing so
> everything is installed in /usr/openoffice instead of /usr/lib/openoffice. I'm
> going to remove it again for rc2, until there is a proper solution

huh? did you try it? what you say doesn't make much sence to me, as there are
hundreds of ebuilds installing to /usr/$(get_libdir) on every arch, including
toolchain.. 

------- Comment #8 From Andreas Proschofsky 2005-10-08 13:09:19 0000 -------
@Simon: Yes I tried it, I tend to not do changes to ebuilds just for fun and by
"guessing" ;) Anyway: I've no clue about the AMD64 specific stuff, but could it
be that there is a reason that other ebuilds always do:

has_multilib_profile && ABI=x86

instead of just

ABI=x86

like you did? Cause with the first variant everything works fine for me...

------- Comment #9 From Andreas Proschofsky 2005-10-08 13:33:01 0000 -------
@Simon: I've now added the corrected stuff to rc2, works on x86, if it also
works on amd64 please add the keyword to the ebuild. Until then your broken rc1
is still in there to provide a working solution for AMD64-users

------- Comment #10 From Simon Stelling (RETIRED) 2005-10-08 14:00:49 0000 -------
right, i forgot the has_multilib_profile. it's fixed in rc1, don't have the
time
to download and test rc2 now, will do that monday or so

just to clarify: i don't change 'ebuilds just for fun and by
"guessing"'

------- Comment #11 From Andreas Proschofsky 2005-10-08 14:12:03 0000 -------
@Simon: Thanks.

And just a quick answer to the "guessing" stuff: You seem to have seriously
misunderstood my statement. I didn't accuse you of that, that sentence was just
an answer to your earlier posting which implied that I did not test before
reopening the bug and changing the ebuild, so the statement was about me not you.

------- Comment #12 From Christian Roessner 2005-10-09 02:30:16 0000 -------
rc2 is working fine here on amd64. Thanks

------- Comment #13 From Jeroen Roovers 2005-10-10 06:07:45 0000 -------
(In reply to comment #9)
> @Simon: I've now added the corrected stuff to rc2, works on x86, if it also
> works on amd64 please add the keyword to the ebuild. Until then your broken 
rc1
> is still in there to provide a working solution for AMD64-users

I just helped an "x86_64" (amd64) user who had an unpatched wrapper script from 
the rc1 build. His described his problem as follows:

I am having some trouble running openoffice-bin, I get: Can't exec "INSTDIR/
program/soffice": No such file or directory at /usr/bin/ooffice2 line 119." When 
I run "ooffice2" Does anyone know why I would get this error?

By the looks of it, the rc1 ebuild doesn't do the 'sed .. INSTDIR' patch for the 
wrapper script. In his case, doing

   sed -e "s|INSTDIR|/usr/lib32/openoffice|g" -i /usr/bin/ooffice2

fixed the problem. I am not sure this warrants reopening the bug...

------- Comment #14 From Jeroen Roovers 2005-10-10 06:09:31 0000 -------
(In reply to comment #13)

Additional information: he was merging openoffice-bin just now, after having 
synced Portage about three hours earlier.

------- Comment #15 From Andreas Proschofsky 2005-10-10 23:21:20 0000 -------
@JeR: My fault, this results from a change to the wrapper I did recently, but
only corrected the RC2 ebuild for it... Anyway, as RC2 seems to work for AMD64
(and does nothing else than RC1 now), I've added the amd64 keyword back, so this
should work fine, hope this is ok. Simon?

No need to fix RC1 on the other hand, it will be removed from portage asap

------- Comment #16 From Simon Stelling (RETIRED) 2005-10-11 02:31:42 0000 -------
just tested rc2, worked fine here without any further modifications

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug