Thu Mar 26 15:08:03 2015: Request 101449 was acted upon.
Transaction: Correspondence added by MDOOTSON
Queue: Wx
Subject: Possible bug in Wx::
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=101449 >
This was caused by incompatibility with clang build in recent Xcode.
Resolved in 0.9926
On Sat Jan 10 20:06:48 2015, [email protected] wrote:
> Hi
>
> When using cpan install Wx make fails and install not possible
>
> Details:
>
> Wx-0.9923
>
> perl -v
> This is perl 5, version 12, subversion 5 (v5.12.5) built for darwin-
> thread-multi-2level
>
> uname -a
> Darwin David-Johnsons-MacBook-Pro-2.local 14.0.0 Darwin Kernel Version
> 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-
> 2782.1.97~2/RELEASE_X86_64 x86_64
>
> Results of cpan install Wx
>
> cpan install Wx
> Going to read '/Users/david/.cpan/Metadata'
> Database was generated on Fri, 09 Jan 2015 07:17:02 GMT
> Running install for module 'Wx'
> Running make for M/MD/MDOOTSON/Wx-0.9923.tar.gz
> Checksum for /Users/david/.cpan/sources/authors/id/M/MD/MDOOTSON/Wx-
> 0.9923.tar.gz ok
>
> CPAN.pm: Going to build M/MD/MDOOTSON/Wx-0.9923.tar.gz
>
> Checking if your kit is complete...
> Looks good
> 'WX' is not a known MakeMaker parameter name.
> Writing Makefile for Wx::PerlTest
> Writing Makefile for Wx::RichText
> Writing Makefile for Wx::Print
> Writing Makefile for Wx::DateTime
> Writing Makefile for Wx::Html
> Writing Makefile for Wx::Media
> Writing Makefile for Wx::Help
> Writing Makefile for Wx::XRC
> Writing Makefile for Wx::DataView
> Writing Makefile for Wx::Grid
> Writing Makefile for Wx::STC
> Writing Makefile for Wx::AUI
> Writing Makefile for Wx::IPC
> Writing Makefile for Wx::Socket
> Writing Makefile for Wx::DND
> Writing Makefile for Wx::Calendar
> Writing Makefile for Wx::WebView
> Writing Makefile for Wx::PropertyGrid
> Writing Makefile for Wx::MDI
> Writing Makefile for Wx::DocView
> Writing Makefile for Wx::FS
> Writing Makefile for Wx::Ribbon
> Writing Makefile for Wx::Perl::SplashFast
> Writing Makefile for Wx::Perl::Carp
> Writing Makefile for Wx::Perl::TextValidator
> Writing Makefile for Wx::Perl
> Writing Makefile for Wx
> Writing Makefile for Wx
>
> ======================================================================
> For installation instructions and further help please see
> docs/INSTALL.pod
>
> For command line switches help use:
> perl Makefile.PL --help
> ======================================================================
>
> /opt/local/bin/perl5.12 script/make_v_cback.pl > cpp/v_cback_def.h
> /opt/local/bin/perl5.12 script/copy_files.pl files.lst
> cp cpp/overload.h blib/lib/Wx/cpp/overload.h
> cp cpp/wxapi.h blib/lib/Wx/cpp/wxapi.h
> cp cpp/constants.h blib/lib/Wx/cpp/constants.h
> cp cpp/helpers.h blib/lib/Wx/cpp/helpers.h
> cp cpp/setup.h blib/lib/Wx/cpp/setup.h
> cp cpp/v_cback_def.h blib/lib/Wx/cpp/v_cback_def.h
> cp cpp/streams.h blib/lib/Wx/cpp/streams.h
> cp cpp/chkconfig.h blib/lib/Wx/cpp/chkconfig.h
> cp cpp/compat.h blib/lib/Wx/cpp/compat.h
> cp Opt blib/arch/Wx/build/Opt.pm
> cp cpp/v_cback.h blib/lib/Wx/cpp/v_cback.h
> cp cpp/event.h blib/lib/Wx/cpp/event.h
> cp typemap blib/lib/Wx/typemap
> cp cpp/e_cback.h blib/lib/Wx/cpp/e_cback.h
> touch wxt_copy_files
> cp lib/Wx/Event.pm blib/lib/Wx/Event.pm
> cp build/Wx/build/MakeMaker/Win32_MinGW.pm
> blib/lib/Wx/build/MakeMaker/Win32_MinGW.pm
> cp build/Wx/build/MakeMaker.pm blib/lib/Wx/build/MakeMaker.pm
> cp build/Wx/Overload/Driver.pm blib/lib/Wx/Overload/Driver.pm
> cp build/Wx/Overload/Handle.pm blib/lib/Wx/Overload/Handle.pm
> cp lib/Wx/App.pm blib/lib/Wx/App.pm
> cp build/Wx/build/MakeMaker/Hacks.pm
> blib/lib/Wx/build/MakeMaker/Hacks.pm
> cp lib/Wx/Mini.pm blib/lib/Wx/Mini.pm
> cp build/Wx/build/MakeMaker/Any_wx_config.pm
> blib/lib/Wx/build/MakeMaker/Any_wx_config.pm
> cp build/Wx/build/MakeMaker/Core.pm
> blib/lib/Wx/build/MakeMaker/Core.pm
> cp lib/Wx/Timer.pm blib/lib/Wx/Timer.pm
> cp build/Wx/XSP/Overload.pm blib/lib/Wx/XSP/Overload.pm
> cp build/Wx/build/Options.pm blib/lib/Wx/build/Options.pm
> cp lib/Wx/Locale.pm blib/lib/Wx/Locale.pm
> cp lib/Wx/NewClass.pod blib/lib/Wx/NewClass.pod
> cp build/Wx/build/Utils.pm blib/lib/Wx/build/Utils.pm
> cp lib/Wx/Api.pod blib/lib/Wx/Api.pod
> cp build/Wx/XSP/Enum.pm blib/lib/Wx/XSP/Enum.pm
> cp build/Wx/build/MakeMaker/MacOSX_GCC.pm
> blib/lib/Wx/build/MakeMaker/MacOSX_GCC.pm
> cp lib/Wx/Thread.pod blib/lib/Wx/Thread.pod
> cp lib/Wx/Loader.pod blib/lib/Wx/Loader.pod
> cp lib/Wx/ArtProvider.pm blib/lib/Wx/ArtProvider.pm
> cp build/Wx/XSP/Event.pm blib/lib/Wx/XSP/Event.pm
> cp build/Wx/build/MakeMaker/Any_OS.pm
> blib/lib/Wx/build/MakeMaker/Any_OS.pm
> cp lib/Wx/RadioBox.pm blib/lib/Wx/RadioBox.pm
> cp lib/Wx/Menu.pm blib/lib/Wx/Menu.pm
> cp build/Wx/XSP/Virtual.pm blib/lib/Wx/XSP/Virtual.pm
> cp Wx.pm blib/lib/Wx.pm
> cp build/Wx/build/MakeMaker/Win32.pm
> blib/lib/Wx/build/MakeMaker/Win32.pm
> cp build/Wx/build/MakeMaker/Win32_MSVC.pm
> blib/lib/Wx/build/MakeMaker/Win32_MSVC.pm
> /opt/local/bin/perl5.12 script/wxperl_overload cpp/ovl_const.cpp
> cpp/ovl_const.h overload.lst
> Writing 'cpp/ovl_const.h'.
> Writing 'cpp/ovl_const.cpp'.
> touch wxt_overload
> cp lib/Wx/PerlTest.pm ../../blib/lib/Wx/PerlTest.pm
> /opt/local/bin/perl5.12
> /opt/local/lib/perl5/site_perl/5.12.5/ExtUtils/xsubpp -noprototypes
> -nolinenumbers -typemap /opt/local/lib/perl5/5.12.5/ExtUtils/typemap
> -typemap ../../typemap -typemap typemap PerlTest.xs > PerlTest.xsc &&
> mv PerlTest.xsc PerlTest.c
> g++ -mmacosx-version-min=10.6 -UWX_PRECOMP -c -I. -I../..
> -I/opt/local/lib/perl5/site_perl/5.12.5/darwin-thread-multi-
> 2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/lib/wx/include/osx_cocoa-
> unicode-3.0 -I/opt/local/lib/perl5/site_perl/5.12.5/darwin-thread-
> multi-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0 -pipe
> -Os -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp
> -fno-strict-aliasing -fstack-protector -I/opt/local/include -O3
> -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-
> I/opt/local/lib/perl5/5.12.5/darwin-thread-multi-2level/CORE"
> -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__
> -D__WXOSX_COCOA__ PerlTest.c
> clang: warning: treating 'c' input as 'c++' when in C++ mode, this
> behavior is deprecated
> PerlTest.c:990:1: warning: duplicate 'extern' declaration specifier
> [-Wduplicate-decl-specifier]
> XS_EXTERNAL(boot_Wx__PerlTest); /* prototype to pass -Wmissing-
> prototypes */
> ^
> PerlTest.c:86:35: note: expanded from macro 'XS_EXTERNAL'
> # define XS_EXTERNAL(name) extern "C" XSPROTO(name)
> ^
> PerlTest.c:993:5: error: declaration of 'Perl___notused' has a
> different language
> linkage
> dVAR; dXSARGS;
> ^
> /opt/local/lib/perl5/5.12.5/darwin-thread-multi-
> 2level/CORE/perl.h:162:17: note:
> expanded from macro 'dVAR'
> # define dVAR dNOOP
> ^
> /opt/local/lib/perl5/5.12.5/darwin-thread-multi-
> 2level/CORE/perl.h:340:39: note:
> expanded from macro 'dNOOP'
> #define dNOOP extern int /*@unused@*/ Perl___notused PERL_UNUSED_DECL
> ^
> PerlTest.c:185:5: note: previous definition is here
> dVAR; dXSARGS;
> ^
> /opt/local/lib/perl5/5.12.5/darwin-thread-multi-
> 2level/CORE/perl.h:162:17: note:
> expanded from macro 'dVAR'
> # define dVAR dNOOP
> ^
> /opt/local/lib/perl5/5.12.5/darwin-thread-multi-
> 2level/CORE/perl.h:340:39: note:
> expanded from macro 'dNOOP'
> #define dNOOP extern int /*@unused@*/ Perl___notused PERL_UNUSED_DECL
> ^
> 1 warning and 1 error generated.
> make[2]: *** [PerlTest.o] Error 1
> make[1]: *** [subdirs] Error 2
> make: *** [subdirs] Error 2
> MDOOTSON/Wx-0.9923.tar.gz
> /usr/bin/make -- NOT OK
> 'YAML' not installed, will not store persistent state
> Running make test
> Can't test without successful make
> Running make install
> Make had returned bad status, install seems impossible