Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72068 - dia-0.94 doesn't compile
Summary: dia-0.94 doesn't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 06:06 UTC by mcinu
Modified: 2005-01-16 14:11 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 mcinu 2004-11-22 06:06:34 UTC
When I try to emerge dia-0.94, the compilation fails.

Reproducible: Always
Steps to Reproduce:
1.USE="-python" ACCEPT_KEYWORDS="~x86" emerge dia


Actual Results:  
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/libxml2 -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libart-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libbonoboui-2.0 -DDIA_SHEETDIR=\"/usr/share/dia/sheets\"
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0 -I/usr/include/libart-2.0
-DLIBDIR=\"/usr/lib\" -DDATADIR=\"/usr/share/dia\" -I/usr/include/libxml2
-I/usr/include/freetype2 -march=athlon-xp -pipe -O3 -fomit-frame-pointer -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations-finline-functions
-fstrict-aliasing -MT diagdkrenderer.lo -MD -MP -MF .deps/diagdkrenderer.Tpo -c
diagdkrenderer.c  -fPIC -DPIC -o .libs/diagdkrenderer.o
diarenderer.c:678: warning: no previous prototype for `calculate_min_radius'
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [diarenderer.lo] B&#322;&#261;d 1
make[3]: *** Czekam na niezako&#324;czone zadania....
{standard input}: Assembler messages:
{standard input}:1835: Warning: end of file not at end of a line; newline inserted
{standard input}:2498: Error: unknown pseudo-op: `.'
diagdkrenderer.c:569: warning: `get_layout_first_baseline' defined but not used
make[3]: Leaving directory `/var/tmp/portage/dia-0.94/work/dia-0.94/lib'
make[2]: *** [all-recursive] B&#322;&#261;d 1
make[2]: Leaving directory `/var/tmp/portage/dia-0.94/work/dia-0.94/lib'
make[1]: *** [all-recursive] B&#322;&#261;d 1
make[1]: Leaving directory `/var/tmp/portage/dia-0.94/work/dia-0.94'
make: *** [all] B&#322;&#261;d 2

!!! ERROR: app-office/dia-0.94 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure


Expected Results:  
It should emerge dia-0.94
Comment 1 foser (RETIRED) gentoo-dev 2004-11-22 06:56:50 UTC
read the bugreport form : provide 'emerge info' !

compiler errors usually point to problematic hardware,cflags, etc.
Comment 2 mcinu 2004-11-22 07:14:01 UTC
i missed it, but here we are:

imladris mcinu # emerge info
Portage 2.0.51 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27 i686)
=================================================================
System uname: 2.4.27 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -pipe -O3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://mir.zyrianes.net/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/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 alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 flac foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml xml2 xmms xprint xv zlib linguas_pl linguas_en"
Comment 3 foser (RETIRED) gentoo-dev 2004-11-22 07:25:07 UTC
and this error is reproducable at exatly the same spot every time ?
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2004-11-22 09:45:56 UTC
I can't reproduce this either. Try with FEATURES="-ccache". In addition, is dia the only package you have had problems with? It looks like something is really wrong with your compiler.
Comment 5 mcinu 2004-11-23 00:53:01 UTC
1. This error was reproductable every time at the same spot.
2. Dia wasn't the only package I had problem with. I set USE="-python" because couldn't compile python.
3. When I was checking 1, compiling dia a few times in the same way the X server has restarted itself during dia compilation. After that I successfully compiled dia-0.94 even with python support.
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2004-11-23 01:55:05 UTC
Sounds an awful lot like ccache...
Comment 7 foser (RETIRED) gentoo-dev 2005-01-16 14:11:32 UTC
looks like a local problem to me, no further usable info.