Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526358 - dev-libs/redland-bindings-1.0.14.1 - redland_wrap.c: In function ‘SWIG_FAIL’: /usr/lib64/php5.5/include/php/Zend/../TSRM/TSRM.h:164:57: error: ‘tsrm_ls’ undeclared (first use in this function)
Summary: dev-libs/redland-bindings-1.0.14.1 - redland_wrap.c: In function ‘SWIG_FAIL’:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: STABLE
: 573120 (view as bug list)
Depends on: 526158
Blocks:
  Show dependency tree
 
Reported: 2014-10-21 20:04 UTC by Andreas K. Hüttel
Modified: 2020-01-17 05:28 UTC (History)
3 users (show)

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


Attachments
build log (redland-bindings-1.0.14.1:20141021-184804.log,24.87 KB, text/plain)
2014-10-21 20:06 UTC, Andreas K. Hüttel
Details
emerge --info (emerge-info.txt,18.45 KB, text/plain)
2014-10-21 20:08 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2014-10-21 20:04:35 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -UHAVE_CONFIG_H   -I/usr/include/rasqal -I/usr/include/raptor2 -I/usr/include/libxml2  -I/usr/lib64/php5.5/include/php -I/usr/lib64/php5.5/include/php/main -I/usr/lib64/php5.5/include/php/TSRM -I/usr/lib64/php5.5/include/php/Zend -I/usr/lib64/php5.5/include/php/ext -I/usr/lib64/php5.5/include/php/ext/date/lib -DREDLAND_BINDINGS_VERSION=\"1.0.14.1\"  -march=native -O2 -pipe -ggdb -frecord-gcc-switches  -I/usr/include/rasqal -I/usr/include/raptor2 -I/usr/include/libxml2   -march=native -O2 -pipe -ggdb -frecord-gcc-switches -fPIC -DPIC redland_wrap.c -c -o redland_wrap.o
In file included from /usr/lib64/php5.5/include/php/Zend/zend_alloc.h:27:0,
                 from /usr/lib64/php5.5/include/php/Zend/zend.h:252,
                 from redland_wrap.c:717:
redland_wrap.c: In function ‘SWIG_FAIL’:
/usr/lib64/php5.5/include/php/Zend/../TSRM/TSRM.h:164:57: error: ‘tsrm_ls’ undeclared (first use in this function)
 #define TSRMG(id, type, element) (((type) (*((void ***) tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(id)])->element)
                                                         ^
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-10-21 20:06:41 UTC
Created attachment 387162 [details]
build log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2014-10-21 20:08:49 UTC
Created attachment 387164 [details]
emerge --info
Comment 3 Paul Osmialowski 2015-03-28 08:41:30 UTC
The same here, php binding fails on:
redland_wrap.c: In function ‘SWIG_FAIL’:
redland_wrap.c:1032:16: error: ‘tsrm_ls’ undeclared (first use in this function)
Comment 4 Paul Osmialowski 2015-03-28 08:42:13 UTC
I'm building -r2 version:

[ebuild  N     ] dev-libs/redland-bindings-1.0.14.1-r2  USE="lua perl php python ruby" PYTHON_TARGETS="python2_7" 0 KiB
Comment 5 Elliot Chandler 2017-01-05 06:10:43 UTC
For what it's worth, it builds when the "threads" USE flag is removed from dev-lang/php.
Comment 6 Ben Kohler gentoo-dev 2017-10-09 19:17:21 UTC
*** Bug 573120 has been marked as a duplicate of this bug. ***
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2020-01-17 05:28:28 UTC
(In reply to Elliot Chandler from comment #5)
> For what it's worth, it builds when the "threads" USE flag is removed from
> dev-lang/php.

That's required now so should be fixed