[MacPorts] #26276: curl-ca-bundle: Cannot stat: /opt/local/var/macports/distfiles/curl/certdata-1.65.txt, No such file or directory

MacPorts noreply at macports.org
Sun Aug 29 12:04:07 PDT 2010


#26276: curl-ca-bundle: Cannot stat:
/opt/local/var/macports/distfiles/curl/certdata-1.65.txt, No such file or
directory
--------------------------------------+-------------------------------------
 Reporter:  rdclark@…                 |       Owner:  ryandesign@…           
     Type:  defect                    |      Status:  assigned               
 Priority:  Normal                    |   Milestone:                         
Component:  ports                     |     Version:  1.9.1                  
 Keywords:                            |        Port:  curl-ca-bundle         
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * status:  new => assigned
  * owner:  macports-tickets@… => ryandesign@…
 * cc: ryandesign@… (removed)
  * port:  => curl-ca-bundle


Old description:

> Upgrading from curl-ca-bundle at 7.21.1, I encountered the cannot stat
> certdata problem. Tried the remedy from previous ticket 25739 (clean
> --all and reinstall) to no avail.
>
> Here's the log, which shows the checksum for the file passes, but then
> the file isn't found.
>
> Any thoughts on working around this?
>
> version:1
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main perl5 5.8.9_0 exists in the ports tree
> :debug:main perl5 5.8.9_0  is the latest installed
> :debug:main perl5 5.8.9_0  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
> :debug:main OS darwin/10.4.0 (Mac OS X 10.6) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main universal_variant is false, so not adding the default
> universal variant
> :debug:main No need to upgrade! perl5 5.8.9_0 >= perl5 5.8.9_0
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main perl5.8 5.8.9_3 exists in the ports tree
> :debug:main perl5.8 5.8.9_3  is the latest installed
> :debug:main perl5.8 5.8.9_3  is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
> :debug:main OS darwin/10.4.0 (Mac OS X 10.6) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main adding the default universal variant
> :debug:main Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
> :debug:main No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3
> :msg:main --->  Computing dependencies for curl-ca-bundle:info:main
> .:debug:main Searching for dependency: perl5
> :debug:main Found Dependency: receipt exists for perl5
> :msg:main
> :debug:main Executing org.macports.main (curl-ca-bundle)
> :debug:main Skipping completed org.macports.fetch (curl-ca-bundle)
> :debug:main Skipping completed org.macports.checksum (curl-ca-bundle)
> :debug:main setting option extract.cmd to /usr/bin/bzip2
> :msg:main --->  Extracting curl-ca-bundle
> :debug:extract extract phase started at Sun Aug 29 11:45:48 PDT 2010
> :debug:extract Executing org.macports.extract (curl-ca-bundle)
> :info:extract --->  Extracting curl-7.21.1.tar.bz2
> :debug:extract setting option extract.args to
> '/opt/local/var/macports/distfiles/curl/curl-7.21.1.tar.bz2'
> :debug:extract Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_net_curl-ca-bundle/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.6'
> :debug:extract Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_net_curl-ca-bundle/work" && /usr/bin/bzip2 -dc
> '/opt/local/var/macports/distfiles/curl/curl-7.21.1.tar.bz2' |
> /usr/bin/gnutar --no-same-owner -xf - curl-7.21.1/Makefile
> curl-7.21.1/lib/mk-ca-bundle.pl'
> :debug:extract Executing proc-post-org.macports.extract-extract-0
> :error:extract Target org.macports.extract returned: xinstall: Cannot
> stat: /opt/local/var/macports/distfiles/curl/certdata-1.65.txt, No such
> file or directory
> :debug:extract Backtrace: xinstall: Cannot stat:
> /opt/local/var/macports/distfiles/curl/certdata-1.65.txt, No such file or
> directory
>     while executing
> "$post $targetname"
> :info:extract Warning: the following items did not execute (for curl-ca-
> bundle): org.macports.activate org.macports.extract org.macports.patch
> org.macports.configure org.macports.build org.macports.destroot
> org.macports.install
> :notice:extract Log for curl-ca-bundle is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_net_curl-ca-bundle/main.log

New description:

 Upgrading from curl-ca-bundle at 7.21.1, I encountered the cannot stat
 certdata problem. Tried the remedy from [ticket:25739 previous ticket
 25739] (`clean --all` and reinstall) to no avail.

 Here's the log, which shows the checksum for the file passes, but then the
 file isn't found.

 Any thoughts on working around this?

 {{{
 version:1
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main perl5 5.8.9_0 exists in the ports tree
 :debug:main perl5 5.8.9_0  is the latest installed
 :debug:main perl5 5.8.9_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
 :debug:main OS darwin/10.4.0 (Mac OS X 10.6) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main universal_variant is false, so not adding the default
 universal variant
 :debug:main No need to upgrade! perl5 5.8.9_0 >= perl5 5.8.9_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main perl5.8 5.8.9_3 exists in the ports tree
 :debug:main perl5.8 5.8.9_3  is the latest installed
 :debug:main perl5.8 5.8.9_3  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
 :debug:main OS darwin/10.4.0 (Mac OS X 10.6) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.unload registered provides 'unload', a pre-
 existing procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3
 :msg:main --->  Computing dependencies for curl-ca-bundle:info:main
 .:debug:main Searching for dependency: perl5
 :debug:main Found Dependency: receipt exists for perl5
 :msg:main
 :debug:main Executing org.macports.main (curl-ca-bundle)
 :debug:main Skipping completed org.macports.fetch (curl-ca-bundle)
 :debug:main Skipping completed org.macports.checksum (curl-ca-bundle)
 :debug:main setting option extract.cmd to /usr/bin/bzip2
 :msg:main --->  Extracting curl-ca-bundle
 :debug:extract extract phase started at Sun Aug 29 11:45:48 PDT 2010
 :debug:extract Executing org.macports.extract (curl-ca-bundle)
 :info:extract --->  Extracting curl-7.21.1.tar.bz2
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/curl/curl-7.21.1.tar.bz2'
 :debug:extract Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_net_curl-ca-bundle/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:extract Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_net_curl-ca-bundle/work" && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/curl/curl-7.21.1.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf - curl-7.21.1/Makefile curl-7.21.1/lib
 /mk-ca-bundle.pl'
 :debug:extract Executing proc-post-org.macports.extract-extract-0
 :error:extract Target org.macports.extract returned: xinstall: Cannot
 stat: /opt/local/var/macports/distfiles/curl/certdata-1.65.txt, No such
 file or directory
 :debug:extract Backtrace: xinstall: Cannot stat:
 /opt/local/var/macports/distfiles/curl/certdata-1.65.txt, No such file or
 directory
     while executing
 "$post $targetname"
 :info:extract Warning: the following items did not execute (for curl-ca-
 bundle): org.macports.activate org.macports.extract org.macports.patch
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 :notice:extract Log for curl-ca-bundle is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_net_curl-ca-bundle/main.log
 }}}

--

Comment:

 Remember to fill in the Port field and to use WikiFormatting.

 Please clean and try again and if it fails again attach the log
 immediately after doing so; the log you pasted here says "Skipping
 completed org.macports.fetch" and "Skipping completed
 org.macports.checksum" indicating it was not taken from a clean run.

 The log says "xinstall: Cannot stat:
 /opt/local/var/macports/distfiles/curl/certdata-1.65.txt, No such file or
 directory". Does that file exist? If not, watch what the port does during
 the fetch phase. Does it fetch that file?

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


More information about the macports-tickets mailing list