[MacPorts] #59131: p5.28-xml-parser @2.460.0_0: build make fails with "no rule to make target 'all'."
MacPorts
noreply at macports.org
Tue Oct 1 05:55:01 UTC 2019
#59131: p5.28-xml-parser @2.460.0_0: build make fails with "no rule to make target
'all'."
----------------------------+--------------------
Reporter: jeffszuhay | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.0
Resolution: | Keywords:
Port: p5-xml-parser |
----------------------------+--------------------
Comment (by kencu):
I saw this same issue as well, but on macOS 10.14 when building against
the 10.13 headers, so I didn't report it before:
{{{
$ sudo port -v upgrade outdated
---> Computing dependencies for p5.28-xml-parser.
---> Fetching distfiles for p5.28-xml-parser
---> Verifying checksums for p5.28-xml-parser
---> Checksumming XML-Parser-2.46.tar.gz
---> Extracting p5.28-xml-parser
---> Extracting XML-Parser-2.46.tar.gz
Executing: cd
"/opt/universalnew/var/macports/build/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work" && /usr/bin/gzip -dc
'/opt/universalnew/var/macports/distfiles/perl5/XML-Parser-2.46.tar.gz' |
/usr/bin/tar -xf -
---> Configuring p5.28-xml-parser
Executing: cd
"/opt/universalnew/var/macports/build/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46" &&
/opt/universalnew/bin/perl5.28 Makefile.PL INSTALLDIRS=vendor
CC="/usr/bin/clang" LD="/usr/bin/clang"
Expat must be installed prior to building XML::Parser and I can't find
it in the standard library directories. Install 'expat-devel' (or
'libexpat1-dev') package with your OS package manager. See 'README'.
Or you can download expat from:
http://sourceforge.net/projects/expat/
If expat is installed, but in a non-standard directory, then use the
following options to Makefile.PL:
EXPATLIBPATH=... To set the directory in which to find libexpat
EXPATINCPATH=... To set the directory in which to find expat.h
For example:
perl Makefile.PL EXPATLIBPATH=/home/me/lib
EXPATINCPATH=/home/me/include
Note that if you build against a shareable library in a non-standard
location
you may (on some platforms) also have to set your LD_LIBRARY_PATH
environment
variable at run time for perl to find the library.
---> Building p5.28-xml-parser
Executing: cd
"/opt/universalnew/var/macports/build/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46" && /usr/bin/make -j16
-w all
make: Entering directory
`/opt/universalnew/var/macports/build/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46'
make: *** No rule to make target `all'. Stop.
make: Leaving directory
`/opt/universalnew/var/macports/build/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46'
Command failed: cd
"/opt/universalnew/var/macports/build/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/work/XML-Parser-2.46" && /usr/bin/make -j16
-w all
Exit code: 2
Error: Failed to build p5.28-xml-parser: command execution failed
Error: See
/opt/universalnew/var/macports/logs/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-xml-parser/p5.28-xml-parser/main.log for details.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59131#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list