Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 74435
Alias:
Product:
Component:
Status: CLOSED
Resolution: TEST-REQUEST
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Zoffoli <xmerlin@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
php-sapi-uclibc-xml-iconv.chris.patch some php-sapi changes (more cond. on some use flags ...xml) patch Christian Zoffoli 2004-12-14 17:56 0000 1.41 KB Details | Diff
php-uclibc.ebuild.chris.patch fixed ebuild to support compilation in a uclibc env patch Christian Zoffoli 2004-12-14 17:58 0000 738 bytes Details | Diff
php-4.3.9-uclibc.chris.patch uclibc libresolv fixes patch Christian Zoffoli 2004-12-14 17:59 0000 1.22 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 74435 depends on: 2272 Show dependency tree
Bug 74435 blocks: 99225
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-12-14 17:55 0000
I can't emerge php in a uclibc env.

So I've modified php-sapi.eclass and the ebuild ...now it works (without xml and NIS support). XML support doesn't work because iconv lack in uclibc (also enabling nls in the uclibc ebuild doesn't change anything), if you try to use libiconv, you'll find some problems with sablotron and expat.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (uclibc/x86/hardened, gcc-3.3.4, uclibc-0.9.26-r7, 2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="i386-pc-linux-uclibc"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox
sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="x86 berkdb hardened libwww ncurses perl pic pie python readline ssl tcpd
uclibc zlib"

------- Comment #1 From Christian Zoffoli 2004-12-14 17:56:37 0000 -------
Created an attachment (id=46006) [details]
some php-sapi changes (more cond. on some use flags ...xml)

------- Comment #2 From Christian Zoffoli 2004-12-14 17:58:08 0000 -------
Created an attachment (id=46007) [details]
fixed ebuild to support compilation in a uclibc env

------- Comment #3 From Christian Zoffoli 2004-12-14 17:59:09 0000 -------
Created an attachment (id=46008) [details]
uclibc libresolv fixes

------- Comment #4 From Robin Johnson 2004-12-14 21:46:38 0000 -------
XML is NOT optional for the time being.
It is needed for PEAR.

When we get a portage with use flag deps so all PEAR stuff can depend on PHP+XML, then we can revisit this.

------- Comment #5 From Milan Holzäpfel 2005-07-16 09:13:07 0000 -------
*** Bug 99225 has been marked as a duplicate of this bug. ***

------- Comment #6 From Milan Holzäpfel 2005-07-16 09:17:21 0000 -------
*** Bug 99220 has been marked as a duplicate of this bug. ***

------- Comment #7 From Milan Holzäpfel 2005-07-16 09:20:38 0000 -------
"if you try to use libiconv, you'll find some problems with sablotron 
and expat."

I assume these are runtime problems?  (I'm asking because compiling went just 
fine here.. would you care to elaborate a bit on the issues, possibly in a 
personal email?) 

------- Comment #8 From SpanKY 2005-07-16 18:05:18 0000 -------
the iconv should be made conditional on USE=nls ...

the nis / yp change should def be made, that isnt just a bug for uClibc

------- Comment #9 From Stuart Herbert (RETIRED) 2005-08-22 11:54:50 0000 -------
Hi,

Could you retest your changes against the new packages in the Gentoo PHP
Overlay, please, and re-submit patches as required?

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/

Many thanks,
Stu

------- Comment #10 From Jakub Moc (RETIRED) 2005-09-17 15:42:05 0000 -------
Please, test w/ the ebuilds from PHP overlay and report back.

------- Comment #11 From SpanKY 2005-10-25 13:38:17 0000 -------
dev-lang/php-5.0.x in portage works fine, thanks

------- Comment #12 From Luca Longinotti 2005-10-29 15:47:41 0000 -------
Closing, since it works.
Best regards, CHTEKK.

------- Comment #13 From SpanKY 2005-10-29 17:58:19 0000 -------
the eclass is fixed for handling USE flags yes but the build of php-4 is still
broken, see Bug 99225

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug