First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 216820
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Patrick Kursawe <phosphan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark Purtill <2tcso6e02@sneakemail.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 216820 depends on: Show dependency tree
Bug 216820 blocks: 222501
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: 2008-04-08 05:45 0000
I can't install sane-backends with the doc USE flag because I have ptex
installed.  This is because app-text/tetex (or texlive):

DEPEND="${RDEPEND}
        doc? (
                || ( app-text/tetex
                                (
                                        app-text/texlive
                                        dev-texlive/texlive-latexextra
                                )
                        )
        )
        >=sys-apps/sed-4"

I have ptext installed, which blocks tetex.  Shouldn't the dependency be
virtual/tetex or some such?  For now, I've turned off docs for sane-backends in
/etc/portage/package.use.

Reproducible: Always

Steps to Reproduce:
1. Install ptex rather than tetex.
2. Add doc to your USE flags.
3. Try to emerge sane-backends-1.0.18-r6.ebuild

Actual Results:  
Emerge fails because it can't merge tetex.

Expected Results:  
Successful emerge.

% emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 AMD Athlon(tm) XP 1900+
Timestamp of tree: Tue, 08 Apr 2008 02:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.16.1-r3, 2.17, 2.17.50.0.9, 2.17.50.0.10, 2.17.50.0.11,
2.17.50.0.12, 2.17.50.0.13, 2.17.50.0.14, 2.17.50.0.15, 2.17.50.0.16, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-ggdb -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-ggdb -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer nostrip sandbox sfperms
strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://213.186.33.38/gentoo-distfiles/
ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.osuosl.org/ "
LANG="en_US.utf8"
LC_ALL=""
LINGUAS="en ja"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=300"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-gis
/usr/portage/local/layman/xemacs /usr/portage/local/layman/sunrise
/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa arts berkdb bluetooth
bzip2 cairo canna cdr cjk cli cracklib crypt cups dbus debug doc dri dts dvd
dvdr dvdread emboss encode esd evo fam firefox fortran freetype freewnn gdbm
gif gnome gpm gstreamer gtk hal iconv imagemagick immqt-bc ipv6 isdnlog java
joystick jpeg kde kdexdeltas kerberos ldap lm_sensors mad maildir matroska mbox
midi mikmod mmx mmxext mng mozsvg mp3 mpeg mplayer mudflap mule ncurses nls
nodrm nptl nptlonly ogg opengl openmp oss pam pcre pdf perl pic png pppd python
qt qt3 qt3support qt4 quicktime readline reflection ruby scanner sdl session
spell spl sse ssl svg tcltk tcpd tetex tiff truetype unicode usb vcd vorbis
win32codecs wmf x264 x86 xine xinerama xml xorg xv zlib" ALSA_CARDS="via82xx"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="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 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"
CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en ja" USERLAND="GNU" VIDEO_CARDS="mga vesa
fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

------- Comment #1 From Jan Kundrát 2008-04-09 17:12:57 0000 -------
This might be a dupe of #199303 in case it really needs that particular version
of tex...

------- Comment #2 From Patrick Kursawe 2008-04-10 07:34:21 0000 -------
Just using the virtual would not pull in texlive-latexextra AFAIK. I have no
idea of ptex, will have to try if this works...

------- Comment #3 From Daniel Tourde 2008-06-11 10:41:31 0000 -------
Same problem here, I am using texlive:

emerge -pv sane-backends

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-text/tetex-3.0_p1-r6  USE="X Xaw3d doc motif tk -neXt" 0 kB
[ebuild     U ] media-gfx/sane-backends-1.0.19-r1 [1.0.18-r6] USE="doc gphoto2
ipv6 usb -v4l" 4,201 kB
[blocks B     ] app-text/dvipdfm (is blocking app-text/tetex-3.0_p1-r6)
[blocks B     ] app-text/xdvik (is blocking app-text/tetex-3.0_p1-r6)
[blocks B     ] app-text/tetex (is blocking app-text/texlive-core-2007-r12)
[blocks B     ] >=app-text/tetex-2 (is blocking app-text/dvipdfm-0.13.2d-r1)

Total: 2 packages (1 upgrade, 1 new, 4 blocks), Size of downloads: 4,201 kB

------- Comment #4 From Manfred Knick 2008-08-06 08:54:01 0000 -------
media-gfx/sane-backends-1.0.18-r6
media-gfx/sane-backends-1.0.19-r1
media-gfx/sane-backends-1.0.19-r2

All of these have an OR ( || ) clause in their ebuild
with tetex being the _only_ offer.

Thus in case of USE="doc" enabled,
the "tetex" dependency creates a conflict 
with _every_ other tex installed -
including the 2008.0 default, being dev-texlive/texlive-*

Temporarily, it helps to include an explicitly dedicated 
"media-gfx/sane-backends -doc" into /etc/portage/package.use -
but surely, the ebuilds should be fixed in order to 
accomodate to other Tex suites as well.

------- Comment #5 From Christian Faulhammer 2008-09-03 21:19:39 0000 -------
I am not sure how to handle this one here: we have virtual/latex-base which
would pull in app-text/tetex or TeXLive, but the latter withoutout the
latexextra part.

------- Comment #6 From Alexis Ballier 2008-09-04 06:12:09 0000 -------
(In reply to comment #5)
> I am not sure how to handle this one here: we have virtual/latex-base which
> would pull in app-text/tetex or TeXLive, but the latter withoutout the
> latexextra part.
> 

deps seems wrong; i doubt all the deps of the texlive meta ebuild are needed.

i could test this on a minimal install, but:

virtual/latex-base
|| ( dev-texlive/texlive-latexextra app-text/tetex app-text/ptex )

seems better

------- Comment #7 From Alexis Ballier 2008-09-04 07:33:29 0000 -------
fixed now
latex-base + texlive-latexextra for an extra package is enough

------- Comment #8 From Patrick Kursawe 2008-09-04 08:51:43 0000 -------
(In reply to comment #7)
> fixed now
> latex-base + texlive-latexextra for an extra package is enough

Thank you!

First Last Prev Next    No search results available      Search page      Enter new bug