Re: [Wireshark-dev] not all libraries included in macOS DMG

2018-02-22 Thread Guy Harris
On Feb 21, 2018, at 3:34 PM, Peter Meiser  wrote:

> I found another issue while building a DMG on macOS 10.13.3.
> 
> While collecting the libraries which need to be added to the app bundle, 
> objdump shows an error as follows:
> 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump:
>  'Wireshark.app/Contents/Frameworks/QtCore.framework': Is a directory
> 
> 
> Therefore, I added a check to filter out all directories in the 
> $lib_dep_search_list, so that only files are evaluated.

But it won't evaluate the files *in* those directories - i.e., it won't look at 
any of the Qt libraries to see what they depend on.  Is that an issue?

Should it, instead, do something such as

while $endl; do
echo -e "Looking for dependencies. Round" $a
#
# libssh, for some reason, has its "install name" set to
# just libssh.4.dylib, rather than /usr/local/lib/libssh.4.dylib,
# when built by macosx-setup.sh.  We have to fix that; that's
# what the sed command does.
#
libs="`\
find "$pkglib" "$pkgexec" -type f -print0 | xargs -0 otool -L 
$lib_dep_search_list 2>/dev/null \
| fgrep compatibility \
| cut -d\( -f1 \
| sed '1,$s;^   libssh; /usr/local/lib/libssh;' \
| egrep -v "$exclude_prefixes" \
| sort \
| uniq \
`"
cp -vn $libs "$pkglib"
let "a+=1"
nnfiles=`ls "$pkglib" | wc -l`
if [ $nnfiles = $nfiles ]; then
endl=false
else
nfiles=$nnfiles
fi
done

which 1) only runs otool on plain files and 2) searches arbitrarily deeply in 
the library and executable file directories?

___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

[Wireshark-dev] not all libraries included in macOS DMG

2018-02-22 Thread Peter Meiser
Hi,

I found another issue while building a DMG on macOS 10.13.3.

While collecting the libraries which need to be added to the app bundle, 
objdump shows an error as follows:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump:
 'Wireshark.app/Contents/Frameworks/QtCore.framework': Is a directory


Therefore, I added a check to filter out all directories in the 
$lib_dep_search_list, so that only files are evaluated.

--- a/packaging/macosx/osx-app.sh
+++ b/packaging/macosx/osx-app.sh
@@ -368,8 +368,11 @@ while $endl; do
# when built by macosx-setup.sh.  We have to fix that; that's
# what the sed command does.
#
+   for i in $lib_dep_search_list; do
+   [ -f $i ] && libs="$libs $i";
+   done
libs="`\
-   otool -L $lib_dep_search_list 2>/dev/null \
+   otool -L $libs 2>/dev/null \
| fgrep compatibility \
| cut -d\( -f1 \
| sed '1,$s;^   libssh; /usr/local/lib/libssh;' \


Regards,
Peter

PS: Please CC me as I'm not subscribed to the mailing list.
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

[Wireshark-dev] 3GPP TS 32.423 Trace format

2018-02-22 Thread Dario Lombardo
I need a sample capture of this format. Where can I find it?
Thanks.
Dario.
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] APT clang

2018-02-22 Thread Graham Bloice
On 22 February 2018 at 08:34, Dario Lombardo 
wrote:

> Hi
> I'm using clang from apt on ubuntu 16.04. According to this page
> https://apt.llvm.org/ I've added this
>
> deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
> deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
> # 5.0
> deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
> deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
> # 6.0
> deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main
> deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main
>
> to my lists, and then I've run apt update. Now I get this error:
>
> E: Failed to fetch http://apt.llvm.org/xenial/dists/llvm-toolchain-xenial/
> main/source/Sources.gz  Hash Sum mismatch
>
> Anyone experiencing the same error?
>
>
>
Yes, in WSL on my Win 10 desktop (Ubuntu 16.04.3).  I don't know how to fix
it either.

-- 
Graham Bloice
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

[Wireshark-dev] APT clang

2018-02-22 Thread Dario Lombardo
Hi
I'm using clang from apt on ubuntu 16.04. According to this page
https://apt.llvm.org/ I've added this

deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
# 5.0
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
# 6.0
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main

to my lists, and then I've run apt update. Now I get this error:

E: Failed to fetch
http://apt.llvm.org/xenial/dists/llvm-toolchain-xenial/main/source/Sources.gz
 Hash Sum mismatch

Anyone experiencing the same error?
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe