[MacPorts] #69245: p5.34-xml-parser depends on expat and port does know this?

MacPorts noreply at macports.org
Tue Jan 30 23:09:31 UTC 2024


#69245: p5.34-xml-parser depends on expat and port does know this?
-----------------------+------------------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.9.0
 Keywords:  tiger ppc  |       Port:  p5.34-xml-parser
-----------------------+------------------------------
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/XML-Parser-2.47" &&
 /opt/local/bin/perl5.34 Makefile.PL INSTALLDIRS=vendor CC="/opt/local/bin
 /gcc-apple-4.2" LD="/opt/local/bin/gcc-apple-4.2"
 EXPATLIBPATH=/opt/local/lib EXPATINCPATH=/opt/local/include
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/XML-Parser-2.47" &&
 /opt/local/bin/perl5.34 Makefile.PL INSTALLDIRS=vendor CC="/opt/local/bin
 /gcc-apple-4.2" LD="/opt/local/bin/gcc-apple-4.2"
 EXPATLIBPATH=/opt/local/lib EXPATINCPATH=/opt/local/include

 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.

 DEBUG: Executing proc-post-org.macports.configure-configure-0
 DEBUG: Executing portconfigure::configure_finish
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: build phase started at Tue Jan 30 23:45:03 CET 2024
 --->  Building p5.34-xml-parser
 DEBUG: Executing org.macports.build (p5.34-xml-parser)
 DEBUG: Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 DEVELOPER_DIR='/Developer'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.4'
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/XML-Parser-2.47" && /usr/bin/make -w all
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/XML-Parser-2.47" && /usr/bin/make -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/XML-Parser-2.47'
 make: *** No rule to make target `all'.  Stop.
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/XML-Parser-2.47'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_perl_p5
 -xml-parser/p5.34-xml-parser/work/XML-Parser-2.47" && /usr/bin/make -w all
 Exit code: 2
 Error: Failed to build p5.34-xml-parser: command execution failed
 DEBUG: Error code: CHILDSTATUS 7105 2
 DEBUG: Backtrace: command execution failed
 }}}

 Nevertheless, the missing `port` **is** installed:

 {{{
   expat @2.5.0_0 (active) requested_variants='' platform='darwin 8'
 archs='ppc' date='2022-11-13T20:46:37+0100'
 }}}

 and the required files exist as well:

 {{{
 -rw-r--r--   1 root  admin   43535 13 Nov  2022 /opt/local/include/expat.h
 -rwxr-xr-x   1 root  admin  204072 13 Nov  2022
 /opt/local/lib/libexpat.1.8.10.dylib
 lrwxr-xr-x   1 root  admin      21 13 Nov  2022
 /opt/local/lib/libexpat.1.dylib -> libexpat.1.8.10.dylib
 -rw-r--r--   1 root  admin  409088 13 Nov  2022 /opt/local/lib/libexpat.a
 lrwxr-xr-x   1 root  admin      21 13 Nov  2022
 /opt/local/lib/libexpat.dylib -> libexpat.1.8.10.dylib
 }}}

 Invoking the `build command` on the `command line` I get:

 {{{
 /opt/local/bin/perl5.34 Makefile.PL INSTALLDIRS=vendor CC="/opt/local/bin
 /gcc-apple-4.2" LD="/opt/local/bin/gcc-apple-4.2"
 EXPATLIBPATH=/opt/local/lib EXPATINCPATH=/opt/local/include
 Use of uninitialized value $line in substitution (s///) at
 /opt/local/lib/perl5/vendor_perl/5.34/Text/ParseWords.pm line 21.
 Use of uninitialized value $compiler in -f at inc/Devel/CheckLib.pm line
 487.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Use of uninitialized value in subroutine entry at inc/Devel/CheckLib.pm
 line 470.
 Couldn't find your C compiler.
 Compilation failed in require at Makefile.PL line 4.
 BEGIN failed--compilation aborted at Makefile.PL line 4.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69245>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list