Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410767 - dev-util/indent-2.2.11 fails to build with texi2html-5.0 - texi2html: option number is ambiguous
Summary: dev-util/indent-2.2.11 fails to build with texi2html-5.0 - texi2html: option ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-04 12:43 UTC by Michael Palimaka (kensington)
Modified: 2012-04-11 03:22 UTC (History)
2 users (show)

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


Attachments
build log (build.log,12.57 KB, text/plain)
2012-04-04 12:43 UTC, Michael Palimaka (kensington)
Details
texi2html5-indent.diff (texi2html5-indent.diff,2.94 KB, patch)
2012-04-04 12:49 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2012-04-04 12:43:17 UTC
Created attachment 307747 [details]
build log

dev-util/indent-2.2.11 fails to build with this error, using texi2html-5.0-r1[unicode]:

Making all in doc
make[2]: Entering directory `/var/tmp/portage/dev-util/indent-2.2.11/work/indent-2.2.11/doc'
/usr/bin/texi2html -expandinfo -number -monolithic `if test -f indent.texinfo; then echo indent.texinfo; else echo ./indent.texinfo; fi`
Option number is ambiguous (number-footnotes, number-sections)
Try `texi2html --help' for more information.
make[2]: *** [indent.html] Error 2


Portage 2.1.10.55 (hardened/linux/amd64, gcc-4.5.3-asneeded, glibc-2.14.1-r2, 3.3.0-hardened-gnu x86_64)
=================================================================
System uname: Linux-3.3.0-hardened-gnu-x86_64-06-17-with-gentoo-2.1
Timestamp of tree: Wed, 04 Apr 2012 07:45:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo kensington qt kde sunrise x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms split-elog split-log splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/ http://distfiles.gentoo.org/"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en en_US"
MAKEOPTS="-j5"
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/kensington /var/lib/layman/qt /var/lib/layman/kde /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="aac acl acpi alsa amd64 apache2 apng asf background bash-completion bazaar berkdb bzip2 cairo cleartype cli consolekit corefonts cracklib crashreporter crypt cups cxx dbus deblob dep device-mapper dri dvd ebook exceptions fam ffmpeg flac fontconfig gdbm git glib gmp gold gpm handbook hardened iconv ipv6 ithreads jit jpeg justify kde kontact lastfm less libnotify mikmod minizip mmx mng modules mp3 mp4 mpeg mta mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp optimized-qmake pam pax_kernel pcap pcre phonon player png policykit pppd private-headers qt3support qt4 readline rss semantic-desktop session sftp sha512 smbclient spell sse sse2 ssl ssse3 startup-notification suhosin svg symlink sysfs tcpd theora threads threadsafe tiff truetype udev unicode upnp uuid vhosts vorbis webm xft xorg xscreensaver xvfb zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="dav alias auth_basic authn_default auth_digest authn_file authz_host authz_user autoindex cgi deflate dir filter headers include info log_config mime mime_magic negotiation proxy proxy_http rewrite speling status vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt crypt-gpg lvm mdraid" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3 php5-4" RUBY_TARGETS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Palimaka (kensington) gentoo-dev 2012-04-04 12:49:28 UTC
Created attachment 307749 [details, diff]
texi2html5-indent.diff

A patch from [1] fixing build failure. It seems to work OK for me with different versions of texi2html, but searching around some people seem to have encountered breakage with <texi2html-5.0.

[1] https://gnunet.org/svn/gnunet/contrib/texi2html5-indent.diff
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-04 15:28:42 UTC
This is the next error, with the attached patch applied.

make[2]: Leaving directory `/home/jer/portage/dev-util/indent-2.2.11-r1/work/indent-2.2.11/src'
Making all in doc
make[2]: Entering directory `/home/jer/portage/dev-util/indent-2.2.11-r1/work/indent-2.2.11/doc'
/usr/bin/texi2html -expandinfo -monolithic `if test -f indent.texinfo; then echo indent.texinfo; else echo ./indent.texinfo; fi`
Undefined subroutine &Locale::Messages::dpgettext called at /usr/bin/texi2html line 29500.
make[2]: *** [indent.html] Error 25
make[2]: Leaving directory `/home/jer/portage/dev-util/indent-2.2.11-r1/work/indent-2.2.11/doc'
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-04 15:48:22 UTC
If I replace ::dpgettext with ::dgettext in /usr/bin/texi2html, all is fine, but that appears to be a bug in texi2html, not indent.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-04 16:08:35 UTC
I have added the patch in dev-util/indent-2.2.11-r1, but I'd like the texi2html issue resolved before closing this bug.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-04 16:30:46 UTC
(In reply to comment #2)
> This is the next error, with the attached patch applied.
> 
> make[2]: Leaving directory
> `/home/jer/portage/dev-util/indent-2.2.11-r1/work/indent-2.2.11/src'
> Making all in doc
> make[2]: Entering directory
> `/home/jer/portage/dev-util/indent-2.2.11-r1/work/indent-2.2.11/doc'
> /usr/bin/texi2html -expandinfo -monolithic `if test -f indent.texinfo; then
> echo indent.texinfo; else echo ./indent.texinfo; fi`
> Undefined subroutine &Locale::Messages::dpgettext called at
> /usr/bin/texi2html line 29500.
> make[2]: *** [indent.html] Error 25
> make[2]: Leaving directory
> `/home/jer/portage/dev-util/indent-2.2.11-r1/work/indent-2.2.11/doc'

dev-perl/libintl-perl-1.16 does not define dpgettext whereas -1.200.0 does. 
I think the [R]DEPEND in >=app-text/texi2html-5.0 should restrict that to the newer version.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-04 16:38:25 UTC
Since bug #410787 is out there now, I guess this one is done.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-11 03:22:09 UTC
*** Bug 411211 has been marked as a duplicate of this bug. ***