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

Bug#287007: marked as done (kdegraphics: FTBFS (amd64/gcc-4.0): cast from 'KIconEdit*' to 'int' loses precision)



Your message dated Tue, 30 Aug 2005 07:32:07 -0700
with message-id <E1EA79j-0001lq-00@spohr.debian.org>
and subject line Bug#287007: fixed in kdegraphics 4:3.4.2-1
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; 23 Dec 2004 15:51:12 +0000
>From aj@andaco.de Thu Dec 23 07:51:12 2004
Return-path: <aj@andaco.de>
Received: from c169031.adsl.hansenet.de (localhost.localdomain) [213.39.169.31] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ChVFA-0006I0-00; Thu, 23 Dec 2004 07:51:12 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1ChVK1-0000FG-ST; Thu, 23 Dec 2004 16:56:13 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: kdegraphics: FTBFS (amd64/gcc-4.0): cast from 'KIconEdit*' to 'int' loses precision
Message-Id: <E1ChVK1-0000FG-ST@localhost.localdomain>
Date: Thu, 23 Dec 2004 16:56:13 +0100
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: kdegraphics
Severity: normal
Tags: patch

When building 'kdegraphics' on amd64 with gcc-4.0,
I get the following error:

if g++ -DHAVE_CONFIG_H -I. -I../../kiconedit -I.. -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 -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kiconedit.all_cpp.o -MD -MP -MF ".deps/kiconedit.all_cpp.Tpo" -c -o kiconedit.all_cpp.o kiconedit.all_cpp.cpp; \
then mv -f ".deps/kiconedit.all_cpp.Tpo" ".deps/kiconedit.all_cpp.Po"; else rm -f ".deps/kiconedit.all_cpp.Tpo"; exit 1; fi
../../kiconedit/kiconedit.cpp: In destructor 'virtual KIconEdit::~KIconEdit()':
../../kiconedit/kiconedit.cpp:154: error: cast from 'KIconEdit*' to 'int' loses precision
make[4]: *** [kiconedit.all_cpp.o] Error 1
make[4]: Leaving directory `/kdegraphics-3.3.1/obj-x86_64-linux/kiconedit'

With the attached patch 'kdegraphics' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/kdegraphics-3.3.1/kiconedit/kiconedit.cpp ./kiconedit/kiconedit.cpp
--- ../tmp-orig/kdegraphics-3.3.1/kiconedit/kiconedit.cpp	2004-06-26 12:12:52.000000000 +0200
+++ ./kiconedit/kiconedit.cpp	2004-12-23 15:10:46.564933128 +0100
@@ -151,7 +151,7 @@
 
 KIconEdit::~KIconEdit()
 {
-    kdDebug(4640) << "Deleting KIconEdit: " << (int)this << endl;
+    kdDebug(4640) << "Deleting KIconEdit: " << (long)this << endl;
     windowList.remove(this);
 
     if (windowList.count() < 1)

---------------------------------------
Received: (at 287007-close) by bugs.debian.org; 30 Aug 2005 14:38:38 +0000
>From katie@spohr.debian.org Tue Aug 30 07:38:38 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EA79j-0001lq-00; Tue, 30 Aug 2005 07:32:07 -0700
From: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
To: 287007-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#287007: fixed in kdegraphics 4:3.4.2-1
Message-Id: <E1EA79j-0001lq-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Tue, 30 Aug 2005 07:32:07 -0700
Delivered-To: 287007-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: kdegraphics
Source-Version: 4:3.4.2-1

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

kamera_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kamera_3.4.2-1_i386.deb
kcoloredit_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kcoloredit_3.4.2-1_i386.deb
kdegraphics-dev_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kdegraphics-dev_3.4.2-1_i386.deb
kdegraphics-doc-html_3.4.2-1_all.deb
  to pool/main/k/kdegraphics/kdegraphics-doc-html_3.4.2-1_all.deb
kdegraphics-kfile-plugins_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kdegraphics-kfile-plugins_3.4.2-1_i386.deb
kdegraphics_3.4.2-1.diff.gz
  to pool/main/k/kdegraphics/kdegraphics_3.4.2-1.diff.gz
kdegraphics_3.4.2-1.dsc
  to pool/main/k/kdegraphics/kdegraphics_3.4.2-1.dsc
kdegraphics_3.4.2-1_all.deb
  to pool/main/k/kdegraphics/kdegraphics_3.4.2-1_all.deb
kdegraphics_3.4.2.orig.tar.gz
  to pool/main/k/kdegraphics/kdegraphics_3.4.2.orig.tar.gz
kdvi_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kdvi_3.4.2-1_i386.deb
kfax_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kfax_3.4.2-1_i386.deb
kgamma_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kgamma_3.4.2-1_i386.deb
kghostview_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kghostview_3.4.2-1_i386.deb
kiconedit_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kiconedit_3.4.2-1_i386.deb
kmrml_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kmrml_3.4.2-1_i386.deb
kolourpaint_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kolourpaint_3.4.2-1_i386.deb
kooka_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kooka_3.4.2-1_i386.deb
kpdf_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kpdf_3.4.2-1_i386.deb
kpovmodeler_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kpovmodeler_3.4.2-1_i386.deb
kruler_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kruler_3.4.2-1_i386.deb
ksnapshot_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/ksnapshot_3.4.2-1_i386.deb
ksvg_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/ksvg_3.4.2-1_i386.deb
kuickshow_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kuickshow_3.4.2-1_i386.deb
kview_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kview_3.4.2-1_i386.deb
kviewshell_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/kviewshell_3.4.2-1_i386.deb
libkscan-dev_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/libkscan-dev_3.4.2-1_i386.deb
libkscan1_3.4.2-1_i386.deb
  to pool/main/k/kdegraphics/libkscan1_3.4.2-1_i386.deb



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

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

Debian distribution maintenance software
pp.
Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> (supplier of updated kdegraphics 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 30 Aug 2005 13:30:37 +0200
Source: kdegraphics
Binary: kdegraphics-kfile-plugins ksnapshot kviewshell kghostview libkscan-dev kruler kcoloredit kamera kdegraphics-dev libkscan1 kview kdegraphics-doc-html kpdf ksvg kdvi kiconedit kfax kuickshow kooka kdegraphics kolourpaint kmrml kgamma kpovmodeler
Architecture: source i386 all
Version: 4:3.4.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Description: 
 kamera     - digital camera io_slave for Konquerer
 kcoloredit - a color palette editor and color picker for KDE
 kdegraphics - graphics apps from the official KDE release
 kdegraphics-dev - development files for the KDE graphics module
 kdegraphics-doc-html - KDE graphics documentation in HTML format
 kdegraphics-kfile-plugins - KDE metainfo plugins for graphic files
 kdvi       - dvi viewer for KDE
 kfax       - G3/G4 fax viewer for KDE
 kgamma     - gamma correction module for the KDE Control Center
 kghostview - PostScript viewer for KDE
 kiconedit  - an icon editor for KDE
 kmrml      - a Konqueror plugin for searching pictures
 kolourpaint - a simple paint program for KDE
 kooka      - scanner program for KDE
 kpdf       - PDF viewer for KDE
 kpovmodeler - a graphical editor for povray scenes
 kruler     - a screen ruler and color measurement tool for KDE
 ksnapshot  - screenshot utility for KDE
 ksvg       - SVG viewer for KDE
 kuickshow  - KDE image/slideshow viewer
 kview      - simple image viewer/converter for KDE
 kviewshell - generic framework for viewer applications in KDE
 libkscan-dev - development files for the KDE scanner library
 libkscan1  - scanner library for KDE
Closes: 287007 322458
Changes: 
 kdegraphics (4:3.4.2-1) unstable; urgency=low
 .
   * New upstream release.
 .
   * Bugs reported in the Debian BTS fixed by this release:
 .
     - kpdf temp file writing DoS vulnerability, closes: #322458
     - FTBFS in amd64 with gcc4, closes: #287007
 .
   +++ Changes by Christopher Martin:
 .
   * Remove 07_xlibs-static-pic.diff and the xlibs-static-pic build-dependency,
     and add a build-dependency on libxxf86vm-dev, for the X.Org transition.
Files: 
 12f5d01ccfe8ccf8f95dcebf635d0964 1428 kde optional kdegraphics_3.4.2-1.dsc
 0116dd38ec4df585119b07f0a6d36633 8122589 kde optional kdegraphics_3.4.2.orig.tar.gz
 5eb5f6e092970327dbdde0605d1e6071 236040 kde optional kdegraphics_3.4.2-1.diff.gz
 640407d12013eb443d0777ac5f878857 17668 kde optional kdegraphics_3.4.2-1_all.deb
 cee1cd0c00c66a15206454f0072ba4cc 142812 doc optional kdegraphics-doc-html_3.4.2-1_all.deb
 77c5a78bd15103bc55788b8b33c481a1 84900 graphics optional kamera_3.4.2-1_i386.deb
 5d9b316e3578cdc9ccb66e9ac196c5ef 99410 graphics optional kcoloredit_3.4.2-1_i386.deb
 d4084b5c17b9f99a7c04b45947156700 65784 devel optional kdegraphics-dev_3.4.2-1_i386.deb
 963e04920ffcdabd3016742f93410765 222930 kde optional kdegraphics-kfile-plugins_3.4.2-1_i386.deb
 6e31f1a92b8bf7ce16bd374499276299 509418 graphics optional kdvi_3.4.2-1_i386.deb
 36a112a30cbee2ccae4b0a5f1fda6c68 148220 graphics optional kfax_3.4.2-1_i386.deb
 e0c804c7f7bbd4989d082d0ef27ff547 76722 graphics optional kgamma_3.4.2-1_i386.deb
 cee3421a25bbeba4c174bb91cb48adee 226892 graphics optional kghostview_3.4.2-1_i386.deb
 b38509d7e08b6d1737ce89af3b7d9f44 138724 graphics optional kiconedit_3.4.2-1_i386.deb
 7887e9bb1b553194f6801cca4359b1da 214334 kde optional kmrml_3.4.2-1_i386.deb
 c2735313b7d5193d8e084718371e100a 774418 graphics optional kolourpaint_3.4.2-1_i386.deb
 467a063dd1c866ae8ab5efce86c1f6ee 752080 graphics optional kooka_3.4.2-1_i386.deb
 7ee78bd425681cb94ce5a1ec1efd6f3d 620806 graphics optional kpdf_3.4.2-1_i386.deb
 aad11dd5ae1ae37caedccc5b40ec5a82 2172638 graphics optional kpovmodeler_3.4.2-1_i386.deb
 a8585e8e96b63d12822cdad38e50f8d0 63638 graphics optional kruler_3.4.2-1_i386.deb
 f9bf06ab5f55f176f2ea27f054447e26 141192 graphics optional ksnapshot_3.4.2-1_i386.deb
 6903d4637b77b1a91995817cbf240bfb 1199618 graphics optional ksvg_3.4.2-1_i386.deb
 4ea4f1c973da23bd394e09eb56370d6d 470066 graphics optional kuickshow_3.4.2-1_i386.deb
 0f266e3647744060cccec1b9d683b7e8 655460 graphics optional kview_3.4.2-1_i386.deb
 0bc99505b270e4144b8842fc48cc0b44 245274 graphics optional kviewshell_3.4.2-1_i386.deb
 0a977ea28d33542cc027f65b62cdb33f 17498 libdevel optional libkscan-dev_3.4.2-1_i386.deb
 a312d401c7b9efbe855f4fb3d5c91f51 128728 libs optional libkscan1_3.4.2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Isaac Clerencia <isaac@warp.es>

iD8DBQFDFGvoQET2GFTmct4RAuBaAJsEK3o9ul1+cuAzqbpalCvMXGyfFACgrTQr
HeUfcdBSfLYnOp0bt1rh/dU=
=0rem
-----END PGP SIGNATURE-----



Reply to: