[MacPorts] #44416: p5.20-wx: No rule to make target `<something>', needed by `wxt_copy_files'.
#44416: p5.20-wx: No rule to make target `<something>', needed by `wxt_copy_files'. ---------------------+---------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: p5.20-wx ---------------------+---------------------- The port `p5.20-wx` fails to build, for example: {{{ Fixing flags in ext/xrc/Makefile ---> Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/ ---> Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/ ---> Building p5.20-wx make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-wx/p5.20-wx/work/Wx-0.9923' make: *** No rule to make target `cpp/v_cback_def.h', needed by `wxt_copy_files'. Stop. make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-wx/p5.20-wx/work/Wx-0.9923' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-wx/p5.20-wx/work/Wx-0.9923" && /usr/bin/make -j2 -w all Exit code: 2 Error: org.macports.build for port p5.20-wx returned: command execution failed Warning: targets not executed for p5.20-wx: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port p5.20-wx for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-wx/p5.20-wx/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port p5.20-wx failed }}} On the buildbot it fails with {{{ ---> Building p5.20-wx DEBUG: Environment: CC_PRINT_OPTIONS='YES' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.20-wx/work/.CC_PRINT_OPTIONS' CPATH='/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.20-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.20-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.20-wx/work/Wx-0.9923' make: *** No rule to make target `Opt', needed by `wxt_copy_files'. Stop. make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.20-wx/work/Wx-0.9923' Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-wx/p5.20-wx/work/Wx-0.9923" && /usr/bin/make -j8 -w all Exit code: 2 Error: org.macports.build for port p5.20-wx returned: command execution failed DEBUG: Error code: CHILDSTATUS 51217 2 DEBUG: Backtrace: command execution failed }}} -- Ticket URL: <https://trac.macports.org/ticket/44416> MacPorts <http://www.macports.org/> Ports system for OS X
#44416: p5.20-wx: No rule to make target `<something>', needed by `wxt_copy_files'. -----------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.20-wx | -----------------------+--------------------- Changes (by mojca@…): * cc: mf2k@… (added) -- Ticket URL: <https://trac.macports.org/ticket/44416#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44416: p5.20-wx: No rule to make target `<something>', needed by `wxt_copy_files'. -----------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: p5.20-wx | -----------------------+--------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed Comment: When using {{{ require Alien::wxWidgets; }}} Perl raised an error: {{{ Can't locate Module/Pluggable.pm in @INC (you may need to install the Module::Pluggable module) }}} and as a consequence the following code in wx: {{{ eval { require Alien::wxWidgets }; our $has_alien = $@ ? 0 : 1; }}} resulted in `$has_alien = 0`. It seems that `p5-module-pluggable` has been removed from Perl core (https://rt.perl.org/Public/Bug/Display.html?id=116491). I upgraded `p5-module-pluggable` in r123776 and fixed `p5-alien-wxwidgets` in r123777. I'm still getting: {{{ Possible precedence issue with control flow operator at /opt/local/lib/perl5/vendor_perl/5.20/darwin-thread-multi- 2level/Alien/wxWidgets/Utility.pm line 77. }}} and {{{ 'WX' is not a known MakeMaker parameter name. }}} but wx at least compiles now. (Some tests fail and I get a lot of "Failed to create the clipboard (error 13: Permission denied)" warnings/errors, but well ...) Committed in r123780. -- Ticket URL: <https://trac.macports.org/ticket/44416#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts