Re: [LAU] Fedora Jam 20 Heisenbug released

From: Fernando Lopez-Lezcano <nando@email-addr-hidden>
Date: Mon Dec 30 2013 - 23:06:19 EET

On 12/29/2013 09:24 AM, Martin Peach wrote:
> On 2013-12-28 18:07, Fernando Lopez-Lezcano wrote:
>> On 12/28/2013 02:20 PM, Martin Peach wrote:
>>> On 2013-12-28 14:45, Fernando Lopez-Lezcano wrote:
>>>> On 12/28/2013 06:37 AM, Brendan Jones wrote:
>>>>> Seasons greetings all!
>>>>>
>>>>> Just a quick announcement to any that didn't know, the Fedora Jam spin
>>>>> has been released alongside Fedora 20.
>>>>
>>>> Amazing work by Brendan and all others!
>>>>
>>>>> For a synopsis of all included packages you can click here [1], and
>>>>> you
>>>>> can grab an ISO from here [2]
>>>>>
>>>>> PlanetCCRMA has also been updated in record time, so go here [3] to
>>>>> add
>>>>> your RT kernel, linuxsampler, supercollider, puredata and others not
>>>>> included on the spin.
>>>>
>>>> Actually pd-extended is still missing in action for Fedora 20. If
>>>> anyone
>>>> out there has a patch to build it with Lua 5.2 let me know (it
>>>> currently
>>>> needs Lua 5.1 and Fedora ships with 5.2)...
>>>
>>> As a first try you could change the Makefile to use 5.2 instead of 5.1 I
>>> don't know if that will break anything.
>>
>> pd-extended itself does not complain but the build fails, see below. I
>> think I found some other software that had the same problems, I was
>> hoping someone had dealt with this already.
>>
>
> Well I'm the maintainer for that particular external so I will get on it
> as soon as I can! It seems that the c API has changed a bit between
> versions of lua. I hope the incompatibility doesn't go much deeper or it
> will be necessary to have separate [pdlua5.2] and [pdlua5.3]s ;(
> So far it looks like lua_load needs to be called with an extra parameter
> (NULL will do), and lua_open needs to be replaced by lua_newstate with
> two new parameters.

Let me know if you create a patch, I'll be happy to include it in my
build...
-- Fernando

>Then if it works it will be changed in the
> sourceforge svn and at some unknown later time it will be incorporated
> into Pd-extended.
> Until then maybe just don't build pdlua at all...
>
> Martin
>>
>> ----
>> cc -DPD -DHAVE_G_CANVAS_H -DZEXY_LIBRARY
>> -I/builddir/build/BUILD/pd-extended/pd/src -Wall -W -ggdb
>> -I/builddir/build/BUILD/pd-extended/externals/Gem
>> -I/builddir/build/BUILD/pd-extended/externals/pdp/include -DUNIX -Dunix
>> -DDL_OPEN -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
>> -m64 -mtune=generic -DVERSION='"0.6"' -I/usr/include/lua5.1 -o
>> "pdlua.o" -c "pdlua.c"
>> pdlua.c: In function 'pdlua_reader':
>> pdlua.c:244:16: warning: unused parameter 'L' [-Wunused-parameter]
>> lua_State *L, /**< Lua interpreter state. */
>> ^
>> pdlua.c: In function 'pdlua_dofile':
>> pdlua.c:1558:17: error: too few arguments to function 'lua_load'
>> if (lua_load(L, pdlua_reader, &reader, filename))
>> ^
>> In file included from pdlua.c:45:0:
>> /usr/include/lua.h:261:13: note: declared here
>> LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
>> ^
>> pdlua.c: In function 'pdlua_loader':
>> pdlua.c:1704:9: error: too few arguments to function 'lua_load'
>> if (lua_load(L, pdlua_reader, &reader, name) || lua_pcall(L,
>> 0, 0, 0))
>> ^
>> In file included from pdlua.c:45:0:
>> /usr/include/lua.h:261:13: note: declared here
>> LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
>> ^
>> pdlua.c: In function 'pdlua_setup':
>> pdlua.c:1770:5: warning: implicit declaration of function 'lua_open'
>> [-Wimplicit-function-declaration]
>> L = lua_open();
>> ^
>> pdlua.c:1770:7: warning: assignment makes pointer from integer without a
>> cast [enabled by default]
>> L = lua_open();
>> ^
>> pdlua.c:1800:9: error: too few arguments to function 'lua_load'
>> result = lua_load(L, pdlua_reader, &reader, "pd.lua");
>> ^
>> In file included from pdlua.c:45:0:
>> /usr/include/lua.h:261:13: note: declared here
>> LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
>> ^
>> pdlua.c: At top level:
>> pdlua.c:503:13: warning: 'pdlua_stack_dump' defined but not used
>> [-Wunused-function]
>> static void pdlua_stack_dump (lua_State *L)
>> ^
>> make[3]: Leaving directory
>> `/builddir/build/BUILD/pd-extended/externals/loaders/pdlua/src'
>> make[3]: *** [pdlua.o] Error 1
>> make[2]: *** [loaders-pdlua] Error 2
>> make[2]: Leaving directory `/builddir/build/BUILD/pd-extended/externals'
>> make[1]: Leaving directory `/builddir/build/BUILD/pd-extended/packages'
>> make[1]: *** [externals] Error 2
>> make: *** [all] Error 2
>> RPM build errors:
>> ----
>>
>>
>>
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Dec 31 00:15:01 2013

This archive was generated by hypermail 2.1.8 : Tue Dec 31 2013 - 00:15:01 EET