[packages/php-pecl-apcu] libtool fix

Elan Ruusamäe glen at pld-linux.org
Wed Jan 21 19:47:00 CET 2015


On 21.01.2015 18:32, Jan Rękorajski wrote:
> You know what the fix is. To reitarate:
no i don't. why you assume that?
>> It's just a matter of changing one symlink in %{_libdir}/php/build in
>> php.spec (* all its branches) and rebuilding base php package(s)
>> (without touching external modules).
will try this.

> There is no need to downgrade, please don't.

the hack you mentioned did not work for php:
you wrote that you found patch, and applied, but php build was still broken

so downgraded as it was known to work

>
> On Wed, Jan 21, 2015 at 12:51 PM, Elan Ruusamäe <glen at pld-linux.org> wrote:
>> can't build any php extension in current state
>>
>> On 07.01.2015 13:50, Elan Ruusamäe wrote:
>>> On 17.11.2014 22:21, Jan Rękorajski wrote:
>>>> Generic workaround:
>>>>
>>>> mv build-aux/snippet{,.save}
>>>> libtoolize
>>>> mv build-aux/snippet{.save,}
>>>>
>>>> But now I found a patch, which will be applied in libtool 2.4.4:
>>>>
>>>> https://lists.gnu.org/archive/html/libtool-patches/2014-10/msg00018.html
>>>> Applied to libtool.
>>>>
>>> what's the state of this now?
>>>
>>> seems php stuff still build fails
>>>
>>> https://srcbuilder.pld-linux.org/th/queue.html#122751
>>> https://srcbuilder.pld-linux.org/th/queue.html#122752
>>>
>>> + /usr/bin/make -Otarget -j5/bin/sh
>>> /tmp/B.e15908fc-b6f8-462a-9f31-0eee6a233949/BUILD/php55-redis-2.2.5/libtool
>>> --mode=compile x86_64-pld-linux-gcc -I.
>>> -I/tmp/B.e15908fc-b6f8-462a-9f31-0eee6a233949/BUILD/php55-redis-2.2.5
>>> -DPHP_ATOM_INC
>>> -I/tmp/B.e15908fc-b6f8-462a-9f31-0eee6a233949/BUILD/php55-redis-2.2.5/include
>>> -I/tmp/B.e15908fc-b6f8-462a-9f31-0eee6a233949/BUILD/php55-redis-2.2.5/main
>>> -I/tmp/B.e15908fc-b6f8-462a-9f31-0eee6a233949/BUILD/php55-redis-2.2.5
>>> -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM
>>> -I/usr/include/php/Zend -I/usr/include/php/ext
>>> -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat
>>> -Werror=format-security -gdwarf-4 -fno-debug-types-section
>>> -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
>>> --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4
>>> -fno-debug-types-section -fvar-tracking-assignments -g2 -c
>>> /tmp/B.e15908fc-b6f8-462a-9f31-0eee6a233949/BUILD/php55-redis-2.2.5/redis.c
>>> -o redis.lo  /bin/sh:
>>> /tmp/B.e15908fc-b6f8-462a-9f31-0eee6a233949/BUILD/php55-redis-2.2.5/libtool:
>>> No such file or directory Makefile:200: recipe for target 'redis.lo' failed
>>> make: *** [redis.lo] Error 127 make: *** Waiting for unfinished jobs....
>>>



-- 
glen



More information about the pld-devel-en mailing list