Opened 14 years ago
Closed 14 years ago
#27702 closed defect (fixed)
dpkg-deb Can not build packages with OSX Tar
Reported by: | richard.maynard@… | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | dpkg, tar, gnu | Cc: | |
Port: | dpkg |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Attachments (1)
Change History (6)
comment:1 Changed 14 years ago by richard.maynard@…
Cc: | richard.maynard@… added |
---|
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | richard.maynard@… removed |
---|---|
Description: | modified (diff) |
Don't forget to use WikiFormatting.
GNU tar is available in the port "gnutar" if you want it...
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to landonf@… |
---|
Changed 14 years ago by richard.maynard@…
Attachment: | patch_for_gnu_tar.patch added |
---|
Patch to have dpkg-deb use GNU tar instead of TAR from ports. Apply in dpkg-VERSION/dpkg-deb/ directory wth patch -p0 < patchfile.patch
comment:4 Changed 14 years ago 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.
comment:5 Changed 14 years ago by afb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed, r74825.
Patch was backwards and missing directory, however.
Cc Me!