Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574350 - dev-tex/revtex-4.1_p2-r1 : * pdflatex failed, trying texi2dvi
Summary: dev-tex/revtex-4.1_p2-r1 : * pdflatex failed, trying texi2dvi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-10 16:26 UTC by Toralf Förster
Modified: 2019-01-28 00:09 UTC (History)
5 users (show)

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


Attachments
dev-tex:revtex-4.1_p2-r1:20160210-161035.log (dev-tex:revtex-4.1_p2-r1:20160210-161035.log,4.49 KB, text/plain)
2016-02-10 16:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,655.95 KB, text/plain)
2016-02-10 16:27 UTC, Toralf Förster
Details
environment (environment,93.52 KB, text/plain)
2016-02-10 16:27 UTC, Toralf Förster
Details
build.log (build.log,4.76 KB, text/plain)
2017-06-12 19:13 UTC, Andrew Savchenko
Details
ltxfront.log (ltxfront.log,43.06 KB, text/plain)
2017-06-12 19:14 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,11.27 KB, text/plain)
2017-06-12 19:15 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-02-10 16:26:57 UTC
 * pdflatex failed, trying texi2dvi
 * ERROR: dev-tex/revtex-4.1_p2-r1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install


$ cat ./info.txt
  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-gnome-unstable_20160121-220651) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  make.conf: USE="mmx sse sse2 pax_kernel -cdinstall -oci8 bindist adns alsa avx2 btrfs bzip2 cdda cgi cgoups consolekit curl dnssec gstreamer gtk gudev havege hdf5 icu javascript javaxml jpeg kerberos llvm logrotate minizip nss opencv openexr pcre16 pkcs11 policykit pyqt4 qt5 sdl -smartcard source -sqlite -ssh-askpass system-cairo -system-icu system-libvpx tcl thinkpad vpx -wav widgets xinetd mysql -gnome-keyring"

  -----------------------------------------------------------------
  Portage 2.2.27 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-5.3.0, glibc-2.22-r1, 4.3.5-hardened-r2 x86_64)
=================================================================
System uname: Linux-4.3.5-hardened-r2-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164680 total,   3572268 free
KiB Swap:   16777212 total,  16715588 free
Timestamp of repository gentoo: Wed, 10 Feb 2016 15:06:24 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.3.5-r7::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.2.4-r1::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /etc/stunnel/stunnel.conf /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb /var/rancid/.cloginrc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/gamedata/ /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="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--verbose-conflicts --deep --color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 acl acpi adns alsa amd64 avx2 berkdb bindist bluetooth branding btrfs bzip2 cairo cdda cdr cgi cgoups cli colord consolekit cracklib crypt cups curl cxx dbus dnssec dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-online-accounts gpm gstreamer gtk gudev havege hdf5 iconv icu introspection ipv6 javascript javaxml jpeg kerberos lcms ldap libnotify libsecret llvm logrotate mad minizip mmx mmxext mng modules mp3 mp4 mpeg multilib mysql nautilus ncurses nls nptl nss ogg opencv openexr opengl openmp pam pango pax_kernel pcre pcre16 pdf pkcs11 png policykit ppds pulseaudio pyqt4 qt3support qt4 qt5 readline sdl seccomp session source spell sse sse2 ssl startup-notification svg system-cairo system-libvpx tcl tcpd thinkpad tiff tracker truetype udev udisks unicode upower usb vorbis vpx widgets wxwidgets x264 xattr xcb xinetd xml 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2016-02-10 16:27:00 UTC
Created attachment 425150 [details]
dev-tex:revtex-4.1_p2-r1:20160210-161035.log
Comment 2 Toralf Förster gentoo-dev 2016-02-10 16:27:03 UTC
Created attachment 425152 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2016-02-10 16:27:05 UTC
Created attachment 425154 [details]
environment
Comment 4 nanikata15 2016-07-28 07:00:12 UTC
This bug report shows that reftest4-1.tex fails to compile, but I've found that files such as aip.dtx and 00readme.tex also fail.

In case of reftest4-1.tex:
It sets the documentclass incorrectly to revtex4, when it should be revtex4-1.
When this file is compiled, the user is prompted to provide an aux file so some diagnostics can be run, so this is not really meant to be compiled as part of the installation.

