Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 520194

Summary: =app-misc/scrub-2.5.2 with sys-devel/clang-3.4.2 - ?
Product: Gentoo Linux Reporter: Fabio Scaccabarozzi <fsvm88>
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/chaos/scrub/commit/312af6dc3baad26102ed5c427351215f2b68ffaf
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    

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.