[MacPorts] #29297: python_select fails pkg phase
#29297: python_select fails pkg phase ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python_select ------------------------------+--------------------------------------------- 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/29297> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29297: python_select fails pkg phase ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python_select ------------------------------+--------------------------------------------- Comment(by jmr@…): Works for me. -- Ticket URL: <https://trac.macports.org/ticket/29297#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29297: python_select fails pkg phase ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: python_select ------------------------------+--------------------------------------------- Comment(by afb@…): From the log: {{{ :msg:archivefetch ---> Attempting to fetch python_select-0.3_0.darwin_10.noarch.tbz2.rmd160 from http://lavergne.gotdns.org/macports/python_select :debug:archivefetch failed verification with key /opt/local/share/macports /macports-pubkey.pem :debug:archivefetch openssl output: Verification Failure child process exited abnormally }}} And that's why pkg fails, destroot wasn't completed even if thought so: {{{ :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 }}} Could be a bug with archivefetch fallback, not handling errors properly ? -- Ticket URL: <https://trac.macports.org/ticket/29297#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#29297: archivefetch doesn't fail properly ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ------------------------------+--------------------------------------------- Changes (by raimue@…): * owner: raimue@… => jmr@… Comment: Not related to python_select, so moving ownership. Joshua, could you please take a look at this? -- Ticket URL: <https://trac.macports.org/ticket/29297#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29297: pkg failure ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ------------------------------+--------------------------------------------- Changes (by jmr@…): * owner: jmr@… => macports-tickets@… Comment: Doesn't look like archivefetch is doing anything wrong. The statefile said the destroot phase was complete, so unarchive didn't bother: {{{ :debug:archivefetch Skipping unarchive (python_select) since destroot completed }}} But apparently the destroot dir had been deleted behind its back. It's unlikely anything is going to happen with this unless you can provide steps to reproduce. -- Ticket URL: <https://trac.macports.org/ticket/29297#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29297: pkg failure ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ------------------------------+--------------------------------------------- Comment(by jmr@…): Actually now I see a way this could happen. -- Ticket URL: <https://trac.macports.org/ticket/29297#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29297: pkg failure -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.99 Resolution: fixed | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r78966 -- Ticket URL: <https://trac.macports.org/ticket/29297#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts