Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 574356

Summary: www-client/lynx-2.8.8_p2 fails to configure, no NLS library packaged with this application
Product: Gentoo Linux Reporter: Michael Jones <gentoo>
Component: Current packagesAssignee: Sergei Trofimovich (RETIRED) <slyfox>
Severity: normal CC: musl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    

Description Michael Jones 2016-02-10 18:19:58 UTC
armv7a-hardfp-hardened-musl dev-libs # zcat /var/tmp/portage/www-client/lynx-2.8.8_p2/temp/build.log.gz
 * Package:    www-client/lynx-2.8.8_p2
 * Repository: gentoo
 * Maintainer:
 * USE:        arm elibc_musl ipv6 kernel_linux nls ssl unicode userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking lynx2.8.8rel.2.tar.bz2 to /var/tmp/portage/www-client/lynx-2.8.8_p2/work
>>> Source unpacked in /var/tmp/portage/www-client/lynx-2.8.8_p2/work
>>> Preparing source in /var/tmp/portage/www-client/lynx-2.8.8_p2/work/lynx2-8-8 ...
 * Applying lynx-2.8.6-mint.patch ...
 [ ok ]
 * Applying lynx-2.8.8_p1-parallel.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/lynx-2.8.8_p2/work/lynx2-8-8 ...
 * econf: updating lynx2-8-8/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating lynx2-8-8/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=armv7a-hardfloat-linux-musleabi --host=armv7a-hardfloat-linux-musleabi --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --
