First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 58013
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Williams <andrew@alshain.org.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
3.1_beta2-mutex.h.diff 3.1_beta2-mutex.h.diff patch Alberto Garcia Hierro (Skyhusker) 2004-07-24 12:48 0000 656 bytes Details | Diff
kdevelop-3.1_beta2.ebuild.diff kdevelop-3.1_beta2.ebuild.diff patch Alberto Garcia Hierro (Skyhusker) 2004-07-24 12:52 0000 315 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 58013 depends on: Show dependency tree
Bug 58013 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: 2004-07-22 23:18 0000
It configures and starts to compile but fails almost immediately with errors.
Since it's a beta should it be unmasked? 

Reproducible: Always
Steps to Reproduce:
1. emerge -u dev-util/kdevelop
2.
3.
Actual Results:  
Good - your configure finished. Start make now 

make  all-recursive 
make[1]: Entering directory 
`/data/port_tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92' 
Making all in bdb 
make[2]: Entering directory 
`/data/port_tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92/bdb' 
Making all in build_unix 
make[3]: Entering directory 
`/data/port_tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92/bdb/build_unix' 
gcc -c -I. -I../.././bdb/dist/../include -D_REENTRANT  -D_GNU_SOURCE -ansi -W 
-Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -O2 
-march=athlon64 -mtune=athlon64 -pipe -maccumulate-outgoing-args 
-fomit-frame-pointer -fweb -Wformat-security -Wmissing-format-attribute 
-fPIC ../.././bdb/dist/../mutex/mut_tas.c 
gcc -c -I. -I../.././bdb/dist/../include -D_REENTRANT  -D_GNU_SOURCE -ansi -W 
-Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -O2 
-march=athlon64 -mtune=athlon64 -pipe -maccumulate-outgoing-args 
-fomit-frame-pointer -fweb -Wformat-security -Wmissing-format-attribute 
-fPIC ../.././bdb/dist/../btree/bt_compare.c 
gcc -c -I. -I../.././bdb/dist/../include -D_REENTRANT  -D_GNU_SOURCE -ansi -W 
-Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -O2 
-march=athlon64 -mtune=athlon64 -pipe -maccumulate-outgoing-args 
-fomit-frame-pointer -fweb -Wformat-security -Wmissing-format-attribute 
-fPIC ../.././bdb/dist/../btree/bt_conv.c 
gcc -c -I. -I../.././bdb/dist/../include -D_REENTRANT  -D_GNU_SOURCE -ansi -W 
-Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -O2 
-march=athlon64 -mtune=athlon64 -pipe -maccumulate-outgoing-args 
-fomit-frame-pointer -fweb -Wformat-security -Wmissing-format-attribute 
-fPIC ../.././bdb/dist/../btree/bt_curadj.c 
../.././bdb/dist/../mutex/mut_tas.c: In function `__db_tas_mutex_lock': 
../.././bdb/dist/../mutex/mut_tas.c:108: error: `asm' undeclared (first use in 
this function) 
../.././bdb/dist/../mutex/mut_tas.c:108: error: (Each undeclared identifier is 
reported only once 
../.././bdb/dist/../mutex/mut_tas.c:108: error: for each function it appears 
in.) 
../.././bdb/dist/../mutex/mut_tas.c:108: error: parse error before "volatile" 
../.././bdb/dist/../mutex/mut_tas.c:108: warning: unused variable `__l' 
make[3]: *** [mut_tas.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
make[3]: Leaving directory 
`/data/port_tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92/bdb/build_unix' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/data/port_tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92/bdb' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/data/port_tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92' 
make: *** [all] Error 2 

!!! ERROR: dev-util/kdevelop-3.1_beta2 failed. 
!!! Function kde_src_compile, Line 129, Exitcode 2 
!!! died running emake, kde_src_compile:make 


Expected Results:  
compiled correctly 

Machine is an Athlon64 using Gentoo-dev-sources-2.6.7-r10 with 
ACCEPT_KEYWORDS="~amd64" 

emerge info: 

Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0, 
2.6.7-gentoo-r10) 
================================================================= 
System uname: 2.6.7-gentoo-r10 x86_64 4 
Gentoo Base System version 1.5.1 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -maccumulate-outgoing-args 
-fomit-frame-pointer -fweb" 
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/lib/mozilla/defaults/pref /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 -march=athlon64 -mtune=athlon64 -pipe -maccumulate-outgoing-args 
-fomit-frame-pointer -fweb" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache" 
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk 
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/data/port_tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X aalib alsa amd64 apache2 apm arts ati avi berkdb bonobo breakme cdr 
crypt cups dga dga2 doc dvd dvdr encode esd foomaticdb gdbm ggi gif gimpprint 
gnome gnome2 gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib jpeg kde 
ldap libg++ libwww maildir mikmod motif mozilla mpeg mysql nas ncurses nls 
oggvorbis opengl oss pam pdflib perl png python qt quicktime radeon readline 
sdl slang spell ssl tcltk tcpd tetex theora truetype unicode v4l v4l2 wmf xml 
xml2 xmms xv xvid zlib"

------- Comment #1 From Carsten Lohrke 2004-07-23 04:51:43 0000 -------
It's not unmasked - it's not hard masked. "~arch" means testing, hard masked
means it is known to be broken. It compiles fine on my x86 hardware.

@aliz: Any chance you're intereseted to investigate here? The -fPIC patch from
beta1 should apply, the other one isn't necessesary.

------- Comment #2 From Alberto Garcia Hierro (Skyhusker) 2004-07-24 07:04:29 0000 -------
Fails on ppc as well.

Emerge info output:
fiam@americana 89% fiam $ emerge info
Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 ppc 7455, altivec supported
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-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/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache fixpackages"
GENTOO_MIRRORS="http://ftp.caliu.info/pub/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="/usr/local/portage"
SYNC="rsync://192.168.232.1/portage"
USE="X aalib alsa altivec arts berkdb cdr crypt cscope cups dga dvd encode fbcon flash foomaticdb gd gdbm gif gphoto2 gpm gtk gtk2 imagemagick imap imlib innodb ipv6 java javascript joystick jpeg kde lcms libwww linguas_es mad maildir mitshm motif mpeg ncurses net nls oggvorbis opengl oss pam perl png ppc python qt radeon readline ruby samba sdl slang socks5 spell ssl tcpd tetex tiff truetype usb vim-with-x xml xml2 xv xvid zlib"

------- Comment #3 From Alberto Garcia Hierro (Skyhusker) 2004-07-24 12:48:00 0000 -------
Created an attachment (id=36088) [edit]
3.1_beta2-mutex.h.diff

This patch fixes the problem with mutex.c. Works fine on my pcc and should work
on amd64 aswell, but I can't test it. So please, try it as soon as possible. It
shouldn't hurt other arches, since #define directives prevent the patch code to
be used in them.

------- Comment #4 From Alberto Garcia Hierro (Skyhusker) 2004-07-24 12:52:19 0000 -------
Created an attachment (id=36090) [edit]
kdevelop-3.1_beta2.ebuild.diff

This patch against the ebuild adds 
"epatch ${FILESDIR}/kdevelop-3.1_beta2.ebuild.diff" inconditionally.

------- Comment #5 From Carsten Lohrke 2004-07-24 14:53:38 0000 -------
applied; a little feedback would be fine as I have only x86 hardware

------- Comment #6 From Andrew Williams 2004-07-24 23:40:36 0000 -------
Works fine on my amd64 now - thanks very much.

Should be hard masked though, since it depends on KDE 3.3 beta. It's not a new release for testing - it's a beta for goodness sake. Every other KDE prerelease has been hard masked.

------- Comment #7 From Carsten Lohrke 2004-07-25 05:29:53 0000 -------
It doesn't depend on KDE 3.3, Andrew (e.g kdepim and kdewebdev 3.3 would work
wih KDE 3.2 too, if the currently used kde-dist.eclass wouldn't disallow it
btw.). Masking kde-base/* stuff makes sense, because we would get too much bug
reports, but when you don't use the stable tree, you should know that you can
run into problems. Since KDE 3.3 is not far away from going stable (Wednesday
August 18th, 2004: Targeted Release date), it makes sense to widen the testing
audience, imho.

------- Comment #8 From Carsten Lohrke 2004-07-25 05:35:51 0000 -------
*** Bug 58236 has been marked as a duplicate of this bug. ***

------- Comment #9 From Andreas Pokorny 2004-07-26 09:03:23 0000 -------
I am on amd64 - i applied the changes discribed in the patches and the build
succeeded.

When starting kdevelop i get this output on stdout:

QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kbuildsycoca running...
ICE default IO error handler doing an exit(), pid = 24651, errno = 0
Connecting kdevelop-24657/KDevCore/projectClosed()
PyDCOP connect kdevelop-24657/KDevCore/projectClosed()/f1() has result true
Connecting kdevelop-24657/KDevCore/projectOpened()
PyDCOP connect kdevelop-24657/KDevCore/projectOpened()/f2() has result true
QObject::connect: No such slot subversionPart::slotActionAdd()
QObject::connect:  (sender name:   'subversion_add')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemove()
QObject::connect:  (sender name:   'subversion_remove')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
QObject::connect:  (sender name:   'subversion_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemoveFromIgnoreList()
QObject::connect:  (sender name:   'subversion_donot_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot
subversionPart::slotStopButtonClicked(KDevPlugin*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
kdevelop: symbol lookup error: /usr/lib/kde3/libkdevdoctreeview.so: undefined
symbol: _ZN17ConfigWidgetProxy22createGlobalConfigPageERK7QStringj

The application dies after the splash screen appeared.

I still have kdevelop-3.0.4 and kde-3.2 installed next to the current
kde-3.3_beta stuff. 

------- Comment #10 From Andreas Pokorny 2004-07-26 10:20:58 0000 -------
The Problem is gone .. i somehow did not emerge kdevelop completely.. 
so i overlooked the update of the new kdevelop rc file. After running etc-update the application works

------- Comment #11 From Malcolm Lashley (RETIRED) 2004-08-06 14:43:05 0000 -------
Carsten, Works for me on amd64 (tested with hello.c project)

------- Comment #12 From Carsten Lohrke 2004-08-06 15:00:35 0000 -------
:)

------- Comment #13 From Benjamin Schindler (RETIRED) 2004-08-23 00:44:47 0000 -------
This patch is required for kdevelop-3.1.0 final too. It wouldn't compile on
amd64 otherwise.

------- Comment #14 From Alberto Garcia Hierro (Skyhusker) 2004-08-23 09:31:01 0000 -------
Please, don't reuse closed bugs. I've already reported this issue again, take a
look at bug 61291 

First Last Prev Next    No search results available      Search page      Enter new bug