Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125292 - Internal links don't work with xpdf-3.01-r8 / poppler-0.5.1
Summary: Internal links don't work with xpdf-3.01-r8 / poppler-0.5.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 13:06 UTC by David Morgan
Modified: 2006-08-06 04:18 UTC (History)
2 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 David Morgan 2006-03-06 13:06:01 UTC
When clicking internal links in pdf files nothing happens in the xpdf window, but the following message gets sent to stderr:

failed to look up Bookq
Comment 1 David Morgan 2006-03-06 13:06:01 UTC
When clicking internal links in pdf files nothing happens in the xpdf window, but the following message gets sent to stderr:

failed to look up Bookqø


Works fine with xpdf-3.01-r7 / poppler-0.5.0-r5, and I can't test other combinations of xpdf and poppler, since -r8 only builds with 0.5.1, and -r7 only builds with < 0.5.1, so I'm not sure whether the problem is in xpdf or poppler

emerge info:
Portage 2.1_pre5-r4 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.blueyonder.co.uk http://mirrors.blueyonder.co.uk/mirrors/gentoo"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk crypt cscope cups curl daap directfb dri dvd dvdr emboss encode expat fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif glut gpm graphviz gstreamer gtk2 imagemagick imap jack jpeg lcms libcaca libg++ libwww lua mad maildir matroska mbox mikmod mmx mng motif mp3 mp4 mpeg ncurses nls nptl nvidial ogg oggvorbis opengl pam pcre pdf pdflib perl png python quicktime readline real ruby samba sdl spell sse sse2 ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vcd vidix vorbis win32codecs x264 xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS

emerge -pv xpdf poppler
[ebuild   R   ] app-text/xpdf-3.01-r8  USE="-nodrm" 0 kB 
[ebuild   R   ] app-text/poppler-0.5.1  USE="jpeg" 0 kB
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-06 13:49:57 UTC
The only change for xpdf was the patch to support the new poppler release .. maybe I broke something in my hacky patch or poppler did create incompatibilities some other way. I honestly do not know. I guess I have to look at the code :)
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-18 12:57:07 UTC
Do you have an example pdf?

I cleaned up my poppler-0.5.1 patch:
http://genstef.homelinux.org/xpdf-3.01-poppler-0.5.1.patch

Can you please try that? Just overwrite the existing patch in the filesdir.
Comment 4 David Morgan 2006-03-18 13:13:11 UTC
Yes, it works now, thank you. I'll leaving closing the bug up to you for when you've commited the patch.

http://users.ox.ac.uk/~wadh2045/oop7.pdf is a sample file ('internal links' refer to the navigation stuff that appears in the sidebar, and also links within the main part of it (which are most easily found in the notes/exercises at the end)).

(I'm not going to leave that up indefinitely, because I'm not sure that I'm allowed to...)
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-18 13:39:07 UTC
Thanks, I changed the patch in CVS.
Comment 6 Renato Caldas 2006-08-06 04:18:18 UTC
Hello.

The same thing happens with poppler-0.5.3.. I'll open another bug report for that.