Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256080 - dev-php5/xdebug-2.0.5 and dev-php/xdebug-client-2.0.5 version bumps
Summary: dev-php5/xdebug-2.0.5 and dev-php/xdebug-client-2.0.5 version bumps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL: http://www.xdebug.org/download.php
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 254241 263061
  Show dependency tree
 
Reported: 2009-01-23 11:56 UTC by Steffen 'j0inty' Stollfuß
Modified: 2010-01-01 20:27 UTC (History)
10 users (show)

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


Attachments
dev-php5/xdebug/xdebug-2.0.4.ebuild (xdebug-2.0.4.ebuild,3.51 KB, text/plain)
2009-01-23 11:57 UTC, Steffen 'j0inty' Stollfuß
Details
dev-php/xdebug-client/xdebug-client-2.0.4.ebuild (xdebug-client-2.0.4.ebuild,890 bytes, text/plain)
2009-01-23 11:57 UTC, Steffen 'j0inty' Stollfuß
Details
xdebug-2.0.5.ebuild (xdebug-2.0.5.ebuild,3.51 KB, text/plain)
2009-07-14 14:24 UTC, Steffen 'j0inty' Stollfuß
Details
xdebug-client-2.0.5.ebuild (xdebug-client-2.0.5.ebuild,890 bytes, text/plain)
2009-07-14 14:24 UTC, Steffen 'j0inty' Stollfuß
Details
adding use flag defaulton and warnings (xdebug-2.0.5.ebuild.patch,1.92 KB, patch)
2009-08-23 13:09 UTC, Daniel Neugebauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen 'j0inty' Stollfuß 2009-01-23 11:56:20 UTC
Hi,

a bugfixed version of xdebug was released on the 31.12.2008.

A simple rename of the 2.0.3 to 2.0.4 ebuild and everything compiled fine at me.

UpStream ChangeLog:

[2008-12-30] — Xdebug 2.0.4
    Fixed bugs
    Fixed for strange jump positions in path analysis.
    Fixed issues with code coverage crashing on parse errors.
    Fixed code code coverage by overriding more opcodes.
    Fixed issues with Xdebug stalling/crashing when detaching from remote debugging.
    Fixed crash on Vista where memory was freed with routines from a different standard-C library than it was allocated with. (Patch by Eric Promislow <ericp@activestate.com>).
    Link against the correct CRT library. (Patch by Eric Promislow <ericp@activestate.com>).
    Sort the symbol elements according to name. (Patch by Eric Promislow <ericp@activestate.com>).
    Fixed support for mapped-drive UNC paths for Windows. (Patch by Eric Promislow <ericp@activestate.com>).
    Fixed a segfault in interactive mode while including a file.
    Fixed a crash in super global dumping in case somebody was strange enough to reassign them to a value type other than an Array.
    Simplify version checking for libtool. (Patch by PGNet <pgnet.trash@gmail.com>).
    Fixed display of unused returned variables from functions in PHP 5.3.
    Include config.w32 in the packages as well.
    Fixed .dsp for building with PHP 4.
    Added features
    Support debugging into phars.
    Basic PHP 5.3 support.

regards
j0inty

Reproducible: Always
Comment 1 Steffen 'j0inty' Stollfuß 2009-01-23 11:57:14 UTC
Created attachment 179446 [details]
dev-php5/xdebug/xdebug-2.0.4.ebuild
Comment 2 Steffen 'j0inty' Stollfuß 2009-01-23 11:57:49 UTC
Created attachment 179447 [details]
dev-php/xdebug-client/xdebug-client-2.0.4.ebuild
Comment 3 Sergey Dryabzhinsky 2009-05-14 14:31:00 UTC
Please change:
- URL to http://www.xdebug.org/download.php
- Keywords to EBUILD
Comment 4 Navid Zamani 2009-06-24 22:48:08 UTC
Why is this still not in portage? It's 6 months and 25 days now?

Lost and forgotten? Maintainer dead? :P

