Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42350 - Octave-forge-2003-06-02 builds and runs on amd64
Summary: Octave-forge-2003-06-02 builds and runs on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 03:00 UTC by Matthew Redfearn
Modified: 2004-03-17 13:53 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 Matthew Redfearn 2004-02-21 03:00:19 UTC
just unmasked octave-forge-2003-06-02 and it builds fine on athlon 64. Please add ~amd64 to the ebuild.

Reproducible: Always
Steps to Reproduce:
1. Add keywords ~amd64 to ebuild
2. emerge octave-forge
3.

Actual Results:  
Compiles, installs and runs. No issues. 

Expected Results:  
As above 

Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.3-gentoo) 
================================================================= 
System uname: 2.6.3-gentoo x86_64 4 
Gentoo Base System version 1.4.3.13 
distcc 2.12.1 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /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/env.d" 
CXXFLAGS="-O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo  
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://batman.anotherrandom.com/gentoo-portage" 
USE="X aalib acpi alsa amd64 arts avi berkdb cdr crypt cups dvd encode fbcon 
foomaticdb gdbm gif gpm gtk gtk2 imap imlib jpeg kde libg++ libwww mikmod motif 
mpeg multilib ncurses nls oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline sdl slang spell ssl tcpd tetex truetype xml2 xmms xv zlib"
Comment 1 Brad House 2004-02-22 09:22:40 UTC
did not work here
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-03-10 15:45:46 UTC
Here's the compilation error:
g++ -c -fPIC -I/usr/include/octave-2.1.50 -I/usr/include/octave-2.1.50/octave -O2 -DHAVE_OCTAVE_21 -DOCTAVE_FUNCTION_VOID_FAILS -DUSE_TERM -DHAVE_TERM_H dispatch.cc -o dispatch.o
g++ -shared -o dispatch.oct dispatch.o
mkoctfile -DHAVE_OCTAVE_21 -v -DOCTAVE_FUNCTION_VOID_FAILS -DUSE_TERM -DHAVE_TERM_H waitbar.cc -ltermcap
g++ -c -fPIC -I/usr/include/octave-2.1.50 -I/usr/include/octave-2.1.50/octave -O2 -DHAVE_OCTAVE_21 -DOCTAVE_FUNCTION_VOID_FAILS -DUSE_TERM -DHAVE_TERM_H waitbar.cc -o waitbar.o
g++ -shared -o waitbar.oct waitbar.o -ltermcap
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../libtermcap.a(termcap.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../libtermcap.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [waitbar.oct] Error 1
make[2]: Leaving directory `/var/tmp/portage/octave-forge-2004.02.12/work/octave-forge-2004.02.12/main/miscellaneous'
make[1]: *** [miscellaneous/] Error 2
make[1]: Leaving directory `/var/tmp/portage/octave-forge-2004.02.12/work/octave-forge-2004.02.12/main'
make: *** [main/] Error 2

!!! ERROR: app-sci/octave-forge-2004.02.12 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! emake failed

phi root # qpkg -f /usr/lib/libtermcap.a
sys-libs/libtermcap-compat * <-- That seems to be the packet to blame...

Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2004-03-17 13:53:41 UTC
Fixed 2004.02.12.