[MacPorts] #24943: p5-pathtools 3.31 fails to build - SnowLeopard

MacPorts noreply at macports.org
Tue May 18 18:22:59 PDT 2010


#24943: p5-pathtools 3.31 fails to build - SnowLeopard
--------------------------------+-------------------------------------------
 Reporter:  portaktl@…          |       Owner:  dluke@…           
     Type:  defect              |      Status:  new               
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:  1.8.2             
 Keywords:                      |        Port:  p5-pathtools      
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => dluke@…
  * port:  => p5-pathtools


Old description:

> Installation via 'sudo port -d install' on MacPorts 1.8.2
>
> EBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-pathtools
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-pathtools
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.4.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl
> DEBUG: adding the default universal variant
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: Requested variant darwin is not provided by port p5-pathtools.
> DEBUG: Requested variant i386 is not provided by port p5-pathtools.
> DEBUG: Requested variant macosx is not provided by port p5-pathtools.
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: perl5 5.8.9_0 exists in the ports tree
> DEBUG: perl5 5.8.9_0  is the latest installed
> DEBUG: perl5 5.8.9_0  is active
> DEBUG: Merging existing variants  into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.4.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: not using configure, so not adding the default universal variant
> DEBUG: Requested variant darwin is not provided by port perl5.
> DEBUG: Requested variant i386 is not provided by port perl5.
> DEBUG: Requested variant macosx is not provided by port perl5.
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
> DEBUG: epoch: in tree: 0 installed: 0
> DEBUG: perl5.8 5.8.9_3 exists in the ports tree
> DEBUG: perl5.8 5.8.9_3  is the latest installed
> DEBUG: perl5.8 5.8.9_3  is active
> DEBUG: Merging existing variants  into variants
> DEBUG: new fully merged portvariants:
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.4.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: adding the default universal variant
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: Requested variant darwin is not provided by port perl5.8.
> DEBUG: Requested variant i386 is not provided by port perl5.8.
> DEBUG: Requested variant macosx is not provided by port perl5.8.
> DEBUG: No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3
> DEBUG: No need to upgrade! perl5 5.8.9_0 >= perl5 5.8.9_0
> --->  Computing dependencies for p5-pathtools
> DEBUG: Searching for dependency: perl5
> DEBUG: Found Dependency: receipt exists for perl5
> DEBUG: Executing org.macports.main (p5-pathtools)
> DEBUG: Skipping completed org.macports.fetch (p5-pathtools)
> DEBUG: Skipping completed org.macports.checksum (p5-pathtools)
> DEBUG: Skipping completed org.macports.extract (p5-pathtools)
> DEBUG: Skipping completed org.macports.patch (p5-pathtools)
> DEBUG: Skipping completed org.macports.configure (p5-pathtools)
> --->  Building p5-pathtools
> DEBUG: Executing org.macports.build (p5-pathtools)
> DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.31"
> && /usr/bin/make -j2 all'
> /usr/bin/gcc-4.2 -c   -fno-common -DPERL_DARWIN -I/opt/local/include -no-
> cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include
> -I/opt/local/include -O3   -DVERSION=\"3.31\" -DXS_VERSION=\"3.31\"
> "-I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE"   Cwd.c
> In file included from Cwd.xs:2:
> /opt/local/lib/perl5/5.8.9/darwin-2level/CORE/perl.h:5536:63: error:
> libutil.h: No such file or directory
> make: *** [Cwd.o] Error 1
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.31"
> && /usr/bin/make -j2 all " returned error 2
> DEBUG: Backtrace: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.31"
> && /usr/bin/make -j2 all " returned error 2
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 9)
>     invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for p5-pathtools):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.

New description:

 Installation via 'sudo port -d install' on MacPorts 1.8.2

 {{{
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-pathtools
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-pathtools
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.4.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl
 DEBUG: adding the default universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Requested variant darwin is not provided by port p5-pathtools.
 DEBUG: Requested variant i386 is not provided by port p5-pathtools.
 DEBUG: Requested variant macosx is not provided by port p5-pathtools.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: perl5 5.8.9_0 exists in the ports tree
 DEBUG: perl5 5.8.9_0  is the latest installed
 DEBUG: perl5 5.8.9_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.4.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: not using configure, so not adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port perl5.
 DEBUG: Requested variant i386 is not provided by port perl5.
 DEBUG: Requested variant macosx is not provided by port perl5.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: perl5.8 5.8.9_3 exists in the ports tree
 DEBUG: perl5.8 5.8.9_3  is the latest installed
 DEBUG: perl5.8 5.8.9_3  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.4.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: adding the default universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Requested variant darwin is not provided by port perl5.8.
 DEBUG: Requested variant i386 is not provided by port perl5.8.
 DEBUG: Requested variant macosx is not provided by port perl5.8.
 DEBUG: No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3
 DEBUG: No need to upgrade! perl5 5.8.9_0 >= perl5 5.8.9_0
 --->  Computing dependencies for p5-pathtools
 DEBUG: Searching for dependency: perl5
 DEBUG: Found Dependency: receipt exists for perl5
 DEBUG: Executing org.macports.main (p5-pathtools)
 DEBUG: Skipping completed org.macports.fetch (p5-pathtools)
 DEBUG: Skipping completed org.macports.checksum (p5-pathtools)
 DEBUG: Skipping completed org.macports.extract (p5-pathtools)
 DEBUG: Skipping completed org.macports.patch (p5-pathtools)
 DEBUG: Skipping completed org.macports.configure (p5-pathtools)
 --->  Building p5-pathtools
 DEBUG: Executing org.macports.build (p5-pathtools)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.31"
 && /usr/bin/make -j2 all'
 /usr/bin/gcc-4.2 -c   -fno-common -DPERL_DARWIN -I/opt/local/include -no-
 cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include
 -I/opt/local/include -O3   -DVERSION=\"3.31\" -DXS_VERSION=\"3.31\"
 "-I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE"   Cwd.c
 In file included from Cwd.xs:2:
 /opt/local/lib/perl5/5.8.9/darwin-2level/CORE/perl.h:5536:63: error:
 libutil.h: No such file or directory
 make: *** [Cwd.o] Error 1
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.31"
 && /usr/bin/make -j2 all " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.31"
 && /usr/bin/make -j2 all " returned error 2
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for p5-pathtools):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Does the problem recur if you "sudo port clean p5-pathtools" and try
 again?

-- 
Ticket URL: <http://trac.macports.org/ticket/24943#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list