#43150 closed defect (fixed)
p5.16-wx build error on Mavericks
Reported by: | mf2k (Frank Schima) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | mojca (Mojca Miklavec), kurt.vanallsburg@… |
Port: | p5-wx perl5.16 |
Description
I'm seeing the following build error for p5.16-wx in OS X 10.9.2 and Xcode 5.1.
:info:build Frames.c:12662:5: error: declaration of 'Perl___notused' has a different language linkage :info:build dVAR; dXSARGS; :info:build ^ :info:build /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/perl.h:174:17: note: expanded from macro 'dVAR' :info:build # define dVAR dNOOP :info:build ^ :info:build /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/perl.h:362:26: note: expanded from macro 'dNOOP' :info:build #define dNOOP extern int Perl___notused(void) :info:build ^ :info:build Frames.c:182:5: note: previous declaration is here :info:build dVAR; dXSARGS; :info:build ^ :info:build /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/perl.h:174:17: note: expanded from macro 'dVAR' :info:build # define dVAR dNOOP :info:build ^ :info:build /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/perl.h:362:26: note: expanded from macro 'dNOOP' :info:build #define dNOOP extern int Perl___notused(void) :info:build ^ :info:build 5 warnings and 1 error generated. :info:build make: *** [Frames.o] Error 1 :info:build Warning: duplicate function definition 'GetSelection' detected in XS/ComboBox.xs, line 184 :info:build Warning: duplicate function definition 'SetSelection' detected in XS/ComboBox.xs, line 203 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_perl_p5-wx/p5.16-wx/work/Wx-0.9923' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_perl_p5-wx/p5.16-wx/work/Wx-0.9923" && /usr/bin/make -j8 -w all
Cc'ing mojca who just updated the port.
Attachments (6)
Change History (34)
Changed 11 years ago by mf2k (Frank Schima)
comment:1 Changed 11 years ago by mojca (Mojca Miklavec)
comment:2 Changed 11 years ago by mojca (Mojca Miklavec)
This is the failure for p5.14-wx on Lion:
---> Building p5.14-wx DEBUG: Executing org.macports.build (p5.14-wx) DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.14-wx/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.14-wx/work/Wx-0.9923" && /usr/bin/make -j8 -w all' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.14-wx/work/Wx-0.9923" && /usr/bin/make -j8 -w all make: Entering directory `/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.14-wx/work/Wx-0.9923' /opt/local/bin/perl5.14 script/make_v_cback.pl > cpp/v_cback_def.h /opt/local/bin/perl5.14 script/wxperl_overload cpp/ovl_const.cpp cpp/ovl_const.h overload.lst /opt/local/bin/perl5.14 /opt/local/lib/perl5/5.14.2/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /opt/local/lib/perl5/5.14.2/ExtUtils/typemap -typemap typemap Wx.xs > Wx.xsc && mv Wx.xsc Wx.c /opt/local/bin/perl5.14 /opt/local/lib/perl5/5.14.2/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /opt/local/lib/perl5/5.14.2/ExtUtils/typemap -typemap typemap Constant.xs > Constant.xsc && mv Constant.xsc Constant.c /opt/local/bin/perl5.14 -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ItemContainer.xsp > XS/ItemContainer.xs /opt/local/bin/perl5.14 -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ItemContainerImmutable.xsp > XS/ItemContainerImmutable.xs /opt/local/bin/perl5.14 /opt/local/lib/perl5/5.14.2/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /opt/local/lib/perl5/5.14.2/ExtUtils/typemap -typemap typemap Event.xs > Event.xsc && mv Event.xsc Event.c /opt/local/bin/perl5.14 /opt/local/lib/perl5/5.14.2/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /opt/local/lib/perl5/5.14.2/ExtUtils/typemap -typemap typemap Frames.xs > Frames.xsc && mv Frames.xsc Frames.c /opt/local/bin/perl5.14 /opt/local/lib/perl5/5.14.2/ExtUtils/xsubpp -nolinenumbers -noprototypes -typemap /opt/local/lib/perl5/5.14.2/ExtUtils/typemap -typemap typemap GDI.xs > GDI.xsc && mv GDI.xsc GDI.c Writing 'cpp/ovl_const.h'. Writing 'cpp/ovl_const.cpp'. touch wxt_overload /opt/local/bin/perl5.14 -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/VarHScrollHelper.xsp > XS/VarHScrollHelper.xs Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [XS/ItemContainerImmutable.xs] Error 2 make: *** Waiting for unfinished jobs.... make: *** [XS/ItemContainer.xs] Error 2 Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [XS/VarHScrollHelper.xs] Error 2 Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. Error reading from pipe '/opt/local/bin/perl5.14 -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Dialog.xsp': in Frames.xs, line 28 make: *** [Frames.c] Error 1 Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. Error reading from pipe '/opt/local/bin/perl5.14 -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Brush.xsp': in XS/Pen.xs, line 0 make: *** [GDI.c] Error 1 Can't locate ExtUtils/Typemaps.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Typemap.pm line 5. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Lexer.pm line 30. Compilation failed in require at XSP.yp line 476. BEGIN failed--compilation aborted at XSP.yp line 476. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Parser.pm line 7. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Driver.pm line 9. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.14.2/ExtUtils/XSpp/Cmd.pm line 30. Compilation failed in require. BEGIN failed--compilation aborted. Error reading from pipe '/opt/local/bin/perl5.14 -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/FontEnumerator.xsp': in Wx.xs, line 548 make: *** [Wx.c] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.14-wx/work/Wx-0.9923' Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.14-wx/work/Wx-0.9923" && /usr/bin/make -j8 -w all Exit code: 2
Maybe it's a different error, but I'm copy-pasting it here it nevertheless. https://build.macports.org/builders/buildports-lion-x86_64/builds/19183
comment:3 Changed 11 years ago by mf2k (Frank Schima)
I tried, for a short while, to blacklist later clang versions, but it did not seem to work. This port may not be UsingTheRightCompiler. Can you try falling back to an older wxWidgets version on Mavericks?
comment:4 Changed 11 years ago by mojca (Mojca Miklavec)
Summary of success/failures:
OS \ Perl | 5.14 | 5.16 | 5.18 |
10.6-10.8 | - | OK | OK |
10.9 | - | - | OK |
What do you want me to do? Use wxWidgets 2.9.4 only on 10.9 and only for Perl 5.16? Or also for Perl 5.14 on all OS versions?
Changed 11 years ago by mojca (Mojca Miklavec)
Attachment: | patch-wxPerl.diff added |
---|
patch for p5-wx and p5-alien-wxwidgets to fall back to wxWidgets 2.9.4
comment:6 Changed 11 years ago by mojca (Mojca Miklavec)
Can you please try the attached patch? (In case it works, feel free to commit it.)
comment:7 Changed 11 years ago by mf2k (Frank Schima)
Hmmm. It did not work for me. Looks like the same error. I'll attach the latest log.
Changed 11 years ago by mf2k (Frank Schima)
Attachment: | main.2.log added |
---|
comment:8 Changed 11 years ago by mojca (Mojca Miklavec)
You didn't compile against wxWidgets 2.9.4. You shouldn't have ended up with -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0
. It's possible that my patch wasn't sufficient to switch to wxPerl. Which wxWidgets dependencies are listed with the following commands?
port info p5.16-wx port info p5.16-alien-wxwidgets
comment:9 Changed 11 years ago by mf2k (Frank Schima)
$ port info --depends p5.16-alien-wxwidgets depends_build: depends_run: depends_fetch: depends_lib: port:perl5.16, port:p5.16-module-build, port:wxPerl-3.0 depends_extract: $ port info --depends p5.16-wx depends_build: port:p5.16-extutils-xspp depends_run: depends_fetch: depends_lib: port:perl5.16, port:p5.16-alien-wxwidgets, port:wxPerl-3.0 depends_extract:
comment:10 Changed 11 years ago by mojca (Mojca Miklavec)
Can you please try to increase the revision for p5-alien-wxwidgets
? I suspect the problem is that p5.18-alien-wxwidgets
was already successfully installed and linked against wxWidgets-3.0
.
comment:11 Changed 11 years ago by mf2k (Frank Schima)
I had done a complete uninstall of p5.16-alien-wxwidgets first.
comment:12 Changed 11 years ago by mojca (Mojca Miklavec)
I'm not fluent in reading the logs, but please do try to increase the revision. I don't see any traces of p5.16-alien-wxwidgets being built in your log. Maybe the package was installed automatically from the binary server (or from some local archive)?
comment:13 Changed 11 years ago by mf2k (Frank Schima)
Good thought, but I did force a source install.
$ sudo port uninstall p5.16-alien-wxwidgets ---> Deactivating p5.16-alien-wxwidgets @0.650.0_1 ---> Uninstalling p5.16-alien-wxwidgets @0.650.0_1 ---> Cleaning p5.16-alien-wxwidgets $ sudo port clean p5.16-wx ---> Cleaning p5.16-wx $ sudo port -s install p5.16-wx ---> Computing dependencies for p5.16-wx ---> Dependencies to be installed: p5.16-alien-wxwidgets ---> Fetching distfiles for p5.16-alien-wxwidgets ---> Attempting to fetch Alien-wxWidgets-0.65.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/perl5 ---> Attempting to fetch Alien-wxWidgets-0.65.tar.gz from ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Alien ---> Verifying checksums for p5.16-alien-wxwidgets ---> Extracting p5.16-alien-wxwidgets ---> Configuring p5.16-alien-wxwidgets ---> Building p5.16-alien-wxwidgets ---> Staging p5.16-alien-wxwidgets into destroot ---> Installing p5.16-alien-wxwidgets @0.650.0_1 ---> Activating p5.16-alien-wxwidgets @0.650.0_1 ---> Cleaning p5.16-alien-wxwidgets ---> Fetching distfiles for p5.16-wx ---> Verifying checksums for p5.16-wx ---> Extracting p5.16-wx ---> Configuring p5.16-wx ---> Building p5.16-wx Error: Failed to build p5.16-wx: command execution failed Error: See /opt/local/var/macports/logs/_opt_mports_trunk_dports_perl_p5-wx/p5.16-wx/main.log for details.
comment:14 Changed 11 years ago by mojca (Mojca Miklavec)
I'm sorry, but I have no clue. You should have ended up with
> port contents p5.16-alien-wxwidgets Port p5.16-alien-wxwidgets contains: /opt/local/lib/perl5/vendor_perl/5.16.1/darwin-thread-multi-2level/Alien/wxWidgets.pm /opt/local/lib/perl5/vendor_perl/5.16.1/darwin-thread-multi-2level/Alien/wxWidgets/Config/mac_2_9_4_uni_nc_0.pm /opt/local/lib/perl5/vendor_perl/5.16.1/darwin-thread-multi-2level/Alien/wxWidgets/Utility.pm /opt/local/lib/perl5/vendor_perl/5.16.1/darwin-thread-multi-2level/auto/Alien/wxWidgets/.packlist /opt/local/share/perl5.16/man/man3/Alien::wxWidgets.3pm /opt/local/share/perl5.16/man/man3/Alien::wxWidgets::Utility.3pm
but I suspect that you have darwin-thread-multi-2level/Alien/wxWidgets/Config/mac_3_0_0_uni_nc_0.pm
instead? (Unless the error in the latest main.log is different now.)
comment:16 Changed 11 years ago by mojca (Mojca Miklavec)
I see different projects using something like
// Hack to work around "error: declaration of 'Perl___notused' has a different // language linkage" error on Clang #ifdef dNOOP # undef dNOOP # define dNOOP #endif
or
#undef dNOOP // Hack to work around "error: declaration of 'Perl___notused' has a different language linkage" error message on clang. #define dNOOP
- https://github.com/NixOS/nix/blob/master/perl/lib/Nix/Store.xs
- https://github.com/NixOS/nix/commit/625ffd441d8c98331ee357f4900fa50dd9be05bc
as well as patches of ParseXS.pm
:
comment:17 Changed 11 years ago by mojca (Mojca Miklavec)
The problem with p5.14 seems to be
Can't locate ExtUtils/Typemaps.pm in @INC
Indeed perl5.16
includes
/opt/local/lib/perl5/5.16.1/ExtUtils/Typemaps.pm
but perl5.14
lacks that file. I opened a new ticket #43157.
comment:18 Changed 11 years ago by kurt.vanallsburg@…
My main.log seems to suggest Tcl/Tk is causing a problem. Mavericks 10.9.2, Xcode 5.1.
:error:build Failed to install p5.16-wx :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing
I've attached the logfile as main-kva.log.
Changed 11 years ago by kurt.vanallsburg@…
Attachment: | main-kva.log added |
---|
Changed 11 years ago by mojca (Mojca Miklavec)
Attachment: | perl5.16-dNOOP.diff added |
---|
backported fix for dNOOP in C++ for Perl 5.16
comment:20 Changed 11 years ago by mojca (Mojca Miklavec)
Can you please try patching Perl 5.16 with perl5.16-dNOOP.diff
? I'm able to reproduce the problem on 10.7 by using
sudo port install p5.16-wx configure.compiler=macports-clang-3.4
and this patch fixes is for me. Anyway, given the large number of compile errors, Perl looks like a "time bomb" that will sooner or later fail to compile again when a new compiler version comes out.
Please build against wxWidgets 3.0, not against "wxPerl" (2.9.4). So make sure to remove local patches that could grab an older version of wxWidgets. Just in case, uninstall p5.16-alien-wxwidgets
first as well.
comment:21 Changed 11 years ago by mojca (Mojca Miklavec)
Kurt: your logs suggest exactly the same error. I don't know what that tclIndex is doing, but the initial error is/was the same as reported here.
comment:22 Changed 11 years ago by mojca (Mojca Miklavec)
Port: | perl5.16 added |
---|---|
Version: | 2.2.1 |
comment:23 Changed 11 years ago by mojca (Mojca Miklavec)
Reply from Perl developers:
The problem with backporting is I don't think this is a binary-compatible change. If someone has an XS extension that knows about the
Perl___notused
symbol (either in its mangled or unmangled form when built with C++), then that extension would have to be rebuilt if we take that symbol away. We don't do that for maintenance releases. There may be a way around that, such as providing the symbol elsewhere for backward compatibility purposes only, but it's something that needs further consideration and discussion.Please open a ticket at rt.perl.org to make sure this gets the discussion it needs. The easiest way to do that is to just resend your mail to
perlbug a perl.org
. Please use a specific subject line, such as "request to backport 'A more C++-friendly dNOOP'" and be sure to include the output ofperl -V
in the message. Also please include verbose compiler version info.
So the second question is: do we need to rebuild anything if we apply this patch?
I also noticed that we are using perl5.16.1 while 5.16.3 is out.
comment:24 Changed 11 years ago by mojca (Mojca Miklavec)
I could have opened a new ticket for an update (integrating the dNOOP
patch), but if you are testing the patch, you can just as well test all this on an updated Perl version (hoping that the note from developers isn't too serious; if it is, we can revbump certain ports causing problems).
comment:25 Changed 11 years ago by mojca (Mojca Miklavec)
Keywords: | haspatch added |
---|
Changed 11 years ago by mojca (Mojca Miklavec)
Attachment: | perl5.16.3.diff added |
---|
upgrade to perl5.16.3 including the patch for dNOOP
comment:26 Changed 11 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This worked. Thanks! Committed in r118512.
comment:27 Changed 11 years ago by mojca (Mojca Miklavec)
Now for the cool news. I just discovered that libproxy
became broken due to
/opt/local/lib/perl5/site_perl/5.16.1/darwin-thread-multi-2level/auto/Net/Libproxy/Libproxy.dylib
linking against
/opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/libperl.dylib
And p5.16-wx
seems broken as well for more or less the same reason.
We could just as well update perl5.12
and perl5.14
(#43174) before revbumping these (and other?) ports.
comment:28 Changed 11 years ago by mojca (Mojca Miklavec)
Here's the upstream "backport request": https://rt.perl.org/Public/Bug/Display.html?id=121714
Now get that. On Mavericks (https://build.macports.org/builders/buildports-mavericks-x86_64/builds/2468) the build of p5.18-wx actually succeeds:
See also Lion (https://build.macports.org/builders/buildports-lion-x86_64/builds/19178) where it succeeds on p5.16 (the failure on some is probably due to missing/broken dependencies, I would need to rebuild):
Other than the problem with 5.10 I don't understand the pattern.