Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212595 - dev-php5/php-gtk-2.0.0 compile failed w/ USE=sourceview
Summary: dev-php5/php-gtk-2.0.0 compile failed w/ USE=sourceview
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 16:02 UTC by Zach
Modified: 2010-12-27 21:41 UTC (History)
0 users

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


Attachments
Build Log (php-gtk-2.0.0:20080307-155040.log,477.15 KB, text/plain)
2008-03-07 16:09 UTC, Zach
Details
Build Log (php-gtk-2.0.0:20080307-155040.log,477.15 KB, text/plain)
2008-03-07 16:09 UTC, Zach
Details
environment (environment.txt,133.23 KB, text/plain)
2008-03-07 16:17 UTC, Zach
Details
emerge --info (emerge.info,4.49 KB, text/plain)
2008-03-07 18:53 UTC, Zach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zach 2008-03-07 16:02:37 UTC
ext/sourceview/sourceview.overrides: In function 'zim_GtkSourceView_forward_search':
ext/sourceview/sourceview.overrides:303: error: 'tsrm_ls' redeclared as different kind of symbol
ext/sourceview/sourceview.overrides:294: error: previous definition of 'tsrm_ls' was here
ext/sourceview/sourceview.overrides: In function 'zim_GtkSourceView_backward_search':
ext/sourceview/sourceview.overrides:349: error: 'tsrm_ls' redeclared as different kind of symbol
ext/sourceview/sourceview.overrides:340: error: previous definition of 'tsrm_ls' was here
make: *** [ext/sourceview/gen_sourceview.lo] Error 1
 *
 * ERROR: dev-php5/php-gtk-2.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3602:  Called die
 * The specific snippet of code:
 *       emake || die "make failed!";
 *  The die message:
 *   make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always
Comment 1 Zach 2008-03-07 16:09:18 UTC
Created attachment 145492 [details]
Build Log
Comment 2 Zach 2008-03-07 16:09:34 UTC
Created attachment 145493 [details]
Build Log
Comment 3 Zach 2008-03-07 16:17:00 UTC
Created attachment 145494 [details]
environment
Comment 4 Zach 2008-03-07 16:33:03 UTC
ok sorry. strange, I manually update to a new slot of 11-libs/gtksourceview-2.0.2.

Still no go.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 17:51:02 UTC
Reopen with emerge --info output and complete emerge log attached; not to mention that it's a complete mystery how did you manage this with a missing patch for the ebuild.
Comment 6 Zach 2008-03-07 18:53:11 UTC
Created attachment 145497 [details]
emerge --info

Attached is my emerge --info. Sorry I should have mentioned I corrected the patch in Bug 212390. 

The emerge log is attached as php-gtk-2.0.0:20080307-155040.log.

Also as an FYI, if I emerge without use flag -sourceview, everything compiles fine and it is working.

If you need anything else please let me know. 

Thanks.
Comment 7 Zach 2008-03-07 18:54:19 UTC
reopening
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 19:02:04 UTC
(In reply to comment #6)
> Also as an FYI, if I emerge without use flag -sourceview, everything compiles
> fine and it is working.

So with or without... ???
Comment 9 Zach 2008-03-07 19:13:00 UTC
without sourceview emerge works.

[ebuild   R   ] dev-php5/php-gtk-2.0.0  USE="doc extra glade html libsexy mozembed scintilla spell -debug -examples -sourceview" LINGUAS="en -bg -ja -pt_BR -zh_CN" 0 kB

So this appears isolated to just that one Use Flag. Looks like there may be some issues with sourceview & php-gtk-2 upstream? link below:

http://www.nabble.com/Re:-Release--p15100676.html

Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 19:20:06 UTC
Removed the USE flag in PHP overlay; if you want this fixed properly then take it upstream; thanks.
Comment 11 Zach 2008-03-07 19:24:34 UTC
(In reply to comment #10)
> Removed the USE flag in PHP overlay; if you want this fixed properly then take
> it upstream; thanks.
> 

Thank you Jakub. I don't use sourceview but I will attempt to alert them that it does not work on Gentoo. I see Ubuntu has issues as well (buried in the threads). 

Comment 12 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 19:27:41 UTC
Reopen until it's commited to CVS.
Comment 13 Zach 2008-03-07 19:51:11 UTC
Bug reported upstream

http://bugs.php.net/bug.php?id=44365
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 20:01:51 UTC
(In reply to comment #10)
> Removed the USE flag in PHP overlay

InCVS.
Comment 15 Anant Narayanan (RETIRED) gentoo-dev 2008-03-08 03:05:02 UTC
Bug verified, we need some changes in our ebuild. PHP-GTK 2.0 has a final release now, I'll close this bug when that gets into portage.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2008-03-08 07:45:27 UTC
(In reply to comment #15)
> Bug verified, we need some changes in our ebuild. PHP-GTK 2.0 has a final
> release now, I'll close this bug when that gets into portage.

Well, 2.0.0 final is already there... but still broken. :) 
Comment 17 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-17 22:42:54 UTC
Moving to herd since Anant left Gentoo.
Comment 18 Matti Bickel (RETIRED) gentoo-dev 2010-05-01 19:54:14 UTC
Well, the issue is "fixed" in that it doesn't happen anymore. I don't know what anant meant by the ebuild being broken in the upstream bug. I'm trying to confirm if this still occurs with the latest php and php-gtk ebuilds.