[Gluster-devel] OS X porting merged

Dennis Schafroth dennis at schafroth.dk
Sat May 3 07:50:42 UTC 2014


Going back to the OS X commit (a3cb38e3edf005bef73da4c9cfd958474a14d50f), it works better. Something has regressed the build system on OS X, but I cannot pinpoint what.

On a side note: In the last week of my last job, I finally saw my boss compiling the software with clang on Linux. He was actually a little bit scare of the number of warnings in the company software. You may wanna setup a linux (or Mac) with clang build in jenkins, not as a show stopper, but just as warning signals. 

Since I am moving to Barcelona to work for a startup, I may be a bit out of the loop for some time. 

cheers, 
:-Dennis

On 03 May 2014, at 09:16 , Dennis Schafroth <dennis at schafroth.dk> wrote:

> 
> On 03 May 2014, at 04:10 , Justin Clift <justin at gluster.org> wrote:
> 
>> On 26/04/2014, at 9:53 AM, Dennis Schafroth wrote:
>> <snip>
>>> On the server part we are not there yet. I have been running OS X bricks with OS X clients, but only replicated ones seems to work. Distributed ends up with duplicate file entries  in the fuse mount. 
>>> 
>>> It requires OSX FUSE (http://osxfuse.github.io/) installed. 
>> 
>> Been trying to get this working today on my OSX 10.7.5 system, for
>> making a Homebrew formula.
>> 
>> Not having any luck getting glusterd running:
>> 
>> $ sudo glusterd --debug
>> [2014-05-03 02:05:52.485256] I [MSGID: 100030] [glusterfsd.c:2016:main] 0-glusterd: Started running glusterd version 3.5qa2 (args: glusterd --debug)
>> [2014-05-03 02:05:52.485427] D [MSGID: 0] [glusterfsd.c:614:get_volfp] 0-glusterfsd: loading volume file /Users/jc/local/gluster/etc/glusterfs/glusterd.vol
>> [2014-05-03 02:05:52.486195] W [xlator.c:191:xlator_dynload] 0-xlator: dlopen(/Users/jc/local/gluster/lib/glusterfs/3.5qa2/xlator/mgmt/glusterd.so, 10): Symbol not found: _umount2
>>   Referenced from: /Users/jc/local/gluster/lib/glusterfs/3.5qa2/xlator/mgmt/glusterd.so
>>   Expected in: flat namespace
>>  in /Users/jc/local/gluster/lib/glusterfs/3.5qa2/xlator/mgmt/glusterd.so
> 
> We did see this some times while porting (missing a symbol/function), but that was because clang has a different/stricter linking strategy around inline, which I remember correctly should be declare static as well. I cannot see that this is the case here, since umount2 is just a macro. Which should be gone by the time of linking, weird.
> 
> Trying to compile master and report back. 
> 
> UPDATE: getting same error now! 
> 
>> [2014-05-03 02:05:52.486223] E [graph.y:212:volume_type] 0-parser: Volume 'management', line 2: type 'mgmt/glusterd' is not valid or not found on this machine
>> [2014-05-03 02:05:52.486254] E [graph.y:321:volume_end] 0-parser: "type" not specified for volume management
>> [2014-05-03 02:05:52.486263] D [graph.y:602:glusterfs_graph_construct] 0-parser: parsing of volfile failed, please review it once more
>> [2014-05-03 02:05:52.486314] E [MSGID: 100026] [glusterfsd.c:1884:glusterfs_process_volfp] 0-: failed to construct the graph
>> [2014-05-03 02:05:52.486363] W [glusterfsd.c:1182:cleanup_and_exit] (--> 0-: received signum (0), shutting down
>> [2014-05-03 02:05:52.486387] D [glusterfsd-mgmt.c:2225:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper signout arguments not given
>> 
>> I've tried with both the .dmg version of OSX Fuse, and also with
>> the Homebrew version.  Same error both ways.
> 
> I don’t think is related to OSX Fuse. But confirm that it’s working by using sshfs. That will take that out of the equation.
> 
>> 
>> Any ideas?
>> 
>> Regards and best wishes,
>> 
>> Justin Clift
>> 
>> --
>> Open Source and Standards @ Red Hat
>> 
>> twitter.com/realjustinclift
>> 
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140503/45cd72fd/attachment-0003.html>


More information about the Gluster-devel mailing list