Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-MessagePack CPAN distribution.

Report information
The Basics
Id: 61244
Status: resolved
Priority: 0/
Queue: Data-MessagePack

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: .21 fails to compile on mac
version 0.21 fails to compile on mac (v5.12.1 +threads) with the following messages. p.s. couple of off-topic suggestions: provide exportable methods (e.g. pack_msg/unpack_msg), and split module into pure PP and XS modules like JSON/JSON::XS does. /usr/bin/gcc-4.2 -c "-I." "-I." -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -o xs-src/MessagePack.o "-I/opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/CORE" -DUSE_PPPORT xs-src/MessagePack.c /usr/bin/gcc-4.2 -c "-I." "-I." -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -o xs-src/pack.o "-I/opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/CORE" -DUSE_PPPORT xs-src/pack.c cp lib/Data/MessagePack.pm blib/lib/Data/MessagePack.pm cp lib/Data/MessagePack/PP.pm blib/lib/Data/MessagePack/PP.pm cp lib/Data/MessagePack/Unpacker.pod blib/lib/Data/MessagePack/Unpacker.pod /usr/bin/gcc-4.2 -c "-I." "-I." -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -o xs-src/unpack.o "-I/opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/CORE" -DUSE_PPPORT xs-src/unpack.c xs-src/unpack.c: In function 'get_bool': xs-src/unpack.c:39: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c:39: error: (Each undeclared identifier is reported only once xs-src/unpack.c:39: error: for each function it appears in.) xs-src/pack.c:20: warning: 'need' declared inline after being called xs-src/pack.c:20: warning: previous declaration of 'need' was here xs-src/pack.c: In function 'need': xs-src/pack.c:50: error: 'my_perl' undeclared (first use in this function) xs-src/pack.c:50: error: (Each undeclared identifier is reported only once xs-src/pack.c:50: error: for each function it appears in.) xs-src/pack.c: In function 'boot_Data__MessagePack_pack': xs-src/pack.c:82: error: 'my_perl' undeclared (first use in this function) xs-src/pack.c: In function '_msgpack_pack_sv': xs-src/pack.c:145: error: 'my_perl' undeclared (first use in this function) xs-src/pack.c: At top level: xs-src/pack.c:142: warning: '_msgpack_pack_rv' declared inline after being called xs-src/pack.c:142: warning: previous declaration of '_msgpack_pack_rv' was here xs-src/pack.c: In function '_msgpack_pack_rv': xs-src/pack.c:181: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_root': xs-src/unpack.c:60: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_uint8': xs-src/unpack.c:63: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_uint16': xs-src/unpack.c:66: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_uint32': xs-src/unpack.c:69: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_uint64': xs-src/unpack.c:76: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_int8': xs-src/unpack.c:82: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_int16': xs-src/unpack.c:85: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_int32': xs-src/unpack.c:88: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_int64': xs-src/unpack.c:91: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_float': xs-src/unpack.c:94: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_double': xs-src/unpack.c:97: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_nil': xs-src/unpack.c:101: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_array': xs-src/unpack.c:110: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_array_item': xs-src/unpack.c:113: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_map': xs-src/unpack.c:116: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_map_item': xs-src/unpack.c:119: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function 'template_callback_raw': xs-src/unpack.c:122: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function '_msgpack_unpack': xs-src/unpack.c:136: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function '_reset': xs-src/unpack.c:198: error: 'my_perl' undeclared (first use in this function) xs-src/unpack.c: In function '_execute_impl': xs-src/unpack.c:224: error: 'my_perl' undeclared (first use in this function) make: *** [xs-src/pack.o] Error 1 make: *** Waiting for unfinished jobs.... Running Mkbootstrap for Data::MessagePack () chmod 644 MessagePack.bs make: *** [xs-src/unpack.o] Error 1
Subject: Re: [rt.cpan.org #61244] .21 fails to compile on mac
Date: Sun, 12 Sep 2010 00:23:11 +0900
To: bug-Data-MessagePack [...] rt.cpan.org
From: Tokuhiro Matsuno <tokuhirom [...] gmail.com>
sorry,The issue was fixed on 0.22. please try it. On Sat, Sep 11, 2010 at 12:47 AM, Justin Case via RT <bug-Data-MessagePack@rt.cpan.org> wrote: Show quoted text
> Fri Sep 10 11:47:51 2010: Request 61244 was acted upon. > Transaction: Ticket created by justincase >       Queue: Data-MessagePack >     Subject: .21 fails to compile on mac >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: justincase@yopmail.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=61244 > > > > version 0.21 fails to compile on mac (v5.12.1 +threads) with the > following messages. > > p.s. couple of off-topic suggestions: provide exportable methods (e.g. > pack_msg/unpack_msg), and split module into pure PP and XS modules like > JSON/JSON::XS does. > > /usr/bin/gcc-4.2 -c  "-I." "-I." -O2 -arch x86_64 -fno-common > -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing > -pipe -fstack-protector -I/opt/local/include -O3   -DVERSION=\"0.21\" > -DXS_VERSION=\"0.21\" -o xs-src/MessagePack.o > "-I/opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/CORE" > -DUSE_PPPORT xs-src/MessagePack.c > /usr/bin/gcc-4.2 -c  "-I." "-I." -O2 -arch x86_64 -fno-common > -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing > -pipe -fstack-protector -I/opt/local/include -O3   -DVERSION=\"0.21\" > -DXS_VERSION=\"0.21\" -o xs-src/pack.o > "-I/opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/CORE" > -DUSE_PPPORT xs-src/pack.c > cp lib/Data/MessagePack.pm blib/lib/Data/MessagePack.pm > cp lib/Data/MessagePack/PP.pm blib/lib/Data/MessagePack/PP.pm > cp lib/Data/MessagePack/Unpacker.pod blib/lib/Data/MessagePack/Unpacker.pod > /usr/bin/gcc-4.2 -c  "-I." "-I." -O2 -arch x86_64 -fno-common > -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing > -pipe -fstack-protector -I/opt/local/include -O3   -DVERSION=\"0.21\" > -DXS_VERSION=\"0.21\" -o xs-src/unpack.o > "-I/opt/local/lib/perl5/5.12.1/darwin-thread-multi-2level/CORE" > -DUSE_PPPORT xs-src/unpack.c > xs-src/unpack.c: In function 'get_bool': > xs-src/unpack.c:39: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c:39: error: (Each undeclared identifier is reported only once > xs-src/unpack.c:39: error: for each function it appears in.) > xs-src/pack.c:20: warning: 'need' declared inline after being called > xs-src/pack.c:20: warning: previous declaration of 'need' was here > xs-src/pack.c: In function 'need': > xs-src/pack.c:50: error: 'my_perl' undeclared (first use in this function) > xs-src/pack.c:50: error: (Each undeclared identifier is reported only once > xs-src/pack.c:50: error: for each function it appears in.) > xs-src/pack.c: In function 'boot_Data__MessagePack_pack': > xs-src/pack.c:82: error: 'my_perl' undeclared (first use in this function) > xs-src/pack.c: In function '_msgpack_pack_sv': > xs-src/pack.c:145: error: 'my_perl' undeclared (first use in this function) > xs-src/pack.c: At top level: > xs-src/pack.c:142: warning: '_msgpack_pack_rv' declared inline after > being called > xs-src/pack.c:142: warning: previous declaration of '_msgpack_pack_rv' > was here > xs-src/pack.c: In function '_msgpack_pack_rv': > xs-src/pack.c:181: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_root': > xs-src/unpack.c:60: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_uint8': > xs-src/unpack.c:63: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_uint16': > xs-src/unpack.c:66: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_uint32': > xs-src/unpack.c:69: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_uint64': > xs-src/unpack.c:76: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_int8': > xs-src/unpack.c:82: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_int16': > xs-src/unpack.c:85: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_int32': > xs-src/unpack.c:88: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_int64': > xs-src/unpack.c:91: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_float': > xs-src/unpack.c:94: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_double': > xs-src/unpack.c:97: error: 'my_perl' undeclared (first use in this function) > xs-src/unpack.c: In function 'template_callback_nil': > xs-src/unpack.c:101: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function 'template_callback_array': > xs-src/unpack.c:110: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function 'template_callback_array_item': > xs-src/unpack.c:113: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function 'template_callback_map': > xs-src/unpack.c:116: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function 'template_callback_map_item': > xs-src/unpack.c:119: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function 'template_callback_raw': > xs-src/unpack.c:122: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function '_msgpack_unpack': > xs-src/unpack.c:136: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function '_reset': > xs-src/unpack.c:198: error: 'my_perl' undeclared (first use in this > function) > xs-src/unpack.c: In function '_execute_impl': > xs-src/unpack.c:224: error: 'my_perl' undeclared (first use in this > function) > make: *** [xs-src/pack.o] Error 1 > make: *** Waiting for unfinished jobs.... > Running Mkbootstrap for Data::MessagePack () > chmod 644 MessagePack.bs > make: *** [xs-src/unpack.o] Error 1 > >