Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559134 - >=sys-devel/llvm-3.7.0_rc3 multilib-strict check failed
Summary: >=sys-devel/llvm-3.7.0_rc3 multilib-strict check failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 00:06 UTC by Mark Wright
Modified: 2015-09-02 09:53 UTC (History)
1 user (show)

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


Attachments
build.log continued with FEATURES='-noclean -multilib-strict' (build.log.bz2,138.57 KB, application/x-bzip)
2015-08-30 00:08 UTC, Mark Wright
Details
emerge --info =sys-devel/llvm-3.7.0_rc3 (emerge-info.log,7.89 KB, text/x-log)
2015-08-30 00:09 UTC, Mark Wright
Details
Proposed patch (llvm-3.7.0_rc3-ocaml-multilib.patch,1.82 KB, patch)
2015-08-30 11:02 UTC, Mark Wright
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wright gentoo-dev 2015-08-30 00:06:43 UTC
Files matching a file type that is not allowed:
   usr/lib/ocaml/dllllvm_bitwriter.so
   usr/lib/ocaml/dllllvm_executionengine.so
   usr/lib/ocaml/dllllvm_ipo.so
   usr/lib/ocaml/dllllvm_scalar_opts.so
   usr/lib/ocaml/dllllvm_passmgr_builder.so
   usr/lib/ocaml/dllllvm_all_backends.so
   usr/lib/ocaml/dllllvm_CppBackend.so
   usr/lib/ocaml/dllllvm_linker.so
   usr/lib/ocaml/dllllvm_analysis.so
   usr/lib/ocaml/dllllvm_bitreader.so
   usr/lib/ocaml/dllllvm_irreader.so
   usr/lib/ocaml/dllllvm.so
   usr/lib/ocaml/dllllvm_X86.so
   usr/lib/ocaml/dllllvm_transform_utils.so
   usr/lib/ocaml/dllllvm_target.so
   usr/lib/ocaml/dllllvm_vectorize.so

Note in build.log the emerge failed with the multilib-strict test, which I
then continued with:

FEATURES='noclean -multilib-strict' ebuild /usr/portage/sys-devel/llvm/llvm-3.7.0_rc3.ebuild merge
Comment 1 Mark Wright gentoo-dev 2015-08-30 00:08:27 UTC
Created attachment 410582 [details]
build.log continued with FEATURES='-noclean -multilib-strict'
Comment 2 Mark Wright gentoo-dev 2015-08-30 00:09:02 UTC
Created attachment 410584 [details]
emerge --info =sys-devel/llvm-3.7.0_rc3
Comment 3 Mark Wright gentoo-dev 2015-08-30 11:02:38 UTC
Created attachment 410600 [details, diff]
Proposed patch

The patch (by me) changes the ocaml library install directory
from /usr/lib/ocaml to /usr/lib64/ocaml on ~amd64.
It should also work on other arches, I have only tested
it on ~amd64.
The installed ocaml libraries have strange names like:
/usr/lib64/ocaml/dllllvm_vectorize.so
I am unsure if this is normal or not.
I have not tested if these ocaml installed libraries are useable
or not.
Comment 4 Bernard Cafarelli gentoo-dev 2015-09-01 21:42:15 UTC
Thanks for looking into it :) I am testing a final 3.7.0 build, the changes look fine so I'll add your patch at the same time (this could probably be upstreamed too)

As for the naming, well other llvm packages name it the same way, so I can only guess they are correct.
Comment 5 Bernard Cafarelli gentoo-dev 2015-09-02 09:53:51 UTC
Added in 3.7.0 (and live ebuild too), thanks for both of your fixes :)