Bug 1279345 - Fails to build twice in a row
Summary: Fails to build twice in a row
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: packaging
Version: 3.7.6
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On: 1279836
Blocks: glusterfs-3.7.7
TreeView+ depends on / blocked
 
Reported: 2015-11-09 09:01 UTC by Patrick Matthäi
Modified: 2016-04-19 07:47 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1279836 (view as bug list)
Environment:
Last Closed: 2015-11-19 15:02:23 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Patrick Matthäi 2015-11-09 09:01:20 UTC
Hello,

glusterfs still fails to build twice in a row, because the source is touched, after a suc. build with make dist-clean:


dpkg-source: info: local changes detected, the modified files are:
 glusterfs-3.7.6/contrib/umountd/Makefile
 glusterfs-3.7.6/glusterfs-api.pc
 glusterfs-3.7.6/libgfchangelog.pc
 glusterfs-3.7.6/libgfdb.pc
 glusterfs-3.7.6/tests/env.rc


dpkg-source: info: building glusterfs using existing ./glusterfs_3.7.6.orig.tar.gz
dpkg-source: warning: ignoring deletion of file geo-replication/syncdaemon/configinterface.py, use --include-removal to override
dpkg-source: warning: ignoring deletion of file xlators/features/glupy/src/__init__.py, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/nsm-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/changelog-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/rpc-common-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/nlm4-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/glusterd1-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/portmap-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/rpc-common-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/acl3-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/mount3udp.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/glusterfs3-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/glusterfs3-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/nlm4-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/nsm-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/changelog-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/glusterd1-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/cli1-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/cli1-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/acl3-xdr.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/mount3udp.h, use --include-removal to override
dpkg-source: warning: ignoring deletion of file rpc/xdr/src/portmap-xdr.c, use --include-removal to override
dpkg-source: warning: ignoring deletion of file extras/glusterd.vol, use --include-removal to override
dpkg-source: warning: ignoring deletion of file extras/init.d/glusterd-SuSE, use --include-removal to override
dpkg-source: warning: ignoring deletion of file extras/init.d/glusterd.plist, use --include-removal to override
dpkg-source: warning: ignoring deletion of file extras/init.d/glusterd-Debian, use --include-removal to override
dpkg-source: warning: ignoring deletion of file extras/init.d/glusterd-Redhat, use --include-removal to override
dpkg-source: warning: ignoring deletion of file extras/init.d/glusterd-FreeBSD, use --include-removal to override
dpkg-source: warning: ignoring deletion of file tools/glusterfind/src/tool.conf, use --include-removal to override

Comment 1 Vijay Bellur 2015-11-13 19:29:47 UTC
REVIEW: http://review.gluster.org/12580 (build: `make distclean` doesn't clean all it ought to, needs to) posted (#1) for review on release-3.7 by Kaleb KEITHLEY (kkeithle)

Comment 2 Vijay Bellur 2015-11-16 08:47:45 UTC
COMMIT: http://review.gluster.org/12580 committed in release-3.7 by Niels de Vos (ndevos) 
------
commit 24f2173e391a517901750138db95bff3f0bd026e
Author: Kaleb S KEITHLEY <kkeithle>
Date:   Fri Nov 13 14:27:48 2015 -0500

    build: `make distclean` doesn't clean all it ought to, needs to
    
    Debian builds fail to "build twice in a row" due to left over files
    remaining after running `make distclean`
    
    The main culprits are files created from *.in files during ./configure.
    In particular these are ./glusterfs-api.pc, ./libgfchangelog.pc,
    ./libgfdb.pc, and ./tests/env.rc.
    
    The strange one is contrib/umountd/Makefile{,.in}. While these are
    created by ./configure - for reasons I don't quite fathom, perhaps
    because contrib/umountd is included in EXTRA_DIST - after that
    make and make distclean don't descend into the directory to build or
    clean it (because it's not needed for Linux, and not built.)
    
    Also removing the `find . -name Makefile -exec rm -f {}\;` from the
    gitclean target, it's not needed (redundant) as its prereq distclean
    target will have already removed them.
    
    Change-Id: I99b93a227775c580f4a56c3d870a161d2937000d
    BUG: 1279345
    Signed-off-by: Kaleb S KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/12580
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Milind Changire <mchangir>
    Reviewed-by: Niels de Vos <ndevos>

Comment 3 Kaushal 2016-04-19 07:47:50 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.7.7, please open a new bug report.

glusterfs-3.7.7 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] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.