First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 47513
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Heinrich Wendel (RETIRED) <lanius@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
swig-1.3.21.ebuild swig-1.3.21.ebuild text/plain Diego E. 'Flameeyes' Pettenò 2004-04-11 07:44 0000 2.01 KB Details
swig-1.3.21.diff swig-1.3.21.diff patch Diego E. 'Flameeyes' Pettenò 2004-04-11 11:42 0000 1.05 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 47513 depends on: Show dependency tree
Bug 47513 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-11 07:43 0000
Hi,

The attached ebuild is a fix for swig-1.3.21, which adds a local flag php to remove the auto-detection of php. This because if you have php self-compiled (like I have), swig continue failing php detecion (not sure if can be also with portaged php for recent version, the error is this:

 gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -g -O2 -Wall -MT libswigphp4_la-libphp4.lo -MD -MP -MF .deps/libswigphp4_la-libphp4.Tpo -c libphp4.c  -fPIC -DPIC -o .libs/libswigphp4_la-libphp4.o
libphp4.c: In function `SWIG_ZTS_ConvertResourcePtr':
libphp4.c:475: error: too few arguments to function `zend_rsrc_list_get_rsrc_type'
libphp4.c: In function `SWIG_ZTS_ConvertPtr':
libphp4.c:500: warning: dereferencing type-punned pointer will break strict-aliasing rules
libphp4.c:491: warning: unused variable `val'
libphp4.c: At top level:
libphp4.c:324: warning: `SWIG_landfill' defined but not used
make[1]: *** [libswigphp4_la-libphp4.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/swig-1.3.21/work/SWIG-1.3.21/Runtime'
make: *** [runtime] Error 2


Diego 'Flameeyes'

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2004-04-11 07:44:05 0000 -------
Created an attachment (id=29078) [edit]
swig-1.3.21.ebuild

------- Comment #2 From Heinrich Wendel (RETIRED) 2004-04-11 11:27:57 0000 -------
can you please post a diff

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2004-04-11 11:42:22 0000 -------
Created an attachment (id=29099) [edit]
swig-1.3.21.diff

Here is it :)

------- Comment #4 From Heinrich Wendel (RETIRED) 2004-04-11 17:44:00 0000 -------
commited, but depend on virtual/php instead of php

------- Comment #5 From Heinrich Wendel (RETIRED) 2004-04-11 18:03:59 0000 -------
can't commit at the moment, because there is no php version for mips in
portage, waiting for the mips team ;)

------- Comment #6 From Dennis Freise 2004-05-17 08:18:04 0000 -------
Since there has passed some time, and swig fails now for the portage php -
what's the status of this bug ?

------- Comment #7 From Heinrich Wendel (RETIRED) 2004-05-24 05:30:50 0000 -------
i'm waiting for the mips team to test a php version

------- Comment #8 From Diego E. 'Flameeyes' Pettenò 2004-06-14 08:17:23 0000 -------
We're still waiting mips team since 2004-04-11 ?
Why don't release a 1.3.21-r1 which doesn't appear in mips, so we can have it fixed for other archs (I think there's a lot more people using one of the other archs than mips).

------- Comment #9 From Ciaran McCreesh 2004-06-14 08:23:54 0000 -------
Er, isn't this why we have use masking?

------- Comment #10 From Stephen Becker (RETIRED) 2004-06-14 08:27:11 0000 -------
Hmm...I dont really have the expertise to properly test php, so I've not
touched this one.  Can someone else jump on this?  I'm not sure any of the
other devs are using php at all on mips right now though.

------- Comment #11 From Joshua Kinard 2004-06-14 14:21:16 0000 -------
There are a few users on the Cobalt side of things who have reportedly been
using php, so I'll assume it works okay enough.  Marking 4.3.7 stable, and one
of the 5.0's unstable.

------- Comment #12 From SpanKY 2004-06-23 19:10:55 0000 -------
added to portage since mips did their thing

First Last Prev Next    No search results available      Search page      Enter new bug