Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73882 - GPDF emerge access violation
Summary: GPDF emerge access violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 02:06 UTC by Leon Mergen
Modified: 2004-12-10 05:11 UTC (History)
0 users

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


Attachments
Emerge log (emerge.txt,162.73 KB, text/plain)
2004-12-10 00:05 UTC, Leon Mergen
Details
Ebuild after patch which worked (gpdf-2.8.1.ebuild,1.00 KB, text/plain)
2004-12-10 04:18 UTC, Leon Mergen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Mergen 2004-12-09 02:06:51 UTC
Hello,

When trying to emerge gpdf, I get an access violation (see additional information). I personally have *no* idea what's going on; I can't see why the files described have 'other' permissions than all the other files floating around there..

Reproducible: Always
Steps to Reproduce:
1. emerge gpdf
2.
3.

Actual Results:  
Receive an access violation and emerge stopped

Expected Results:  
Duh, gpdf being emerged :)

====================
LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po
gpdf.desktop.in gpdf.desktop
LC_ALL=C ./intltool-merge -k -u -c ./po/.intltool-merge-cache ./po gpdf.keys.in
gpdf.keys
Found cached translation database
Merging translations into gpdf.desktop.
Found cached translation database
Merging translations into gpdf.keys.
make[2]: Leaving directory `/var/tmp/portage/gpdf-2.8.1/work/gpdf-2.8.1'
make[1]: Leaving directory `/var/tmp/portage/gpdf-2.8.1/work/gpdf-2.8.1'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-text_-_gpdf-2.8.1-24962.log"

unlink:    /usr/share/texmf/web2c/pdftex.log
rename:    /usr/share/texmf/web2c/pdftex.log
unlink:    /usr/share/texmf/web2c/pdftex.fmt
rename:    /usr/share/texmf/web2c/pdftex.fmt
--------------------------------------------------------------------------------
solatis3 web2c #
====================


Additional emerge --info :

====================
solatis3 texmf # emerge --info
Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 23 2004, 23:48:29)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9, 1.4_p6, 1.9.3, 1.6.3, 1.8.5-r2, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://vlaai.snt.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://vlaai.snt.utwente.nl/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 fam foomaticdb
fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6
java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis
opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang
spell ssl svga tcpd tetex tiff truetype usb x86 xml2 xmms xv zlib"

solatis3 texmf # 
=================
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-12-09 04:11:49 UTC
can you try adding USE_DESTDIR="1" to the ebuild and see if it helps?
Comment 2 Leon Mergen 2004-12-09 05:22:27 UTC
Nop, still does the same thing... 
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2004-12-09 22:43:24 UTC
Can you please attach a full build log? we need to see where's it's breaking exactly.

Thanks.
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2004-12-09 22:45:33 UTC
I'm guessing it's doing something like:
have pdftex? run tex on test-files/simple-links.tex
Comment 5 Leon Mergen 2004-12-10 00:05:17 UTC
Created attachment 45662 [details]
Emerge log
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2004-12-10 00:22:41 UTC
Looks like I was right,

