Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32846 - php-ext eclass pulls in sys-devel/m4 which is not nessicarily available or always correct even
Summary: php-ext eclass pulls in sys-devel/m4 which is not nessicarily available or al...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 21:40 UTC by Harm Geerts
Modified: 2003-11-07 15:15 UTC (History)
0 users

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 Harm Geerts 2003-11-05 21:40:09 UTC
Since sys-devel/m4-1.4-r1 came in portage every emerge -uDvp world it would 
down/upgrade between version 1.4 and 1.4-r1. However the only ebuild that 
depends on sys-devel/m4 (according to qpkg) is autoconf and that doesn't have 
a strict dependency on 1.4 
 
To get rid of this version switching I masked sys-devel/m4-1.4 and ran emerge 
-uDvp world again. 
 
root@manuel files # emerge -uDvp world 
These are the packages that I would merge, in order: 
Calculating world dependencies - 
!!! all ebuilds that could satisfy "=sys-devel/m4-1.4" have been masked. 
!!!    (dependency required by "dev-php/php-accelerator-1.3.3" [ebuild]) 
!!! Problem with ebuild dev-php/php-accelerator-1.3.3 
!!! Possibly a DEPEND/*DEPEND problem. 
!!! Depgraph creation failed. 
 
But the dev-php/php-accelerator ebuild doesn't have a dependency on sys-devel/
m4-1.4 
Now what am I missing and why does php-accelerator depend on sys-devel/m4-1.4? 
 
If I remove the ebuild everything works fine with sys-devel/m4-1.4 masked. 

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



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22) 
================================================================= 
System uname: 2.4.22 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/
share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/
config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs fixpackages" 
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://
ftp.skynet.be/mirror/gentoo/ http://gentoo.oregonstate.edu http://
www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage/overlay" 
SYNC="rsync://rsync1.nl.gentoo.org/gentoo-portage" 
USE="apm foomaticdb gif libg++ mikmod nls pdflib xml2 gdbm berkdb slang aalib 
tcltk gpm pam ssl esd imlib motif 3dnow acpi alsa -apache2 arts avi cdr crypt 
cups dga dvd dvdr encode fbcon -foreign-package gd -gnome gtk gtk2 -gtkhtml 
icc icc-pgo imap imlib2 java jpeg kde libwww mad maildir matroska mmx moznoxft 
mpeg mysql ncurses oggvorbis opengl oss perl png python qt -quicktime readline 
samba scanner sdl spell sse svga tcpd tiff truetype usb X xinerama xmms xv 
zlib x86"
Comment 1 SpanKY gentoo-dev 2003-11-06 20:49:24 UTC
it's the php-ext eclasses ... all of them do for some reason ...
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-07 01:08:53 UTC
coredumb, with this change seriously break anything?

Index: php-ext.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/php-ext.eclass,v
retrieving revision 1.3
diff -u -3 -p -w -b -B -r1.3 php-ext.eclass
--- php-ext.eclass      12 Jul 2003 16:27:31 -0000      1.3
+++ php-ext.eclass      7 Nov 2003 09:07:23 -0000
@@ -29,8 +29,11 @@ EXPORT_FUNCTIONS src_compile src_install

 DEPEND="${DEPEND}
                virtual/php
-               =sys-devel/m4-1.4
+               =sys-devel/m4-1.4*
                >=sys-devel/libtool-1.4.3"
+
+RDEPEND="${RDEPEND}
+                virtual/php"

 php-ext_buildinilist () {
        # work out the list of .ini files to edit/add to
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-07 15:15:03 UTC
fixed in CVS.