Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890256 - app-text/recode-3.7.13 fails to build when help2man is built with USE=-nls
Summary: app-text/recode-3.7.13 fails to build when help2man is built with USE=-nls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-08 22:26 UTC by Saul Peebsen
Modified: 2023-01-09 05:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,18.59 KB, application/gzip)
2023-01-08 22:26 UTC, Saul Peebsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Peebsen 2023-01-08 22:26:06 UTC
Created attachment 847992 [details]
build.log

app-text/recode-3.7.13 fails to build when help2man is built with USE=-nls 
I have nls disabled systemwide. After rebuilding help2man with nls building recode succeeds, regardless whether its nls flag is set or not.

libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=silvermont -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -msse4.2 -msse4.1 -mrdrnd -mprfchw -mfxsr --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=1024 -fstack-protector-strong -Wl,-O1 -o .libs/recode main.o mixed.o  -Wl,--as-needed ./.libs/librecode.so
if ( touch recode.1.w && rm -f recode.1.w; ) >/dev/null 2>&1; then \
  ../build-aux/missing --run /usr/bin/help2man --locale=en_US.UTF-8 \
        --name="converts files between character sets" \
        --output=recode.1 ./recode; \
fi
help2man: no locale support (Locale::gettext required)
`help2man' generates a man page out of `--help' and `--version' output.
Comment 1 Saul Peebsen 2023-01-09 00:51:08 UTC
Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1/no-multilib, gcc-12.2.0, glibc-2.36-r6, 6.1.1-gentoo x86_64)
=================================================================
System uname: Linux-6.1.1-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_N3050_@_1.60GHz-with-glibc2.36
KiB Mem:     8089116 total,   1380904 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 08 Jan 2023 21:17:04 +0000
sh bash 5.2_p15
ld GNU ld (Gentoo 2.39 p5) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.7.4 [enabled]
app-misc/pax-utils:        1.3.6::gentoo
app-shells/bash:           5.2_p15::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             12.2.0::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=silvermont -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -msse4.2 -msse4.1 -mrdrnd -mprfchw -mfxsr --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=1024 -fstack-protector-strong"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=silvermont -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -msse4.2 -msse4.1 -mrdrnd -mprfchw -mfxsr --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=1024 -fstack-protector-strong"
DISTDIR="/mnt/dist"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --complete-graph --deep --changed-deps-report=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync multilib-strict noinfo parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_US en"
MAKEOPTS="-j1"
PKGDIR="/var/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/mnt/tmpfs"
SHELL="/bin/bash"
USE="X a52 aac acpi alsa amd64 bluetooth bzip2 cairo cddb dbus dri dri3 drm dts exif flac fontconfig fortran gdbm gif gnutls gtk3 gudev hwdb iconv icu imlib ipv6 jpeg jpeg2k libglvnd libkms libsamplerate libtirpc linguas_en lirc lto mad matroska mime minizip mmx mmxext mp3 mp4 ncurses nptl ogg opengl openmp pcre pie png quicktime readline sdl seccomp sndfile split-usr sse sse2 ssl test-rust thunar tiff truetype udev unicode usb v4l2 vaapi vainfo vorbis xattr xft xorg zlib" ABI_X86="64" ADA_TARGET="gnat_2021" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_US en" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Larry the Git Cow gentoo-dev 2023-01-09 05:41:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26060f73973dfb5eba9088c75599d14582ac4274

commit 26060f73973dfb5eba9088c75599d14582ac4274
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-09 05:40:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-09 05:40:14 +0000

    app-text/recode: fix build w/o help2man
    
    Closes: https://bugs.gentoo.org/890256
    Signed-off-by: Sam James <sam@gentoo.org>

 .../recode/files/recode-3.7.13-no-help2man.patch   | 50 ++++++++++++++++++++++
 app-text/recode/recode-3.7.13.ebuild               |  5 ++-
 2 files changed, 53 insertions(+), 2 deletions(-)