After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590967 - Tests fail while system version is lower and new API is used
Tests fail while system version is lower and new API is used
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.23
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-06 15:58 UTC by Mart Raudsepp
Modified: 2010-02-18 01:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log of the test failure output (31.66 KB, text/plain)
2009-08-06 16:37 UTC, Mart Raudsepp
Details

Description Mart Raudsepp 2009-08-06 15:58:04 UTC
While upgrading on Gentoo Linux from 0.10.22 to 0.10.23, the tests fail when running them as part of the upgrade process, as it seems they are ran without LD_LIBRARY_PATH set to the location of the local freshly built new libgstbase-0.10.so, etc.
I haven't yet tested with upgrade to 0.10.24, but Olivier said he fixed the same thing in farsight2, but not in the core, so the problem probably still exists and I should file a bug so that he can look at it later.
Comment 1 Mart Raudsepp 2009-08-06 16:37:11 UTC
Created attachment 140046 [details]
Log of the test failure output

This shows the failure. Notice the missing symbol that is new in 0.10.23, and didn't exist in 0.10.22 yet that the system had installed still at this point.

Tests start to work after upgrading without running tests and then re-installing the same version with running tests, but that then runs with system libgstbase still, and tests should be using the locally built libraries.
Comment 2 Sebastian Dröge (slomo) 2009-08-06 19:05:35 UTC
Yes, it seems that LD_LIBRARY_PATH is not set anywhere when running the testsuite but it definitely should...
Comment 3 Olivier Crête 2009-08-17 15:31:18 UTC
Instead of doing LD_LIBRARY_PATH, which won't be portable to non-ELF systems (like OS X). I guess we should add the libraries to LDADD or something? but that may break if plugins link with a different one? Elf linking always confuses me..
Comment 4 Tim-Philipp Müller 2010-02-18 01:55:26 UTC
This should've been fixed by this commit I think:

commit 70a08107fdda0ec49051bdd3a85a1876f465d030
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Thu Nov 5 21:09:28 2009 +0100

    tests: Make sure we use the local libgstbase and not a stray outside one.
    
    Theoretically we should also do this for all local libraries to make sure
    we don't test with a 'stray' outside library.



Please re-open if it's still an issue.