<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>37729</bug_id>
          
          <creation_ts>2004-01-09 11:49 0000</creation_ts>
          <short_desc>kdeutils-3.2-beta2 fails on PowerBook with pbbuttonsd-5.6-r1</short_desc>
          <delta_ts>2006-02-04 06:04:07 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>johnctull@fastmail.fm</reporter>
          <assigned_to>ppc@gentoo.org</assigned_to>
          <cc>kde@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>johnctull@fastmail.fm</who>
            <bug_when>2004-01-09 11:49:59 0000</bug_when>
            <thetext>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=&quot;~x86&quot; 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:  

&lt;code snip fail&gt;
...NSLATION  -c -o pb_monitor.lo `test -f &apos;pb_monitor.cpp&apos; || echo
&apos;./&apos;`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&apos;
pb_monitor.cpp: In member function `virtual KMilo::Monitor::DisplayType
   PowerBookMonitor::poll()&apos;:
pb_monitor.cpp:100: warning: `and&apos; 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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.0_beta2/work/kdeutils-3.1.94/kmilo&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdeutils-3.2.0_beta2/work/kdeutils-3.1.94&apos;
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2004-01-09 15:43:46 0000</bug_when>
            <thetext>thanks for the warning, I&apos;ll update the PButtonsd now,
kde team, would be a problem if we add in kdeutils a conditional dep for it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>michael.kiermaier@gmx.net</who>
            <bug_when>2004-04-21 11:21:34 0000</bug_when>
            <thetext>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&apos;
/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()&apos;:
pb_monitor.cpp:82: `TAG_BRIGHTNESS&apos; 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&apos; 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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeutils-3.2.2/work/kdeutils-3.2.2/kmilo&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeutils-3.2.2/work/kdeutils-3.2.2&apos;
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=&quot;ppc ~ppc&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt&quot;
CHOST=&quot;powerpc-unknown-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache&quot;
GENTOO_MIRRORS=&quot;&lt;your_mirror_here&gt; http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2004-04-21 13:02:01 0000</bug_when>
            <thetext>pbbuttonsd-0.5.10-r1 is in portage and works ok with the latest kdeutils,
kde people could you add &gt;=pbbuttonsd-0.5.7  as modal dep please?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2004-04-21 14:15:03 0000</bug_when>
            <thetext>will look into soon, feel free to go ahead and do it if you can get it to sooner than I can.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>michael.kiermaier@gmx.net</who>
            <bug_when>2004-04-22 02:21:00 0000</bug_when>
            <thetext>pbbuttonsd-0.5.10-r1 works for me, too.

The comment on 0.5.10-r1 is: &quot;Fixed again the backward compatibility&quot;.

It would be nice to have correct dependencies in the kdeutils ebuild. Is it possible to require pbbuttonsd to be of version &gt;= 0.5.7 and != 0.5.10 (but possibliy 0.5.10_r1)? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2004-04-22 02:35:08 0000</bug_when>
            <thetext>I&apos;ll remove the problematic ebuild in a while, hmm I guess that nobody told the pbbuttonsd author about that yet, my fault.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>