[Pkg-owncloud-commits] [owncloud-client] 135/171: Fix gen_sym_files.py trying to process non-macho files

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Feb 17 09:37:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.

commit c3724068e5cae6b524362384efec43a55678eb98
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date:   Fri Jan 22 16:48:32 2016 +0100

    Fix gen_sym_files.py trying to process non-macho files
    
    Since it processes all files under PlugIns uncondisionally, it would
    now try to process the Info.plist file in the FinderSyncExt bundle.
---
 admin/osx/gen_sym_files.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/admin/osx/gen_sym_files.py b/admin/osx/gen_sym_files.py
index 867bc5e..1d9fa24 100755
--- a/admin/osx/gen_sym_files.py
+++ b/admin/osx/gen_sym_files.py
@@ -25,6 +25,8 @@ def extractDeps(macho):
     deps = [macho]
     otool = subprocess.Popen(['otool', '-L', macho], stdout=subprocess.PIPE)
     for l in otool.communicate()[0].splitlines():
+        if 'is not an object file' in l:
+            return []
         m = re.search(r'@[^\s]+', l)
         if m:
             path = resolvePath(m.group(0))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list