ports/157498: x11-wm/obconf Uses incompatible tar flags
Kris Moore
kris at pcbsd.org
Wed Jun 1 14:10:07 UTC 2011
>Number: 157498
>Category: ports
>Synopsis: x11-wm/obconf Uses incompatible tar flags
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 01 14:10:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Kris Moore
>Release: 9-CURRENT
>Organization:
PC-BSD / iXsystems
>Environment:
9-CURRENT
>Description:
When trying to install .obt theme files with obconf:
-Unable to extract file
-Ensure /usr/home/kris/.themes is writable (right clicking and checking "permissions" says it is), and that file is a valid theme, it is.
Errors Reported:
tar: Option --wildcards not supported
Usage:
List tar: -tf <archive-filename>
Extract: tar -xf <archive-filename>
Create: tar -cf <archive-filename> [filenames...]
Help: tar --help
>How-To-Repeat:
Just try to install any .obt theme file.
>Fix:
The included patch corrects the issue.
Patch attached with submission follows:
--- src/archive.c.orig 2011-06-01 14:00:24.000000000 +0000
+++ src/archive.c 2011-06-01 14:00:49.000000000 +0000
@@ -178,13 +178,12 @@
argv[1] = g_strdup("-x");
argv[2] = g_strdup("-v");
argv[3] = g_strdup("-z");
- argv[4] = g_strdup("--wildcards");
- argv[5] = g_strdup("-f");
- argv[6] = g_strdup(file);
- argv[7] = g_strdup("-C");
- argv[8] = g_strdup(to);
- argv[9] = g_strdup(glob);
- argv[10] = NULL;
+ argv[4] = g_strdup("-f");
+ argv[5] = g_strdup(file);
+ argv[6] = g_strdup("-C");
+ argv[7] = g_strdup(to);
+ argv[8] = g_strdup(glob);
+ argv[9] = NULL;
if (!g_spawn_sync(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL,
&outtxt, &errtxt, &exitcode, &e))
gtk_msg(GTK_MESSAGE_ERROR, _("Unable to run the \"tar\" command: %s"),
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list