[MacPorts] #41828: port 2.2.1 mpkg build fails after package has been created
#41828: port 2.2.1 mpkg build fails after package has been created ----------------------------------+-------------------------------- Reporter: macports.org.ninja@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: base | Version: 2.2.1 Keywords: mpkg, cp | Port: * ----------------------------------+-------------------------------- Trying to build using {{{port mpkg $anypackage}}} fails; e.g. below output from {{{port mpkg bzip2}}}. It 'seems to me' to be an improperly named variable, as it is trying to copy {{{$package-$version-component.pkg}}} which 'does not' exists, whereas {{{$package-$version.png}}} 'does'. Most relevant log output: {{{ :info:mpkg cp: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6-component.pkg: No such file or directory :info:mpkg Command failed: cp -PR /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6-component.pkg /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/mpkg_packages :info:mpkg Exit code: 1 :error:mpkg org.macports.mpkg for port bzip2 returned: command execution failed :debug:mpkg Error code: CHILDSTATUS 82280 1 :debug:mpkg Backtrace: command execution failed while executing "system "cp -PR ${pkgpath} ${packages_path}"" (procedure "package_mpkg" line 55) invoked from within "package_mpkg $subport $epoch $version $revision" (procedure "portmpkg::mpkg_main" line 9) invoked from within "$procedure $targetname" }}} Actual files and directories: {{{ #!div style="font-size: 70%" $ tree /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/[[br]] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/[[br]] ├── Distribution[[br]] ├── bzip2-1.0.6.pkg[[br]] │ └── Contents[[br]] │ ├── Archive.bom[[br]] │ ├── Archive.pax.gz[[br]] │ ├── Info.plist[[br]] │ ├── PkgInfo[[br]] │ └── Resources[[br]] │ ├── Archive.sizes[[br]] │ ├── Description.plist[[br]] │ └── English.lproj[[br]] │ ├── Welcome.html[[br]] │ └── background.tiff[[br]] ├── destroot[[br]] │ └── opt[[br]] │ └── local[[br]] │ ├── bin[[br]] │ │ ├── bunzip2[[br]] │ │ ├── bzcat[[br]] │ │ ├── bzcmp -> bzdiff[[br]] │ │ ├── bzdiff[[br]] │ │ ├── bzegrep -> bzgrep[[br]] │ │ ├── bzfgrep -> bzgrep[[br]] │ │ ├── bzgrep[[br]] │ │ ├── bzip2[[br]] │ │ ├── bzip2recover[[br]] │ │ ├── bzless -> bzmore[[br]] │ │ └── bzmore[[br]] │ ├── include[[br]] │ │ └── bzlib.h[[br]] │ ├── lib[[br]] │ │ ├── libbz2.1.0.6.dylib[[br]] │ │ ├── libbz2.1.0.dylib -> libbz2.1.0.6.dylib[[br]] │ │ ├── libbz2.1.dylib -> libbz2.1.0.6.dylib[[br]] │ │ ├── libbz2.a[[br]] │ │ └── libbz2.dylib -> libbz2.1.0.6.dylib[[br]] │ └── share[[br]] │ └── man[[br]] │ └── man1[[br]] │ ├── bzcmp.1.gz -> bzdiff.1.gz[[br]] │ ├── bzdiff.1.gz[[br]] │ ├── bzegrep.1.gz -> bzgrep.1.gz[[br]] │ ├── bzfgrep.1.gz -> bzgrep.1.gz[[br]] │ ├── bzgrep.1.gz[[br]] │ ├── bzip2.1.gz[[br]] │ ├── bzless.1.gz -> bzmore.1.gz[[br]] │ └── bzmore.1.gz[[br]] ├── mpkg_packages[[br]] ├── mpkg_resources[[br]] ├── pkg_resources[[br]] │ └── English.lproj[[br]] │ ├── Welcome.html[[br]] │ └── background.tiff[[br]] └── pkg_scripts[[br]] [[br]] 18 directories, 36 files[[br]] [[br]] }}} Full log output will be attached. -- Ticket URL: <https://trac.macports.org/ticket/41828> MacPorts <http://www.macports.org/> Ports system for OS X
#41828: port 2.2.1 mpkg build fails after package has been created -----------------------------------+-------------------------------- Reporter: macports.org.ninja@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: mpkg, cp Port: * | -----------------------------------+-------------------------------- Comment (by macports.org.ninja@…): Please move this ticket if I put it in the wrong queue. -- Ticket URL: <https://trac.macports.org/ticket/41828#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41828: port 2.2.1 mpkg build fails after package has been created -----------------------------------+-------------------------------- Reporter: macports.org.ninja@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: blair@… (added) * keywords: mpkg, cp => * port: * => * priority: Not set => Normal Comment: Confirmed with trunk. Blair, I think you made the most changes to this file recently; maybe they're related to this problem? -- Ticket URL: <https://trac.macports.org/ticket/41828#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41828: port 2.2.1 mpkg build fails after package has been created -----------------------------------+-------------------------------- Reporter: macports.org.ninja@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------------------+-------------------------------- Comment (by jmr@…): You're on Mavericks but for some reason a bundle package has been built instead of a flat one. Do you have PackageMaker installed? -- Ticket URL: <https://trac.macports.org/ticket/41828#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41828: port 2.2.1 mpkg build fails after package has been created -----------------------------------+-------------------------------- Reporter: macports.org.ninja@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------------------+-------------------------------- Comment (by macports.org.ninja@…): I tried severals tacks before reporting a bug and honestly can't remember right now whether I cleaned between attempts, so that might be cruft from other attempts. Want me to fire it up again with the directories cleaned? (I am not often at my Mac these days, so it might be a few days). Correct, am on Mavericks and have installed PackageMaker. -- Ticket URL: <https://trac.macports.org/ticket/41828#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts