Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531062 - [gnome-overlay] media-libs/gst-plugins-bad-1.4.3 compile fails with "cannot find Cocoa/Cocoa.h"
Summary: [gnome-overlay] media-libs/gst-plugins-bad-1.4.3 compile fails with "cannot f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-29 00:57 UTC by Harris Landgarten
Modified: 2016-02-28 16:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2014-11-29 00:57:46 UTC
/var/tmp/paludis/media-libs-gst-plugins-bad-1.4.3/work/gst-plugins-bad-1.4.3/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m:25:25: fatal error: Cocoa/Cocoa.h: No such file or directory
 #include <Cocoa/Cocoa.h>
                         ^
compilation terminated.
Comment 1 Harris Landgarten 2014-11-29 15:16:20 UTC
I found the issue.

gst-plugins-bad-3.14.3 needs gnustep-back as dependency.
Comment 2 Alexander Tsoy 2014-11-29 20:20:20 UTC
Cocoa is enabled automagically if gnustep-config executable is found on the system. As usual there are two choices: always "--disable-cocoa" or a new USE flag with additional deps.
Comment 3 Harris Landgarten 2014-11-30 00:12:29 UTC
I had gnustep-base and gnustep-make installed. gnustep-make provides gnustep-config but there was no /usr/include/Cocoa/Cocoa.h on the system

After installing gnustep-back I have /usr/include/Cocoa/Cocoa.h and gst-plugins-bad installed.

If all that was needed for magic to happen gnustep-config was there but I still had the compile error reported.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-05-18 20:56:52 UTC
Is it still applicable to 1.4.5 in tree ?
Comment 5 Harris Landgarten 2015-05-18 21:03:47 UTC
As far as I know you still need gnustep-back so it a dependency issue.
Comment 6 Pacho Ramos gentoo-dev 2016-02-28 16:29:51 UTC
this automagic issue is solved in 1.6.3