Niklas Quarfot Nielsen created MESOS-1268:
---------------------------------------------

             Summary: distclean break during maven clean up
                 Key: MESOS-1268
                 URL: https://issues.apache.org/jira/browse/MESOS-1268
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 0.18.1
            Reporter: Niklas Quarfot Nielsen
            Assignee: Tobi Knaup
            Priority: Blocker


Steps to reproduce:

$ mkdir build
$ cd build
$ ../configure
$ make distclean

Snippit:
rm -f slave/containerizer/isolators/cgroups/.dirstamp
rm -f slave/containerizer/isolators/cgroups/*.lo
rm -f state/.deps/.dirstamp
rm -f state/*.o
rm -f state/.dirstamp
rm -f state/*.lo
rm -f tests/.deps/.dirstamp
rm -f tests/*.o
rm -f tests/.dirstamp
rm -f zookeeper/.deps/.dirstamp
rm -f zookeeper/.dirstamp
rm -f zookeeper/*.o
rm -f zookeeper/*.lo
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project  
(/home/nnielsen/mesos/build/mesos-0.18.1/_build/src/java/mesos.pom) has 1 error
[ERROR]     Non-readable POM 
/home/nnielsen/mesos/build/mesos-0.18.1/_build/src/java/mesos.pom: 
/home/nnielsen/mesos/build/mesos-0.18.1/_build/src/java/mesos.pom (No such file 
or directory)
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
make[2]: *** [clean-java] Error 1
make[2]: Leaving directory `/home/nnielsen/mesos/build/mesos-0.18.1/_build/src'
make[1]: *** [distclean-recursive] Error 1
make[1]: Leaving directory `/home/nnielsen/mesos/build/mesos-0.18.1/_build'
make: *** [distcheck] Error 1

Reason:
mesos.pom is created as a configure.ac config file and is removed (alongside 
everything else in CONFIG_CLEAN_FILES) before 'mvn -f java/mesos.pom clean' is 
called during distclean.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to