Summary: | sys-devel/llvm-3.3-r1 should depend on app-admin/chrpath | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Golubev <golubevsv> |
Component: | [OLD] Development | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | golubevsv, jospezial, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergey Golubev
2013-08-01 05:41:18 UTC
I'm, sorry. Installation of app-admin/chrpath solves this problem. Possibly, need to add app-admin/chrpath to dependencies of llvm? On yesterdays world update on my system at least one ebuild pulled chrpath in: 1375306076: ::: completed emerge (10 of 21) media-libs/libdvdread-4.2.0-r1 to / 1375306076: >>> emerge (11 of 21) app-admin/chrpath-0.13-r2 to / 1375306076: === (11 of 21) Cleaning (app-admin/chrpath-0.13-r2::/usr/portage/app-admin/chrpath/chrpath-0.13-r2.ebuild) 1375306076: === (11 of 21) Compiling/Merging (app-admin/chrpath-0.13-r2::/usr/portage/app-admin/chrpath/chrpath-0.13-r2.ebuild) 1375306108: === (11 of 21) Merging (app-admin/chrpath-0.13-r2::/usr/portage/app-admin/chrpath/chrpath-0.13-r2.ebuild) 1375306112: >>> AUTOCLEAN: app-admin/chrpath:0 1375306117: === (11 of 21) Post-Build Cleaning (app-admin/chrpath-0.13-r2::/usr/portage/app-admin/chrpath/chrpath-0.13-r2.ebuild) 1375306117: ::: completed emerge (11 of 21) app-admin/chrpath-0.13-r2 to / 1375306117: >>> emerge (12 of 21) media-libs/libdvdnav-4.2.0-r1 to / 1375306117: === (12 of 21) Cleaning (media-libs/libdvdnav-4.2.0-r1::/usr/portage/media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild) 1375306118: === (12 of 21) Compiling/Merging (media-libs/libdvdnav-4.2.0-r1::/usr/portage/media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild) 1375306154: === (12 of 21) Merging (media-libs/libdvdnav-4.2.0-r1::/usr/portage/media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild) 1375306158: >>> AUTOCLEAN: media-libs/libdvdnav:0 1375306158: === Unmerging... (media-libs/libdvdnav-4.2.0) 1375306163: >>> unmerge success: media-libs/libdvdnav-4.2.0 1375306169: === (12 of 21) Post-Build Cleaning (media-libs/libdvdnav-4.2.0-r1::/usr/portage/media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild) 1375306169: ::: completed emerge (12 of 21) media-libs/libdvdnav-4.2.0-r1 to / 1375306169: >>> emerge (13 of 21) net-analyzer/wireshark-1.10.1 to / 1375306169: === (13 of 21) Cleaning (net-analyzer/wireshark-1.10.1::/usr/portage/net-analyzer/wireshark/wireshark-1.10.1.ebuild) 1375306170: === (13 of 21) Compiling/Merging (net-analyzer/wireshark-1.10.1::/usr/portage/net-analyzer/wireshark/wireshark-1.10.1.ebuild) 1375307239: === (13 of 21) Merging (net-analyzer/wireshark-1.10.1::/usr/portage/net-analyzer/wireshark/wireshark-1.10.1.ebuild) 1375307249: >>> AUTOCLEAN: net-analyzer/wireshark:0 1375307249: === Unmerging... (net-analyzer/wireshark-1.10.0-r1) 1375307253: >>> unmerge success: net-analyzer/wireshark-1.10.0-r1 1375307259: === (13 of 21) Post-Build Cleaning (net-analyzer/wireshark-1.10.1::/usr/portage/net-analyzer/wireshark/wireshark-1.10.1.ebuild) 1375307259: ::: completed emerge (13 of 21) net-analyzer/wireshark-1.10.1 to / 1375307260: >>> emerge (14 of 21) sys-devel/llvm-3.3-r1 to / 1375307260: === (14 of 21) Cleaning (sys-devel/llvm-3.3-r1::/usr/portage/sys-devel/llvm/llvm-3.3-r1.ebuild) 1375307261: === (14 of 21) Compiling/Merging (sys-devel/llvm-3.3-r1::/usr/portage/sys-devel/llvm/llvm-3.3-r1.ebuild) 1375311454: === (14 of 21) Merging (sys-devel/llvm-3.3-r1::/usr/portage/sys-devel/llvm/llvm-3.3-r1.ebuild) 1375311470: >>> AUTOCLEAN: sys-devel/llvm:0 1375311470: === Unmerging... (sys-devel/llvm-3.3) 1375311475: >>> unmerge success: sys-devel/llvm-3.3 1375311482: === (14 of 21) Post-Build Cleaning (sys-devel/llvm-3.3-r1::/usr/portage/sys-devel/llvm/llvm-3.3-r1.ebuild) 1375311482: ::: completed emerge (14 of 21) sys-devel/llvm-3.3-r1 to / The ChangeLog doesn't state this, but apparently this DEPEND change was quietly introduced in CVS revision 1.3: --- llvm-3.3-r1.ebuild 28 Jul 2013 15:59:24 -0000 1.2 +++ llvm-3.3-r1.ebuild 30 Jul 2013 14:04:12 -0000 1.3 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.3-r1.ebuild,v 1.2 2013/07/28 15:59:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.3-r1.ebuild,v 1.3 2013/07/30 14:04:12 mgorny Exp $ EAPI=5 @@ -22,7 +22,8 @@ IUSE="clang debug doc gold kernel_FreeBSD +libffi multitarget ocaml python +static-analyzer test udis86 video_cards_radeon" -DEPEND="dev-lang/perl +DEPEND="app-admin/chrpath + dev-lang/perl >=sys-devel/make-3.79 >=sys-devel/flex-2.5.4 >=sys-devel/bison-1.875d [...] @@ -289,24 +268,18 @@ GENTOO_LIBDIR="$(get_libdir)" ) - local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH} - llvm_add_ldpath + emake "${mymakeopts[@]}" install - if multilib_is_native_abi; then - emake "${mymakeopts[@]}" install + # Fix rpaths. + chrpath -r "${EPREFIX}"/usr/$(get_libdir)/llvm \ + "${ED}"/usr/bin/* || die + if multilib_is_native_abi; then # Move files back. if path_exists -o "${ED}"/tmp/llvm-config.*; then mv "${ED}"/tmp/llvm-config.* "${ED}"/usr/bin || die fi else - # we need to install libs for llvm, then whole clang - # since libs-only omits clang dir - # and clang install-libs doesn't install headers and stuff - # (we build it anyway, so install is not a problem) - emake "${mymakeopts[@]}" install-libs - use clang && emake -C tools/clang "${mymakeopts[@]}" install - # Preserve ABI-variant of llvm-config, # then drop all the executables since LLVM doesn't like to # clobber when installing. And that's the same commit that adds use of chrpath. Did you use '--nodep' maybe, or did you find a bug in portage? |