[Bug 739977] Re: PHP5 FTBFS in Natty
One more, hopefully the last, multiarch-related patch is attached, for various graphics libraries. ** Patch added: graphics-libs-are-multiarch.patch https://bugs.launchpad.net/ubuntu/+source/php5/+bug/739977/+attachment/1935549/+files/graphics-libs-are-multiarch.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
debdiff will follow once this builds and I test it a little. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
Ahem... spoke too soon. The configure script now runs to completion but the link step fails. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
Hi, Thanks for the patch please send the debdiff anyways. chuck ** Changed in: php5 (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
It would be best here to mirror the behavior of the compiler, and list the multiarch-qualified directory /before/ the unqualified directory. (It's unfortunate that we don't have time to convert the entire system in one cycle; if all of PHP5's build-deps were transitioned to multiarch, we could just pass --with-libdir=lib/$(DEB_HOST_MULTIARCH). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
** Changed in: php5 (Ubuntu) Assignee: (unassigned) = Steve Langasek (vorlon) ** Changed in: php5 (Ubuntu) Milestone: None = ubuntu-11.04-beta-1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
Ahem... spoke too soon. The configure script now runs to completion but the link step fails. I believe that's because libgd2 needs updated to clean out its .la file. I've fixed libgd2 now and am doing a test build with your patches to see if it finishes. ** Changed in: php5 (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
Ah, that would be nice --- I thought I'd missed something; if you are correct I can claim my patches are fine and libgd2 was the culprint :) Regarding your earlier comment: (It's unfortunate that we don't have time to convert the entire system in one cycle; if all of PHP5's build-deps were transitioned to multiarch, we could just pass --with-libdir=lib/$(DEB_HOST_MULTIARCH). I tried that early on. I don't think this is approach workable even in a perfect one cycle conversion world, because the --with-libdir option changes where .h files are looked for, as well as whe .a and .so files are looked for. Multiarch moves .a and.so files around, but (from what I have seen) leaves .h files where they were, since they do not (generally) change with CPU architechure. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 739977] Re: PHP5 FTBFS in Natty
On Thu, Mar 24, 2011 at 10:19:47PM -, Jonathan Marsden wrote: (It's unfortunate that we don't have time to convert the entire system in one cycle; if all of PHP5's build-deps were transitioned to multiarch, we could just pass --with-libdir=lib/$(DEB_HOST_MULTIARCH). I tried that early on. I don't think this is approach workable even in a perfect one cycle conversion world, because the --with-libdir option changes where .h files are looked for, as well as whe .a and .so files are looked for. Multiarch moves .a and.so files around, but (from what I have seen) leaves .h files where they were, since they do not (generally) change with CPU architechure. --with-libdir is actually documented to do exactly what we want. It appears to be how /usr/lib64 handling is done for RH / SuSE, and it should work as well for multiarch. I only ran into problems when trying --with-libdir when I got to openssl detection, since openssl has not yet been multiarched. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developerhttp://www.debian.org/ slanga...@ubuntu.com vor...@debian.org -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
This bug was fixed in the package php5 - 5.3.5-1ubuntu5 --- php5 (5.3.5-1ubuntu5) natty; urgency=low * debian/patches/temporary-path-fixes-for-multiarch.patch: as a stopgap for natty, patch the various config.m4 files for modules whose libraries have moved to the multiarch dir; we can't use --with-libdir yet because that requires all the build-deps to have moved. Thanks to Jonathan Marsden for preparing this patch. LP: #739977. * debian/patches/ubuntu/ubuntu-php-version.patch: drop. This is an autogenerated file. -- Steve Langasek steve.langa...@ubuntu.com Thu, 24 Mar 2011 22:34:00 + ** Changed in: php5 (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
** Tags added: ftbfs -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
Confirmed. Attempting to build php5 5.3.5-1ubuntu4 on Natty by running debuild in a local VM resulted in the attached script output. ** Attachment added: debuild output showing FTBS issue https://bugs.launchpad.net/ubuntu/+source/php5/+bug/739977/+attachment/1929157/+files/debuild.txt ** Changed in: php5 (Ubuntu) Status: New = Confirmed ** Tags added: multiarch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
The way php5 does its library presence checks is unusual. Apparently someone recreated autotools functionality themselves, in a way that breaks the multiarch work being done for Natty. In reality, noone is likely to rework an 85K (non-empty) line configure script! So a smaller cheaper fix needs to be found. Attached are two small patches that allow the PHP ./configure script to find libpcre and libdb4 on a Natty (multiarch) machine. Still needed are equivalent fixes for at least some of the graphics libraries... but I need some sleep :) ** Patch added: libpcre-is-multiarch.patch https://bugs.launchpad.net/ubuntu/+source/php5/+bug/739977/+attachment/1929300/+files/libpcre-is-multiarch.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
** Patch added: libdb4-is-multiarch.patch https://bugs.launchpad.net/ubuntu/+source/php5/+bug/739977/+attachment/1929301/+files/libdb4-is-multiarch.patch ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 739977] Re: PHP5 FTBFS in Natty
Note that changing configure parameter --with- libdir=lib/${DEB_HOST_MULTIARCH} does not work, because this is used for finding both header files and actual libraries. So (unless others have better ideas) it seems that patching the various config*.m4 files for each such test is the best we can do. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/739977 Title: PHP5 FTBFS in Natty -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs