Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120334 - gphpedit-0.9.80 fails to compile: could not read symbols: File in wrong format
Summary: gphpedit-0.9.80 fails to compile: could not read symbols: File in wrong format
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-25 12:33 UTC by Fernando Usero
Modified: 2006-07-05 14:46 UTC (History)
3 users (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 Fernando Usero 2006-01-25 12:33:03 UTC
when trying to emerge gphpedit 0.9.80 compilation fails in something related to gtkscintilla:

--------------------
powerpc-unknown-linux-gnu-g++ -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -o gphpedit calltip.o classbrowser.o classbrowser_parse.o edit_template.o find_replace.o gphpedit_ipc.o grel2abs.o plugin.o main.o main_window.o main_window_callbacks.o preferences.o preferences_dialog.o syntax_check.o tab.o tab_cxx.o tab_css.o tab_perl.o tab_php.o tab_python.o tab_sql.o tab_util.o templates.o -Wl,--export-dynamic -pthread  /usr/lib/libgnomeui-2.so /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so /usr/lib/libgtkhtml-2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so gtkscintilla2/libgtkscintilla2.a gtkscintilla2/scintilla/bin/scintilla.a -L/usr/lib -lSM -lICE -lssl -lcrypto -lresolv -lrt -lpthread -lXrender -lX11 -lXext -lpng12 -lz -lm -ldl
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.5/../../../../powerpc-unknown-linux-gnu/bin/ld: gtkscintilla2/libgtkscintilla2.a(gtkscintilla.o): Relocations in generic ELF (EM: 3)
gtkscintilla2/libgtkscintilla2.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [gphpedit] Error 1
make[2]: Leaving directory `/var/tmp/portage/gphpedit-0.9.80/work/gphpedit-0.9.80/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gphpedit-0.9.80/work/gphpedit-0.9.80'
make: *** [all] Error 2

---------------------

this thing happens in ppc but not in x86. The output of emerge info is:

Portage 2.1_pre3-r1 (default-linux/ppc/2004.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-gentoo-r4 ppc)
=================================================================
System uname: 2.6.14-gentoo-r4 ppc 7455, altivec supported
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.inode.at/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc X aalib acl adns alsa altivec apache2 audiofile autofs berkdb bitmap-fonts bonobo bzip2 cdr chm crypt cscope cups curl dbus dedicated dga directfb dnd doc dv dvb dvd dvdr dvdread eds emacs emboss encode esd ethereal evo exif expat fam fax fbcon ffmpeg flac font-server foomaticdb foreign-package fortran freetds ftp gb gd gdbm gif glut gmp gnome gnomedb gnutls gpg gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hal howl idn imagemagick imap imlib informix innodb ipv6 java javascript jikes jpeg junit kde kerberos krb4 ladcca lcms ldap libcaca libwww lua mad maildir mhash ming mjpeg mng mono motif mozilla mp3 mpeg msn mysql ncurses network nls offensive ogg oggvorbis openal opengl pam pcmcia pcre pdf pdflib pear perl php png postgres python qt quicktime readline recode samba sdl slang speex spell spreadsheet sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis webservices wmf wv wxwindows xine xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Frederik 'Freso' S. Olesen 2006-02-19 16:55:22 UTC
Uh, I'm not really sure whether it's the same thing happening for me, but it's not compiling on my AMD64 either:

nayru ~ # emerge gphpedit
[... compile information, lots of undefined references ... ]
gtkscintilla2/scintilla/bin/scintilla.a(LexPerl.o): In function `ColourisePerlDoc(unsigned int, int, int, WordList**, Accessor&)':
LexPerl.cxx:(.text+0x1e1): undefined reference to `operator new[](unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [gphpedit] Error 1
make[2]: Leaving directory `/var/tmp/portage/gphpedit-0.9.80/work/gphpedit-0.9.80/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gphpedit-0.9.80/work/gphpedit-0.9.80'
make: *** [all] Error 2

!!! ERROR: app-editors/gphpedit-0.9.80 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 1609:   Called gnome2_src_compile

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

nayru ~ # emerge --info
--- Invalid atom in /etc/portage/package.keywords: dev-lang/ghc-bin-6.4.1
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk/ http://mirrors.uni-c.dk/gentoo/"
LANG="en_GB.UTF8"
LINGUAS="da da-DK en-IE en-GB en en-US ga ga-IE"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 avi berkdb bitmap-fonts bzip2 cdr crypt custom-cflags dbus dlloader dvd dvdr dvdread eds emboss encode esd fbcon firefox flac fortran gif gnome gpm gstreamer gtk gtk2 gtkhtml hal hardened hardenedphp howl idn imlib ipv6 jpeg libedit logrotate lzw lzw-tiff mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pam_console pdflib perl pic png pnp python quicktime readline real sdl spell ssl svg tagwriting tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xml xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_da linguas_da-DK linguas_en-IE linguas_en-GB linguas_en linguas_en-US linguas_ga linguas_ga-IE userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-05-19 00:49:16 UTC
@reporter: Is this still reproducable?
@frederik: that is a different problem, please open a new bug if its still reproducable.
Comment 3 Fernando Usero 2006-05-22 13:50:47 UTC
Saleme: it is still reproducable, any hint?
Comment 4 Andy Jeffries 2006-07-05 07:42:14 UTC
This may have been binary files left in the distribution archive (although I'm sure they got removed shortly after release).  Anyhow, I've just released 0.9.91, please try that and see if the error still occurs.
Comment 5 Fernando Usero 2006-07-05 14:42:52 UTC
Hi Andy, nice to see gphpedit father here!

you were right, i created the ebuild for 0.9.91 in my portage overlay (just renaming the ebuild) and it compiled and merged successfully.

Now gphpedit works perfectly with my php scripts. It's really nice!
Comment 6 Andy Jeffries 2006-07-05 14:46:47 UTC
Nice to be here (I may have left Gentoo for pastures more orange, but this distro will always be special in my heart!)

Glad it worked for you and especially glad that you like it.

Push the devs for a version bump, would you please...

Cheers,


Andy