Opened 3 years ago
Closed 2 years ago
#64543 closed defect (fixed)
p5.30-xml-parser fails to build for ppc. UPD: Solution found, open a pull request?
Reported by: | barracuda156 | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | powerpc, snowleopard, rosetta, perl | Cc: | |
Port: | p5-xml-parser |
Description
:info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-xml-parser/p5.30-xml-parser/work/XML-Parser-2.46" && /usr/bin/make -j4 -w all :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-xml-parser/p5.30-xml-parser/work/XML-Parser-2.46" && /usr/bin/make -j4 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-xml-parser/p5.30-xml-parser/work/XML-Parser-2.46' :info:build make: *** No rule to make target `all'. Stop. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-xml-parser/p5.30-xml-parser/work/XML-Parser-2.46' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-xml-parser/p5.30-xml-parser/work/XML-Parser-2.46" && /usr/bin/make -j4 -w all :info:build Exit code: 2 :error:build Failed to build p5.30-xml-parser: command execution failed :debug:build Error code: CHILDSTATUS 51678 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-xml-parser/p5.30-xml-parser/main.log for details.
Attachments (1)
Change History (7)
Changed 3 years ago by barracuda156
comment:1 Changed 3 years ago by barracuda156
Keywords: | perl added |
---|---|
Port: | p5.34-xml-parser added |
comment:2 Changed 3 years ago by barracuda156
Port: | p5.28-xml-parser added |
---|
comment:3 follow-up: 4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | p5-xml-parser added; p5.30-xml-parser p5.34-xml-parser p5.28-xml-parser removed |
---|
comment:4 Changed 3 years ago by barracuda156
Replying to ryandesign:
Two apparently unsuccessful attempts were already made to fix this:
- [ed3f3a708bc474391c028753f67b6a066e9eee3d/macports-ports]
- [10ff9d6f9e081d9cfe50385c0a69a76f6d2498d2/macports-ports]
If you can work out the correct fix, please submit a pull request.
I did. This works:
if {${perl5.major} != ""} { depends_lib-append \ port:expat \ port:p${perl5.major}-libwww-perl configure.args-append \ LD_LIBRARY_PATH=/opt/local/lib configure.post_args-append \ EXPATLIBPATH=/opt/local/lib \ EXPATINCPATH=/opt/local/include }
Can I create a pull request on Github for this?
Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed | grep xml-parser p5.28-xml-parser @2.460.0_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-02-06T17:17:26+0800' p5.30-xml-parser @2.460.0_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-02-06T17:12:15+0800' p5.30-xml-parser-lite @0.722.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2022-01-28T07:39:50+0800' p5.34-xml-parser @2.460.0_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-02-06T17:14:38+0800' p5.34-xml-parser-lite @0.722.0_0 (active) requested_variants='' platform='darwin 10' archs='noarch' date='2022-01-28T07:40:21+0800'
comment:5 Changed 3 years ago by barracuda156
Summary: | p5.30-xml-parser fails to build for ppc on 10.6.8 (Rosetta): *** No rule to make target `all' → p5.30-xml-parser fails to build for ppc. UPD: Solution found, open a pull request? |
---|
comment:6 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The reason seems to be that it can't find expat at configure time.
If a config.log was created in the source directory, it may tell us why it couldn't find expat; please attach it.
Two apparently unsuccessful attempts were already made to fix this:
If you can work out the correct fix, please submit a pull request.