[llvm-bugs] [Bug 25975] New: OpenMP: message-converter.pl does wrong assumptions about lsb-release and fails on Gentoo
llvm-bugs at lists.llvm.org
Wed Dec 30 10:04:00 PST 2015
Bug ID: 25975
Summary: OpenMP: message-converter.pl does wrong assumptions
about lsb-release and fails on Gentoo
Component: Runtime Library
Assignee: unassignedbugs at nondot.org
Reporter: mgorny at gentoo.org
CC: llvm-bugs at lists.llvm.org
[ 2%] Generating kmp_i18n_id.inc
message-converter.pl: (x) /etc/lsb-release: There is no DISTRIB_RELEASE:
message-converter.pl: (x) DISTRIB_ID="Gentoo"
message-converter.pl: (x) (eof)
Compilation failed in require at /tmp/openmp/runtime/tools/lib/Platform.pm line
BEGIN failed--compilation aborted at /tmp/openmp/runtime/tools/lib/Platform.pm
Compilation failed in require at /tmp/openmp/runtime/tools/message-converter.pl
BEGIN failed--compilation aborted at
/tmp/openmp/runtime/tools/message-converter.pl line 24.
runtime/src/CMakeFiles/libomp-needed-headers.dir/build.make:62: recipe for
target 'runtime/src/kmp_i18n_id.inc' failed
Long story short, runtime/tools/lib/Uname.pm wrongfully assumes
/etc/lsb-release is going to contain a specific set of useful information. More
1. if LSB_VERSION is missing, the script must not assume anything specific
about the file since it's not compliant,
2. even if it is there, all the checked keys are *optional*.
So, the script must not really refuse a system just because lsb-release doesn't
match what Ubuntu uses. Relying on that goes completely against the spirit of
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs