Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584086 - =dev-tex/biblatex-3.4 breaks biblatex with =dev-tex/biber-2.4
Summary: =dev-tex/biblatex-3.4 breaks biblatex with =dev-tex/biber-2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 585928
Blocks:
  Show dependency tree
 
Reported: 2016-05-25 09:40 UTC by Martin Wegner
Modified: 2016-09-26 19:50 UTC (History)
6 users (show)

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 Martin Wegner 2016-05-25 09:40:53 UTC
The recent bump to =dev-tex/biblatex-3.4 breaks compilation of Latex documents that use biblatex when latest biber in portage (=dev-tex/biber-2.4) is used, for example:

Package biblatex Warning: File 'paper.bbl' is wrong format version - expected 2.7.

According to the biblatex website [0], biblatex-3.4 should be used with the latest released biber-2.5:

"Biber 2.5 is now released. It should be used in conjunction with biblatex 3.4."

[0] http://biblatex-biber.sourceforge.net/

Since this is the second time that the two packages were bumped asynchronously  resulting in such breakage (see bug 577070), maybe e. g. a dependency constraint would help?

Workaround for now: Downgrade to <biblatex-3.4

% emerge --info
Portage 2.3.0_rc1 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.3.0, glibc-2.23-r2, 4.5.3-gentoo-wotan x86_64)
=================================================================
System uname: Linux-4.5.3-gentoo-wotan-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:    16163828 total,    387980 free
KiB Swap:    8384508 total,    909284 free
Timestamp of repository gentoo: Wed, 25 May 2016 08:15:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.5 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gamarouns
    location: /var/lib/layman/gamarouns
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    masters: gentoo
    priority: 50

grub2-themes
    location: /var/lib/layman/grub2-themes
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

jkolo
    location: /var/lib/layman/jkolo
    masters: gentoo
    priority: 50

mittwinter
    location: /var/lib/layman/mittwinter
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 50

raiagent
    location: /var/lib/layman/raiagent
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

tranquility
    location: /var/lib/layman/tranquility
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=5 --alert y --verbose-conflicts --changed-deps y --changed-use --complete-graph y --with-bdeps y --deep --backtrack=30 --keep-going y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" 	ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 	ftp://mirror.netcologne.de/gentoo/ 	 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l2"
PKGDIR="/usr/portage/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="/var/tmp"
USE="X a52 aac acpi aes alsa amd64 amr avahi avx berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cryptsetup cups cxx dbus dirac divx dri dts dvb dvd dvdr emboss encode exif faac faad fam fat ffmpeg firefox flac fuse gdbm gif glamor gnome gnome-keyring gnome-online-accounts gstreamer gtk gtk3 iconv icu idn inotify introspection ipv6 jpeg lame lastfm lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pcre pcsc-lite pdf png policykit popcnt ppds pulseaudio readline realmedia samba schroedinger sdl seccomp sendto session smartcard spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog systemd tcpd telepathy theora tiff tracker truetype udev udisks unicode upower usb v4l v4l2 vim-syntax vorbis vpx webm wmp wxwidgets x264 xattr xcb xinerama xml xv xvid zeitgeist zeroconf zlib zsh-completion" ABI_X86="64 32" 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 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"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus 2016-05-28 10:42:03 UTC
I can confirm that, same here.
Comment 2 Jelte Fennema 2016-06-03 20:10:16 UTC
I added biber-2.5 to my own overlay.
https://github.com/JelteF/jelte-overlay

I also think a dependency constraint would make sense. However that would need to be updated every time for a new version. So I don't know if it would help that much.
Comment 3 Jason A. Donenfeld gentoo-dev 2016-06-08 20:51:49 UTC
The solution is to bump biber to 2.5.
Comment 4 Till Schäfer 2016-06-14 13:18:29 UTC
i have created a ticket to bump biber 2.5: Bug 585928
Comment 5 Phil Tooley 2016-06-20 13:43:04 UTC
Can the biblatex packages not have biber added as a runtime dependency, or at least a helpful post-merge message telling the user which version of biber they should install?  Compatability matrix here (page 6):

http://tug.ctan.org/macros/latex/exptl/biblatex/doc/biblatex.pdf
Comment 6 Hendrik v. Raven 2016-06-21 08:58:34 UTC
Currently biber depends on >=dev-tex/biblatex-3.2. In my opinion that should be dev-tex/biblatex-3.3* (or whatever version is required as listed in the matrix). No need for a dependency from biblatex to biber for that.
Comment 7 Phil Tooley 2016-06-21 10:48:51 UTC
Okay that would work too, I was figuring that most people pull in biblatex rather than biber, but of course biblatex does work without it.  As long as the dependencies are sorted out so that correct biblatex/biber versions are installed together.

But it needs to be taken care of properly as this bites me every time a new version of biber/biblatex hits the tree. This is infrequent enough that I have forgotten what the problem/solution was the next time it comes around and a new hour of frantic googling ensues, and I can't be the only one...
Comment 8 N. Andrew Walsh 2016-06-21 18:37:48 UTC
(In reply to Jelte Fennema from comment #2)
> I added biber-2.5 to my own overlay.
> https://github.com/JelteF/jelte-overlay
> 
> I also think a dependency constraint would make sense. However that would
> need to be updated every time for a new version. So I don't know if it would
> help that much.

Thanks for the overlay. However, according to portage, the tar.gz file I download directly from biber's sourceforge repository fails the checksum, and there doesn't seem to be anywhere else to find the "correct" version. Can you double-check that the file's hash is correct, or post a link?
Comment 9 N. Andrew Walsh 2016-06-21 18:53:52 UTC
> Thanks for the overlay. However, according to portage, the tar.gz file I
> download directly from biber's sourceforge 

blah blah blah.

Sorry, I am dumb and impatient. Portage eventually found the github repository and got the "correct" version of the file. Cheers.
Comment 10 mvaenskae 2016-07-18 14:51:46 UTC
Cheers,

this issue is still not resolved in the official repository. When can we expect a fix? It seems to have been now close to 2 months.
Comment 11 Manuel Rüger (RETIRED) gentoo-dev 2016-07-18 22:26:46 UTC
I am still on devaway till the beginning of August, as I moved recently.[1]
You can still use biblatex-3.3 with biber-2.4.

[1] https://www.gentoo.org/inside-gentoo/developers/unavailable-developers.html
Comment 12 Oliver Freyermuth 2016-09-16 08:07:57 UTC
> You can still use biblatex-3.3 with biber-2.4.
Could this be enforced with a more strict version dependency? 
I also just ran into this issue and it took me q
Comment 13 Oliver Freyermuth 2016-09-16 08:09:05 UTC
...uite a while to figure things out (sorry, accidentally hit send). 

Note that #585928 mentions version bumps which would also fix this issue.
Comment 14 Manuel Rüger (RETIRED) gentoo-dev 2016-09-26 19:50:39 UTC
As upstream says it should be used with 3.4, I've updated the requirement for bibtex-2.5


commit e3f4fa273dc2ae5948900fe44c2c76931e963a0b
Author: Manuel Rüger <mrueg@gentoo.org>
Date:   Mon Sep 26 21:49:23 2016 +0200

    dev-tex/biber: Require ~biblatex-3.4
    
    Package-Manager: portage-2.3.1