enable-nested-tables --enable-cgi-links --enable-persistent-cookies --enable-prettysrc --enable-nsl-fork --enable-file-upload --enable-read-eta --enable-color-style --enable-scrollbar --enable-included-msgs --enable-externs --with-zlib --e
nable-nls --disable-idna --enable-ipv6 --disable-cjk --enable-japanese-utf8 --without-bzlib --with-ssl=/usr --with-screen=ncursesw
checking build system type... armv7a-hardfloat-linux-musleabi
checking host system type... armv7a-hardfloat-linux-musleabi
checking target system type... armv7a-hardfloat-linux-musleabi
Configuring for linux-musleabi
checking for DESTDIR...
checking for armv7a-hardfloat-linux-musleabi-gcc... armv7a-hardfloat-linux-musleabi-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether armv7a-hardfloat-linux-musleabi-gcc accepts -g... yes
checking version of armv7a-hardfloat-linux-musleabi-gcc... 7
checking for armv7a-hardfloat-linux-musleabi-gcc option to accept ANSI C... none needed
checking $CC variable... ok
checking how to run the C preprocessor... armv7a-hardfloat-linux-musleabi-gcc -E
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /var/tmp/portage/._portage_reinstall_.BV1cwd/bin/ebuild-helpers/xattr/install -c
checking for bison... bison -y
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for splint... no
checking for lclint... no
checking for makeflags variable...
checking if filesystem supports mixed-case filenames... yes
checking for exctags... no
checking for ctags... no
checking for exetags... no
checking for etags... no
checking for ctags... no
checking for etags... no
checking for armv7a-hardfloat-linux-musleabi-windres... no
checking for windres... none
checking for armv7a-hardfloat-linux-musleabi-ranlib... armv7a-hardfloat-linux-musleabi-ranlib
checking for armv7a-hardfloat-linux-musleabi-ar... armv7a-hardfloat-linux-musleabi-ar
checking for options to update archives... -curv
checking if you want to see long compiling messages... yes
checking if you want to check memory-leaks... no
checking if you want to enable debug-code... no
checking if you want to enable lynx trace code *recommended* ... yes
checking if you want verbose trace code... no
checking if you want to turn on gcc warnings... no
checking if you want to use dbmalloc for testing... no
checking if you want to use dmalloc for testing... no
checking $CC variable... ok
checking for armv7a-hardfloat-linux-musleabi-gcc option to accept ANSI C... -DCC_HAS_PROTOS
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking whether to use struct dirent64... no
checking for PATH separator... :
checking for msginit... /usr/bin/msginit
checking for armv7a-hardfloat-linux-musleabi-ranlib... (cached) armv7a-hardfloat-linux-musleabi-ranlib
checking for ANSI C header files... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking if the declaration of iconv() needs const.... no
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h and gettext()... no
configure: error: no NLS library is packaged with this application

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-client/lynx-2.8.8_p2/work/lynx2-8-8/config.log
 * ERROR: www-client/lynx-2.8.8_p2::gentoo failed (configure phase):
 *   econf failed
 * Call stack:
 *     , line   93:  Called src_configure
 *             environment, line 2039:  Called econf '--enable-nested-tables' '--enable-cgi-links' '--enable-persistent-cookies' '--enable-prettysrc' '--enable-nsl-fork' '--enable-file-upload' '--enable-read-eta' '--enable-color-style' '--enable-scrollbar' '--enable-included-msgs' '--enable-externs' '--with-zlib' '--enable-nls' '--disable-idna' '--enable-ipv6' '--disable-cjk' '--enable-japanese-utf8' '--without-bzlib' '--with-ssl=/usr' '--with-screen=ncursesw'
 *, line  662:  Called __helpers_die 'econf failed'
 *, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * If you need support, post the output of `emerge --info '=www-client/lynx-2.8.8_p2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/lynx-2.8.8_p2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/lynx-2.8.8_p2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/lynx-2.8.8_p2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/lynx-2.8.8_p2/work/lynx2-8-8'
 * S: '/var/tmp/portage/www-client/lynx-2.8.8_p2/work/lynx2-8-8
Comment 1 Michael Jones 2016-02-10 18:21:04 UTC
armv7a-hardfp-hardened-musl dev-libs # emerge --info lynx
Portage 2.2.26 (python 2.7.10-final-0, hardened/linux/musl/arm/armv7a, gcc-4.9.3, musl-1.1.12, 4.3.3-hardened-r4 armv7l)
                         System Settings
System uname: Linux-4.3.3-hardened-r4-armv7l-with-gentoo-2.2
KiB Mem:    41198476 total,  35208192 free
KiB Swap:   52428796 total,  52428796 free
Timestamp of repository gentoo: Tue, 09 Feb 2016 18:44:45 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r99::musl
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3-r99::musl
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.16::musl (virtual/os-headers)
sys-libs/musl:            1.1.12::gentoo

    location: /usr/portage
    sync-type: git
    priority: -1000

    location: /usr/portage-overlays/musl
    masters: gentoo
    priority: 0

CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newuse --deep --backtrack=3000 --complete-graph --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="a52 aac acpi alsa apng arm autoipd avahi bindist branding cairo cdda cdr cli cracklib crypt cxx dbus dconf dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gcj gd gif gnome-keyring gpm gstreamer gtk gudev hardened iconv icu ipv6 jpeg lcms libnotify libsecret lm_sensors mad mdnsresponder-compat minizip mng modules mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pango pax_kernel pcre pdf pic png policykit ppds pulseaudio python qt4 qt5 readline samba sdl seccomp session sound spell sqlite ssl startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis wayland wifi xattr xcb xinerama xml xv xvid zeroconf zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_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 filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="coreboot efi-32 efi-64 emu qemu pc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa modesetting fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 2 Michael Jones 2016-02-10 18:22:15 UTC
Happens on both the armv7a-hardfp-hardened-musl and also armv7a-hardfp-vanilla-musl profiles.
Comment 3 Michael Jones 2016-02-10 18:23:10 UTC
I'm uncertain is this is related to the musl profile(s) or not. Possibly should be linked to
Comment 4 Michael Jones 2016-02-10 19:06:23 UTC
armv7a-hardfp-hardened-musl dev-libs # emerge -1pvq lynx
[ebuild   R   ] dev-libs/glib-2.44.1-r1  USE="dbus* mime static-libs* xattr -debug (-fam) (-selinux) (-systemtap) {-test} -utils" PYTHON_TARGETS="python2_7"
[ebuild  N    ] www-client/lynx-2.8.8_p2  USE="ipv6 nls ssl unicode -bzip2 -cjk -gnutls -idn"
[ebuild  N    ] app-text/xmlto-0.0.26-r1  USE="text -latex"
[ebuild  N    ] sys-apps/dbus-1.8.16  USE="-X -debug -doc (-selinux) -static-libs (-systemd) {-test}"
[ebuild  N    ] gnome-base/dconf-0.24.0  USE="{-test}"

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 5 Michael Jones 2016-02-10 19:08:12 UTC
For what it's worth, I got to this error using these steps

Unpack stage3 tarball
Copy my /etc/portage/ configuration files from another armv7a environment (use flags, make.conf, accept keywords, etc)
Copy /usr/portage from another machine using rsync
emerge --update --newuse --deep world
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2021-01-23 12:54:34 UTC
Seems to work on modern musl system. Please reopen or file a new bug if it still fails for you.