Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685614 - dev-libs/redland-bindings-1.0.14.1-r2 - redland_wrap.c:730:3: error: #error These bindings need PHP5 - to generate PHP7 bindings use: swig -php7
Summary: dev-libs/redland-bindings-1.0.14.1-r2 - redland_wrap.c:730:3: error: #error T...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-11 12:51 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-04-18 14:07 UTC (History)
0 users

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


Attachments
dev-libs:redland-bindings-1.0.14.1-r2:20190511-123106.log (dev-libs:redland-bindings-1.0.14.1-r2:20190511-123106.log,900.21 KB, text/plain)
2019-05-11 12:51 UTC, Jeroen Roovers (RETIRED)
Details
redland-bindings-1.0.14.1-r2:20191014-005731.log (redland-bindings-1.0.14.1-r2:20191014-005731.log,40.65 KB, text/plain)
2019-10-14 01:08 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2019-05-11 12:51:30 UTC
Created attachment 576008 [details]
dev-libs:redland-bindings-1.0.14.1-r2:20190511-123106.log

Generating wrappers...
rm -f redland.php
hppa2.0-unknown-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/rapt
or2 -I/usr/include/rasqal  -I/usr/lib/php7.3/include/php -I/usr/lib/php7.3/include/php/main -I/usr/lib/php7.3/include/php/TSRM -I/usr/lib/php7.3/include/php/Ze
nd -I/usr/lib/php7.3/include/php/ext -I/usr/lib/php7.3/include/php/ext/date/lib -DREDLAND_BINDINGS_VERSION=\"1.0.14.1\"  -mschedule=8000 -march=2.0 -ggdb -Wall
 -O2 -pipe -Wno-comment  -I/usr/include/raptor2 -I/usr/include/rasqal   -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -fPIC -DPIC redland_wrap.
c -c -o redland_wrap.o
redland_wrap.c:730:3: error: #error These bindings need PHP5 - to generate PHP7 bindings use: swig -php7
 # error These bindings need PHP5 - to generate PHP7 bindings use: swig -php7
   ^~~~~
Comment 1 Alessandro Barbieri 2019-10-14 01:04:40 UTC
I have this error

Making all in php
make[2]: Entering directory '/var/tmp/portage/dev-libs/redland-bindings-1.0.14.1-r2/work/redland-bindings-1.0.14.1/php'
swig -v -php5 -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -noproxy -module redland -o redland_wrap.c /usr/share/redland/Redland.i
Target language option -php5 (PHP 5) is no longer supported.
Comment 2 Alessandro Barbieri 2019-10-14 01:08:22 UTC
Created attachment 592666 [details]
redland-bindings-1.0.14.1-r2:20191014-005731.log

buildlog
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2020-01-17 05:29:26 UTC
please test 1.0.17.1
Comment 4 Larry the Git Cow gentoo-dev 2020-04-18 14:07:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169f575b02bc02ac3a5396392b7386194a0ebf05

commit 169f575b02bc02ac3a5396392b7386194a0ebf05
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-04-18 13:59:23 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-04-18 14:06:56 +0000

    dev-libs/redland-bindings: fix PHP bindings
    
    Closes: https://bugs.gentoo.org/717412
    Closes: https://bugs.gentoo.org/685614
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...edland-bindings-1.0.17.1-add-PHP7-support.patch |  64 +++++++++++
 .../redland-bindings-1.0.17.1-php-config-r1.patch  |  77 +++++++++++++
 .../redland-bindings-1.0.17.1-r1.ebuild            | 126 +++++++++++++++++++++
 3 files changed, 267 insertions(+)