[Bugs] [Bug 1596206] New: XDR files contain illegal "long" integer declarations.

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 28 12:22:16 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1596206

            Bug ID: 1596206
           Summary: XDR files contain illegal "long" integer declarations.
           Product: GlusterFS
           Version: mainline
         Component: rpc
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, svanders at redhat.com
            Blocks: 1596188



+++ This bug was initially created as a clone of Bug #1596188 +++

Description of problem:

With some toolchains (latest buildroot for example) the rpcgen rejects to
process the rpc/xdr/src/changelog-xdr.x file, because it contains "unsigned
long" integer declarations. Looking at the standard, long is not supported in
XDR: https://tools.ietf.org/html/rfc4506#section-4.2


Version-Release number of selected component (if applicable):


How reproducible:
Compile gluster with buildroot 2018.05.

Actual results:

------------------------------------
Making all in rpc/xdr/gen
       unsigned long seq;
^^^^^^^^^^^^^^^^^^^^^^^^
changelog-xdr.x, line 30: expected ';'
Makefile:562: recipe for target 'changelog-xdr.h' failed
make[5]: *** [changelog-xdr.h] Error 1
------------------------------------

Expected results:

Compilation without error.

Additional info:

fix attached


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1596188
[Bug 1596188] XDR files contain illegal "long" integer declarations.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list