1 |
On Sat, 7 Feb 2015 12:34:31 +0000 |
2 |
Joakim Tjernlund <joakim.tjernlund@×××××××××.se> wrote: |
3 |
|
4 |
> X compiling sys-libs/pam with USE="berkdb cracklib" will fail as both |
5 |
> berkdb and cracklib installs .la files which points to the hosts |
6 |
> sysroot |
7 |
> |
8 |
> AFAIK this problem is caused by libtool not being informed about the |
9 |
> new sysroot. |
10 |
> |
11 |
> Adjusting sys-libs/pam ebuild: |
12 |
> --- pam-1.1.8-r2.ebuild.org 2015-02-07 13:27:55.956949334 +0100 |
13 |
> +++ pam-1.1.8-r2.ebuild 2015-02-07 13:30:05.171420033 +0100 |
14 |
> @@ -4,7 +4,7 @@ |
15 |
> |
16 |
> EAPI=5 |
17 |
> |
18 |
> -inherit libtool multilib multilib-minimal eutils pam toolchain-funcs |
19 |
> flag-o-matic db-use +inherit autotools libtool multilib |
20 |
> multilib-minimal eutils pam toolchain-funcs flag-o-matic db-use |
21 |
> MY_PN="Linux-PAM" |
22 |
> MY_P="${MY_PN}-${PV}" |
23 |
> @@ -92,7 +92,8 @@ |
24 |
> src_prepare() { |
25 |
> epatch "${FILESDIR}"/${PN}-1.1.8-doc-install.patch #473650 |
26 |
> |
27 |
> - elibtoolize |
28 |
> + #Regenerate libtool files as it is too old for sysroot support |
29 |
> + eautoreconf |
30 |
> } |
31 |
> |
32 |
> multilib_src_configure() { |
33 |
> @@ -115,6 +116,7 @@ |
34 |
> $(use_enable nis) |
35 |
> --with-db-uniquename=-$(db_findver sys-libs/db) |
36 |
> --disable-prelude |
37 |
> + --with-sysroot=yes |
38 |
> ) |
39 |
> |
40 |
> will make the X compile succeed. |
41 |
> |
42 |
> I think it could be a good idea to have econf add --with-sysroot=yes |
43 |
> automatically when cross building. Comments? |
44 |
> |
45 |
> Jocke |
46 |
|
47 |
Sorry, but this list is for portage, the package manager development, |
48 |
not portage tree ebuilds. I have been trying to get people to refer to |
49 |
the tree as the gentoo tree (same as the repo name) to help avoid this |
50 |
confusion. |
51 |
|
52 |
This should be submitted to bugzilla, where it will be assigned to the |
53 |
pam maintainer. |
54 |
|
55 |
-- |
56 |
Brian Dolbec <dolsen> |