I think this one need a real maintainer, who is actually able to do it. ^^
Comment 5 Christian Hoffmann (RETIRED) gentoo-dev 2009-06-25 15:16:57 UTC
(In reply to comment #4)
> Why is this still not in portage? It's 6 months and 25 days now?
> 
> Lost and forgotten? Maintainer dead? :P
> 
> I think this one need a real maintainer, who is actually able to do it. ^^
Because actually there is no maintainer. The package is owned by the php herd and I'm mainly the only active person. And all I (can) really care about is php itself and its core extensions, which is hard enough for me, at the moment.
Has the ebuild, which is attached to this bug, been tested? Then I can commit it rather quickly, once I find a free minute.
Comment 6 Steffen 'j0inty' Stollfuß 2009-07-14 14:22:48 UTC
Hi,

A bugfixed xdebug released these days, so I made bump of it.

I added the "default_enable = 0" from bug http://bugs.gentoo.org/show_bug.cgi?id=263061 , too.

=== ChengeLog ===

http://xdebug.org/updates.php#x_2_0_5

[2009-07-03] — Xdebug 2.0.5
    Fixed bugs
    Fixed bug #425: memory leak (around 40MB for each request) when using xdebug_start_trace.
    Fixed bug #422: Segfaults when using code coverage with a parse error in the script.
    Fixed bug #418: compilation breaks with CodeWarrior for NetWare.
    Fixed bug #403: 'call' and 'return' breakpoints triggers both on call and return for class method breakpoints.
    Fixed TSRM issues for PHP 5.2 and PHP 5.3. (Original patch by Elizabeth M. Smith).
    Fixed odd crash bugs, due to GCC 4 sensitivity.
    Added features
    Support debugging into phars.
    Basic PHP 5.3 support.

j0inty
Comment 7 Steffen 'j0inty' Stollfuß 2009-07-14 14:24:14 UTC
Created attachment 197918 [details]
xdebug-2.0.5.ebuild
Comment 8 Steffen 'j0inty' Stollfuß 2009-07-14 14:24:43 UTC
Created attachment 197920 [details]
xdebug-client-2.0.5.ebuild
Comment 9 MT 2009-07-18 10:39:02 UTC
xdebug v2.0.2 and v2.0.3 suffers a lot of stability problems and causes Apache2 to randomly segmentation faults as reported upstream: http://bugs.xdebug.org/view.php?id=422

actually the stable release of xdebug available from portage is not more stable with php 5.2.8 and higher, please bump xdebug 2.0.5 which fixes all these issues.

p.s.: these same issues are experienced also by other Gentoo users: http://forums.gentoo.org/viewtopic-t-712748-highlight-xdebug.html
Comment 10 Kfir Ozer 2009-08-09 14:16:22 UTC
is there a reason why new xdebug is not on portage yet?
is there some testing or anything that i can do so the process will be faster?
the ebuilds here work great.

emerge --info:

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 09 Aug 2009 08:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1, 3.1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl adns aio alsa amd64 amr ao apache2 ares avahi bash-completion berkdb bidi bzip2 cairo cdda cdparanoia cdr cleartype cli consolekit cracklib crypt cups curl cvs dbus directdb directfb dns dri dvd dvdr emerald encode evo exif fam fax ffmpeg flac fortran gcrypt gd gdbm geoip gif gimp git glitz gmp gnome gnome-keyring gnome-print gnuplot gnutls gpm graphviz grub gstreamer gtk gtkhtml guile h323 hal iconv id3tag imagemagick iproute2 ipv6 isdnlog jack java java6 javascript jikes jpeg kerberos ladspa lame latex ldap libcaca libnotify libsamplerate lua lzo mad md5sum mikmod mmx mng modperl mono mp3 mpeg mudflap multilib musepack mysql mysqli ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl php pipechan png portaudio pppd pulseaudio python pyx quicktime readline reflection ruby samba sasl scanner sdl sdl-image session sip slang smi sndfile snmp spell spl sqlite sse sse2 ssh ssl startup-notification subversion svg sysfs tcl tcpd theora threads tiff timidity tk truetype twolame unicode usb v4l v4l2 vorbis wav webdav wmf x264 xcb xcomposite xft xinerama xml xorg xosd xulrunner xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" NETBEANS_MODULES="harness nb webcommon xml php groovy java gsf ide j2ee websvccommon" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Raphael Dehousse 2009-08-12 20:28:15 UTC
I confirm it works too
Comment 12 Matti Bickel (RETIRED) gentoo-dev 2009-08-23 10:31:46 UTC
fine here, too. if nobody complains, i will up this into the tree in a week.
i'm currently using phpunit for work, but it'd be nice if someone with more php-foo can work with me on this.
Comment 13 Daniel Neugebauer 2009-08-23 13:09:32 UTC
Created attachment 202023 [details, diff]
adding use flag defaulton and warnings

Thanks for addressing my bug #263061 ("default_enable should be off for system consistency"). I added a patch for the new ebuild to make that behavior configurable by USE flag including warnings on postinst that should be sufficient to explain the issue and possible options.

I did not add that patch to my original bug since the ebuild to be patched is on this bug.

Please review it for grammar etc. - I think having a USE flag and an explanation is better than just silently changing it on upgrades. I don't know if there's any existing USE flag that could be used?
Comment 14 Raphael Dehousse 2009-09-23 07:05:27 UTC
Any news on this ?

pear 1.8.1 entered the tree :)

Thanks in advance for your work !
Comment 15 Raphael Dehousse 2009-10-15 20:47:24 UTC
Hello,

Is there sth blocking this issue ?

How could we help ?

Thanks !

Cheers,

Raph
Comment 16 Steffen 'j0inty' Stollfuß 2009-11-13 02:32:31 UTC
Hi,

I tested this package on several systems (amd64 and x86).

I noticed no problems at time. So please add this to the tree.

regards
j0inty
Comment 17 Ole Markus With (RETIRED) gentoo-dev 2009-11-22 09:58:15 UTC
I have been using xdebug 2.0.5 (with PHP 5.3) for a long time and experienced no issues.
Comment 18 Kfir Ozer 2009-12-14 16:21:33 UTC
i've been testing these ebuilds on several x86 and x64 machines at my work place and i didn't encounter any problems.
Comment 19 Ben de Groot (RETIRED) gentoo-dev 2010-01-01 20:27:01 UTC
Committed. Thanks for your contributions. Daniel: I decided not to go with a useflag. Default disabled makes sense. Users can easily enable it when they want.