[MacPorts] #27702: dpkg-deb Can not build packages with OSX Tar

MacPorts noreply at macports.org
Fri Dec 17 18:53:18 PST 2010


#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


More information about the macports-tickets mailing list