Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348004 - sci-libs/netcdf-4.1.1-r3 fails with USE=doc
Summary: sci-libs/netcdf-4.1.1-r3 fails with USE=doc
Status: RESOLVED DUPLICATE of bug 311885
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 05:31 UTC by Andrey Grozin
Modified: 2010-12-09 15:11 UTC (History)
1 user (show)

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


Attachments
build log (sci-libs:netcdf-4.1.1-r3:20101207-130431.log,33.67 KB, text/plain)
2010-12-07 05:33 UTC, Andrey Grozin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2010-12-07 05:31:28 UTC
TEXINPUTS="/var/tmp/portage/sci-libs/netcdf-4.1.1-r3/work/netcdf-4.1.1/man4:$TEXINPUTS" \
MAKEINFO='/bin/sh /var/tmp/portage/sci-libs/netcdf-4.1.1-r3/work/netcdf-4.1.1/missing --run makeinfo   -I /var/tmp/portage/sci-libs/netcdf-4.1.1-r3/work/netcdf-4.1.1/man4' \
texi2dvi -s  --pdf --batch /var/tmp/portage/sci-libs/netcdf-4.1.1-r3/work/netcdf-4.1.1/man4/netcdf-c.texi
egrep: Invalid range end
/usr/bin/texi2dvi: cannot read .//var/tmp/portage/sci-libs/netcdf-4.1.1-r3/work/netcdf-4.1.1/man4/netcdf-c.texi, skipping.
make: *** [netcdf-c.pdf] Error 1
make: Leaving directory `/var/tmp/portage/sci-libs/netcdf-4.1.1-r3/work/netcdf-4.1.1_build/man4'
emake failed


Reproducible: Always




elrond ~ # emerge --info
Portage 2.2.0_alpha7 (default/linux/x86/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r1-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 07 Dec 2010 04:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.7
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo science sunrise lisp grozin
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=atom -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=atom -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=atom -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="ru_RU.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/lisp /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb blas bluetooth boehm-gc branding browserplugin bzip2 cairo cdr consolekit cracklib crypt css cups curl cxx dbus dirac doc dri dvd dvdnav dvdr emacs enca encode exif fam ffmpeg fftw firefox flac fltk fortran gd gdbm gif gmp gpm gsl gtk hal iconv imagemagick jpeg kde kpathsea lapack latex lcms ldap leim libnotify lzma mad mikmod mmx mng modules mozilla mp3 mp4 mpeg mudflap mule ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl plotutils png ppds pppd python qt3support qt4 readline schroedinger sdl session speex spell sse sse2 ssl startup-notification svg sysfs tcl tcpd theora tiff tk truetype umfpack unicode usb v4l2 vcd vorbis win32codecs wxwidgets x264 x86 xcb xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey Grozin gentoo-dev 2010-12-07 05:33:05 UTC
Created attachment 256572 [details]
build log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-12-09 14:20:56 UTC

*** This bug has been marked as a duplicate of bug 311885 ***
Comment 3 Martin von Gagern 2010-12-09 14:57:27 UTC
I'd not call this a duplicate of bug #311885. That report is about texi2dvi ever failing, which can only be reasonably fixed by including the upstream fix, as requested there. This one here is about texi2dvi failing in the specific context of the netcdf ebuild, which can be worked around e.g. by passing LC_ALL=C to its invocation, as written in bug #347780 comment #10.

So I suggest you, the netcdf maintainer(s), do the following:
1. Either reopen this here, or dup it to bug #347780 and reopen that one.
2. Whichever bug report you choose, make it depend on bug #311885.
3. Modify the netcdf ebuild to use the workaround for the time being.
4. If you feel like it, bug texinfo maintainers to fix bug #311885.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-12-09 15:11:55 UTC
(In reply to comment #3)
> This one here is about texi2dvi failing in the specific
> context of the netcdf ebuild
"specific context" is irrelevant. Bug is in texinfo not in netcdf

> So I suggest you, the netcdf maintainer(s), do the following:
> 1. Either reopen this here, or dup it to bug #347780 and reopen that one.
No, that bug was about me not using autotools-utils.eclass properly
> 2. Whichever bug report you choose, make it depend on bug #311885.
No, because they're reporting the same issue in texinfo, just using "different context", so they're only dupes.
> 3. Modify the netcdf ebuild to use the workaround for the time being.
That would lead to fixing/working-around all packages in tree that use texinfo, which is insane...
> 4. If you feel like it, bug texinfo maintainers to fix bug #311885.
Making this bug a dupe of #311885 sends an email to texinfo's maintainer. That's enough.
Cheers,
Kacper Kowalik