Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397939 - sci-libs/geos-3.3.1[php] fails to compile
Summary: sci-libs/geos-3.3.1[php] fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL: http://trac.osgeo.org/geos/ticket/513
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-06 22:29 UTC by Andreas Sturmlechner
Modified: 2012-07-05 19:03 UTC (History)
2 users (show)

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


Attachments
3.3.1 build.log (build.log,380.14 KB, text/plain)
2012-01-06 22:29 UTC, Andreas Sturmlechner
Details
emerge --info (emerge.info,16.71 KB, text/plain)
2012-01-06 22:31 UTC, Andreas Sturmlechner
Details
bumped geos-3.3.2 ebuild with <php-5.4 dependency (geos-3.3.2.ebuild.diff,474 bytes, patch)
2012-01-08 18:29 UTC, Andreas Sturmlechner
Details | Diff
geos.c:83:37: error: ‘tsrm_ls’ undeclared (build.log,288.60 KB, text/plain)
2012-04-07 16:58 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2012-01-06 22:29:57 UTC
Created attachment 298141 [details]
3.3.1 build.log

Lately bumped geos-3.3.1 does not build on my system. same problem with 3.3.2 which was released just yesterday. 3.2.2 builds fine; is it probably a PHP-5.4 incompatibility?
Comment 1 Andreas Sturmlechner gentoo-dev 2012-01-06 22:31:01 UTC
Created attachment 298143 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2012-01-06 22:38:30 UTC
emerge successful with USE="-php"
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-01-08 16:50:21 UTC
The metadata.xml lists "postgresql" herd, wich does not exist as postgresql@gentoo.org. Intentional?
Comment 4 Andreas Sturmlechner gentoo-dev 2012-01-08 18:27:56 UTC
Same result with MAKEOPTS="-j1", for completeness.

Builds with USE="php" against dev-lang/php-5.3.9_rc4.
Comment 5 Andreas Sturmlechner gentoo-dev 2012-01-08 18:29:18 UTC
Created attachment 298339 [details, diff]
bumped geos-3.3.2 ebuild with <php-5.4 dependency
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2012-01-14 16:18:05 UTC
in cvs. thanks\!
Comment 7 jannis 2012-01-15 14:19:35 UTC
I think you should actually block >php:5.3 since I have the following case right now:
1. Have (only) php:5.4 installed
2. Try to update geos from 3.2.2 to 3.3.2
3. As dependency, php:5.3 is installed besides 5.4
4. geos fails to compile since it tries to build against the newer php:5.4 instead of php:5.3
Comment 8 Andreas Sturmlechner gentoo-dev 2012-02-25 10:20:39 UTC
Should we reopen this bug for an upcoming php-5.4 stabilization tracker?

I am currently following the geos nightly snapshots and as of 20120224 it is still not php-5.4 ready.
Comment 9 Andreas Sturmlechner gentoo-dev 2012-03-31 22:03:29 UTC
There's an open ticket now including a patch for 3.3.2 that claims fixing, but geos-3.3.2 still won't build for me.
Comment 10 Andreas Sturmlechner gentoo-dev 2012-03-31 22:03:47 UTC
http://trac.osgeo.org/geos/ticket/513
Comment 11 Raphaël Droz 2012-04-07 16:58:33 UTC
Created attachment 308103 [details]
geos.c:83:37: error: ‘tsrm_ls’ undeclared

please reopen, geos-3.3.2[php] does fail to build (php-5.3.10 [threads])
The failure is different than above but was already mentioned before:
* gentoo bug #373319
* http://trac.osgeo.org/geos/ticket/452
Comment 12 Andreas Sturmlechner gentoo-dev 2012-04-08 14:50:57 UTC
You should probably open a new bug for a different issue than this one.

Things you could try:
- geos-3.3.3 is out already (renaming ebuild works)
- geos nightly builds (I can provide a simple ebuild change for that)
Comment 13 Andreas Sturmlechner gentoo-dev 2012-06-09 09:50:42 UTC
geos-3.3.4 was released and supposed to have fixed PHP 5.4 support, but there's another issue with threads enabled:

http://trac.osgeo.org/geos/ticket/541
Comment 14 Andreas Sturmlechner gentoo-dev 2012-07-05 19:03:32 UTC
Not fixed in 3.3.5.