Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021 
<== Date ==> <== Thread ==>

Subject: Re: Build failed in Jenkins: epics-base-3.15 #41
From: Andrew Johnson <anj@aps.anl.gov>
To: <core-talk@aps.anl.gov>, Janet Anderson <jba@aps.anl.gov>
Date: Mon, 17 Feb 2014 12:34:34 -0600
Hi Janet,

This is a bit weird. The only build that fails is the Linux 64-bit
build, the Jenkins 32-bit Linux and all the Windows builds succeeded,
but my 64-bit build on Tux also fails.

On 02/17/2014 11:16 AM, APS Jenkins wrote:
> See <https://jenkins.aps.anl.gov/job/epics-base-3.15/41/changes>
> 
> Changes:
> 
> [Janet Anderson] Allow user specified substitution file suffix (from Dirk Zimoch)

Here are the lines related to the actual build failure:

> make -C ./std install 
> make[2]: Entering directory `<https://jenkins.aps.anl.gov/job/epics-base-3.15/ws/src/std'>
> perl -CSD ../../bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
...
> mkdir O.Common
> make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
> make[3]: Entering directory `<https://jenkins.aps.anl.gov/job/epics-base-3.15/ws/src/std/O.linux-x86_64'>
...
> Installing config file ../../../configure/RULES
> make[3]: Leaving directory `<https://jenkins.aps.anl.gov/job/epics-base-3.15/ws/src/std/O.linux-x86_64'>
> make[3]: Entering directory `<https://jenkins.aps.anl.gov/job/epics-base-3.15/ws/src/std/O.linux-x86_64'>
> ../../../src/std/softIoc/RULES:18: warning: overriding commands for target `epicsInstallDir.h'
> ../../../configure/RULES:18: warning: ignoring old commands for target `epicsInstallDir.h'
> make[3]: *** No rule to make target `install'.  Stop.
> make[3]: Leaving directory `<https://jenkins.aps.anl.gov/job/epics-base-3.15/ws/src/std/O.linux-x86_64'>

The "Installing..." line above copied the src/std/softIoc/RULES file
over $(TOP)/configure/RULES thus making it re-enter the O.linux-x86_64
build directory and re-read the file.

The problem is the new vpath line:

vpath %$(SUBST_SUFFIX) $(USR_VPATH) $(SRC_DIRS) $(COMMON_DIR)

I tried moving the definition of the SUBST_SUFFIX variable to above that
and a subsequent build on Tux then succeeded. I don't think that order
is a problem though, to make use of the ability to override the suffix
the variable must be set in the user's Makefile before their line
    include $(TOP)/configure/RULES

The interesting (but probably somewhat academic) question is why it only
failed on the 64-bit build. GNUmake on both Tux and Jenkins is version
3.81, but the same version is used on Uranus which runs the linux32
build slave. On Cygwin we have GNU Make 4.0, and the Windows builds are
run with our GNUWin32 Make version which is also 3.81. Maybe that's not
relevant then.

I'll leave you to commit the change to move the variable. Please add a
short paragraph to the documentation/RELEASE_NOTES.html file in the same
commit that explains what's new and how to override the file suffix.

Thanks,

- Andrew
-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

References:
Build failed in Jenkins: epics-base-3.15 #41 APS Jenkins

Navigate by Date:
Prev: Build failed in Jenkins: epics-base-3.15 #41 APS Jenkins
Next: [Merge] lp:~info-martin-konrad/epics-gateway/epics-gateway-putlog into lp:epics-gateway Martin Konrad
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021 
Navigate by Thread:
Prev: Build failed in Jenkins: epics-base-3.15 #41 APS Jenkins
Next: Jenkins build is back to normal : epics-base-3.15 #42 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021 
ANJ, 16 May 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·