Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481376 - dev-tex/biber should RDEPEND on dev-perl/XML-SAX-Base and dev-perl/URI
Summary: dev-tex/biber should RDEPEND on dev-perl/XML-SAX-Base and dev-perl/URI
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 21:41 UTC by Johannes Grassler
Modified: 2013-08-18 13:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Grassler 2013-08-16 21:41:53 UTC
I compiled a LaTeX document with xelatex. This document did a 
\usepackage[style=authoryear,backend=biber]{biblatex} among other things,
hence requiring the use of biber.

Instead of processing main.aux normally biber failed as shown under "Actual
Results". Incrementally installing modules the perl interpreter was
complaining about finally led to the behaviour shown in "Expected Results".

I added the following two modules:

  dev-perl/XML-SAX-Base
  dev-perl/URI

With these modules installed biber works.

Reproducible: Always

Steps to Reproduce:
1. # emerge dev-tex/biber
2. $ xelatex main.tex   # TeX document with \usepackage[style=authoryear,backend=biber]{biblatex}
3. $ biber main

Actual Results:  
Right after `emerge dev-tex/biber`:
===================================

$ biber main
Can't locate XML/SAX/Exception.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.16.1/x86_64-linux /usr/local/lib64/perl5/5.16.1 /usr/lib64/perl5/vendor_perl/5.16.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.1/x86_64-linux /usr/lib64/perl5/5.16.1 .) at /usr/lib64/perl5/vendor_perl/5.16.1/x86_64-linux/XML/LibXML.pm line 1932.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.16.1/x86_64-linux/XML/LibXML.pm line 1932.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.16.1/XML/LibXML/Simple.pm line 17.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.16.1/XML/LibXML/Simple.pm line 17.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/LaTeX/Recode.pm line 12.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/LaTeX/Recode.pm line 12.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/Utils.pm line 20.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/Utils.pm line 20.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/Internals.pm line 8.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/Internals.pm line 8.
Compilation failed in require at (eval 13) line 2.
        ...propagated at /usr/lib64/perl5/5.16.1/base.pm line 84.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.16.1/Biber.pm line 5.
Compilation failed in require at /usr/bin/biber line 20.
BEGIN failed--compilation aborted at /usr/bin/biber line 20.
$

After adding the missing dev-perl/XML-SAX-Base module:
======================================================

$ biber main
INFO - This is Biber 1.7
INFO - Logfile is 'main.blg'
INFO - Reading 'main.bcf'
INFO - Found 12 citekeys in bib section 0
INFO - Processing section 0
ERROR - Error loading data source package 'Biber::Input::file::bibtex': Can't locate URI.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.16.1/x86_64-linux /usr/local/lib64/perl5/5.16.1 /usr/lib64/perl5/vendor_perl/5.16.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.1/x86_64-linux /usr/lib64/perl5/5.16.1 .) at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/Input/file/bibtex.pm line 28.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.16.1/Biber/Input/file/bibtex.pm line 28.
Compilation failed in require at (eval 138) line 2.

INFO - ERRORS: 1
$


Expected Results:  
$ biber main
INFO - This is Biber 1.7
INFO - Logfile is 'main.blg'
INFO - Reading 'main.bcf'
INFO - Found 12 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'refs.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'refs.bib'
WARN - Datamodel: Entry 'foo' (refs.bib): Invalid format '10.11.2012.' of date field 'urldate' - ignoring
WARN - Datamodel: Entry 'bar' (refs.bib): Invalid format '03.12.2012' of date field 'urldate' - ignoring
WARN - Datamodel: Entry 'baz' (refs.bib): Invalid format '01.10.2012' of date field 'urldate' - ignoring
INFO - Overriding locale 'de_DE' default tailoring 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting 'entry' list 'nyt' keys
INFO - No sort tailoring available for locale 'de_DE'
INFO - Writing 'main.bbl' with encoding 'UTF-8'
INFO - Output to main.bbl
INFO - WARNINGS: 3
$


$ emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.1
KiB Mem:     8161588 total,   7292828 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 14 Aug 2013 18:30: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
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.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.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo science
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://de-mirror.org/gentoo/ rsync://mirror.opteamax.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran ftp gcj gdbm geoip gif gimp glut gpm gps graphviz gtk iconv imagemagick ipv6 jpeg latex lcms ldap libkms libnotify mad maildir mbox melt minizip mmx mng modplug modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf perl png policykit posix postscript ppds python qemu qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l vim-syntax vnc vorbis vpx wxwidgets x264 xa xcb xetex xine xml xscreensaver xv xvid zlib" ABI_X86="64" 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" 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="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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2013-08-18 13:03:46 UTC
*biber-1.7-r1 (18 Aug 2013)

  18 Aug 2013; Manuel Rüger <mrueg@gentoo.org> +biber-1.7-r1.ebuild,
  -biber-1.7.ebuild:
  Add missing dependencies. Thanks to Johannes Grassler. Fixes bug #481376.