<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Tags: gfs2-utils +stretch<br>
Thanks<br>
<br>
I ran into this package trying to get a transition to go through in
raspbian stretch. After attacking some issues with build-dependencies
on obsolete packages and with the clean target not cleaning up properly
I ran into the same error that is given in this bug report.<br>
<br>
I fixed a load of errors with type/costant names. it appears that cpg_
prefixes had been replaced with cs_ prefixes. I also fixed a case of a
struct that had had a field removed. Since the app had previously just
been setting that field to null I just removed the assignment.<br>
<br>
Unfortunately I then ran into a function that added a new parameter.<br>
<br>
gcc -DHAVE_CONFIG_H -I. -I../../make  -I../../group/libgfscontrol
-I../../group/include -I/usr/src/linux/include -I../../make
-I../../make    -I. -D_FORTIFY_SOURCE=2     -I/usr/include/openais    
-I../../dlm/include -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -O2 -ggdb3       -Wall -Wshadow
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings
-Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2
-Wformat-security -Wformat-nonliteral -Wno-long-long
-Wno-strict-aliasing  -MT gfs_controld-member_cman.o -MD -MP -MF
.deps/gfs_controld-member_cman.Tpo -c -o gfs_controld-member_cman.o
`test -f 'member_cman.c' || echo './'`member_cman.c<br>
member_cman.c: In function ‘setup_cluster’:<br>
member_cman.c:94:8: error: too few arguments to function
‘quorum_initialize’<br>
  err = quorum_initialize(&qh, &quorum_callbacks);<br>
        ^<br>
In file included from member_cman.c:5:0:<br>
/usr/include/corosync/quorum.h:63:12: note: declared here<br>
 cs_error_t quorum_initialize (<br>
            ^<br>
Makefile:564: recipe for target 'gfs_controld-member_cman.o' failed<br>
make[3]: *** [gfs_controld-member_cman.o] Error 1<br>
make[3]: Leaving directory '/gfs2-utils-3.1.3/group/gfs_controld'<br>
Makefile:397: recipe for target 'check-recursive' failed<br>
make[2]: *** [check-recursive] Error 1<br>
make[2]: Leaving directory '/gfs2-utils-3.1.3/group'<br>
Makefile:453: recipe for target 'check-recursive' failed<br>
make[1]: *** [check-recursive] Error 1<br>
make[1]: Leaving directory '/gfs2-utils-3.1.3'<br>
dh_auto_test: make -j1 check returned exit code 2<br>
debian/rules:18: recipe for target 'build' failed<br>
make: *** [build] Error 2<br>
dpkg-buildpackage: error: debian/rules build gave error exit status 2<br>
<a class="moz-txt-link-abbreviated" href="mailto:root@odroidu2:/gfs2-utils-3.1.3#">root@odroidu2:/gfs2-utils-3.1.3#</a><br>
<br>
I found some documentation on the paramter in question, but i've no
idea how to chose between the two possible values whin the context of a
flyby fix to existing code.<br>
<br>
<a class="moz-txt-link-freetext" href="http://manpages.ubuntu.com/manpages/saucy/man3/quorum_initialize.3.html">http://manpages.ubuntu.com/manpages/saucy/man3/quorum_initialize.3.html</a><br>
<pre> The <u>quorum_type</u> argument is set to:

       #define QUORUM_FREE     0
       #define QUORUM_SET      1

       <u>QUORUM_FREE</u>  value means that no quorum algorithm is loaded and that no
       callbacks will take place.

       <u>QUORUM_SET</u> value means that one quorum algorithm is configured and that
       callbacks will take place.

       When  a  configuration  change  occurs, the callback is called from the
       <b>quorum_dispatch()</b> function.
</pre>
Debdiff of what I have done so far is attatched.<br>
</body>
</html>