View previous topic :: View next topic |
Author |
Message |
paradigm-X Apprentice
Joined: 19 Sep 2013 Posts: 168
|
Posted: Tue Feb 04, 2014 3:20 pm Post subject: emerge help2man fails with 'nls' flag |
|
|
No matter which way I tried or which version of program, trying to emerge help2man failed. Looking at the snippets of error message, it looked like "native language support" option was the cause. I tried it without this flag, and it worked fine. I double checked to make sure my locale config was properly set, and it was. So something is clearly wrong with that code in help2man. |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Wed Feb 05, 2014 9:33 am Post subject: |
|
|
Please post the full error message (last 20-30 lines). |
|
Back to top |
|
|
Maffblaster Developer
Joined: 01 May 2007 Posts: 70 Location: Spokane, Washington, USA
|
Posted: Mon Feb 10, 2014 4:49 pm Post subject: Help2man fails to compile |
|
|
I'm having the same issue and could use some help with it. Help2man fails to compile either way. I've tried to build it with and without nls.
Here's the output of emerge --info '=sys-apps/help2man-1.44.1::gentoo'
Quote: |
Portage 2.2.8 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.18-r1, 3.8.13-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-AMD_Turion-tm-_64_Mobile_Technology_ML-32-with-gento o-2.2
KiB Mem: 958076 total, 216852 free
KiB Swap: 1987580 total, 1956796 free
Timestamp of tree: Mon, 10 Feb 2014 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash: 4.2_p45-r1
dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3
dev-util/ccache: 3.1.9-r3
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.69
sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils: 2.24-r2
sys-devel/gcc: 4.7.3-r1, 4.8.2
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe":j
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc /php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-activ e/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/ http://gent oo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compr ess --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="Python3_3 acl amd64 apache2 berkdb bindist bzip2 cli cracklib crypt cxx dri fontconfig f ortran fpm gd gdbm iconv imap ipv6 jpeg mariadb mmx modules multilib mysql ncurses nls nptl o penmp pam pcre pdo php php5 png readline session sockets sse sse2 ssl tcpd truetype unicode v hosts wordpress xslt zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maes tro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core s ocache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default au thn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache f ilter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite set envif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words f low plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS=" df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserve r oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INP UT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd4 4780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-m inimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="pyth on2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO _CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p ifa ce geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos ac count"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND
|
And emerge -pqv '=sys-apps/help2man-1.44.1::gentoo'
Quote: |
* Package: sys-apps/help2man-1.44.1
* Repository: gentoo
* Maintainer: base-system@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib nls userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking help2man-1.44.1.tar.xz to /var/tmp/portage/sys-apps/help2man-1.44.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/help2man-1.44.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/help2man-1.44.1/work/help2man-1.44.1 ...
* Applying help2man-1.36.4-respect-LDFLAGS.patch ... [ ok ]
* Applying help2man-1.38.4-linguas.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/help2man-1.44.1/work/help2man-1.44.1 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls
checking for perl... perl
checking for module Locale::gettext... no
checking for msgfmt... /usr/bin/msgfmt
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for library containing dlsym... -ldl
checking for library containing bindtextdomain... none required
configure: error: perl module Locale::gettext required
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/help2man-1.44.1/work/help2man-1.44.1/config.log
* ERROR: sys-apps/help2man-1.44.1::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 1818: Called econf '--enable-nls'
* phase-helpers.sh, line 584: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=sys-apps/help2man-1.44.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/help2man-1.44.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/help2man-1.44.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/help2man-1.44.1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/help2man-1.44.1/work/help2man-1.44.1'
* S: '/var/tmp/portage/sys-apps/help2man-1.44.1/work/help2man-1.44.1'
|
I have not the slightest what's going here, but would be very thankful for your help. I'd like to have this computer as up to date as possible.
Thanks a million! |
|
Back to top |
|
|
Maffblaster Developer
Joined: 01 May 2007 Posts: 70 Location: Spokane, Washington, USA
|
Posted: Mon Feb 10, 2014 7:26 pm Post subject: [Solved] Help2man fails to compile |
|
|
I asked for help in the main Gentoo IRC channel Code: | irc.gentoo.org #gentoo | .
A nice guy there named K_F told me to run .
After I did that Help2man compiled. My issue is fixed! Thank you, K_F! |
|
Back to top |
|
|
paradigm-X Apprentice
Joined: 19 Sep 2013 Posts: 168
|
Posted: Thu Feb 13, 2014 4:09 pm Post subject: |
|
|
> "perl-cleaner --all"
When I did this procedure, it finished apparently without errors, but I got this message at the end:
"Finding left-over modules and header
"The following files remain. These were either installed by hand
or edited. This script cannot deal with them:
/usr/lib64/perl5/vendor_perl/5.12.4/XML/SAX/ParserDetails.ini
/usr/lib64/perl5/5.12.4/x86_64-linux/Encode/ConfigLocal.pm"
------------------
I surely do not recall installing or editing either of these, but they might have "come along for the ride" with something else I did. In any case, it seems like I should now do something else with them for maintenance.
Hopefully, someone can point me in the right direction in this regard because I have no clue how to fix them. |
|
Back to top |
|
|
Maffblaster Developer
Joined: 01 May 2007 Posts: 70 Location: Spokane, Washington, USA
|
Posted: Thu Feb 13, 2014 5:00 pm Post subject: emerge Help2man |
|
|
paradigm-X, are you now able to emerge Help2man? Did work for you? |
|
Back to top |
|
|
paradigm-X Apprentice
Joined: 19 Sep 2013 Posts: 168
|
Posted: Thu Feb 13, 2014 5:12 pm Post subject: |
|
|
>> "it looked like 'native language support' option was the cause. I tried it without this flag, and it worked fine."
> "...are you now able to emerge Help2man?"
Maffblaster, yes, see above in my first post. Even so, using the perl command you pointed out was helpful in cleaning up over 100 files. Thanks. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|