Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 111590
Status: open
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: pmendelski [...] gmail.com
Cc:
AdminCc:

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



Subject: Wx Fails to build from CPAN on MacOSx 10.10.3 Yosemite
Date: Sun, 31 Jan 2016 15:20:21 +0000
To: bug-Wx [...] rt.cpan.org
From: Przemyslaw Mendelski <pmendelski [...] gmail.com>
Download (untitled) / with headers
text/plain 9.8k
Hello Dear Perl Community. I am trying to build Wx from CPAN using the following command: sudo perlbrew exec cpanm -i Wx this is the uname - a output: 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 This is the error log: cpanm (App::cpanminus) 1.7040 on perl 5.022001 built for darwin-thread-multi-2level Work directory is /Users/seamless/.cpanm/work/1454252900.27620 You have make /usr/bin/make You have /usr/bin/curl You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3 You have /usr/bin/unzip Searching Wx () on cpanmetadb ... --> Working on Wx Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-0.9928.tar.gz -> OK Unpacking Wx-0.9928.tar.gz Entering Wx-0.9928 Checking configure dependencies from META.json Checking if you have Alien::wxWidgets 0.25 ... Yes (0.67) Configuring Wx-0.9928 Running Makefile.PL Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at /Users/seamless/.cpanm/work/1454252900.27620/Wx-0.9928/build/Wx/build/Utils.pm line 110. Checking if your kit is complete... Looks good 'WX' is not a known MakeMaker parameter name. Generating a Unix-style Makefile Writing Makefile for Wx::DateTime Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::IPC Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::FS Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Ribbon Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::PropertyGrid Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::DocView Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::MDI Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::RichText Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Grid Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Socket Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Html Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Media Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Calendar Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::PerlTest Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Help Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::DND Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::AUI Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::STC Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::XRC Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::DataView Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::WebView Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Print Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Perl::SplashFast Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Perl::Carp Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Perl::TextValidator Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx::Perl Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Wx Writing MYMETA.yml and MYMETA.json ====================================================================== For installation instructions and further help please see docs/INSTALL.pod For command line switches help use: perl Makefile.PL --help ====================================================================== -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::ParseXS 3.15 ... Yes (3.28) Checking if you have Test::More 0.45 ... Yes (1.001014) Checking if you have if 0.03 ... Yes (0.0604) Checking if you have ExtUtils::XSpp 0.1602 ... Yes (0.18) Checking if you have ExtUtils::MakeMaker 6.46 ... Yes (7.04_01) Checking if you have Test::Harness 2.26 ... Yes (3.35) Checking if you have Alien::wxWidgets 0.25 ... Yes (0.67) Checking if you have File::Spec::Functions 0.82 ... Yes (3.56) Building and testing Wx-0.9928 "/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/bin/perl" script/make_v_cback.pl > cpp/v_cback_def.h "/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/bin/perl" script/copy_files.pl files.lst cp cpp/v_cback.h blib/lib/Wx/cpp/v_cback.h cp cpp/helpers.h blib/lib/Wx/cpp/helpers.h cp cpp/event.h blib/lib/Wx/cpp/event.h cp Opt blib/arch/Wx/build/Opt.pm cp cpp/setup.h blib/lib/Wx/cpp/setup.h cp cpp/wxapi.h blib/lib/Wx/cpp/wxapi.h cp cpp/streams.h blib/lib/Wx/cpp/streams.h cp cpp/constants.h blib/lib/Wx/cpp/constants.h cp cpp/e_cback.h blib/lib/Wx/cpp/e_cback.h cp cpp/v_cback_def.h blib/lib/Wx/cpp/v_cback_def.h cp cpp/compat.h blib/lib/Wx/cpp/compat.h cp cpp/overload.h blib/lib/Wx/cpp/overload.h cp typemap blib/lib/Wx/typemap cp cpp/chkconfig.h blib/lib/Wx/cpp/chkconfig.h touch wxt_copy_files cp build/Wx/build/MakeMaker/Win32.pm blib/lib/Wx/build/MakeMaker/Win32.pm cp build/Wx/Overload/Handle.pm blib/lib/Wx/Overload/Handle.pm cp lib/Wx/Event.pm blib/lib/Wx/Event.pm cp lib/Wx/Locale.pm blib/lib/Wx/Locale.pm cp lib/Wx/App.pm blib/lib/Wx/App.pm cp build/Wx/XSP/Overload.pm blib/lib/Wx/XSP/Overload.pm cp build/Wx/build/MakeMaker/Core.pm blib/lib/Wx/build/MakeMaker/Core.pm cp build/Wx/build/MakeMaker/Win32_MinGW.pm blib/lib/Wx/build/MakeMaker/Win32_MinGW.pm cp build/Wx/Overload/Driver.pm blib/lib/Wx/Overload/Driver.pm cp lib/Wx/Menu.pm blib/lib/Wx/Menu.pm cp lib/Wx/NewClass.pod blib/lib/Wx/NewClass.pod cp lib/Wx/Thread.pod blib/lib/Wx/Thread.pod cp lib/Wx/Mini.pm blib/lib/Wx/Mini.pm cp build/Wx/build/MakeMaker/MacOSX_GCC.pm blib/lib/Wx/build/MakeMaker/MacOSX_GCC.pm cp build/Wx/build/Options.pm blib/lib/Wx/build/Options.pm cp build/Wx/build/MakeMaker.pm blib/lib/Wx/build/MakeMaker.pm cp build/Wx/build/MakeMaker/Any_OS.pm blib/lib/Wx/build/MakeMaker/Any_OS.pm cp lib/Wx/Api.pod blib/lib/Wx/Api.pod cp build/Wx/build/MakeMaker/Win32_MSVC.pm blib/lib/Wx/build/MakeMaker/Win32_MSVC.pm cp lib/Wx/RadioBox.pm blib/lib/Wx/RadioBox.pm cp lib/Wx/Timer.pm blib/lib/Wx/Timer.pm cp build/Wx/build/MakeMaker/Hacks.pm blib/lib/Wx/build/MakeMaker/Hacks.pm cp lib/Wx/Loader.pod blib/lib/Wx/Loader.pod cp build/Wx/XSP/Virtual.pm blib/lib/Wx/XSP/Virtual.pm cp lib/Wx/ArtProvider.pm blib/lib/Wx/ArtProvider.pm cp build/Wx/build/Utils.pm blib/lib/Wx/build/Utils.pm cp Wx.pm blib/lib/Wx.pm cp build/Wx/build/MakeMaker/Any_wx_config.pm blib/lib/Wx/build/MakeMaker/Any_wx_config.pm cp build/Wx/XSP/Event.pm blib/lib/Wx/XSP/Event.pm cp build/Wx/XSP/Enum.pm blib/lib/Wx/XSP/Enum.pm "/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/bin/perl" script/wxperl_overload cpp/ovl_const.cpp cpp/ovl_const.h overload.lst Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at /Users/seamless/.cpanm/work/1454252900.27620/Wx-0.9928/script/../build/Wx/build/Utils.pm line 110. Writing 'cpp/ovl_const.h'. Writing 'cpp/ovl_const.cpp'. touch wxt_overload cp DateTime.pm ../../blib/lib/Wx/DateTime.pm Running Mkbootstrap for Wx::DateTime () chmod 644 "DateTime.bs" "/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/bin/perl" "/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/ExtUtils/xsubpp" -noprototypes -nolinenumbers -typemap "/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/ExtUtils/typemap" -typemap "../../typemap" -typemap "typemap" DateTime.xs > DateTime.xsc && mv DateTime.xsc DateTime.c clang++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -UWX_PRECOMP -c -I. -I../.. -I/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni/lib/wx/include/osx_cocoa-unicode-3.0 -I/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni/include/wx-3.0 -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector-strong -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/Users/seamless/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/darwin-thread-multi-2level/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ DateTime.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from DateTime.c:23: ../../cpp/wxapi.h:26:10: fatal error: 'wx/defs.h' file not found #include <wx/defs.h> ^ 1 error generated. make[2]: *** [DateTime.o] Error 1 make[1]: *** [subdirs] Error 2 make: *** [subdirs] Error 2 -> FAIL Installing Wx failed. See /Users/seamless/.cpanm/work/1454252900.27620/build.log for details. Retry with --force to force install it. I also tried to install Padre using the script that i am attaching with this bug report and it seams to be failing on the Wx as well: The script installs 108 distributions without failure but then it says: Installing the dependencies failed: Module 'Wx::Perl::ProcessStream' is not installed, Module 'Wx' is not installed, Module 'Debug::Client' is not installed, Module 'Wx::Scintilla' is not installed ! Bailing out the installation for Padre-1.00. build.log attached from this process. Any help would be much appreciated. Thank you.
Download (untitled) / with headers
text/html 11.4k
Download padre.pl
text/x-perl 14.8k

Message body is not shown because sender requested not to inline it.

Download build.log
application/octet-stream 1.2m

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 750b
On 2016-01-31 07:20:45, pmendelski@gmail.com wrote: Show quoted text
> Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at > /Users/seamless/.cpanm/work/1454252900.27620/Wx- > 0.9928/build/Wx/build/Utils.pm > line 110.
This is a new warning in perl 5.22 and should be fixed. Show quoted text
> In file included from DateTime.c:23: > ../../cpp/wxapi.h:26:10: fatal error: 'wx/defs.h' file not found > #include <wx/defs.h> > ^ > 1 error generated.
Looks like wx/defs.h is a necessary header file. You can require this to be included by using Devel::CheckLibs in Makefile.PL -- if the header is missing the build fails gracefully (which will generate a NA on cpantesters, not a FAIL).
Subject: Re: [rt.cpan.org #111590] Wx Fails to build from CPAN on MacOSx 10.10.3 Yosemite
Date: Mon, 1 Feb 2016 00:34:33 +0000
To: bug-Wx [...] rt.cpan.org
From: Przemyslaw Mendelski <pmendelski [...] gmail.com>
Download (untitled) / with headers
text/plain 1.6k
Thank you Karen, Indeed it looks like the wx/defs.h is missing or it is not being found in the default path. I am unsure to why that fails because as I said i am downloading the package and building Wx via the CPAN. So whoever made the package should have included the necessary header file ... If i issue the following command: perlbrew exec cpanm -i Wx ... I see that it is first downloading the package ... unziping and executing ... I am not sure if I can download the package manually edit the Makefile.PL to include Devel::CheckLibs as you have suggested and then recompile to be included inside of the perlbrew subsystem ? If you someone could point me to the manual or some kind of step by step article I would be grateful. Best Regards, Przemyslaw On 31 January 2016 at 23:58, Karen Etheridge via RT <bug-Wx@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=111590 > > > On 2016-01-31 07:20:45, pmendelski@gmail.com wrote:
> > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at > > /Users/seamless/.cpanm/work/1454252900.27620/Wx- > > 0.9928/build/Wx/build/Utils.pm > > line 110.
> > This is a new warning in perl 5.22 and should be fixed. > >
> > In file included from DateTime.c:23: > > ../../cpp/wxapi.h:26:10: fatal error: 'wx/defs.h' file not found > > #include <wx/defs.h> > > ^ > > 1 error generated.
> > Looks like wx/defs.h is a necessary header file. You can require this to be > included by using Devel::CheckLibs in Makefile.PL -- if the header is > missing > the build fails gracefully (which will generate a NA on cpantesters, not a > FAIL). > >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.