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 787122 - Please change librt to other lib for compability with mac os in libdazzle
Please change librt to other lib for compability with mac os in libdazzle
Status: RESOLVED NOTABUG
Product: gnome-builder
Classification: Other
Component: plugins
3.22.x
Other Mac OS
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-01 12:54 UTC by Anton Shramko
Modified: 2017-09-03 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anton Shramko 2017-09-01 12:54:22 UTC
In my mac os i dont can compile libdazzle because library using librt. Mac os not have librt and i get this line in compile time:
Library rt found: NO
Comment 1 Christian Hergert 2017-09-01 18:42:39 UTC
(In reply to Anton Shramko from comment #0)
> Library rt found: NO

That should be non-fatal as we don't require it

  cc.find_library('rt', required: false),
Comment 2 Anton Shramko 2017-09-02 17:18:23 UTC
(In reply to Christian Hergert from comment #1)
>   cc.find_library('rt', required: false),

Cool, thanks
Comment 3 Christian Hergert 2017-09-03 00:02:15 UTC
I got my hands on an OS X box today and I think I fixed the issue. It was caused by our linker version script, which is not supported on GCC/Clang on OS X.
Comment 4 Patrick Griffis (tingping) 2017-09-03 09:45:03 UTC
(In reply to Christian Hergert from comment #3)
> I got my hands on an OS X box today and I think I fixed the issue. It was
> caused by our linker version script, which is not supported on GCC/Clang on
> OS X.

You asked me about this a while back and I gave you this patch to test out: https://git.gnome.org/browse/gnome-builder/commit/?h=wip/tingping/version-script

If that check works we can conditionally use them.
Comment 5 Christian Hergert 2017-09-03 21:38:09 UTC
(In reply to Patrick Griffis (tingping) from comment #4)
> You asked me about this a while back and I gave you this patch to test out:
> https://git.gnome.org/browse/gnome-builder/commit/?h=wip/tingping/version-
> script
> 
> If that check works we can conditionally use them.

Cool, pushed as

https://git.gnome.org/browse/libdazzle/commit/?id=4f34ef8e6140bc1d7686a29fdd2264b32a051698
Comment 6 Christian Hergert 2017-09-03 21:47:29 UTC
And fixed in Builder in 9f9891b

Has a path typo in the libdazzle commit, but fixed now.