Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 389033

Summary: New keywords and patches for dev-php/{xdebug,xdebug-client}-2.1.2 and eclass: ~{x86,x64}-macos
Product: Gentoo/Alt Reporter: nietonfir
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: KEYWORDREQ
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: eprefixified xdebug-2.1.2.ebuild
xdebug-2.1.2.ebuild diff
php-ext-source-r2.eclass diff
eprefixified xdebug-client-2.1.2 ebuild
xdebug-client-2.1.2.ebuild diff
xdebug-client-2.1.2: removes -Wno-long-double from configure and configure.in

Description nietonfir 2011-10-30 20:44:26 UTC
Created attachment 291291 [details]
eprefixified xdebug-2.1.2.ebuild

Both xdebug and xdebug-client don't emerge at first because of the missing keyword. Besides of the obvious ebuild changes, the eprefixified version of the php-ext-source-r2.eclass is needed (see bug 358987 for it, will attach the diff here as well).

Furthermore does xdebug-client require a minor patch to be able to compile under OS X due to the following error:
86_64-apple-darwin10-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -fomit-frame-pointer -march=nocona -Wno-long-double -c main.c
x86_64-apple-darwin10-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -fomit-frame-pointer -march=nocona -Wno-long-double -c usefulstuff.c
cc1: Fehler: nicht erkannte Kommandozeilenoption »-Wno-long-double«
make[1]: *** [usefulstuff.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
cc1: Fehler: nicht erkannte Kommandozeilenoption »-Wno-long-double«

The provided patch simply removes the offending warning flag as suggested in [1] and [2].

[1] http://www.mugginsoft.com/content/compiling-cint-os-x-106
[2] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322
Comment 1 nietonfir 2011-10-30 20:44:51 UTC
Created attachment 291293 [details, diff]
xdebug-2.1.2.ebuild diff
Comment 2 nietonfir 2011-10-30 20:47:00 UTC
Created attachment 291295 [details, diff]
php-ext-source-r2.eclass diff

Please see bug 358987 and bug 388245 for some other ebuilds depending on this eclass changes!
Comment 3 nietonfir 2011-10-30 20:47:47 UTC
Created attachment 291297 [details]
eprefixified xdebug-client-2.1.2 ebuild
Comment 4 nietonfir 2011-10-30 20:48:10 UTC
Created attachment 291299 [details, diff]
xdebug-client-2.1.2.ebuild diff
Comment 5 nietonfir 2011-10-30 20:49:18 UTC
Created attachment 291301 [details, diff]
xdebug-client-2.1.2: removes -Wno-long-double from configure and configure.in
Comment 6 Fabian Groffen gentoo-dev 2017-11-14 14:59:47 UTC
I'm sorry, thanks for the work, yet today it is out of date.