Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 145729
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kevin F. Quinn (RETIRED) <kevquinn@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
app-text:tetex-2.0.2-r9:20060831-161252.log.bz2 emerge/ebuild log application/octet-stream Kevin F. Quinn (RETIRED) 2006-08-31 10:12 0000 134.96 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145729 depends on: Show dependency tree
Bug 145729 blocks: 227443
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-31 10:06 0000
Install phase tries to put stuff directly into the live filesystem:

/bin/install -c -m 644 ./mktex.opt
/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/share/texmf/web2c/mktex.opt
/bin/install -c ./mktexdir
/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/share/texmf/web2c/mktexdir
/bin/install -c -m 644 ./mktexdir.opt
/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/share/texmf/web2c/mktexdir.opt
/bin/install -c ./mktexnam
/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/share/texmf/web2c/mktexnam
/bin/install -c -m 644 ./mktexnam.opt
/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/share/texmf/web2c/mktexnam.opt
/bin/install -c ./mktexupd
/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/share/texmf/web2c/mktexupd
libtool --mode=install /bin/install -c -m 644 libkpathsea.la /usr/lib64
/bin/install -c -m 644 .libs/libkpathsea.so.0.0.0
/usr/lib64/libkpathsea.so.0.0.0
ACCESS DENIED  open_wr:   /usr/lib64/libkpathsea.so.0.0.0
/bin/install: cannot create regular file `/usr/lib64/libkpathsea.so.0.0.0':
Permission denied
make[2]: *** [install-exec] Error 1
make[2]: Leaving directory
`/home/portage/tmp/portage/tetex-2.0.2-r9/work/tetex-src-2.0.2/texk/kpathsea'
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/home/portage/tmp/portage/tetex-2.0.2-r9/work/tetex-src-2.0.2/texk'
make: *** [install] Error 1

!!! ERROR: app-text/tetex-2.0.2-r9 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_install
  ebuild.sh, line 1017:   Called src_install
  tetex-2.0.2-r9.ebuild, line 50:   Called tetex-2_src_install
  tetex-2.eclass, line 71:   Called tetex_src_install
  tetex.eclass, line 181:   Called tetex_src_install 'all'
  tetex.eclass, line 256:   Called tetex_src_install 'base' 'doc' 'fixup'
  tetex.eclass, line 195:   Called einstall
'bindir=/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/bin'
'texmf=/home/portage/tmp/portage/tetex-2.0.2-r9/image//usr/share/texmf'
  ebuild.sh, line 578:   Called die

!!! einstall failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-text_-_tetex-2.0.2-r9-6072.log"

open_wr:   /usr/lib64/libkpathsea.so.0.0.0
--------------------------------------------------------------------------------

Full build log to follow.

Portage 2.1.1_rc1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.12.4
Last Sync: Sun, 27 Aug 2006 16:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -ggdb2 -Wall"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -ggdb2 -Wall"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks installsources
metadata-transfer multilib-strict parallel-fetch sandbox sfperms splitdebug
strict stricter test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en de fr it se"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/home/portage/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa arts avi berkdb bitmap-fonts bzip2 cairo cdr cli
crypt cups dbus dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode fam
fbcon ffmpeg firefox flac fortran gdbm gif gpm gtk gtk2 hal ieee1394
imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg
kde kdeenablefinal kernel_linux ldap libg++ linguas_de linguas_en linguas_en_GB
linguas_fr linguas_it linguas_se mad mikmod mp3 mpeg ncurses nls nptl nptlonly
ogg opengl oss pam pcre pda pdflib perl png povray ppds pppd python qt3 qt4
quicktime readline reflection ruby samba scanner sdl session spell spl ssl svg
tcl tcltk tcpd test theora threads tiff tk truetype truetype-fonts type1-fonts
udev unicode userland_GNU v4l vcd video_cards_nv video_cards_vesa
video_cards_vga vorbis xinerama xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Kevin F. Quinn (RETIRED) 2006-08-31 10:12:55 0000 -------
Created an attachment (id=95566) [details]
emerge/ebuild log

