Opened 5 years ago
Last modified 5 years ago
#59131 closed defect
p5.28-xml-parser @2.460.0_0: build make fails with "no rule to make target 'all'." — at Version 7
Reported by: | jeffszuhay (Jeff Szuhay) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.0 |
Keywords: | Cc: | ||
Port: | p5-xml-parser |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
using command line
port -Rus upgrade p5.28-xml-parser
build fails. log file (attached) shows
:info:build make: *** No rule to make target `all'. Stop.
Change History (9)
Changed 5 years ago by jeffszuhay (Jeff Szuhay)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
Port: | p5-xml-parser added; p5.28-xml-parser removed |
---|
comment:2 Changed 5 years ago by mf2k (Frank Schima)
This is not a clean build log. Please clean the port (sudo port clean p5.28-xml-parser
) and try installing it again. Then attach the new main.log file if it fails to build.
Changed 5 years ago by jeffszuhay (Jeff Szuhay)
Attachment: | main.2.log added |
---|
main.log file after port clean and port -Rus upgrade for p5.28-xml-parser
comment:3 Changed 5 years ago by jeffszuhay (Jeff Szuhay)
sudo port clean p5.28-xml-parser
sudo port -Rus upgrade p5.28-xml-parser
Failed. Same error. Log file attached.
comment:4 Changed 5 years ago by jeffszuhay (Jeff Szuhay)
installed:
expat @2.2.9_0+universal (active)
in standard location.
comment:5 Changed 5 years ago by mf2k (Frank Schima)
I can reproduce this too. I wonder if it is related to Xcode 11?
comment:6 Changed 5 years ago by mf2k (Frank Schima)
Error is:
:info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_perl_p5-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46" && /usr/bin/make -j8 -w all :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_perl_p5-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46" && /usr/bin/make -j8 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_perl_p5-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46' :info:build make: *** No rule to make target `all'. Stop.
comment:7 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Well the real error is actually:
:info:configure Expat must be installed prior to building XML::Parser and I can't find :info:configure it in the standard library directories. Install 'expat-devel' (or :info:configure 'libexpat1-dev') package with your OS package manager. See 'README'.
But as Jeff points out, expat is, of course, already installed.
I don't see this problem on my High Sierra system with Xcode 9.4.1.
It could certainly relate to Xcode 11, as you say, Frank.
I don't suppose perl writes anything like a config.log file anywhere to tell us what exactly went wrong? Possibly inside the directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46?
main.log file for p5.28-xml-parser build