Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546154 - =sys-devel/llvm-3.5.0: build error: "invalid native target: 'x86'"
Summary: =sys-devel/llvm-3.5.0: build error: "invalid native target: 'x86'"
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-10 10:02 UTC by Jan Notka
Modified: 2018-03-29 07:52 UTC (History)
3 users (show)

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


Attachments
fix for parser.read() in llvmbuild.componentinfo (config_parser_read.patch,451 bytes, patch)
2015-04-10 10:03 UTC, Jan Notka
Details | Diff
emerge --info (info,7.65 KB, text/plain)
2015-04-10 10:06 UTC, Jan Notka
Details

Note You need to log in before you can comment on or make changes to this bug.
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.