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

Bug 427318

Summary: dev-libs/popt fails tests with clang-3.1-r4
Product: Gentoo Linux Reporter: Fabio Scaccabarozzi <fsvm88>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, ryao
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: emerge fail log

Description Fabio Scaccabarozzi 2012-07-20 12:55:58 UTC
Created attachment 318716 [details]
emerge fail log

dev-libs/popt fails tests with clang-3.1-r4
Comment 1 Fabio Scaccabarozzi 2012-10-08 15:27:54 UTC
This bug does not show up when clang-3.1-r5 is used, 3.1-r4 makes the tests fail.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-10-08 16:17:48 UTC
(In reply to comment #1)
> This bug does not show up when clang-3.1-r5 is used, 3.1-r4 makes the tests
> fail.

Er, weird/semi-random. -r5 practically only adds additional targets, unless I'm missing something...
Comment 3 Fabio Scaccabarozzi 2012-10-08 17:28:56 UTC
I agree that is weird or semi-random given the failure output, however, in order to be sure, I checked again inside the VM and on my host system too.
In both cases when clang-r4 is used tests fail with error almost identical to the emerge log already attached (my host now fails at test 59 with clang-r4 instead of 58). When clang-r5 is used, there is no error on either system.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-10-08 17:39:54 UTC
(In reply to comment #3)
> I agree that is weird or semi-random given the failure output, however, in
> order to be sure, I checked again inside the VM and on my host system too.
> In both cases when clang-r4 is used tests fail with error almost identical
> to the emerge log already attached (my host now fails at test 59 with
> clang-r4 instead of 58). When clang-r5 is used, there is no error on either
> system.

Well, for me -r5 fails on test 58 ;).
Comment 5 Fabio Scaccabarozzi 2012-10-09 15:26:37 UTC
Uhm... retested again on host system, bootstrapped again clang and llvm with themselves twice and did testing, this part went fine - no failures.
-r4 fails tests.
Tested popt with clang-3.1-r5, compiles and tests pass.
Now the interesting/funny part: tested popt with -r5 outside of portage - manually reproducing the steps of portage in a folder... and it fails at test 58. I don't know what/where to look now :-/
Consider that I use an ~amd64 system for testing, if there's any further info I can provide I will. I use sane C/LDFLAGS btw.
Comment 6 Bernard Cafarelli gentoo-dev 2014-01-30 19:48:48 UTC
Tests pass fine here on ~amd64 with clang 3.4, marking fixed then :) Don't hesitate to reopen if you still have the problem