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

Bug 464062

Summary: sys-apps/texinfo-4.13-r2: help2man: can't get `--help' info from ../util/texi2dvi when /bin/sh points to dash
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: paolo.pedroni
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-04-01 10:36:19 UTC
Created attachment 343916 [details]
build.log

/bin/bash /var/tmp/portage/sys-apps/texinfo-4.13-r2/work/texinfo-4.13/build-aux/missing --run help2man --name="sort Texinfo index files" ..//util/texindex -o texindex.1
unset TEXI2DVI_BUILD_MODE; unset TEXI2DVI_BUILD_DIRECTORY; PATH="../util:${PATH}"; export PATH; /bin/bash /var/tmp/portage/sys-apps/texinfo-4.13-r2/work/texinfo-4.13/build-aux/missing --run help2man --name="convert Texinfo documents to DVI" ../util/texi2dvi >texi2dvi.1
help2man: can't get `--help' info from ../util/texi2dvi
Try `--no-discard-stderr' if option outputs to stderr
make[2]: *** [texi2dvi.1] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.13-r2/work/texinfo-4.13/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/texinfo-4.13-r2/work/texinfo-4.13'
make: *** [all] Error 2
emake failed
 * ERROR: sys-apps/texinfo-4.13-r2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2359:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/texinfo-4.13-r2'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/texinfo-4.13-r2'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/texinfo-4.13-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/texinfo-4.13-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/texinfo-4.13-r2/work/texinfo-4.13'
 * S: '/var/tmp/portage/sys-apps/texinfo-4.13-r2/work/texinfo-4.13'

>>> Failed to emerge sys-apps/texinfo-4.13-r2, Log file:

>>>  '/var/tmp/portage/sys-apps/texinfo-4.13-r2/temp/build.log'

 * Messages for package sys-apps/texinfo-4.13-r2:

 * ERROR: sys-apps/texinfo-4.13-r2 failed (compile phase):
 *   (no error message)



# emerge --info
Portage 2.1.11.55 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.4.38 x86_64)
=================================================================
System uname: Linux-3.4.38-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.1
KiB Mem:     2051928 total,    896564 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Mon, 01 Apr 2013 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo poly-c
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=atom -mtune=atom -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/ssl /etc/terminfo"
CXXFLAGS="-march=atom -mtune=atom -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1 --with-bdeps=y --misspell-suggestions=n --autounmask=n --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/poly-c"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="acl acpi amd64 apache2 berkdb bzip2 caps cli cracklib crypt cxx dri fam gdbm gmp gnutls iconv idn innodb inotify ipv6 libwww maildir mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session slang sse sse2 ssl threads unicode xml xml2 zlib" ABI_X86="64" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" 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"
Unset:  CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 SpanKY gentoo-dev 2013-04-01 16:27:07 UTC

*** This bug has been marked as a duplicate of bug 354589 ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-04-01 16:48:07 UTC
This is no dupe of bug #354589. The affected machine has help2man installed. When you look into the build.log file you can see that the error messages is completely different from the bug you marked this one as dupe.
Comment 3 Geert Lamers 2013-04-02 22:52:04 UTC
I think I had the same issue. After rebuilding sys-apps/help2man-1.40.11, which required rebuilding dev-perl/Locale-gettext-1.50.0, sys-apps/texinfo-4.13-r2 built successfully.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-04-03 06:39:28 UTC
This problem is caused by /bin/sh -> dash symlink. As soon as I changed the symlink to point to bash the package emerged successfully.
Comment 5 Marco Colombetti 2013-04-03 14:15:39 UTC
(In reply to comment #3)
> I think I had the same issue. After rebuilding sys-apps/help2man-1.40.11,
> which required rebuilding dev-perl/Locale-gettext-1.50.0,
> sys-apps/texinfo-4.13-r2 built successfully.

Same here!
Thanks
Comment 6 SpanKY gentoo-dev 2013-04-04 18:13:06 UTC
(In reply to comment #2)

the point is that help2man shouldn't be run at all

*** This bug has been marked as a duplicate of bug 354589 ***