Fwd: [114693] trunk/dports/sysutils/macportsscripts/Portfile
Craig Treleaven
ctreleaven at cogeco.ca
Fri Dec 13 19:14:43 PST 2013
Hi Eric:
I gave the new version of port-depcheck.sh a try...with VLC, see
following. Very different results from the prior version. As I've
said, I'm not a C/C++ developer--the prior version reported a bunch
of false positives due to "over-linking"? In layman's terms, what's
that?
Craig
$ port-depcheck.sh VLC
Finding MacPorts libraries that VLC links against...
/opt/local/Library/Frameworks/BGHUDAppKit.framework/Versions/A/BGHUDAppKit
is provided by: BGHUDAppKit
/opt/local/lib/libFLAC.8.dylib is provided by: flac
/opt/local/lib/libSDL-1.2.0.dylib is provided by: libsdl
/opt/local/lib/libSDL_image-1.2.0.dylib is provided by: libsdl_image
/opt/local/lib/libX11.6.dylib is provided by: xorg-libX11
/opt/local/lib/libXau.6.dylib is provided by: xorg-libXau
/opt/local/lib/libXdmcp.6.dylib is provided by: xorg-libXdmcp
/opt/local/lib/libXext.6.dylib is provided by: xorg-libXext
/opt/local/lib/libXrandr.2.dylib is provided by: xorg-libXrandr
/opt/local/lib/libXrender.1.dylib is provided by: xrender
/opt/local/lib/liba52.0.dylib is provided by: a52dec
/opt/local/lib/libass.4.dylib is provided by: libass
/opt/local/lib/libavahi-client.3.dylib is provided by: avahi
/opt/local/lib/libavahi-common.3.dylib is provided by: avahi
/opt/local/lib/libavcodec.55.dylib is provided by: ffmpeg
/opt/local/lib/libavformat.55.dylib is provided by: ffmpeg
/opt/local/lib/libavutil.52.dylib is provided by: ffmpeg
/opt/local/lib/libbluray.1.dylib is provided by: libbluray
/opt/local/lib/libbz2.1.0.dylib is provided by: bzip2
/opt/local/lib/libcddb.2.dylib is provided by: libcddb
/opt/local/lib/libcrypto.1.0.0.dylib is provided by: openssl
/opt/local/lib/libdc1394.22.dylib is provided by: libdc1394
/opt/local/lib/libdca.0.dylib is provided by: libdca
/opt/local/lib/libdirac_decoder.0.dylib is provided by: dirac
/opt/local/lib/libdirac_encoder.0.dylib is provided by: dirac
/opt/local/lib/libdvdnav.4.dylib is provided by: libdvdnav
/opt/local/lib/libdvdread.4.dylib is provided by: libdvdread
/opt/local/lib/libenca.0.dylib is provided by: enca
/opt/local/lib/libexpat.1.dylib is provided by: expat
/opt/local/lib/libfaad.2.dylib is provided by: faad2
/opt/local/lib/libfontconfig.1.dylib is provided by: fontconfig
/opt/local/lib/libfreetype.6.dylib is provided by: freetype
/opt/local/lib/libfribidi.0.dylib is provided by: fribidi
/opt/local/lib/libgcrypt.11.dylib is provided by: libgcrypt
/opt/local/lib/libgmp.10.dylib is provided by: gmp
/opt/local/lib/libgnutls.28.dylib is provided by: gnutls
/opt/local/lib/libgpg-error.0.dylib is provided by: libgpg-error
/opt/local/lib/libhogweed.2.dylib is provided by: nettle
/opt/local/lib/libiconv.2.dylib is provided by: libiconv
/opt/local/lib/libidn.11.dylib is provided by: libidn
/opt/local/lib/libintl.8.dylib is provided by: gettext
/opt/local/lib/libixml.2.dylib is provided by: libupnp
/opt/local/lib/libjpeg.9.dylib is provided by: jpeg
/opt/local/lib/liblua.dylib is provided by: lua
/opt/local/lib/liblzma.5.dylib is provided by: xz
/opt/local/lib/libmad.0.dylib is provided by: libmad
/opt/local/lib/libmodplug.1.dylib is provided by: libmodplug
/opt/local/lib/libmp3lame.0.dylib is provided by: lame
/opt/local/lib/libmpcdec.5.dylib is provided by: libmpcdec
/opt/local/lib/libmpeg2.0.dylib is provided by: libmpeg2
/opt/local/lib/libncurses.5.dylib is provided by: ncurses
/opt/local/lib/libnettle.4.dylib is provided by: nettle
/opt/local/lib/libogg.0.dylib is provided by: libogg
/opt/local/lib/libopenjpeg.1.dylib is provided by: openjpeg15
/opt/local/lib/libopus.0.dylib is provided by: libopus
/opt/local/lib/liborc-0.4.0.dylib is provided by: orc
/opt/local/lib/libp11-kit.0.dylib is provided by: p11-kit
/opt/local/lib/libpng15.15.dylib is provided by: libpng
/opt/local/lib/libpostproc.52.dylib is provided by: ffmpeg
/opt/local/lib/libsamplerate.0.dylib is provided by: libsamplerate
/opt/local/lib/libschroedinger-1.0.0.dylib is provided by: schroedinger
/opt/local/lib/libspeex.1.dylib is provided by: speex
/opt/local/lib/libspeexdsp.1.dylib is provided by: speex
/opt/local/lib/libssh2.1.dylib is provided by: libssh2
/opt/local/lib/libssl.1.0.0.dylib is provided by: openssl
/opt/local/lib/libswscale.2.dylib is provided by: ffmpeg
/opt/local/lib/libtag.1.dylib is provided by: taglib
/opt/local/lib/libtheoradec.1.dylib is provided by: libtheora
/opt/local/lib/libtheoraenc.1.dylib is provided by: libtheora
/opt/local/lib/libthreadutil.2.dylib is provided by: libupnp
/opt/local/lib/libtiff.5.dylib is provided by: tiff
/opt/local/lib/libtwolame.0.dylib is provided by: twolame
/opt/local/lib/libupnp.3.dylib is provided by: libupnp
/opt/local/lib/libusb-1.0.0.dylib is provided by: libusb
/opt/local/lib/libvlc.5.dylib is provided by: VLC
/opt/local/lib/libvlccore.7.dylib is provided by: VLC
/opt/local/lib/libvorbis.0.dylib is provided by: libvorbis
/opt/local/lib/libvorbisenc.2.dylib is provided by: libvorbis
/opt/local/lib/libx264.136.dylib is provided by: x264
/opt/local/lib/libxcb.1.dylib is provided by: xorg-libxcb
/opt/local/lib/libxml2.2.dylib is provided by: libxml2
/opt/local/lib/libxvidcore.4.dylib is provided by: XviD
/opt/local/lib/libz.1.dylib is provided by: zlib
/opt/local/lib/vlc/plugins/access/libqtcapture_plugin.0.dylib is
provided by: VLC
/opt/local/lib/vlc/plugins/access/libqtsound_plugin.0.dylib is provided by: VLC
/opt/local/lib/vlc/plugins/codec/libvda_plugin.0.dylib is provided by: VLC
Checking symbols in linked-against libraries...
Checking to see if VLC actually uses symbols from BGHUDAppKit... yes
Checking to see if VLC actually uses symbols from libFLAC... yes
Checking to see if VLC actually uses symbols from libSDL... yes
Checking to see if VLC actually uses symbols from libSDL_image... no
(TODO: use sed properly to remove "libsdl_image" from list of
dependencies)
Checking to see if VLC actually uses symbols from libX11... no (TODO:
use sed properly to remove "xorg-libX11" from list of dependencies)
Checking to see if VLC actually uses symbols from libXau... no (TODO:
use sed properly to remove "xorg-libXau" from list of dependencies)
Checking to see if VLC actually uses symbols from libXdmcp... no
(TODO: use sed properly to remove "xorg-libXdmcp" from list of
dependencies)
Checking to see if VLC actually uses symbols from libXext... no
(TODO: use sed properly to remove "xorg-libXext" from list of
dependencies)
Checking to see if VLC actually uses symbols from libXrandr... no
(TODO: use sed properly to remove "xorg-libXrandr" from list of
dependencies)
Checking to see if VLC actually uses symbols from libXrender... no
(TODO: use sed properly to remove "xrender" from list of dependencies)
Checking to see if VLC actually uses symbols from liba52... yes
Checking to see if VLC actually uses symbols from libass... yes
Checking to see if VLC actually uses symbols from libavahi... yes
Checking to see if VLC actually uses symbols from libavcodec... yes
Checking to see if VLC actually uses symbols from libavformat... yes
Checking to see if VLC actually uses symbols from libavutil... yes
Checking to see if VLC actually uses symbols from libbluray... yes
Checking to see if VLC actually uses symbols from libbz2... no (TODO:
use sed properly to remove "bzip2" from list of dependencies)
Checking to see if VLC actually uses symbols from libcddb... yes
Checking to see if VLC actually uses symbols from libcrypto... no
(TODO: use sed properly to remove "openssl" from list of dependencies)
Checking to see if VLC actually uses symbols from libdc1394... yes
Checking to see if VLC actually uses symbols from libdca... yes
Checking to see if VLC actually uses symbols from libdirac_decoder...
no (TODO: use sed properly to remove "dirac" from list of
dependencies)
Checking to see if VLC actually uses symbols from libdirac_encoder...
no (TODO: use sed properly to remove "dirac" from list of
dependencies)
Checking to see if VLC actually uses symbols from libdvdnav... yes
Checking to see if VLC actually uses symbols from libdvdread... yes
Checking to see if VLC actually uses symbols from libenca... no
(TODO: use sed properly to remove "enca" from list of dependencies)
Checking to see if VLC actually uses symbols from libexpat... no
(TODO: use sed properly to remove "expat" from list of dependencies)
Checking to see if VLC actually uses symbols from libfaad... yes
Checking to see if VLC actually uses symbols from libfontconfig... no
(TODO: use sed properly to remove "fontconfig" from list of
dependencies)
Checking to see if VLC actually uses symbols from libfreetype... yes
Checking to see if VLC actually uses symbols from libfribidi... yes
Checking to see if VLC actually uses symbols from libgcrypt... yes
Checking to see if VLC actually uses symbols from libgmp... no (TODO:
use sed properly to remove "gmp" from list of dependencies)
Checking to see if VLC actually uses symbols from libgnutls... yes
Checking to see if VLC actually uses symbols from libgpg... yes
Checking to see if VLC actually uses symbols from libhogweed... no
(TODO: use sed properly to remove "nettle" from list of dependencies)
Checking to see if VLC actually uses symbols from libiconv... yes
Checking to see if VLC actually uses symbols from libidn... yes
Checking to see if VLC actually uses symbols from libintl... yes
Checking to see if VLC actually uses symbols from libixml... yes
Checking to see if VLC actually uses symbols from libjpeg... no
(TODO: use sed properly to remove "jpeg" from list of dependencies)
Checking to see if VLC actually uses symbols from liblua... yes
Checking to see if VLC actually uses symbols from liblzma... no
(TODO: use sed properly to remove "xz" from list of dependencies)
Checking to see if VLC actually uses symbols from libmad... yes
Checking to see if VLC actually uses symbols from libmodplug... yes
Checking to see if VLC actually uses symbols from libmp3lame... no
(TODO: use sed properly to remove "lame" from list of dependencies)
Checking to see if VLC actually uses symbols from libmpcdec... yes
Checking to see if VLC actually uses symbols from libmpeg2... yes
Checking to see if VLC actually uses symbols from libncurses... yes
Checking to see if VLC actually uses symbols from libnettle... no
(TODO: use sed properly to remove "nettle" from list of dependencies)
Checking to see if VLC actually uses symbols from libogg... yes
Checking to see if VLC actually uses symbols from libopenjpeg... no
(TODO: use sed properly to remove "openjpeg15" from list of
dependencies)
Checking to see if VLC actually uses symbols from libopus... yes
Checking to see if VLC actually uses symbols from liborc... no (TODO:
use sed properly to remove "orc" from list of dependencies)
Checking to see if VLC actually uses symbols from libp11... no (TODO:
use sed properly to remove "p11-kit" from list of dependencies)
Checking to see if VLC actually uses symbols from libpng15... yes
Checking to see if VLC actually uses symbols from libpostproc... yes
Checking to see if VLC actually uses symbols from libsamplerate... yes
Checking to see if VLC actually uses symbols from libschroedinger... yes
Checking to see if VLC actually uses symbols from libspeex... yes
Checking to see if VLC actually uses symbols from libspeexdsp... yes
Checking to see if VLC actually uses symbols from libssh2... yes
Checking to see if VLC actually uses symbols from libssl... no (TODO:
use sed properly to remove "openssl" from list of dependencies)
Checking to see if VLC actually uses symbols from libswscale... yes
Checking to see if VLC actually uses symbols from libtag... yes
Checking to see if VLC actually uses symbols from libtheoradec... yes
Checking to see if VLC actually uses symbols from libtheoraenc... yes
Checking to see if VLC actually uses symbols from libthreadutil... no
(TODO: use sed properly to remove "libupnp" from list of dependencies)
Checking to see if VLC actually uses symbols from libtiff... no
(TODO: use sed properly to remove "tiff" from list of dependencies)
Checking to see if VLC actually uses symbols from libtwolame... yes
Checking to see if VLC actually uses symbols from libupnp... yes
Checking to see if VLC actually uses symbols from libusb... no (TODO:
use sed properly to remove "libusb" from list of dependencies)
Checking to see if VLC actually uses symbols from libvlc... yes
Checking to see if VLC actually uses symbols from libvlccore... yes
Checking to see if VLC actually uses symbols from libvorbis... yes
Checking to see if VLC actually uses symbols from libvorbisenc... yes
Checking to see if VLC actually uses symbols from libx264... yes
Checking to see if VLC actually uses symbols from libxcb... no (TODO:
use sed properly to remove "xorg-libxcb" from list of dependencies)
Checking to see if VLC actually uses symbols from libxml2... yes
Checking to see if VLC actually uses symbols from libxvidcore... no
(TODO: use sed properly to remove "XviD" from list of dependencies)
Checking to see if VLC actually uses symbols from libz... yes
Checking to see if VLC actually uses symbols from
libqtcapture_plugin... no (TODO: use sed properly to remove "VLC"
from list of dependencies)
Checking to see if VLC actually uses symbols from
libqtsound_plugin... no (TODO: use sed properly to remove "VLC" from
list of dependencies)
Checking to see if VLC actually uses symbols from libvda_plugin... no
(TODO: use sed properly to remove "VLC" from list of dependencies)
Checking libtool archives for overlinking should not be necessary for
your MacPorts version (2.2.1), unless you have NOT rebuilt everything
since you updated...
This script does NOT know whether or not you have rebuilt as such
though, so we shall assume the best of you and skip the
libtool-archives check.
(the libtool-archives check was just a back-up check in case the
check with `nm(1)` failed, anyways, so skipping it should be harmless)
Finding the libraries that
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/VLC/Portfile
lists as dependencies...
VLC is installed with the following active variants: @2.1.2_0+qtkit+quartz
So we shall find the dependencies for those variants...
port:lame
port:a52dec
port:libogg
port:flac
port:libdca
port:libcddb
port:libcdio
port:libgcrypt
port:libmad
port:libopus
port:libvorbis
port:libmatroska
port:libid3tag
port:ncurses
port:lua
port:libpng
port:jpeg
port:tiff
port:libebml
port:gnutls
port:taglib
port:libxml2
port:faad2
port:x264
port:libtheora
port:twolame
port:libssh2
port:libdvdnav
port:libdvdread
port:libproxy
port:fluidsynth
port:libsamplerate
port:libupnp
port:avahi
path:lib/libavcodec.dylib:ffmpeg
port:openjpeg15
port:libbluray
port:libdc1394
port:libmpeg2
port:libmodplug
port:libmpcdec
port:fontconfig
port:freetype
port:BGHUDAppKit
Comparing the list of library linkages with the list of library dependencies...
---
/var/folders/-A/-Ac1IVy2H9WLW1x5c9D7XU+++TI/-Tmp-//port-depcheck.sh.2204382.theOjT
2013-12-13 22:04:55.000000000 -0500
+++
/var/folders/-A/-Ac1IVy2H9WLW1x5c9D7XU+++TI/-Tmp-//port-depcheck.sh.2204381.Dcmqm6
2013-12-13 22:04:49.000000000 -0500
@@ -1,44 +1,68 @@
BGHUDAppKit
+XviD
a52dec
avahi
+bzip2
+dirac
+enca
+expat
faad2
ffmpeg
flac
-fluidsynth
fontconfig
freetype
+fribidi
+gettext
+gmp
gnutls
jpeg
lame
+libass
libbluray
libcddb
-libcdio
libdc1394
libdca
libdvdnav
libdvdread
-libebml
libgcrypt
-libid3tag
+libgpg-error
+libiconv
+libidn
libmad
-libmatroska
libmodplug
libmpcdec
libmpeg2
libogg
libopus
libpng
-libproxy
libsamplerate
+libsdl
+libsdl_image
libssh2
libtheora
libupnp
+libusb
libvorbis
libxml2
lua
ncurses
+nettle
openjpeg15
+openssl
+orc
+p11-kit
+schroedinger
+speex
taglib
tiff
twolame
x264
+xorg-libX11
+xorg-libXau
+xorg-libXdmcp
+xorg-libXext
+xorg-libXrandr
+xorg-libxcb
+xrender
+xz
+zlib
Output a diff file to
/var/folders/-A/-Ac1IVy2H9WLW1x5c9D7XU+++TI/-Tmp-//VLC-deps.220438.diff
>Date: Fri, 13 Dec 2013 15:22:27 -0800 (PST)
>From: larryv at macports.org
>Subject: [114693] trunk/dports/sysutils/macportsscripts/Portfile
>Sender: macports-changes-bounces at lists.macosforge.org
>To: macports-changes at lists.macosforge.org
>Reply-to: macports-dev at lists.macosforge.org, larryv at macports.org
>X-AuditID: 11973e16-b7fcc6d000002703-83-52ab96b32057
>X-Brightmail-Tracker:
> H4sIAAAAAAAAA11UbUxbVRjmtKVc2h52aUv7Utqp1WxxhI0twhhubJo4iR+41GRLlphZxhUq
>
> /bK3RVg0IwSREETY6IoMK7iJfAkBN5zIXOgMKROVEKYTlOFoiMFsRp1xY1K9Hy3c7s/NyfOc
>
> 93mf97lvDiFW/iHXEVS5m3LZzVajVCZJvreQnfHpqV5T5vj19JyROr94H8pvHuxPOIAOy3YX
>
> UVZLGeXalveyrKS+9TJyVuWWt3+eVYm82+tQIgHkY3B+pSaBPSNyB3zx7XI8j2tgan5AWodk
>
> hJK8iGBmZJG7pCQd0PRlNXfGZDJMvBeS8AVPwlTNz9xZSqbCaO8N7hxPboSx0F3urCYfhebO
>
> dq5WRe6DmbpqUR0iGM29EL6UzsJi8nFY8jdJefld0BKq4fxIyHSY6Z+W8ncegM9utokbEdkq
>
> cNEqKG8VXGtlOojJzTDgV/JwOnR2/Cbmz5tgbvhqghBvRwk9SGkzW6wZFvvOrWan00ptPeqw
>
> DSE2a1+e5gL6pSc3gEgCGRU4/50ekzLeXEZX2ALobUSIjDp8d3+vSakqdBRVlJjpkiO0p9Bm
>
> oWmLw25MwfEnGS5pjXN5rBRtVON6LwPjNbjQYy1lhJaaY4Ts1Ou0lXIzf964EROvdZuUWkET
>
> 2mk5anF46CMelzWAgBAzsgM0K1tkrjhGuRx8swBKIyRGLa7NZSiy2OymSinKSbmirIhICKBT
>
> TGRGA0ZxcXFKjYsqpspfsViZvsJZAK+y9pKFND+OFhew45BChpvIgHdnMnHFKAqGegg/wQ6l
>
> i20YO5eISGQ/sgCqQoTCmMp7VNJOs422FAv9qbGJCzVK8d5UuJt1rYiinK9UfIkF11QEngxY
>
> 4mI8adYbCP1cQT6k0+Nu1nYKe6XEY4+NSafFSVwYApZzotPgIFu2QUCwZhi5g2ldsXLrfnQP
>
> 4hm2KjWmmdBS9EWYRgadik9Hwfxem8UdSSDCL6MzImaDgd/WZIvdfV9+Kvwia1wRYfhiZplO
>
> MKA8AnLpAb7jFUgIwtNjAxteypq40OiOM4h5cf5KhNv/aWFg6Rnwds9JoOvXISkE/+yUwbT3
>
> IzlMrvbJYb7fq4DKmaYk6AvOkjAYbFDBjfFxNVuhhp+u+zQwuPyvFtpqG1Jh6O9zerhzNqyH
>
> 6fdrHoaVk42PQO+Vuc0w+c+5DPhxcDUD/FU/bIPRrr4sGJz4Kguap05nQ7jxYjYEJzt2Qm1V
>
> dQ74Q/XM2zN8OXeZ3TPR+p65zffnpMbPjvawexahonvWz6KKKBrZsxEWXFOJ2TOO0qw3EGal
>
> q0S7br2aeLb+Lat8/o2FLSHf0/79t9MWD3bMP/VN3nehF9xXa+XHDvUbG15qLLvp0QfHdWjv
>
> tXcb85+/NrRxJdPwwce+7g9nz4drx4iW4bHST5YG9G0eZcseR3jObkrxTWwqkDe8uaHl+GLh
> 7wWnJQcuHP7+3vHZ5/LDe8bwoQX9ia/pnFtGCV1i3r5F7KLN/wNzvYjahAYAAA==
>Authentication-results: symauth.service.identifier
>List-Post: <mailto:macports-changes at lists.macosforge.org>
>List-Subscribe:
> <https://lists.macosforge.org/mailman/listinfo/macports-changes>,
> <mailto:macports-changes-request at lists.macosforge.org?subject=subscribe>
>List-Unsubscribe:
> <https://lists.macosforge.org/mailman/options/macports-changes>,
> <mailto:macports-changes-request at lists.macosforge.org?subject=unsubscribe>
>List-Archive: <https://lists.macosforge.org/pipermail/macports-changes/>
>List-Help: <mailto:macports-changes-request at lists.macosforge.org?subject=help>
>List-Id: MacPorts Project svn commit logs
> <macports-changes.lists.macosforge.org>
>Original-recipient: rfc822;ctreleaven at cogeco.ca
>
>Revision
>
><https://trac.macports.org/changeset/114693>114693
>Author
>
>larryv at macports.org
>Date
>
>2013-12-13 15:22:27 -0800 (Fri, 13 Dec 2013)
>
>Log Message
>
>macportsscripts: Update to 0.4.1 (maintainer, #41788).
>
>Modified Paths
>
><>trunk/dports/sysutils/macportsscripts/Portfile
>Diff
>
>Modified: trunk/dports/sysutils/macportsscripts/Portfile (114692 => 114693)
>
>
>--- trunk/dports/sysutils/macportsscripts/Portfile 2013-12-13
>23:19:56 UTC (rev 114692)
>+++ trunk/dports/sysutils/macportsscripts/Portfile 2013-12-13
>23:22:27 UTC (rev 114693)
>@@ -5,7 +5,7 @@
> PortGroup github 1.0
>
> epoch 2
>-github.setup cooljeanius macportsscripts 0.3.0 v
>+github.setup cooljeanius macportsscripts 0.4.1 v
> categories sysutils macports
> platforms darwin
> maintainers phw gwmail.gwu.edu:egall openmaintainer
>@@ -16,8 +16,8 @@
>
> long_description ${description}
>
>-checksums rmd160 bfa65ac2a6da30474d76e6c89e1ad8425695173b \
>- sha256
>b067846c2d4e5c122c51647a59ff9b1f93f2c9d4b3e32173e6d9a933cabbe4ea
>+checksums rmd160 d1a89de5a5f32edd8d2bfdc8573930dc4e69f3c1 \
>+ sha256
>e39123ad1de2545782a3c3c259cf2083458f10d57660e7e0c7da1eb9953501d3
>
> use_configure no
> build {}
>
>
>_______________________________________________
>macports-changes mailing list
>macports-changes at lists.macosforge.org
>https://lists.macosforge.org/mailman/listinfo/macports-changes
More information about the macports-dev
mailing list