Making all in test-files
make[2]: Entering directory `/var/tmp/portage/gpdf-2.8.1/work/gpdf-2.8.1/test-files'
/usr/bin/pdftex --file-line-error-style --interaction nonstopmode  simple-links.tex 
This is pdfTeXk, Version 3.14159-1.10b (Web2C 7.4.5)
 file:line:error style messages enabled.
kpathsea: Running mktexfmt pdftex.fmt
running `pdftex -ini   -jobname=pdftex -progname=pdftex pdfbplain.ini' ...
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (INITEX)
(/usr/share/texmf/pdftex/plain/config/pdfbplain.ini
(/usr/share/texmf/tex/generic/babel/bplain.tex
(/usr/share/texmf/tex/plain/base/plain.tex Preloading the plain format: codes,
registers, parameters, fonts, more fonts, macros, math definitions,
output routines, hyphenation (/usr/share/texmf/tex/generic/babel/hyphen.cfg
(/usr/share/texmf/tex/generic/babel/plain.def)
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/frhyph.tex
frhyph.tex - French hyphenation patterns (V2.11) <2002/01/16>)
(/usr/share/texmf/tex/generic/hyphen/dehypht.tex
German Traditional Hyphenation Patterns `dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name `ghyph31' and `ghyphen'.))
(/usr/share/texmf/tex/generic/hyphen/dehyphn.tex
New German Hyphenation Patterns `dehyphn' Rev.31 <2001-05-07> (WaS))
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex)))) )
Beginning to dump on file pdftex.fmt
 (format=pdftex 2004.12.10)
2515 strings of total length 35487
6715 memory locations dumped; current usage is 110&6094
1079 multiletter control sequences
\font\nullfont=nullfont
\font\tenrm=cmr10
\font\preloaded=cmr9
\font\preloaded=cmr8
\font\sevenrm=cmr7
\font\preloaded=cmr6
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded=cmmi9
\font\preloaded=cmmi8
\font\seveni=cmmi7
\font\preloaded=cmmi6
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded=cmsy9
\font\preloaded=cmsy8
\font\sevensy=cmsy7
\font\preloaded=cmsy6
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded=cmss10
\font\preloaded=cmssq8
\font\preloaded=cmssi10
\font\preloaded=cmssqi8
\font\tenbf=cmbx10
\font\preloaded=cmbx9
\font\preloaded=cmbx8
\font\sevenbf=cmbx7
\font\preloaded=cmbx6
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded=cmtt9
\font\preloaded=cmtt8
\font\preloaded=cmsltt10
\font\tensl=cmsl10
\font\preloaded=cmsl9
\font\preloaded=cmsl8
\font\tenit=cmti10
\font\preloaded=cmti9
\font\preloaded=cmti8
\font\preloaded=cmti7
\font\preloaded=cmu10
\font\preloaded=cmmib10
\font\preloaded=cmbsy10
\font\preloaded=cmcsc10
\font\preloaded=cmssbx10
\font\preloaded=cmdunh10
\font\preloaded=cmr7 at 14.51799pt
\font\preloaded=cmtt10 at 14.4pt
\font\preloaded=cmssbx10 at 14.4pt
\font\preloaded=manfnt
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 23210 has 711 ops out of 35111
  235 for language 3
  207 for language 2
  88 for language 1
  181 for language 0
No pages of output.
Transcript written on pdftex.log.
[31;01mACCESS DENIED[0m  unlink:    /usr/share/texmf/web2c/pdftex.log
rm: cannot remove `/usr/share/texmf/web2c/pdftex.log': Permission denied
[31;01mACCESS DENIED[0m  rename:    /usr/share/texmf/web2c/pdftex.log
mv: cannot move `pdftex.log' to `/usr/share/texmf/web2c/pdftex.log': Permission denied
[31;01mACCESS DENIED[0m  unlink:    /usr/share/texmf/web2c/pdftex.fmt
rm: cannot remove `/usr/share/texmf/web2c/pdftex.fmt': Permission denied
[31;01mACCESS DENIED[0m  rename:    /usr/share/texmf/web2c/pdftex.fmt
mv: cannot move `pdftex.fmt' to `/usr/share/texmf/web2c/pdftex.fmt': Permission denied
/usr/share/texmf/web2c/mktexupd: /usr/share/texmf/web2c/pdftex.fmt not a file.
I can't find the format file `pdftex.fmt'!
make[2]: [simple-links.pdf] Error 1 (ignored)
make[2]: Leaving directory `/var/tmp/portage/gpdf-2.8.1/work/gpdf-2.8.1/test-files'

we'll need to patch around this, working on it.
Comment 7 Leon Mergen 2004-12-10 00:23:38 UTC
Great thanks!
Comment 8 Mike Gardiner (RETIRED) gentoo-dev 2004-12-10 00:38:34 UTC
Seeing as I don't have tex installed, can you verify if the following works before I commit it?

o)  in the gpdf-2.8.1.ebuild,
o)  in the src_unpack() function
o)  under epatch ${FILESDIR}..
o)  add in the line
o)  sed -i -e "s:test-files::" Makefile.in

Thanks.

Comment 9 Leon Mergen 2004-12-10 04:16:06 UTC
Verified, succesfully upgraded to gpdf-2.8.1. Great work :)
Comment 10 Leon Mergen 2004-12-10 04:18:33 UTC
Created attachment 45669 [details]
Ebuild after patch which worked

For extra verification, this worked.
Comment 11 Mike Gardiner (RETIRED) gentoo-dev 2004-12-10 05:11:11 UTC
Thanks for your help Leon, I've committed this fix to CVS now.