Bug 1447966

Summary: 'make cscope' fails on a clean tree due to missing generated XDR files
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: buildAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-05 17:29:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Niels de Vos 2017-05-04 10:35:37 UTC
When running 'make cscope' on a clean configured tree (before building
anything), it fails because of missing files unders rpc/xdr/src/. These
files are symlinked from generated files in the rpc/xdr/gen/ directory.
In order to create the symlinks for 'make cscope', a target needs to
specify how these symlinks are created.

Comment 1 Worker Ant 2017-05-04 10:36:19 UTC
REVIEW: https://review.gluster.org/17176 (build: 'make cscope' requires generated .c and .h XDR files) posted (#1) for review on master by Niels de Vos (ndevos)

Comment 2 Worker Ant 2017-05-05 11:31:36 UTC
COMMIT: https://review.gluster.org/17176 committed in master by Niels de Vos (ndevos) 
------
commit 93ecfcddbfc6bdc77a720f55dbd51fc256961d68
Author: Niels de Vos <ndevos>
Date:   Thu May 4 12:26:26 2017 +0200

    build: 'make cscope' requires generated .c and .h XDR files
    
    When running 'make cscope' on a clean configured tree (before building
    anything), it fails because of missing files unders rpc/xdr/src/. These
    files are symlinked from generated files in the rpc/xdr/gen/ directory.
    In order to create the symlinks for 'make cscope', a target needs to
    specify how these symlinks are created.
    
    Change-Id: I473c90e10d915ee438425cf0f806c0531b9f582a
    BUG: 1447966
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: https://review.gluster.org/17176
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 3 Shyamsundar 2017-09-05 17:29:02 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report.

glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html
[2] https://www.gluster.org/pipermail/gluster-users/