[MacPorts] #27702: dpkg-deb Can not build packages with OSX Tar
#27702: dpkg-deb Can not build packages with OSX Tar ---------------------------------------+------------------------------------ Reporter: richard.maynard@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: dpkg, tar, gnu | Port: dpkg ---------------------------------------+------------------------------------ When trying to use DPKG to build a package it relies on the 'gnu' format with tar. This format is not available on OSX and needs to be changed to something portable. I do not believe there is a configuration file for this. here are the resulting errors: dpkg-deb: building package `common-system-config' in `common-system- config.deb'. Can't use format gnu: No such format 'gnu': Invalid argument Usage: List: tar -tf <archive-filename> Extract: tar -xf <archive-filename> Create: tar -cf <archive-filename> [filenames...] Help: tar --help dpkg-deb: subprocess tar -cf returned error exit status 1 -- Ticket URL: <https://trac.macports.org/ticket/27702> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27702: dpkg-deb Can not build packages with OSX Tar ---------------------------------------+------------------------------------ Reporter: richard.maynard@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: dpkg, tar, gnu | Port: dpkg ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * cc: richard.maynard@… (removed) Old description:
When trying to use DPKG to build a package it relies on the 'gnu' format with tar. This format is not available on OSX and needs to be changed to something portable. I do not believe there is a configuration file for this.
here are the resulting errors: dpkg-deb: building package `common-system-config' in `common-system- config.deb'. Can't use format gnu: No such format 'gnu': Invalid argument Usage: List: tar -tf <archive-filename> Extract: tar -xf <archive-filename> Create: tar -cf <archive-filename> [filenames...] Help: tar --help dpkg-deb: subprocess tar -cf returned error exit status 1
New description: When trying to use DPKG to build a package it relies on the 'gnu' format with tar. This format is not available on OSX and needs to be changed to something portable. I do not believe there is a configuration file for this. here are the resulting errors: {{{ dpkg-deb: building package `common-system-config' in `common-system- config.deb'. Can't use format gnu: No such format 'gnu': Invalid argument Usage: List: tar -tf <archive-filename> Extract: tar -xf <archive-filename> Create: tar -cf <archive-filename> [filenames...] Help: tar --help dpkg-deb: subprocess tar -cf returned error exit status 1 }}} -- Comment: Don't forget to use WikiFormatting. GNU tar is available in the port "gnutar" if you want it... -- Ticket URL: <https://trac.macports.org/ticket/27702#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27702: dpkg-deb Can not build packages with OSX Tar ---------------------------------------+------------------------------------ Reporter: richard.maynard@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: dpkg, tar, gnu | Port: dpkg ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => landonf@… -- Ticket URL: <https://trac.macports.org/ticket/27702#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27702: dpkg-deb Can not build packages with OSX Tar ---------------------------------------+------------------------------------ Reporter: richard.maynard@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: dpkg, tar, gnu | Port: dpkg ---------------------------------------+------------------------------------ Comment(by richard.maynard@…): I somehow missed seeing gnutar becuause I did search for it to see if it would help. I'm very new to OSX so, sorry about that. Ideally the port would be updated to require gnutar on the system. Since it comes packaged named gnutar I attached a patch that updates build.c to use gnutar. Seems pretty straight forward and will make building DPKG's possible easily. -- Ticket URL: <https://trac.macports.org/ticket/27702#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27702: dpkg-deb Can not build packages with OSX Tar ----------------------------------------+----------------------------------- Reporter: richard.maynard@… | Owner: landonf@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: dpkg, tar, gnu Port: dpkg | ----------------------------------------+----------------------------------- Changes (by afb@…): * status: new => closed * resolution: => fixed Comment: Fixed, r74825. Patch was backwards and missing directory, however. -- Ticket URL: <https://trac.macports.org/ticket/27702#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts