Bug 37729 - kdeutils-3.2-beta2 fails on PowerBook with pbbuttonsd-5.6-r1
|
Bug#:
37729
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: PPC
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: ppc@gentoo.org
|
Reported By: johnctull@fastmail.fm
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: kdeutils-3.2-beta2 fails on PowerBook with pbbuttonsd-5.6-r1
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-01-09 11:49 0000
|
When attempting to build kde-3.2-beta2 (using ~x86 keyword, as noted by another
ppc user as successful), I failed on kdeutils-3.2-beta2 with the code snippet
below. I fixed the issue by unmerging pbbuttonsd (5.6-r1) and manually
installing pbbuttonsd 5.7 from source.
Reproducible: Always
Steps to Reproduce:
1. emerge pbbuttonsd
2. unmask kde-3.2-beta2
3. ACCEPT_KEYWORDS="~x86" emerge /usr/portage/kde-base/kde/kde-3.2-beta2.ebuild
4. Wait for exit on kdeutils-3.2-beta2 (alternatively, emerge kdeutils...)
Actual Results:
<code snip fail>
...NSLATION -c -o pb_monitor.lo `test -f 'pb_monitor.cpp' || echo
'./'`pb_monitor.cpp
In file included from /usr/include/pbb.h:19,
from pb_monitor.cpp:35:
/usr/include/pbbmisc.h:30: syntax error before `template'
pb_monitor.cpp: In member function `virtual KMilo::Monitor::DisplayType
PowerBookMonitor::poll()':
pb_monitor.cpp:100: warning: `and' of mutually exclusive equal-tests is always
0
make[3]: *** [pb_monitor.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.0_beta2/work/kdeutils-3.1.94/kmilo/powerbook2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.0_beta2/work/kdeutils-3.1.94/kmilo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.0_beta2/work/kdeutils-3.1.94'
make: *** [all] Error 2
!!! ERROR: kde-base/kdeutils-3.2.0_beta2 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make
Expected Results:
NA
I am running the 2.6.1_rc1_r1 benh kernel emerged from ppc-development-sources.
thanks for the warning, I'll update the PButtonsd now,
kde team, would be a problem if we add in kdeutils a conditional dep for it?
I had exactly the same error (on kde 3.2) on my iBook, and it was solved by
updating pbbuttonsd.
Some weeks ago kde 3.2.1 compiled without problems.
Now I wanted to emerge kde-base/kdeutils-3.2.2, and this error appears again.
pbbuttonsd is version 0.5.10.
[...]
Making all in powerbook2
make[3]: Entering directory
`/var/tmp/portage/kdeutils-3.2.2/work/kdeutils-3.2.2/kmilo/powerbook2'
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I./../kmilod -I/usr/kde/3.2/include -I/usr/qt/3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings
-DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -c -o pb_monitor.lo pb_monitor.cpp
pb_monitor.cpp: In member function `virtual KMilo::Monitor::DisplayType
PowerBookMonitor::poll()':
pb_monitor.cpp:82: `TAG_BRIGHTNESS' undeclared (first use this function)
pb_monitor.cpp:82: (Each undeclared identifier is reported only once for each
function it appears in.)
pb_monitor.cpp:103: warning: `and' of mutually exclusive equal-tests is always
0
make[3]: *** [pb_monitor.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.2/work/kdeutils-3.2.2/kmilo/powerbook2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.2/work/kdeutils-3.2.2/kmilo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.2/work/kdeutils-3.2.2'
make: *** [all] Error 2
!!! ERROR: kde-base/kdeutils-3.2.2 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make
emerge info
Portage 2.0.50-r6 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.2_rc1-benh1)
=================================================================
System uname: 2.6.2_rc1-benh1 ppc 0
Gentoo Base System version 1.4.3.12
distcc 2.11.2 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
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/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/lib/pbbuttons /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="<your_mirror_here> 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://rsync.gentoo.org/gentoo-portage"
USE="X aalib apache2 apm arts berkdb caps crypt cups doc dvd encode flac
foomaticdb gdbm gif gphoto2 gpm gtk2 guile imlib jack jack-tmpfs java jpeg kde
ladcca lcms libwww mad maildir mitshm motif mozilla mpeg mysql ncurses nls
oggvorbis opengl pam pdflib perl png ppc python qt radeon readline samba sdl
slang speex spell ssl tcpd tetex tiff truetype usb video_cards_radeon wmf xml
xml2 xmms xv zlib"
pbbuttonsd-0.5.10-r1 is in portage and works ok with the latest kdeutils,
kde people could you add >=pbbuttonsd-0.5.7 as modal dep please?
will look into soon, feel free to go ahead and do it if you can get it to
sooner than I can.
pbbuttonsd-0.5.10-r1 works for me, too.
The comment on 0.5.10-r1 is: "Fixed again the backward compatibility".
It would be nice to have correct dependencies in the kdeutils ebuild. Is it possible to require pbbuttonsd to be of version >= 0.5.7 and != 0.5.10 (but possibliy 0.5.10_r1)?
I'll remove the problematic ebuild in a while, hmm I guess that nobody told the
pbbuttonsd author about that yet, my fault.