History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XECS-1598
Type: Bug Bug
Status: Need Information Need Information
Priority: Major Major
Assignee: Alexandre Ghisoli
Reporter: Alexandre Ghisoli
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
sipXecs

sipxlocalization and modern GNU tar -> cannot install localization packs

Created: 2008-08-08 09:25   Updated: 2008-09-08 20:32
Component/s: Installation and Upgrade
Affects Version/s: 3.10.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File sipxlocalization-tar-wildcards.patch (2 kb)


External Issue Reference: http://www.gnu.org/software/tar/manual/html_chapter/Choosing.html#SEC105


 Description  « Hide
With modern GNU tar (from version > 1.15.91), sipxlocalization fail to install language packs due to parameters.

sipxlocalization use an undocumented and uncompatible behaviour [1] to extract specific parts from the archive.

The relevant log error in sipxconfig.log :

"2008-08-08 15:47:22,097": WARN:LocalizationContextImpl:?:sipxlocalization: tar: Pattern matching characters used in file names. Please,
"2008-08-08 15:47:22,100": WARN:LocalizationContextImpl:?:sipxlocalization: tar: use --wildcards to enable pattern matching, or --no-wildcards to
"2008-08-08 15:47:22,101": WARN:LocalizationContextImpl:?:sipxlocalization: tar: suppress this warning.
"2008-08-08 15:47:22,103": WARN:LocalizationContextImpl:?:sipxlocalization: tar: sipxpbx/*: Not found in archive
"2008-08-08 15:47:22,105": WARN:LocalizationContextImpl:?:sipxlocalization: tar: Error exit delayed from previous errors


The attached proposed patch fo force GNU tar to interpret the '*' as a wildcard.


[1] http://www.gnu.org/software/tar/manual/html_chapter/Changes.html

 All   Comments   Work Log   Change History      Sort Order:
Scott Lawrence - 2008-08-18 08:53
Changing a command based on particular revisions of platform tools should be made conditional based on tests performed in the configure script.

In this case, a check should be made to see if the tar command supports the --wildcard switch and a configuration variable set which is then used to create the command correctly.

Since this test is not sipXecs specific, it should be added to config/general.m4

If you don't feel comfortable with attempting this change, let me know.



  --Scott