[ https://issues.apache.org/jira/browse/MESOS-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808527#comment-16808527 ]
Jorge Machado commented on MESOS-6851: -------------------------------------- So I try it right now and it does not fit. It would much easier to provide deb and rpms from the project... My commands on Jenkins on a container ubuntu:1804: {code:java} sh("git clone https://github.com/mesosphere/mesos-deb-packaging.git | true ") dir("mesos-deb-packaging"){ echo("Uninstalling existing installation") sh("cd mesos-repo/build && make uninstall | true") echo("The next step is going to take 5 min for cloning the repo") sh("./build_mesos --repo https://github.com/apache/mesos?tag=${MESOS_VERSION} --configure-flags '--enable-ssl --enable-libevent --disable-python --disable-java'") }{code} Logs: {code:java} make install-exec-hook make[4]: Entering directory '/var/lib/jenkins/workspace/user/machjor/build_rpm_mesos_machjor@2/mesos-deb-packaging/mesos-repo/build/src' cd /var/lib/jenkins/workspace/user/machjor/build_rpm_mesos_machjor@2/mesos-deb-packaging/mesos-repo/toor//usr/etc/mesos && \ ln -s mesos-agent-env.sh.template mesos-slave-env.sh.template ln: failed to create symbolic link 'mesos-slave-env.sh.template': File exists Makefile:14819: recipe for target 'copy-template-and-create-symlink' failed make[4]: *** [copy-template-and-create-symlink] Error 1 make[4]: Leaving directory '/var/lib/jenkins/workspace/user/machjor/build_rpm_mesos_machjor@2/mesos-deb-packaging/mesos-repo/build/src' Makefile:14338: recipe for target 'install-data-am' failed {code} Any advice ? > make install fails the second time > ---------------------------------- > > Key: MESOS-6851 > URL: https://issues.apache.org/jira/browse/MESOS-6851 > Project: Mesos > Issue Type: Bug > Components: build > Reporter: James Peach > Priority: Major > > Run {{make install}} twice and the second time will fail when it tries to > overwrite symlinks: > {code} > make[4]: Entering directory '/home/jpeach/upstream/mesos/build/src' > cd //opt/mesos/etc/mesos && \ > ln -s mesos-agent-env.sh.template mesos-slave-env.sh.template > ln: failed to create symbolic link 'mesos-slave-env.sh.template': File exists > Makefile:12952: recipe for target 'copy-template-and-create-symlink' failed > make[4]: *** [copy-template-and-create-symlink] Error 1 > make[4]: Leaving directory '/home/jpeach/upstream/mesos/build/src' > Makefile:12487: recipe for target 'install-data-am' failed > make[3]: *** [install-data-am] Error 2 > make[3]: Leaving directory '/home/jpeach/upstream/mesos/build/src' > Makefile:12197: recipe for target 'install-am' failed > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory '/home/jpeach/upstream/mesos/build/src' > Makefile:12191: recipe for target 'install' failed > make[1]: *** [install] Error 2 > make[1]: Leaving directory '/home/jpeach/upstream/mesos/build/src' > Makefile:764: recipe for target 'install-recursive' failed > make: *** [install-recursive] Error 1 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)