Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62202 - app-sci/kemistry works on amd64
Summary: app-sci/kemistry works on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 02:41 UTC by Andreas Korinek
Modified: 2004-09-05 09:16 UTC (History)
0 users

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 Andreas Korinek 2004-08-30 02:41:44 UTC
Please add ~amd64 to app-sci/kemistry-0.7
The -fPIC flag is needed to compile, though.

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




Portage 2.0.50-r10 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 
2.6.7-gentoo-r9) 
================================================================= 
System uname: 2.6.7-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.5.3 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -fPIC" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -fPIC" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache" 
GENTOO_MIRRORS="http://gentoo.osuosl.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acpi alsa amd64 apache2 arts avi berkdb cdr crypt cups dga divx4linux 
dvd encode esd f77 foomaticdb gd gdbm gif gimp gimpprint gphoto2 gpm gtk gtk2 
imap imlib java jpeg kde libg++ libwww mikmod motif mpeg multilib mysql nas 
ncurses nls nogcj oggvorbis opengl oss pam pcmcia pdflib perl png ppds python 
qt quicktime readline scanner sdl slang spell ssl tcltk tcpd tetex truetype 
usb xml2 xmms xosd xv zlib"
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-09-02 13:13:12 UTC
Andreas, please remove that -fPIC from your CFLAGS when you test packages for us.
This package fails with -fPIC issues. It needs a patch to its makefile, applied on all archs.

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O2 -pipe -ftracer -fno-exceptions -fno-check-new  -DDATADIR=\"/usr/share/apps/openbabel\"   -o libopenbabel_kemistry.la -rpath /usr/lib -L/usr/X11R6/lib64 -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -no-undefined -avoid-version atom.lo base.lo binary.lo binary_io.lo bond.lo chains.lo chiral.lo data.lo fileformat.lo generic.lo molchrg.lo mol.lo molvector.lo parsmart.lo parsmi.lo patty.lo phmodel.lo report.lo ring.lo rotor.lo smi.lo typer.lo formats.lo utils.lo residue.lo cml.lo
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/atom.o: relocation R_X86_64_32 can notbe used when making a shared object; recompile with -fPIC
.libs/atom.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Comment 2 Malcolm Lashley (RETIRED) gentoo-dev 2004-09-05 09:16:55 UTC
~amd64, gcc3.4 and fPIC loving duly applied in cvs.