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

Bug#220179: marked as done (krec: FTBFS on gcc 3.3.2 (inaccessible base))



Your message dated Tue, 9 Mar 2004 03:13:46 -0600
with message-id <20040309091346.GO19961@cheney.cx>
and subject line kdemultimedia_4:3.1.2-1(hppa/unstable): FTBFS: variable-size array forbdden by C++
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; 11 Nov 2003 10:19:56 +0000
>From pre@saruman.uio.no Tue Nov 11 04:19:55 2003
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AJVcp-0000Fb-00; Tue, 11 Nov 2003 04:19:55 -0600
Received: from mail-mx2.uio.no ([129.240.10.30])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1AJVco-0004SQ-Hz
	for submit@bugs.debian.org; Tue, 11 Nov 2003 11:19:54 +0100
Received: from saruman.uio.no ([129.240.201.202])
	by mail-mx2.uio.no with esmtp (Exim 4.14)
	id 1AJVcb-0001kv-I9; Tue, 11 Nov 2003 11:19:41 +0100
Received: from pre by saruman.uio.no with local (Exim 2.12 #7)
	id 1AJVcb-00042P-00; Tue, 11 Nov 2003 11:19:41 +0100
To: submit@bugs.debian.org
Subject: krec: FTBFS on gcc 3.3.2 (inaccessible base)
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E1AJVcb-00042P-00@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Tue, 11 Nov 2003 11:19:41 +0100
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning.
X-UiO-MailScanner: No virus found
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.5 required=4.0
	tests=BAYES_01,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_11_9
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_9 (1.174.2.15-2003-03-30-exp)


Package:  krec
Version:  4:3.1.2-1.1
Severity: serious

This is the error message:

  if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++
    -DHAVE_CONFIG_H -I.  -I../../krec -I.. -I../arts/modules
    -I../arts/midi -I../arts/gui/common -I../../arts/gui/kde
    -I/usr/include/kde/arts -I/usr/include/kde -I/usr/include/qt3
    -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
    -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
    -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
    -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions
    -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -MT
    krec_la.all_cpp.lo -MD -MP -MF ".deps/krec_la.all_cpp.Tpo" \
    -c -o krec_la.all_cpp.lo `test -f 'krec_la.all_cpp.cpp' || echo
     '../../krec/'`krec_la.all_cpp.cpp; \
  then mv -f ".deps/krec_la.all_cpp.Tpo" ".deps/krec_la.all_cpp.Plo"; \
  else rm -f ".deps/krec_la.all_cpp.Tpo"; exit 1; \
  fi
  In file included from krec_la.all_cpp.cpp:2:
  ../../krec/krecord.cpp:123:9: warning: #warning is a GCC extension
  ../../krec/krecord.cpp:123:9: warning: #warning TODO(for all ;-):
    Fix shutdown problem
  In file included from krec_la.all_cpp.cpp:2:
  ../../krec/krecord.cpp: In member function `void
     KRecord::showContextMenu(KListView*, QListViewItem*, const QPoint&)':
  ../../krec/krecord.cpp:296: error: `QListViewItem' is an
     inaccessible base of ` RecordFile'
  ../../krec/krecord.cpp:299: error: `QListViewItem' is an
     inaccessible base of ` Session'
  In file included from krec_la.all_cpp.cpp:7:
  ../../krec/vumeter.cpp: In member function `virtual void
     VUMeter::drawContents(QPainter*)':
  ../../krec/vumeter.cpp:43: warning: passing `float' for argument 1 of `void
     QRect::setWidth(int)'
  ../../krec/vumeter.cpp:44: warning: passing `float' for argument 1 of `void
     QRect::setWidth(int)'
  In file included from krec_la.all_cpp.cpp:7:
  ../../krec/vumeter.cpp: In member function `QColor VUMeter::color(float)':
  ../../krec/vumeter.cpp:73: warning: passing `float' for argument 1 of `
     QColor::QColor(int, int, int)'
  ../../krec/vumeter.cpp:73: warning: passing `float' for argument 2 of `
     QColor::QColor(int, int, int)'
  make[3]: *** [krec_la.all_cpp.lo] Error 1
  make[3]: Leaving directory `/usr/src/kdemultimedia-3.1.2/obj-i386-linux/krec'

The problem are these lines in krecord.cpp:

  static_cast<RecordFile*>(item)->menu()->popup( qpoint );
  [...]
  static_cast<Session*>(item)->menu()->popup( qpoint );

I guess the casting is unsafe and no longer accepted by newer gcc.

The inheritence for RecordFile is this:

  RecordFile -> (QObject -> Qt,
                 KListViewItem -> (QListViewItem -> Qt))

Every inheritence is public.  I do not know C++ well enough to get
past this one.

---------------------------------------
Received: (at 220179-done) by bugs.debian.org; 9 Mar 2004 09:14:20 +0000
>From ccheney@cheney.cx Tue Mar 09 01:14:20 2004
Return-path: <ccheney@cheney.cx>
Received: from 66-194-152-191.gen.twtelecom.net (pico.surpasshosting.com) [66.194.152.191] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B0dJc-0006co-00; Tue, 09 Mar 2004 01:14:20 -0800
Received: from conr-adsl-cheney.txucom.net ([207.70.165.48] helo=calc)
	by pico.surpasshosting.com with esmtp (TLSv1:RC4-SHA:128)
	(Exim 4.24)
	id 1B0dJG-00046S-Bz; Tue, 09 Mar 2004 04:13:58 -0500
Received: from ccheney by calc with local (Exim 4.30)
	id 1B0dJ4-00088F-6K; Tue, 09 Mar 2004 03:13:46 -0600
Date: Tue, 9 Mar 2004 03:13:46 -0600
From: Chris Cheney <ccheney@cheney.cx>
To: 203919-done@bugs.debian.org, 220174-done@bugs.debian.org,
	220176-done@bugs.debian.org, 220179-done@bugs.debian.org,
	220310-done@bugs.debian.org
Subject: kdemultimedia_4:3.1.2-1(hppa/unstable): FTBFS: variable-size array forbdden by C++
Message-ID: <20040309091346.GO19961@cheney.cx>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="Vy1A5eXR7jld12ZH"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - pico.surpasshosting.com
X-AntiAbuse: Original Domain - bugs.debian.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - cheney.cx
Delivered-To: 220179-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_08 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=2.6 required=4.0 tests=SUSPICIOUS_RECIPS autolearn=no 
	version=2.60-bugs.debian.org_2004_03_08
X-Spam-Level: **


--Vy1A5eXR7jld12ZH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

These FTBFS bugs are fixed in both sarge/sid.

Chris

--Vy1A5eXR7jld12ZH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFATYrK0QZas444SvIRAomgAJ0QdH1njwLuxJB4CjlGKCqU6lVJXwCgmmcd
LypZ+vi5FDcA1811C6oyZ34=
=Dziq
-----END PGP SIGNATURE-----

--Vy1A5eXR7jld12ZH--



Reply to: