Bug 222542 - Skanlite FTBFS with upcoming GCC 4.5 [PATCH INCLUDED]
Summary: Skanlite FTBFS with upcoming GCC 4.5 [PATCH INCLUDED]
Status: RESOLVED FIXED
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 14:45 UTC by Kai Wb.
Modified: 2010-01-13 21:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fixes an FTBFS with GCC 4.5 (1007 bytes, patch)
2010-01-13 14:52 UTC, Kai Wb.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Wb. 2010-01-13 14:45:45 UTC
Version:           0.3-kde4.3.1 (using KDE 4.3.4)
Compiler:          GCC-4.5 20100107 Compiler packages can be obtained from http://people.debian.org/~doko/archive/
OS:                Linux
Installed from:    Debian testing/unstable Packages

I'm the Debian maintainer of the Skanlite package and received the following bug report:
/----------------------------------------------------------------------
| The package fails to build in a test rebuild on at least amd64 with
| gcc-4.5/g++-4.5, but succeeds to build with gcc-4.4/g++-4.4.
| For the compiler version used, see:
| http://lists.debian.org/debian-devel/2010/01/msg00230.html
|
| The full build log can be found at:
| http://people.debian.org/~lucas/logs/2010/01/08b/skanlite_0.3-kde4.3.1-2_lsid64b.buildlog
| The last lines of the build log are cwat the end of this report.
\----------------------------------------------------------------------

The failure is due to PR c++/42415. A patch is available from the Debian bug report #565096 (<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565096>)
Comment 1 Kai Wb. 2010-01-13 14:52:27 UTC
Created attachment 39841 [details]
Fixes an FTBFS with GCC 4.5

See the patch header for further details, the latest version can be obtained from <http://svn.debian.org/wsvn/pkg-kde/kde-extras/skanlite/trunk/debian/patches/fix_ftbfs_gcc-4.5.patch>
Comment 2 Kåre Särs 2010-01-13 20:23:41 UTC
SVN commit 1074275 by sars:

Thanks for the patch, patch applied.

BUG:222542

 M  +2 -2      skanlite.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1074275
Comment 3 Pino Toscano 2010-01-13 20:27:18 UTC
(Please note that my r1073188 or two days ago already fixed the issue.)
Comment 4 Kai Wb. 2010-01-13 20:33:10 UTC
(In reply to comment #3)
Sorry Pino, I totally overlooked your „fixed-upstream“ tag as I had issues with my internet connection an only an not up-to-date version of the Debian bug report open in my browser.

(In reply to comment #2 and comment #3)
First: thanks for the quick response!
Second: which solution would be the better one? I'm happy to use Pino's until a new Skanlite release is available.

Kind regards,
Kai Wasserbäch
Comment 5 Kåre Särs 2010-01-13 21:49:03 UTC
SVN commit 1074306 by sars:

Revert unneeded fix

CCBUG:222542

Sorry, I did not check what the original error was, shame on me :)

Thanks Pino for fixing the original bug (and for pointing out my mistake)

 M  +2 -2      skanlite.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1074306