Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520194 - =app-misc/scrub-2.5.2 with sys-devel/clang-3.4.2 - ?
Summary: =app-misc/scrub-2.5.2 with sys-devel/clang-3.4.2 - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL: https://github.com/chaos/scrub/commit...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2014-08-18 16:24 UTC by Fabio Scaccabarozzi
Modified: 2014-11-04 10:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Scaccabarozzi 2014-08-18 16:24:22 UTC
=app-misc/scrub-2.5.2 fails to build with clang-3.4.2 because of a non-void function not returning a value.


Reproducible: Always

Steps to Reproduce:
1. CC="clang" CXX="clang++" emerge -1 =app-misc/scrub-2.5.2
2.
3.
Actual Results:  
The compilation fails.

Expected Results:  
Compilation should succeed.

The patch at the URL fixes the issue, it was merged upstream right after the 2.5.2 release.
Applying the patch makes the build succeed and tests pass with clang-3.4.2.
Tests fine with GCC 4.8.3 also.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-11-04 10:14:10 UTC
+*scrub-2.6.1 (04 Nov 2014)
+
+  04 Nov 2014; Michał Górny <mgorny@gentoo.org> +scrub-2.6.1.ebuild:
+  Version bump. Contains a fix for bug #520194.

In case 2.6 is too new for somebody, please let us know and we can get a 2.5.3 that contains the fix as well.