Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 155944
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Emiliano Vavassori <syntaxerrormmm@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 155944 depends on: Show dependency tree
Bug 155944 blocks:
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-11-22 06:54 0000
# emerge -av auctex
[...]
[ebuild   R   ] app-emacs/auctex-11.83-r1  USE="preview-latex" 0 kB
[...]
* checking 278 files for package collisions
existing file /usr/share/texmf/tex/latex/preview/prfootnotes.def is not owned
by this package
existing file /usr/share/texmf/tex/latex/preview/prcounters.def is not owned by
thi
s package                                                                      
   existing file /usr/share/texmf/tex/latex/preview/prlyx.def is not owned by
this package
existing file /usr/share/texmf/tex/latex/preview/prtightpage.def is not owned
by th
is package                                                                      
existing file /usr/share/texmf/tex/latex/preview/prtracingall.def is not owned
by this package
existing file /usr/share/texmf/tex/latex/preview/prshowlabels.def is not owned
by t
his package                                                                     
existing file /usr/share/texmf/tex/latex/preview/prshowbox.def is not owned by
this package
existing file /usr/share/texmf/tex/latex/preview/prauctex.cfg is not owned by
this 
package                                                                        
   existing file /usr/share/texmf/tex/latex/preview/prauctex.def is not owned
by this 
package                                                                        
   existing file /usr/share/texmf/tex/latex/preview/preview.sty is not owned by
this p
ackage                                                                         
   * spent 0.832927942276 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it 
* as a bug for this package on http://bugs.gentoo.org

package app-emacs/auctex-11.83-r1 NOT merged


Searching all installed packages for file collisions...
Press Ctrl-C to Stop

 * app-text/tetex-3.0_p1-r3:

     '/usr/share/texmf/tex/latex/preview/prfootnotes.def'
     '/usr/share/texmf/tex/latex/preview/prcounters.def'
     '/usr/share/texmf/tex/latex/preview/prlyx.def'
     '/usr/share/texmf/tex/latex/preview/prtightpage.def'
     '/usr/share/texmf/tex/latex/preview/prtracingall.def'
     '/usr/share/texmf/tex/latex/preview/prshowlabels.def'
     '/usr/share/texmf/tex/latex/preview/prshowbox.def'
     '/usr/share/texmf/tex/latex/preview/prauctex.cfg'
     '/usr/share/texmf/tex/latex/preview/prauctex.def'
     '/usr/share/texmf/tex/latex/preview/preview.sty'

# emerge --info
Portage 2.1.2_rc2-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.4-r4, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Mobile AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.6
Last Sync: Wed, 22 Nov 2006 11:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/"
LANG="it_IT"
LC_ALL="it_IT.utf8"
LINGUAS="it en"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gechi-testing"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 7zip X aac aalib acpi aim alsa apache2 audiofile berkdb
bitmap-fonts bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups dba dbase
dga dio dlloader dri dts dvb dvd dvdr dvdread elibc_glibc emboss encode esd fam
fbcon ffmpeg fftw firefox flac flatfile fortran ftp gcj gdbm geoip gif gnutls
gpm gps gstreamer gtk iconv icq ieee1394 imagemagick imap imlib
input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_synaptics isdnlog jabber jack javascript jpeg jpeg2k kernel_linux
lcms lesstif libcaca libg++ libgda linguas_en linguas_it mad matroska mbox
md5sum mhash mikmod mime mmap mmx mng motif mp3 mpeg msn musepack nas ncurses
nis nls nptl nptlonly nsplugin odbc offensive ogg opengl oscar oss pam pcmcia
pcre pdf perl php pic png posix postgres ppds pppd python qt3 qt4 quicktime
readline reflection samba sdl session sharedmem sndfile soap sockets sox spell
spl sse ssl svg sysvipc szip tcltk tcpd tetex theora threads tiff timidity
truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd
video_cards_fbdev video_cards_v4l video_cards_vesa video_cards_via vorbis
win32codecs wmf wxwindows xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv
xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

Disabling the USEFLAG 'preview-latex' for app-emacs/auctex works fine.

------- Comment #1 From Christian Faulhammer 2006-11-22 07:05:09 0000 -------
Yeah, I know that.  Problem is that auctex ships a newer version of preview.sty
and friends.  I can't delete that package neither from tetex nor from auctex. 
Maybe shipping a separate dev-tex/preview package would help.  text-markup, any
ideas?

------- Comment #2 From Christian Faulhammer 2006-11-22 08:47:56 0000 -------
Ok, I now know how to avoid preview.sty and friends from being installed.  For
the archive: It is by removing texmf and intall-texmf from prerequisites of all
and install targets in auctex-11.83/preview/Makefile.in
So text-markup, I need your help now.  I can prepare a dev-tex/preview package,
we both (p)depend on with app-text/tetex and app-emacs/auctex to avoid file
collisions, but tetex still has the same packages as before.  On your side,
preview.* must be removed from the tarball (or by other means as in
pkg_postinstall() function).

------- Comment #3 From Christian Faulhammer 2006-11-26 09:29:10 0000 -------
Another solution could be to let auctex install the TeX files into the local
TeXMF tree to avoid collisions...this could break a user installation as it
would overwrite his additions or we take another separate tree.  Any comments?

------- Comment #4 From Emiliano Vavassori 2006-11-26 13:42:04 0000 -------
(In reply to comment #3)
> Another solution could be to let auctex install the TeX files into the local
> TeXMF tree to avoid collisions...this could break a user installation as it
> would overwrite his additions or we take another separate tree.  Any comments?

Well, we can use the /usr/share/texmf-site tree. I still prefer (by a great
deal) the solution adviced in comment #2: all files that come from system
packages would go to /usr/share/texmf and other trees will be managed by the
sysadmin of the machine. Also, splitting in a dev-tex/preview-latex package
could ease the updating of those .sty files.

Thanks for the work, let's wait for text-markup devels for saying something.

------- Comment #5 From Martin Ehmsen (RETIRED) 2006-11-26 13:47:48 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > Another solution could be to let auctex install the TeX files into the local
> > TeXMF tree to avoid collisions...this could break a user installation as it
> > would overwrite his additions or we take another separate tree.  Any comments?
> 
> Well, we can use the /usr/share/texmf-site tree.

The texmf-site tree was created exactly for these kinds of things (the tree was
created to handle tex packages which is included in the standard texmf-tree and
has a separate ebuild). A user should not install anything in that tree (he/she
could just create his own tree).
So the way to go is to use texmf-site.

------- Comment #6 From Christian Faulhammer 2006-11-27 08:57:39 0000 -------
It is fixed in -r1.  My solution was to install it in TEXMFSITE, this is
determined via `kpsewhich -var-value=TEXMFSITE` and used in the ebuild. I don't
depend on USE=preview-latex when creating the variable or setting the configure
option because it does no harm or cost significant performance.

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