< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[SFtrack] Created: (XECS-1598) sipxlocalization and modern GNU tar -> cannot install localization packs


sipxlocalization and modern GNU tar -> cannot install localization packs
------------------------------------------------------------------------

                 Key: XECS-1598
                 URL: http://track.sipfoundry.org/browse/XECS-1598
             Project: sipXecs
          Issue Type: Bug
          Components: Installation and Upgrade
    Affects Versions: 3.10.2
            Reporter: Alexandre Ghisoli
         Attachments: sipxlocalization-tar-wildcards.patch

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://track.sipfoundry.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira