| Summary: | Cannot install port for multimedia/phonon-gstreamer | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Charlie Clark <charlie> | ||||||||||
| Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||||||||
| Status: | Closed FIXED | ||||||||||||
| Severity: | Affects Only Me | ||||||||||||
| Priority: | Normal | ||||||||||||
| Version: | Latest | ||||||||||||
| Hardware: | Any | ||||||||||||
| OS: | Any | ||||||||||||
| Attachments: |
|
||||||||||||
Responsible Changed From-To: freebsd-ports-bugs->kde Over to maintainers Can you paste the following: * The output of `make configure' * The output of that failing call to the linker, when you build the port with CMAKE_VERBOSE=1 Can you also confirm that /usr/local/lib/libgobject-2.0.so is present in your system? On Sun, 01 May 2011 16:28:42 -0000, Raphael Kubo da Costa <kubito@gmail.com> wrote: Hi Raphael, > Can you paste the following: > > * The output of `make configure' attached > * The output of that failing call to the linker, when you build the > port with CMAKE_VERBOSE=1 also attached > Can you also confirm that /usr/local/lib/libgobject-2.0.so is present in > your system? Yes. I even successfully removed and rebuilt libgee I have been able to successfully build phonon-gstreamer on a naked FreeBSD system which confirms my suspicion that I probably have some incompatible libs from the PC-BSD install so I'm including a list of what is installed - the incompatibility will scream at you and you can quickly put me right! Thank you very much Charlie Clark -- Charlie Clark Helmholtzstr. 20 Dusseldorf D- 40215 "Charlie Clark" <charlie@begeistert.org> writes: > I have been able to successfully build phonon-gstreamer on a naked FreeBSD > system which confirms my suspicion that I probably have some incompatible > libs from the PC-BSD install so I'm including a list of what is installed > - the incompatibility will scream at you and you can quickly put me right! This is a bit weird. Up to version 4.5.0, phonon-gstreamer had some buggy code to detect gobject which I fixed upstream later. However, the patch in the port (files/patch-cmake__FindGObject.cmake) should take care of working around that for now. From what I see from your configure.log, for some reason this patch is not working correctly on PC-BSD. Your line saying -- Found GObject libraries: gobject-2.0;gthread-2.0;glib-2.0 Should read something like -- Found GObject libraries: /usr/local/lib/libgobject-2.0.so;-pthread;-L/usr/local/lib;-lgobject-2.0;-lgthread-2.0;-lglib-2.0;gobject-2.0;gthread-2.0;glib-2.0 Could you check if this does happen on your naked FreeBSD sytem? If so, this may be a bug in PC-BSD. Am 02.05.2011, 05:16 Uhr, schrieb Raphael Kubo da Costa <kubito@gmail.com>: > Should read something like > -- Found GObject libraries: > /usr/local/lib/libgobject-2.0.so;-pthread;-L/usr/local/lib;-lgobject-2.0;-lgthread-2.0;-lglib-2.0;gobject-2.0;gthread-2.0;glib-2.0 > Could you check if this does happen on your naked FreeBSD sytem? If so, > this may be a bug in PC-BSD. This is when configure runs? -- Found GObject libraries: /usr/local/lib/libgobject-2.0.so;-pthread;-L/usr/local/lib;-lgobject-2.0;-lgthread-2.0;-lglib-2.0;gobject-2.0;gthread-2.0;glib-2.0 -- Found GObject includes : /usr/local/include/glib-2.0 I wonder what the problem with PC-BSD could be? I understand the complexities of running a distro and think they've done a fantastic job with it. It would just be nice to have ports working nice with it. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 "Charlie Clark" <charlie@begeistert.org> writes: > Am 02.05.2011, 05:16 Uhr, schrieb Raphael Kubo da Costa <kubito@gmail.com>: > >> Should read something like >> -- Found GObject libraries: >> /usr/local/lib/libgobject-2.0.so;-pthread;-L/usr/local/lib;-lgobject-2.0;-lgthread-2.0;-lglib-2.0;gobject-2.0;gthread-2.0;glib-2.0 >> Could you check if this does happen on your naked FreeBSD sytem? If so, >> this may be a bug in PC-BSD. > > This is when configure runs? > > -- Found GObject libraries: > /usr/local/lib/libgobject-2.0.so;-pthread;-L/usr/local/lib;-lgobject-2.0;-lgthread-2.0;-lglib-2.0;gobject-2.0;gthread-2.0;glib-2.0 > -- Found GObject includes : /usr/local/include/glib-2.0 I'm not sure I understood this part. Is this the output you get on FreeBSD or PC-BSD? > I wonder what the problem with PC-BSD could be? I understand the > complexities of running a distro and think they've done a fantastic > job with it. It would just be nice to have ports working nice with it. If you get a different output (in this case, without the '/usr/local/lib/libgobject-2.0.so;-L/usr/local/lib' part in 'Found GObject libraries'), there is a problem somewhere. You could try the PC-BSD bug tracker in this case. Am 02.05.2011, 20:27 Uhr, schrieb Raphael Kubo da Costa <kubito@gmail.com>: >> -- Found GObject libraries: >> /usr/local/lib/libgobject-2.0.so;-pthread;-L/usr/local/lib;-lgobject-2.0;-lgthread-2.0;-lglib-2.0;gobject-2.0;gthread-2.0;glib-2.0 >> -- Found GObject includes : /usr/local/include/glib-2.0 > I'm not sure I understood this part. Is this the output you get on > FreeBSD or PC-BSD? Sorry, this is from FreeBSD >> I wonder what the problem with PC-BSD could be? I understand the >> complexities of running a distro and think they've done a fantastic >> job with it. It would just be nice to have ports working nice with it. > If you get a different output (in this case, without the > '/usr/local/lib/libgobject-2.0.so;-L/usr/local/lib' part in 'Found > GObject libraries'), there is a problem somewhere. You could try the > PC-BSD bug tracker in this case. Okay, will do. Thanks Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 State Changed From-To: open->closed PC-BSD issue |
There is a problem with the gstreamer_phonon (4.5.0) port. It builds okay but cannot link to a library. As I'm updating the ports that came with PC-BSD there are a whole heap of them and I wonder if the problem is the order in which they are updated. The error message: [100%] Building CXX object gstreamer/CMakeFiles/phonon_gstreamer.dir/x11renderer.cpp.o Linking CXX shared module phonon_gstreamer.so /usr/bin/ld: cannot find -lgobject-2.0 *** Error code 1 According to ldconfig the library is there: [charlie@Barquentine] /usr/ports# ldconfig -r | grep libgobject 117:-lgobject-2.0.0 => /usr/local/lib/libgobject-2.0.so.0 How-To-Repeat: cd /usr/ports/multimedia/phonon-gstreamer make install clean