In case of 00readme.tex:
This is not a standalone file, but is included in other files, so should't be compiled on its own, but is picked up by the installer because it is in the top directory.

I gave up trying any further when aip.dtx failed.

At least some of the pdf files that would be created are already included in the package, so if you're really desperate to get this package installed, you can remove the tex and dtx files by placing
rm *.tex *.dtx
before "latex-package_src_install".

I could at least get it installed and compile my simple document.
Comment 5 Alexis Ballier gentoo-dev 2016-08-02 09:17:46 UTC
commit 8d2d0955540b0b324fb64023b146fa522d6b2395
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Tue Aug 2 11:17:18 2016 +0200

    dev-tex/revtex: Add doc useflag to control rebuild of docs; skip those that do not build. Bug #574350
Comment 6 Andrew Savchenko gentoo-dev 2017-06-12 19:11:52 UTC
Hi,

apparantly skipping does not work.

With dev-tex/revtex-4.1_p2-r1 and latex-2017 I have the following error:

 * Making documentation: ./ltxfront.dtx
 * pdflatex failed, trying texi2dvi
 * ERROR: dev-tex/revtex-4.1_p2-r1::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_install
 *   environment, line 2357:  Called latex-package_src_install
 *   environment, line 1624:  Called latex-package_src_doinstall 'all'
 *   environment, line 1615:  Called latex-package_src_doinstall 'styles' 'fonts' 'bin' 'doc'
 *   environment, line 1606:  Called latex-package_src_doinstall 'tex' 'dtx' 'dvi' 'ps' 'pdf'
 *   environment, line 1569:  Called die
 * The specific snippet of code:
 *                               texi2dvi -q -c --language=latex $i &> /dev/null || die;

ltxfront.log contains the following error:

! Missing \endcsname inserted.
<to be read again>
                   \package@font
l.259 \fi

The control sequence marked <to be read again> should
not appear between \csname and \endcsname.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.


Full logs follow.
Comment 7 Andrew Savchenko gentoo-dev 2017-06-12 19:13:06 UTC
Created attachment 476206 [details]
build.log
Comment 8 Andrew Savchenko gentoo-dev 2017-06-12 19:14:28 UTC
Created attachment 476208 [details]
ltxfront.log
Comment 9 Andrew Savchenko gentoo-dev 2017-06-12 19:15:16 UTC
Created attachment 476210 [details]
emerge --info
Comment 10 Andrew Savchenko gentoo-dev 2017-06-12 19:22:38 UTC
Hmm, looks like doc/latex/revtex/source in revtex4-1-tds.zip already contains pdf docs, do we really need to regenerate them?
Comment 11 Larry the Git Cow gentoo-dev 2018-12-25 10:49:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d1b22948718ae83d14d8c8e167c1d4e4cc4005

commit 48d1b22948718ae83d14d8c8e167c1d4e4cc4005
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-25 10:46:50 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-25 10:49:05 +0000

    package.mask: Mask dev-tex/revtex for removal, obsolete
    
    All versions provided by dev-tex/revtex are now also included in
    dev-tex/texlive-publishers-2017. No need for a separate package
    anymore.
    
    Bug: https://bugs.gentoo.org/514890
    Bug: https://bugs.gentoo.org/574350
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2019-01-28 00:09:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67f0fd58f0ea4f780a7c0c58493f44cacf21553

commit b67f0fd58f0ea4f780a7c0c58493f44cacf21553
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2019-01-28 00:07:59 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2019-01-28 00:07:59 +0000

    dev-tex/revtex: remove, bug 574350 and others
    
    All versions provided by dev-tex/revtex are now also included in
    dev-tex/texlive-publishers-2017. No need for a separate package
    anymore.
    
    Closes: https://bugs.gentoo.org/574350
    Closes: https://bugs.gentoo.org/514890
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-tex/revtex/Manifest                |  2 --
 dev-tex/revtex/metadata.xml            | 13 ----------
 dev-tex/revtex/revtex-4.1_p2-r1.ebuild | 43 ----------------------------------
 dev-tex/revtex/revtex-4.ebuild         | 37 -----------------------------
 4 files changed, 95 deletions(-)