Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320225 - media-libs/gstreamer doesn't (appear to) need dev-libs/check
Summary: media-libs/gstreamer doesn't (appear to) need dev-libs/check
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 268002
Blocks: 320211
  Show dependency tree
 
Reported: 2010-05-17 16:49 UTC by Stuart Shelton
Modified: 2011-12-15 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gstreamer-0.10.28.ebuild.patch (gstreamer-0.10.28.ebuild.patch,1.08 KB, patch)
2010-05-17 16:54 UTC, Stuart Shelton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2010-05-17 16:49:21 UTC
With the attached ebuild diff applied, gstreamer builds with the following notices:

Configuration
        Version                    : 0.10.28
        Source code location       : .
        Prefix                     : /opt/gentoo/usr
        Compiler                   : cc
        Package name               : GStreamer ebuild for Gentoo
        Package origin             : http://packages.gentoo.org/package/media-libs/gstreamer

        Documentation (manuals)    : no
        Documentation (API)        : no

        Debug Logging              : yes
        Pipeline XML load/save     : yes
        Command-line parser        : yes
        Option parsing in gst_init : yes
        Tracing subsystem          : yes
        Allocation tracing         : yes
        Plugin registry            : yes
        Plugin support             : yes
        Network support            : yes
        Unit testing support       : no

        Debug                      : no
        Profiling                  : no

        Building examples          : no
        Building test apps         : no
        Building tests that fail   : no

Making all in parse
  CC    lex._gst_parse_yy.o
./grammar.y: conflicts: 37 shift/reduce, 5 reduce/reduce
Making all in net
  CC    gstnettimeprovider.o
cc-1164 cc: WARNING File = gstnettimeprovider.c, Line = 392
  Argument of type "guint *" is incompatible with parameter of type "socklen_t *"
          .

    ret = getsockname (self->priv->sock.fd, (struct sockaddr *) &my_addr, &len);
                                                                          ^

>>> Completed installing gstreamer-0.10.28 into /opt/gentoo/var/tmp/portage/media-libs/gstreamer-0.10.28/image/opt/gentoo/

ecompressdir: bzip2 -9 /opt/gentoo/usr/share/man
removing executable bit: opt/gentoo/usr/lib32/libgstbase-0.10.la
removing executable bit: opt/gentoo/usr/lib32/libgstcontroller-0.10.la
removing executable bit: opt/gentoo/usr/lib32/libgstdataprotocol-0.10.la
removing executable bit: opt/gentoo/usr/lib32/libgstnet-0.10.la
removing executable bit: opt/gentoo/usr/lib32/libgstreamer-0.10.la
 * prefixing shebang of opt/gentoo/usr/bin/gst-feedback-0.10

... but appears to work as it should, without requiring the (horribly broken) dev-libs/check package (Bug 268002).


NB: The test-suite fails, apparently because it assumes that IRIX is Win32?!  ... either than, or all the test results are stored in the win32 directory-tree, which would be curious to say the least.

>>> Test phase [check]: media-libs/gstreamer-0.10.28
make -j1 check 
Making check in pkgconfig
Making check in gst
Making check in parse
  CC    lex._gst_parse_yy.o
  LINK  libgstparse.la
  LINK  libgstreamer-0.10.la
Making check in libs
Making check in gst
Making check in base
  LINK  libgstbase-0.10.la
Making check in controller
Making check in dataprotocol
Making check in net
Making check in helpers
Making check in plugins
Making check in elements
  LINK  libgstcoreelements.la
Making check in indexers
  LINK  libgstcoreindexers.la
Making check in tools
Making check in tests
Making check in benchmarks
Making check in misc
Making check in docs
Making check in design
Making check in gst
Making check in libs
Making check in plugins
Making check in po
Making check in common
Making check in m4
Checking symbols in ./libs/gst/base/.libs/libgstbase-0.10.so
--- ./win32/common/libgstbase.def       2010-02-13 15:19:36.000000000 +0000
+++ /tmp/defname.2v2w9w 2010-05-17 17:18:36.132195560 +0100
@@ -1,224 +0,0 @@
-EXPORTS
-       gst_adapter_available
...
-       gst_dp_version_get_type
Checking symbols in ./libs/gst/net/.libs/libgstnet-0.10.so
--- ./win32/common/libgstnet.def        2009-06-14 13:22:46.000000000 +0100
+++ /tmp/defname.3SP8Rb 2010-05-17 17:18:37.197423200 +0100
@@ -1,9 +0,0 @@
-EXPORTS
-       gst_net_client_clock_get_type
-       gst_net_client_clock_new
-       gst_net_time_packet_new
-       gst_net_time_packet_receive
-       gst_net_time_packet_send
-       gst_net_time_packet_serialize
-       gst_net_time_provider_get_type
-       gst_net_time_provider_new
-----------------------------------------------------------
Run this to update the .def files:
make check-exports 2>&1 | patch -p1
-----------------------------------------------------------
make: *** [check-exports] Error 1
 * ERROR: media-libs/gstreamer-0.10.28 failed:
 *   Make check failed. See above for details.
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called call-ebuildshell 'src_test'
 *   environment, line  413:  Called src_test
 *   environment, line 2662:  Called _eapi0_src_test
 *     ebuild.sh, line  668:  Called die
 * The specific snippet of code:
 *                      hasq test $FEATURES && die "Make check failed. See above for details."


... of course, this could also simply be because dev-libs/check isn't present.  I think not, though - the Configuration summary still says "Unit testing support: no" for this build, which would suggest that there's a test-suite breakage here.  Possibly just an inability to pull symbol names from DSOs on IRIX?
Comment 1 Stuart Shelton 2010-05-17 16:54:29 UTC
Created attachment 231831 [details, diff]
gstreamer-0.10.28.ebuild.patch
Comment 2 Fabian Groffen gentoo-dev 2011-12-15 19:02:02 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.