Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 60062
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: gifu <gifu@gentoo.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 60062 depends on: Show dependency tree
Bug 60062 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-08-11 09:11 0000
before emerging I had to do: cp 
/usr/portage/dev-util/kdevelop/files/kdevelop-3.1_beta1-bdb-fPIC.patch
/usr/portage/dev-util/kdevelop/files/kdevelop-3.1.0_beta1-bdb-fPIC.patch

When I tried to emerge -uDv kdevelop, I get an error

--------------------
using: kdelibs 3.3.0_beta2, gcc 3.4.1 20040803 (Gentoo Linux 3.4.1-r2,
ssp-3.4-2, pie-8.7.6.5), gentoo-dev-kernel 2.6.7-r11

Reproducible: Always
Steps to Reproduce:
1. emerge -uDv kdevelop


Actual Results:  
Good - your configure finished. Start make now

make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/kdevelop-3.1.0_rc2/work/kdevelop-3.1.0'
Making all in bdb
make[2]: Entering directory
`/var/tmp/portage/kdevelop-3.1.0_rc2/work/kdevelop-3.1.0/bdb'
Making all in build_unix
make[3]: Entering directory
`/var/tmp/portage/kdevelop-3.1.0_rc2/work/kdevelop-3.1.0/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=k8
-pipe -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=k8
-pipe -Wformat-security -Wmissing-format-attribute -fPIC
../.././bdb/dist/../btree/bt_compare.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
`/var/tmp/portage/kdevelop-3.1.0_rc2/work/kdevelop-3.1.0/bdb/build_unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdevelop-3.1.0_rc2/work/kdevelop-3.1.0/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdevelop-3.1.0_rc2/work/kdevelop-3.1.0'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.1.0_rc2 failed.
!!! Function kde_src_compile, Line 130, Exitcode 2
!!! died running emake, kde_src_compile:make

Expected Results:  
successfull compile.

Not sure if I did it the right way, strace emerge -Dv kdevelop


[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 18190
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "\33]1;\7\33]2; *** terminating.\7", 27) = 27
open("/var/log/emerge.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
fstat(3, {st_mode=S_IFREG|0660, st_size=493558, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2a981db000
fstat(3, {st_mode=S_IFREG|0660, st_size=493558, ...}) = 0
lseek(3, 493558, SEEK_SET)              = 493558
fstat(3, {st_mode=S_IFREG|0660, st_size=493558, ...}) = 0
write(3, "1092240639:  *** terminating.\n", 30) = 30
close(3)                                = 0
munmap(0x2a981db000, 4096)              = 0
chmod("/var/log/emerge.log", 0660)      = 0
chown("/var/log/emerge.log", 250, 250)  = 0
write(2, "\33]1;\7\33]2;xterm\7", 15)   = 15
wait4(-1, 0x7fbfffe81c, 0, NULL)        = -1 ECHILD (No child processes)
open("/var/cache/edb/mtimedb", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fstat(3, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2a981db000
write(3, "(dp1\nS\'info\'\np2\n(dp3\nS\'/usr/shar"..., 2134) = 2134
close(3)                                = 0
munmap(0x2a981db000, 4096)              = 0
chown("/var/cache/edb/mtimedb", 0, 250) = 0
chmod("/var/cache/edb/mtimedb", 0664)   = 0
rt_sigaction(SIGINT, NULL, {0x2a9588be90, [], 0x4000000}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
close(4)                                = 0
munmap(0x2a981d9000, 4096)              = 0
munmap(0x2a981da000, 4096)              = 0
_exit(1)

------- Comment #1 From gifu 2004-08-11 22:59:12 0000 -------
I updated the system and the same error is there.

emerge --info
Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.8-rc4)
=================================================================
System uname: 2.6.8-rc4 x86_64 12
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -pipe"
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.3/share/config /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="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ds.thn.htu.se/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 amd64 apm arts ati avi berkdb cdr crypt cscope cups directfb divx4linux dvd dvdr encode esd fftw foomaticdb gd gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mozilla mp3 mpeg nas ncurses nls offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv xvid zlib"

Qt: 3.3.2
KDE: 3.2.92 (3.3 beta2)

------- Comment #2 From Brian O'Reilly 2004-08-18 12:05:47 0000 -------
same error, same build messages.. although I only did 'emerge kdevelop'.

root@infiltrator ~ # emerge --info
Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 4
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
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.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bonobo crypt cups dvd encode foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"

------- Comment #3 From Mike Staib 2004-08-19 14:07:02 0000 -------
I had the same error as well. 

emerge info:

Portage 2.0.50-r9 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo)
=================================================================
System uname: 2.6.8-gentoo x86_64 4
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 -pipe"
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.3/share/config:/usr/kde/3.3/env:/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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://gentoo.mirrors.pair.com/"
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 amd64 apm arts avi berkdb cdr crypt cups divx4linux dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jikes jpeg kde libg++ libwww live mad mikmod motif mozilla mpeg multilib mysql mysqli nas ncurses network nls oggvorbis opengl opwngl oss pam pdflib perl php png python qt quicktime readline samba sdl slang spell ssl tcltk tcpd truetype usb xml2 xmms xv xvid zlib"

------- Comment #4 From Brian O'Reilly 2004-08-20 08:30:05 0000 -------
kde3.3 is released and building in portage, now this bug is carried over
to kdevelop-3.1.0. Same error, I'll paste for completeness:

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/kdevelop-3.1.0/work/kdevelop-3.1.0'
Making all in bdb
make[2]: Entering directory `/var/tmp/portage/kdevelop-3.1.0/work/kdevelop-3.1.0/bdb'
Making all in build_unix
make[3]: Entering directory `/var/tmp/portage/kdevelop-3.1.0/work/kdevelop-3.1.0/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 -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 -Wformat-security -Wmissing-format-attribute -fPIC ../.././bdb/dist/../btree/bt_compare.c
../../bdb/mutex/mut_tas.c: In function `__db_tas_mutex_lock':
../../bdb/mutex/mut_tas.c:108: error: `asm' undeclared (first use in this function)
../../bdb/mutex/mut_tas.c:108: error: (Each undeclared identifier is reported only once
../../bdb/mutex/mut_tas.c:108: error: for each function it appears in.)
../../bdb/mutex/mut_tas.c:108: error: syntax error before "volatile"
../../bdb/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 `/var/tmp/portage/kdevelop-3.1.0/work/kdevelop-3.1.0/bdb/build_unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.1.0/work/kdevelop-3.1.0/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.1.0/work/kdevelop-3.1.0'
make: *** [all] Error 2

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

