Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211341 - sys-fs/owfs-2.7_p3 fails to compile with php USE flag
Summary: sys-fs/owfs-2.7_p3 fails to compile with php USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 08:09 UTC by Shawn Rutledge
Modified: 2008-03-22 17:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Rutledge 2008-02-25 08:09:55 UTC
ow_wrap.c: In function 'SWIG_Php4_GetModule':
ow_wrap.c:691: error: too few arguments to function 'zend_get_constant'
ow_wrap.c: In function 'SWIG_Php4_SetModule':
ow_wrap.c:700: error: 'tsrm_ls' undeclared (first use in this function)
ow_wrap.c:700: error: (Each undeclared identifier is reported only once
ow_wrap.c:700: error: for each function it appears in.)
ow_wrap.c: In function 'SWIG_ResetError':
ow_wrap.c:752: error: 'tsrm_ls' undeclared (first use in this function)
ow_wrap.c:752: error: expected expression before '=' token
ow_wrap.c:753: error: expected expression before '=' token
ow_wrap.c: In function '_wrap_version':
ow_wrap.c:994: error: expected ')' before ';' token
ow_wrap.c:994: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_init':
ow_wrap.c:1021: error: expected ')' before ';' token
ow_wrap.c:1021: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_get':
ow_wrap.c:1052: error: expected ')' before ';' token
ow_wrap.c:1052: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_put':
ow_wrap.c:1086: error: expected ')' before ';' token
ow_wrap.c:1086: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_finish':
ow_wrap.c:1103: error: expected ')' before ';' token
ow_wrap.c:1103: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_set_error_print':
ow_wrap.c:1127: error: expected ')' before ';' token
ow_wrap.c:1127: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_get_error_print':
ow_wrap.c:1147: error: expected ')' before ';' token
ow_wrap.c:1147: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_set_error_level':
ow_wrap.c:1171: error: expected ')' before ';' token
ow_wrap.c:1171: error: too few arguments to function 'zend_error'
ow_wrap.c: In function '_wrap_get_error_level':
ow_wrap.c:1191: error: expected ')' before ';' token
ow_wrap.c:1191: error: too few arguments to function 'zend_error'
make[3]: *** [ow_wrap.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-fs/owfs-2.7_p3/work/owfs-2.7p3/module/swig/php'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/owfs-2.7_p3/work/owfs-2.7p3/module/swig'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/owfs-2.7_p3/work/owfs-2.7p3/module'
make: *** [all-recursive] Error 1
 *
 * ERROR: sys-fs/owfs-2.7_p3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2124:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-fs/owfs-2.7_p3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/owfs-2.7_p3/temp/environment'.
 *

I have dev-lang/php-5.2.5-r1 and dev-lang/swig-1.3.31 installed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-25 08:21:28 UTC
On a side note...

@wschlich: Please note that built_with_use does not work properly for dev-lang/php due to an extensive hack around missing use-based deps forced by QA. You can *only* use require_php_with_use or require_php_sapi_from or similar functions from depend.php.eclass

Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2008-02-26 10:26:57 UTC
(In reply to comment #1)
> On a side note...
> 
> @wschlich: Please note that built_with_use does not work properly for
> dev-lang/php due to an extensive hack around missing use-based deps forced by
> QA. You can *only* use require_php_with_use or require_php_sapi_from or similar
> functions from depend.php.eclass

Interesting. Thanks! :)
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2008-03-22 17:54:41 UTC
(In reply to comment #0)
> I have dev-lang/php-5.2.5-r1 and dev-lang/swig-1.3.31 installed.

Just added 2.7_p4 to CVS. Please try this one.
Compiles fine on my machine using dev-lang/php-5.2.6_rc1-r1
and dev-lang/swig-1.3.31