[MacPorts] #29297: archivefetch doesn't fail properly (was: python_select fails pkg phase)

MacPorts noreply at macports.org
Thu Apr 28 07:35:54 PDT 2011


#29297: archivefetch doesn't fail properly
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  raimue@…           
     Type:  defect            |      Status:  new                
 Priority:  Normal            |   Milestone:                     
Component:  base              |     Version:  1.9.99             
 Keywords:                    |        Port:                     
------------------------------+---------------------------------------------
Changes (by snc@…):

  * component:  ports => base
  * port:  python_select =>


Old description:

> While doing an mpkg for a dependent, python_select failed during its pkg
> phase.
> {{{
> :msg:pkg --->  Creating pkg for python_select-0.3
> :debug:pkg Calling
> /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
> for python_select pkg
> :info:pkg Warning: Unknown argument: -AppleLanguages
> :info:pkg Warning: Unknown argument: (English)
> :info:pkg ERROR: The specified root is invalid:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select/work/destroot
> :info:pkg shell command "PMResourceLocale=English
> /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
> -AppleLanguages "(English)" --root
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select/work/destroot
> --out /opt/local/var/macports/build/_Users_aeetes_dports_math_pspp-
> devel/work/pspp-devel-0.7.7.mpkg/Contents/Packages/python_select-0.3.pkg
> --resources
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select/work/pkg_resources
> --title "python_select-0.3" --info
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select/work/Info.plist
> --target 10.3 --domain system --id org.macports.python_select" returned
> error 1
> :error:pkg Target org.macports.pkg returned: shell command failed (see
> log for details)
> :debug:pkg Backtrace: shell command failed (see log for details)
>     while executing
> "system "PMResourceLocale=${language} $packagemaker -AppleLanguages
> \"(${language})\" --root ${destpath} --out ${pkgpath} ${pkgresources}
> --info $infof..."
>     invoked from within
> "if ([file exists "$packagemaker"]) {
>
>         ui_debug "Calling $packagemaker for $portname pkg"
>         if {${os.major} >= 9} {
>             if {${pac..."
>     (procedure "package_pkg" line 43)
>     invoked from within
> "package_pkg $name $version $revision"
>     (procedure "portpkg::pkg_main" line 6)
>     invoked from within
> "$procedure $targetname"
> :info:pkg Warning: the following items did not execute (for
> python_select): org.macports.pkg
> :notice:pkg Log for python_select is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select/main.log
> }}}

New description:

 While doing an mpkg for a dependent, python_select failed during its pkg
 phase.

 The log revealed that archivefetch failed verification but didn't stop the
 packing process.

--

Comment:

 Good find in the log.

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


More information about the macports-tickets mailing list