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

Bug 546154

Summary: =sys-devel/llvm-3.5.0: build error: "invalid native target: 'x86'"
Product: Gentoo Linux Reporter: Jan Notka <thepsyjo>
Component: [OLD] LibraryAssignee: LLVM support project <llvm>
Status: RESOLVED OBSOLETE    
Severity: major CC: mgorny, mike, thepsyjo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://llvm.org/bugs/show_bug.cgi?id=23188
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix for parser.read() in llvmbuild.componentinfo
emerge --info

Description Jan Notka 2015-04-10 10:02:05 UTC
Hi,

while building llvm i got the message

llvm-build: error: invalid native target: 'x86'

all the time. In the end, LibraryDependencies.inc was missing and the build failed.

My environment:
  Gentoo default/linux/amd64/13.0
  python-2.7 (default)
  all packages are more or less not older than 2 months

I tracked it down to the RawConfigParser which is not used properly:
    parser.read(path)  <-  expects a list of file_names not a string

https://docs.python.org/2/library/configparser.html#ConfigParser.RawConfigParser.read

This bug is also filed in the LLVM bugtracker.



Reproducible: Always

Steps to Reproduce:
1. emerge -1 llvm
Actual Results:  
 LibraryDependencies.inc: No such file or directory


Expected Results:  
Successful build
Comment 1 Jan Notka 2015-04-10 10:03:36 UTC
Created attachment 400950 [details, diff]
fix for parser.read() in llvmbuild.componentinfo
Comment 2 Jan Notka 2015-04-10 10:06:09 UTC
Created attachment 400952 [details]
emerge --info
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-29 07:52:42 UTC
We no longer support this version.