emerge originally run with FEATURES="test"; failed (see bug #68878). 
Subsequently did:

FEATURES="-test" ebuild ...tetex-2.0.2-r9.ebuild install qmerge

and the results of that are at the end of the same log.

(log attached bzip2 - sorry, bugzilla wouldn't allow it as a text file; too
big).

Looks like a configure/makefile error.

------- Comment #2 From Martin Ehmsen (RETIRED) 2006-08-31 10:41:45 0000 -------
tetex-3 is soon going stable os i'm not going to spend much time fixing this
bug if it's not also present in tetex-3.
If I remember correctly I have done extensive testing to ensure that
FEATURES=test works with tetex-3 (it is very broken in tetex-2), but could you
please try tetex-3 and see if it works in that version?

------- Comment #3 From Kevin F. Quinn (RETIRED) 2006-08-31 13:27:17 0000 -------
Tried app-text/tetex-3.0-r4, but it shows the same sandbox error during the
install phase.  Should be reproduceable; just install with the sandbox enabled.
 Tests were running fine; ran out of time so killed that (I'll run them
overnight) and proceeded to install to see if the sandbox error was still
there:

/bin/install -c -m 644 ./mktex.opt
/home/portage/tmp/portage/tetex-3.0-r4/image//var/lib/texmf/web2c/mktex.opt
/bin/install -c ./mktexdir
/home/portage/tmp/portage/tetex-3.0-r4/image//var/lib/texmf/web2c/mktexdir
/bin/install -c -m 644 ./mktexdir.opt
/home/portage/tmp/portage/tetex-3.0-r4/image//var/lib/texmf/web2c/mktexdir.opt
/bin/install -c ./mktexnam
/home/portage/tmp/portage/tetex-3.0-r4/image//var/lib/texmf/web2c/mktexnam
/bin/install -c -m 644 ./mktexnam.opt
/home/portage/tmp/portage/tetex-3.0-r4/image//var/lib/texmf/web2c/mktexnam.opt
/bin/install -c ./mktexupd
/home/portage/tmp/portage/tetex-3.0-r4/image//var/lib/texmf/web2c/mktexupd
'libtool' --mode=install /bin/install -c -m 644 libkpathsea.la /usr/lib64
/bin/install -c -m 644 .libs/libkpathsea.so.4.0.0
/usr/lib64/libkpathsea.so.4.0.0
ACCESS DENIED  open_wr:   /usr/lib64/libkpathsea.so.4.0.0
/bin/install: cannot create regular file `/usr/lib64/libkpathsea.so.4.0.0':
Permission denied
make[2]: *** [install-exec] Error 1
make[2]: Leaving directory
`/home/portage/tmp/portage/tetex-3.0-r4/work/tetex-src-3.0/texk/kpathsea'
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/home/portage/tmp/portage/tetex-3.0-r4/work/tetex-src-3.0/texk'
make: *** [install] Error 1

!!! ERROR: app-text/tetex-3.0-r4 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_install
  ebuild.sh, line 1017:   Called src_install
  tetex-3.0-r4.ebuild, line 41:   Called tetex-3_src_install
  tetex-3.eclass, line 153:   Called tetex_src_install
  tetex.eclass, line 181:   Called tetex_src_install 'all'
  tetex.eclass, line 256:   Called tetex_src_install 'base' 'doc' 'fixup'
  tetex.eclass, line 195:   Called einstall
'bindir=/home/portage/tmp/portage/tetex-3.0-r4/image//usr/bin'
'texmf=/home/portage/tmp/portage/tetex-3.0-r4/image//var/lib/texmf'
  ebuild.sh, line 578:   Called die

!!! einstall failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-text_-_tetex-3.0-r4-17734.log"

open_wr:   /usr/lib64/libkpathsea.so.4.0.0
--------------------------------------------------------------------------------

------- Comment #4 From Kevin F. Quinn (RETIRED) 2006-09-01 10:09:24 0000 -------
hmm; how long do the tests take to run?  It has been sitting here:

./mft ./tests/io; mv io.tex tests/io.tex
/home/portage/tmp/portage/tetex-3.0-r4/work/tetex-src-3.0/texk/web2c/.libs/lt-mft:
fatal: mft file `plain.mft' not found.
This is MFT, Version 2.0 (Web2C 7.5.4)
./patgen ./tests/dict ./tests/patterns tests/xpatout \
   ./tests/translate <./tests/patgen.in

for some 16 hours so far...  Does it do that "mft file `plain.mft` not found"
error for you?

------- Comment #5 From Martin Ehmsen (RETIRED) 2006-09-01 10:44:34 0000 -------
I haven't done anything for tests in 3.0. The tests are only supposed to be
fixed in 3.0_p1.
Try the lastest version available... And it shouldn't take more than an hour
(at most... depends on your box).

------- Comment #6 From Kevin F. Quinn (RETIRED) 2006-09-02 01:41:12 0000 -------
OK; something interesting to report.

If I do:

FEATURES="-test" emerge =app-text/tetex-3.0_p1-r3

it installs fine, no sandbox error.  However if I do:

emerge =app-text/tetex-3.0_p1-r3
(fails at test phase)
ebuild .../app-text/tetex/tetex-3.0_p1-r3 install qmerge

then I get the sandbox violation during install.


Looking at the logs it's clear that in the first case everything is fine:

'libtool' --mode=install /bin/install -c -m 644 libkpathsea.la
/home/portage/tmp/portage/tetex-3.0_p1-r3/image/usr/lib64
/bin/install -c -m 644 .libs/libkpathsea.so.4.0.0
/home/portage/tmp/portage/tetex-3.0_p1-r3/image/usr/lib64/libkpathsea.so.4.0.0

but in the second case something odd is happening; those same lines are:

'libtool' --mode=install /bin/install -c -m 644 libkpathsea.la /usr/lib64
/bin/install -c -m 644 .libs/libkpathsea.so.4.0.0
/usr/lib64/libkpathsea.so.4.0.0

which is clearly wrong.


It's the same for all versions.  I have no idea how the behaviour changes from
one to the other.



Regarding the tests in general, I tried on x86 but while the test phase didn't
die, there's lots of stuff in the log that looks like the tests didn't all work
properly.

------- Comment #7 From Martin Ehmsen (RETIRED) 2006-09-03 01:59:01 0000 -------
The first thing looks strange and should be investigated further.

The issue about tests that does not look like they pass, that is a known issus
and is in large not fixable. The tests that does not pass are not critical (if
they were they would terminate the install).
I have only fixed the tests that didn't work and were critical. At the time I
had better things to do than fix tests :-)

------- Comment #8 From Fabian Groffen 2007-03-29 08:16:50 0000 -------
I got the same in prefix, but the order didn't matter.  The makefiles simply
don't look "DESTDIR" enabled, so I had to patch the eclass to override more
paths to get sandbox happy.

http://overlays.gentoo.org/proj/alt/changeset/4765

(Please ignore the ED, it's D in non-prefix)

------- Comment #9 From Pacho Ramos 2009-05-18 21:18:30 0000 -------
tetex was dropped, maybe this should be closed

------- Comment #10 From Pacho Ramos 2009-05-18 21:19:19 0000 -------
(In reply to comment #9)
> tetex was dropped, maybe this should be closed
> 

Ups, sorry for the noise, I have just seen bug 145729

------- Comment #11 From Jeremy Olexa (darkside) 2009-05-30 00:48:07 0000 -------
removed from the tree, wontfix

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug