[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245820: marked as done (kdeutils: FTBFS on powerpc (missing TAG_BRIGHTNESS))

Your message dated Mon, 26 Apr 2004 22:47:07 -0400
with message-id <E1BIIcl-0006yD-00@newraff.debian.org>
and subject line Bug#245820: fixed in kdeutils 4:3.2.2-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 25 Apr 2004 15:42:10 +0000
>From pere@gigs.hungry.com Sun Apr 25 08:42:10 2004
Return-path: <pere@gigs.hungry.com>
Received: from 217-13-7-10.dd.nextgentel.com (minerva.hungry.com) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHllh-00015w-00; Sun, 25 Apr 2004 08:42:10 -0700
Received: from pere by minerva.hungry.com with local (Exim 3.35 #1 (Debian))
	id 1BHllC-0002B2-00; Sun, 25 Apr 2004 17:41:38 +0200
To: submit@bugs.debian.org
Subject: kdeutils: FTBFS on powerpc (missing TAG_BRIGHTNESS)
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E1BHllC-0002B2-00@minerva.hungry.com>
Sender: Petter Reinholdtsen <pere@gigs.hungry.com>
Date: Sun, 25 Apr 2004 17:41:38 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 1

Package:  kdeutils
Version:  4:3.2.2-1
Severity: serious

The source fail to build on powerpc because it is missing the
TAG_BRIGHTNESS constant.  This is the build error:

  Making all in powerbook2
  make[4]: Entering directory
  if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
    -DHAVE_CONFIG_H -I. -I../../../kmilo/powerbook2
    -I../.. -I../../../kmilo/powerbook2/../kmilod -I/usr/include/kde
    -I/usr/share/qt3/include -I.  -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 -Wformat-security
    -Wmissing-format-attribute -fno-exceptions -fno-check-new
    ".deps/pb_monitor.Tpo" -c -o pb_monitor.lo
    ../../../kmilo/powerbook2/pb_monitor.cpp; \
  then mv -f ".deps/pb_monitor.Tpo" ".deps/pb_monitor.Plo"; else rm
    -f ".deps/pb_monitor.Tpo"; exit 1; fi

  ../../../kmilo/powerbook2/pb_monitor.cpp: In member function `virtual
     KMilo::Monitor::DisplayType PowerBookMonitor::poll()':
  ../../../kmilo/powerbook2/pb_monitor.cpp:82: error: `TAG_BRIGHTNESS'
     (first use this function)
  ../../../kmilo/powerbook2/pb_monitor.cpp:82: error: (Each undeclared
     is reported only once for each function it appears in.)
  ../../../kmilo/powerbook2/pb_monitor.cpp:103: warning: `and' of mutually
     exclusive equal-tests is always 0
  make[4]: *** [pb_monitor.lo] Error 1
  make[4]: Leaving directory

The problem is in this code:

  Monitor::DisplayType PowerBookMonitor::poll()
        Monitor::DisplayType rc = None;
        // Drain the queue, send the last message
        struct tagitem* tag = readMessage();
        m_message = QString::null;
        while ( tag && tag->tag != TAG_END ) {
                switch ( tag->tag ) {
                case TAG_VOLUME:
                        rc = Monitor::Volume;
                        m_progress = (int)tag->data;
                case TAG_MUTE:
                        rc = Monitor::Mute;
                        m_progress = (int)tag->data;
                case TAG_BRIGHTNESS:
                        rc = Monitor::Brightness;
                        m_progress = ((int)tag->data)*100/15;

The TAG_BRIGHTNESS constant is not mentioned anywhere else in the
kdeutils source.  I have no idea which header file it belongs to.

Searching on google for TAG_BRIGHTNESS, I come across a document
mentioning that a constant changed name from TAG_BRIGHTNESS to
TAG_LCDBRIGHTNESS.  Perhaps the source need to be updated to use the
new name?

I do not have a powerpc machine available to test this.

Received: (at 245820-close) by bugs.debian.org; 27 Apr 2004 02:53:20 +0000
>From katie@ftp-master.debian.org Mon Apr 26 19:53:20 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BIIil-0001GF-00; Mon, 26 Apr 2004 19:53:20 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BIIcl-0006yD-00; Mon, 26 Apr 2004 22:47:07 -0400
From: Christopher L Cheney <ccheney@debian.org>
To: 245820-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#245820: fixed in kdeutils 4:3.2.2-2
Message-Id: <E1BIIcl-0006yD-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 26 Apr 2004 22:47:07 -0400
Delivered-To: 245820-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 1

Source: kdeutils
Source-Version: 4:3.2.2-2

We believe that the bug you reported is fixed in the latest version of
kdeutils, which is due to be installed in the Debian FTP archive:

  to pool/main/k/kdeutils/ark_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kcalc_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kcharselect_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kdelirc_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kdepasswd_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kdessh_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kdeutils-dev_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kdeutils_3.2.2-2.diff.gz
  to pool/main/k/kdeutils/kdeutils_3.2.2-2.dsc
  to pool/main/k/kdeutils/kdeutils_3.2.2-2_all.deb
  to pool/main/k/kdeutils/kdf_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kedit_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kfloppy_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kgpg_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/khexedit_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kjots_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/klaptopdaemon_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kmilo_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kregexpeditor_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/ksim_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/ktimer_3.2.2-2_i386.deb
  to pool/main/k/kdeutils/kwalletmanager_3.2.2-2_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 245820@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Christopher L Cheney <ccheney@debian.org> (supplier of updated kdeutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon, 26 Apr 2004 21:00:00 -0500
Source: kdeutils
Binary: kdeutils-dev kwalletmanager kedit kdf ktimer kcharselect kdeutils kdepasswd kdessh ksim kjots kfloppy kcalc kdelirc kmilo klaptopdaemon ark kgpg khexedit kregexpeditor
Architecture: source i386 all
Version: 4:3.2.2-2
Distribution: unstable
Urgency: high
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Christopher L Cheney <ccheney@debian.org>
 ark        - KDE archiving tool
 kcalc      - KDE calculator
 kcharselect - KDE character selector
 kdelirc    - KDE infrared control
 kdepasswd  - KDE password changer
 kdessh     - KDE ssh frontend
 kdeutils   - KDE Utilities metapackage
 kdeutils-dev - KDE Utilities [development]
 kdf        - KDE disk free
 kedit      - KDE text editor
 kfloppy    - KDE floppy formatter
 kgpg       - GnuPG frontend for KDE
 khexedit   - KDE hex editor
 kjots      - KDE note taking utility
 klaptopdaemon - KDE battery monitoring and management for laptops
 kmilo      - KDE kded hardware support module
 kregexpeditor - graphical regular expression editor plugin
 ksim       - System information monitor
 ktimer     - KDE timer
 kwalletmanager - KDE Wallet Manager
Closes: 245820
 kdeutils (4:3.2.2-2) unstable; urgency=high
   * KDE_3_2_BRANCH pbuttonsd fix. (Closes: #245820)
 713ac0f5c8fdde8c11a1ab5e3b602c8b 974 kde optional kdeutils_3.2.2-2.dsc
 0da2e05f3f4dcfd34f3bfa20ce741e38 90901 kde optional kdeutils_3.2.2-2.diff.gz
 c97c884e3a672c98479973f835736525 23586 utils optional kdeutils-dev_3.2.2-2_i386.deb
 3f3f2800c8469f9352b688e0bea78238 256246 utils optional ark_3.2.2-2_i386.deb
 f22c93a2cfe653ec2ac49a86a922c268 118342 utils optional kcalc_3.2.2-2_i386.deb
 3e07f8d040f6e982e1ec8474f9791162 52070 utils optional kcharselect_3.2.2-2_i386.deb
 148e08ee4bf0440baff3952d92b839ee 244532 utils optional kdelirc_3.2.2-2_i386.deb
 e1dc1c8227f0ecb2ba98c9706516592d 377638 utils optional kdepasswd_3.2.2-2_i386.deb
 6a5ea565b9c7b0284a3c73122ab1a676 21872 kde optional kdessh_3.2.2-2_i386.deb
 686e43592157a94e6f53e17b2a939d2f 289386 utils optional kdf_3.2.2-2_i386.deb
 8ebdf1ea580c8e2648692851b0a9cf68 103612 editors optional kedit_3.2.2-2_i386.deb
 02ec648c4ed12f2e3775f084efaf4e1e 65488 utils optional kfloppy_3.2.2-2_i386.deb
 a12bd0a94cf2cfa9b14358066a07425d 407474 utils optional kgpg_3.2.2-2_i386.deb
 6a73096b96fbe164e4c926fd64ecb9a4 329440 utils optional khexedit_3.2.2-2_i386.deb
 f56d76f6242e95dfa0e48cc0e52357a4 89250 utils optional kjots_3.2.2-2_i386.deb
 af8f801642ca634c984524169317e769 226380 kde optional klaptopdaemon_3.2.2-2_i386.deb
 36c2b5f052621a86a5956d979d565f0b 88314 utils optional kmilo_3.2.2-2_i386.deb
 2066f9359e2ca9a02eeb6d42ea710d29 261478 kde optional kregexpeditor_3.2.2-2_i386.deb
 0675ed0fa7185415bec81a6c8e26fa8a 416072 utils optional ksim_3.2.2-2_i386.deb
 bd69cca6479e5c19f61e4b363d552bf1 58582 utils optional ktimer_3.2.2-2_i386.deb
 9e0e73c8bf540ee4072aeca8f701230a 164668 utils optional kwalletmanager_3.2.2-2_i386.deb
 7fd76ddf37ed40c0b96c498e58b0198c 6826 kde optional kdeutils_3.2.2-2_all.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: