Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709532 - sys-libs/pam-1.3.1-r1: fails due to sys-devel/gettext dependency even with USE=nls disabled
Summary: sys-libs/pam-1.3.1-r1: fails due to sys-devel/gettext dependency even with US...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-13 22:25 UTC by Zac Medico
Modified: 2020-03-15 18:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2020-02-13 22:25:27 UTC
>  * Package:    sys-libs/pam-1.3.1-r1
>  * Repository: gentoo
>  * Maintainer: zlogene@gentoo.org
>  * USE:        abi_x86_64 amd64 cracklib elibc_glibc filecaps kernel_linux pie split-usr userland_GNU
>  * FEATURES:   network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
> >>> Unpacking source...
> >>> Unpacking pam-1.3.1.tar.gz to /var/tmp/portage/sys-libs/pam-1.3.1-r1/work
> >>> Source unpacked in /var/tmp/portage/sys-libs/pam-1.3.1-r1/work
> >>> Preparing source in /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1 ...
>  * Applying pam-remove-browsers.patch ...
>  [ ok ]
>  * Running eautoreconf in '/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1' ...
>  * Skipping 'autopoint --force' due autopoint not installed
>  * Running libtoolize --install --copy --force --automake ...
>  [ ok ]
>  * Running aclocal -I m4 ...
>  [ ok ]
>  * Running autoconf --force ...
>  [ !! ]
> 
>  * Failed Running autoconf !
>  *
>  * Include in your bugreport the contents of:
>  *
>  *   /var/tmp/portage/sys-libs/pam-1.3.1-r1/temp/autoconf.out
> 
>  * ERROR: sys-libs/pam-1.3.1-r1::gentoo failed (prepare phase):
>  *   Failed Running autoconf !
>  *
>  * Call stack:
>  *     ebuild.sh, line  125:  Called src_prepare
>  *   environment, line 2473:  Called eautoreconf
>  *   environment, line  960:  Called eautoconf '--force'
>  *   environment, line  873:  Called autotools_run_tool '--at-m4flags' 'autoconf' '--force'
>  *   environment, line  587:  Called die
>  * The specific snippet of code:
>  *           die "Failed Running $1 !";
>  *
>  * If you need support, post the output of `emerge --info '=sys-libs/pam-1.3.1-r1::gentoo'`,
>  * the complete build log and the output of `emerge -pqv '=sys-libs/pam-1.3.1-r1::gentoo'`.
>  * The complete build log is located at '/var/tmp/portage/sys-libs/pam-1.3.1-r1/temp/build.log'.
>  * The ebuild environment file is located at '/var/tmp/portage/sys-libs/pam-1.3.1-r1/temp/environment'.
>  * Working directory: '/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1'
>  * S: '/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1'
> 
> # cat /var/tmp/portage/sys-libs/pam-1.3.1-r1/temp/autoconf.out
> ***** autoconf *****
> ***** PWD: /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1
> ***** autoconf --force
> 
> configure.ac:564: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:565: error: possibly undefined macro: AM_GNU_GETTEXT
> # emerge -vp --nodeps sys-libs/pam                                                                                                                                                                                              
> 
> These are the packages that would be merged, in order:
> 
> [ebuild  N     ] sys-libs/pam-1.3.1-r1::gentoo  USE="cracklib filecaps pie (split-usr) -audit -berkdb -debug -nis -nls (-selinux) -static-libs" 0 KiB                                                                                                        
> 
> Total: 1 package (1 new), Size of downloads: 0 KiB
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-02-14 07:51:49 UTC
Nice catch, looks like gettext dep has been shipped unconditionally for a very long time.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-15 18:29:27 UTC
fixed as fe2a689e19a7a822945088f9353dcd8344a21e2a
Comment 3 Larry the Git Cow gentoo-dev 2020-03-15 18:36:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e0726ba5650061c9529e00ceceb700add9b25f

commit 80e0726ba5650061c9529e00ceceb700add9b25f
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-03-15 18:26:40 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-03-15 18:36:23 +0000

    sys-libs/pam: make gettext no-op
    
    There is no nls use flag at all.
    
    Closes: https://bugs.gentoo.org/709532
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 sys-libs/pam/{pam-1.3.1-r1.ebuild => pam-1.3.1-r2.ebuild}     | 11 +++++------
 ...m-1.3.1_p20200128.ebuild => pam-1.3.1_p20200128-r1.ebuild} | 11 +++++------
 2 files changed, 10 insertions(+), 12 deletions(-)