Bug 13961 - symbol fmemopen undefined on illumos (solaris) in bin/default/libcli/dns/resolvconftest
Summary: symbol fmemopen undefined on illumos (solaris) in bin/default/libcli/dns/reso...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.10.3
Hardware: All Solaris
: P5 trivial (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-22 14:32 UTC by Jorge Schrauwen
Modified: 2019-05-29 14:03 UTC (History)
1 user (show)

See Also:


Attachments
Patch (1.42 KB, text/plain)
2019-05-23 10:20 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Schrauwen 2019-05-22 14:32:57 UTC
When trying to build 4.10.3 on illumos it complains about fmemopen not being found when linking bin/default/libcli/dns/resolvconftest.

This is correct as there is no support for that on illumos, and probably Solaris too by extension.

I tagged this as trivial for now as I do not know how hard to fix this is.

I'm not sure what resolvconftest does, but AFAIK we do not have the resolvconf daemon like there is on linux, so maybe this is something that can be skip building.
Comment 1 Jorge Schrauwen 2019-05-22 14:48:27 UTC
Some closer inspection seems to indicate this is a sort of test that gets compiled. So it might be safe to not compile.
Comment 2 Volker Lendecke 2019-05-23 10:20:01 UTC
Created attachment 15183 [details]
Patch

Can you try the attached patch?
Comment 3 Jorge Schrauwen 2019-05-23 12:51:49 UTC
I'll kick of build beforeI head home and let you know once it is finished.
Comment 4 Jorge Schrauwen 2019-05-23 13:16:23 UTC
Builds fine with the patch. (Still some other issues with 4.10.x on illumos/solaris, but thats is not related to this one.

Waf: Leaving directory `/home/pbulk/build/pbd/samba-pbd/work/samba-4.10.3/bin/default'
'build' finished successfully (5m9.762s)