Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800827 - dev-tex/pgf-3.1.5b does not work with the preview package
Summary: dev-tex/pgf-3.1.5b does not work with the preview package
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL: https://github.com/pgf-tikz/pgf/issue...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2021-07-06 10:31 UTC by Eugene Shalygin
Modified: 2022-02-03 22:59 UTC (History)
1 user (show)

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


Attachments
File to reproduce an issue (images.tex,8.99 KB, text/x-tex)
2021-07-16 05:02 UTC, Wade Cline
Details
Unofficial ebuild (pgf-3.1.9a.ebuild,1.23 KB, text/plain)
2021-11-29 02:13 UTC, Wade Cline
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2021-07-06 10:31:24 UTC
Please bump dev-text/pgf to the current version as the one in the tree is incompatible with TexLive 2020/2021.



Reproducible: Always
Comment 1 Wade Cline 2021-07-16 05:02:23 UTC
Created attachment 724093 [details]
File to reproduce an issue
Comment 2 Wade Cline 2021-07-16 05:03:19 UTC
As per https://github.com/latex2html/latex2html/issues/70 , I suspect that I am running into this as well.  To reproduce, run 'pdflatex images.tex'.

emerge --info:
Portage 3.0.20 (python 3.9.5-final-0, default/linux/x86/17.0/hardened, gcc-10.3.0, glibc-2.33-r1, 5.10.6 i686)
=================================================================
System uname: Linux-5.10.6-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.33
KiB Mem:     3107448 total,    457456 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 10 Jul 2021 00:45:01 +0000
Head commit of repository gentoo: f86ba15e807400237b97186da4e0339e40b3d930
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://127.0.0.1:873/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/libreoffice/program/sofficerc /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/portage/package.use /etc/revdep-rebuild /etc/sandbox.d /etc/ssl/certs /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LC_ALL="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/cache/binpkgs"
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="acl alsa bmp bzip2 crypt gif hardened iconv jpeg libglvnd libtirpc mmx mmxext ncurses nls nptl openmp pam pcre pic pie png readline seccomp split-usr sse sse2 sse3 ssl ssp tiff unicode x86 xattr xtpax zlib" ABI_X86="32" ADA_TARGET="gnat_2018" 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" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 3 Wade Cline 2021-07-16 08:50:44 UTC
I manually installed '3.1.9a' and noticed that my issue went away.
Comment 4 nanikata15 2021-08-17 11:33:02 UTC
Just reporting that it's impossible to compile plots generated by gnuplot with the tikz terminal due to this issue. Trying to compile the produced tex file with pdflatex results in the following error, which gives almost no google hits:

! Undefined control sequence.
\pr@endbox ...fi \c@page =\pr@snippet \pr@shipout 
                                                  \ifpr@fixbb \hbox {\dimen@...
l.27 \end{tikzpicture}

As commented by the previous user, upgrading to 3.1.9a fixed it for me.
Comment 5 lizhuohua1994 2021-09-01 14:45:50 UTC
The current version also causes problems when using shading in xelatex.

See: https://bugs.gentoo.org/806677

Please update it. Thank you.
Comment 6 Wade Cline 2021-11-29 02:13:44 UTC
Created attachment 756975 [details]
Unofficial ebuild

I created an unofficial ebuild for myself; no real QC run on it, but it works for me (TM).  https://github.com/clinew/overlay_frostsnow/tree/master/dev-tex/pgf
Comment 7 gerion 2021-12-06 20:11:48 UTC
Just ran into the same problem when using the beamer package.
Comment 8 Larry the Git Cow gentoo-dev 2022-02-03 22:59:43 UTC
The bug has been referenced in the following commit(s):

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

commit 45dfab06261ee94889898a907d7196842137223d
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2022-02-03 20:40:16 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2022-02-03 22:59:17 +0000

    dev-tex/pgf: version bump to 3.1.9a
    
    Changes to previous version:
    
     - remove AUTHORS file that is no longer shipped with tar archive, use
       einstalldocs and DOC=() list
    
     - remove macros directory for USE=doc that is not longer part of the
       archive.
    
    Bug: https://bugs.gentoo.org/806677
    Bug: https://bugs.gentoo.org/800827
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 dev-tex/pgf/Manifest          |  3 +++
 dev-tex/pgf/pgf-3.1.9a.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)