Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389033 - New keywords and patches for dev-php/{xdebug,xdebug-client}-2.1.2 and eclass: ~{x86,x64}-macos
Summary: New keywords and patches for dev-php/{xdebug,xdebug-client}-2.1.2 and eclass:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2011-10-30 20:44 UTC by nietonfir
Modified: 2017-11-14 14:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
eprefixified xdebug-2.1.2.ebuild (xdebug-2.1.2.ebuild,3.94 KB, text/plain)
2011-10-30 20:44 UTC, nietonfir
Details
xdebug-2.1.2.ebuild diff (xdebug-2.1.2.ebuild.diff,362 bytes, patch)
2011-10-30 20:44 UTC, nietonfir
Details | Diff
php-ext-source-r2.eclass diff (php-ext-source-r2.eclass.diff,1.97 KB, patch)
2011-10-30 20:47 UTC, nietonfir
Details | Diff
eprefixified xdebug-client-2.1.2 ebuild (xdebug-client-2.1.2.ebuild,952 bytes, text/plain)
2011-10-30 20:47 UTC, nietonfir
Details
xdebug-client-2.1.2.ebuild diff (xdebug-2.1.2.ebuild.diff,362 bytes, patch)
2011-10-30 20:48 UTC, nietonfir
Details | Diff
xdebug-client-2.1.2: removes -Wno-long-double from configure and configure.in (xdebug-client-2.1.2-prefix-no-long-double.patch,705 bytes, patch)
2011-10-30 20:49 UTC, nietonfir
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.