=================

infiltrator ~ # emerge --info
Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 4
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"
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.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bonobo crypt cups dvd encode foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"

====================================

should this bug be opened in a new case against kdevelop-3.1.0?

------- Comment #5 From Scott Robert Ladd 2004-08-20 09:37:07 0000 -------
I am getting the same error as everyone else is; I don;t see the point in
repeating the error messages other's have posted.

------- Comment #6 From Benjamin Schindler (RETIRED) 2004-08-23 00:45:39 0000 -------
There is a patch available to make it compile. see bug #58013 for details

------- Comment #7 From Danny van Dyk (RETIRED) 2004-08-28 20:01:33 0000 -------
*** Bug 61872 has been marked as a duplicate of this bug. ***

------- Comment #8 From Danny van Dyk (RETIRED) 2004-08-29 03:10:19 0000 -------
FIXED. Needed the same patch as 3.1_beta2 [BUG #58013].
In CVS now, thx!

------- Comment #9 From Vermyndax 2004-09-22 14:47:07 0000 -------
Just tested this ebuild by doing ACCEPT_KEYWORDS="~amd64" and emerging
kdevelop-3.1.0... compiled beautifully.  Thanks!

If my word is any indication, I say mark it stable!  :)

------- Comment #10 From Vermyndax 2004-09-22 14:47:46 0000 -------
My comment applies to kdevelop-3.1.0, NOT rc2 btw...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug