Thanks for the bug report. I applied the attached patch. You may be able to work around the problem with tar 1.27.1 and Solaris 9 by compiling with '-Dstrtoimax=strtoll -Dstrtoumax=strtoull'.
From 5e87575fc92f5f9782f2d21e0c60b5e138d4ed92 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Wed, 12 Mar 2014 21:01:32 -0700
Subject: [PATCH] tar: port to Solaris 9

Problem reported by Jesse C in:
http://lists.gnu.org/archive/html/bug-tar/2014-03/msg00034.html
* gnulib.modules: Add strtoimax and strtoumax, since tar invokes
these functions directly and they don't exist on Solaris 9.
---
 gnulib.modules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnulib.modules b/gnulib.modules
index adbe0b3..25e8ab3 100644
--- a/gnulib.modules
+++ b/gnulib.modules
@@ -83,8 +83,10 @@ stdint
 stpcpy
 strdup-posix
 strerror
+strtoimax
 strtol
 strtoul
+strtoumax
 symlinkat
 timespec
 unlinkat
-- 
1.8.5.3

Reply via email to