Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135533 - emerge --buildpkgonly malfunctions on mythtv
Summary: emerge --buildpkgonly malfunctions on mythtv
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-06-04 09:20 UTC by Robert Forsman
Modified: 2006-10-05 20:12 UTC (History)
1 user (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 Robert Forsman 2006-06-04 09:20:38 UTC
Emerge should be able to build a binary package of mythtv because mythtv-themes is a PDEPEND, right?  I need a way to make a binary package because I don't have time to wait around for a compile and then test.  I can't fire-and-forget because this is a "production" box and I need to make sure that the ugprade works so I can revert if it broke something (like when I upgraded PHP).

alexandria mythtv # emerge --buildpkgonly -u mythtv
Calculating dependencies ...done!

!!! --buildpkgonly requires all dependencies to be merged.
!!! Cannot merge requested packages. Merge deps and try again.
alexandria mythtv # emerge -uvDN -p mythtv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-tv/mythtv-0.19_p9163-r1 [0.18.1-r1] +alsa (-altivec) -arts -backendonly -dbox2 -debug +dvb +dvd -frontendonly -ieee1394 -jack -joystick +lcd +lirc +mmx +oggvorbis +opengl -video_cards_i810 -video_cards_nvidia -video_cards_via -xvmc 0 kB 
[ebuild  N    ] x11-themes/mythtv-themes-0.19  9,261 kB 

alexandria mythtv # emerge --info
Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP  2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/thoth/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d aac acl alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bzilb bzip2 cdr cli crypt cups curl divx4linux dri dts dvb dvd dvdr edl emboss encode esd exif expat fam ffmpeg flac foomaticdb gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 isdnlog java jpeg junit kde lcd lcms libg++ libwww lirc mad maildir matroska mhash mikmod mjpeg mmx mmx2 mng motif mozilla mozsvg mp3 mpeg mysql mythtv ncurses nls nojython ogg oggvorbis opengl pam pcre pdflib perl php png pppd python qt quicktime readline real reflection sdl session spell spl sse ssl svg svga tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vim-with-x vorbis win32codecs wmf xine xinerama xml xml2 xmms xorg xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 09:55:12 UTC
(In reply to comment #0)
> Emerge should be able to build a binary package of mythtv because mythtv-themes
> is a PDEPEND, right? 

Not really sure, PDEPEND is a hack...
Comment 2 Zac Medico gentoo-dev 2006-06-04 10:11:20 UTC
Neglecting portage resolver quirks, PDEPEND is essentially the same as RDEPEND.  Technically, you should be able to safely build a package with none of it's RDEPENDS or PDEPENDS installed, so I'd say this bug is valid.  You can probably work around the problem by using --nodeps.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-10-05 19:55:04 UTC
Any word on this?
Comment 4 Zac Medico gentoo-dev 2006-10-05 20:12:19 UTC
This should work fine in >=portage-2.1.2_pre2-r3.