Semaphore build problem

Use this forum to report bugs or ask for help

Moderator: kilo

Semaphore build problem

Postby Leopjing » Fri Oct 07, 2016 5:05 pm

I tried to build SD on semaphore and yeah make install drops an error.

My build code:

Code: Select all
sudo apt-get install -y libalut-dev
sudo apt-get install -y libogg-dev
sudo apt-get install -y libvorbis-dev
sudo apt-get install -y libenet-dev
sudo apt-get install -y libsdl2-dev
sudo apt-get install -y libopenthreads-dev
sudo apt-get install -y libxmu-dev
sudo apt-get install -y libplib-dev
sudo apt-get install -y libpthread-stubs0-dev
sudo apt-get update
sudo apt-get install -y libopenscenegraph-dev
sudo apt-get update
mkdir build
cd build
git submodule update --init --recursive


cmake -D OPTION_OFFICIAL_ONLY:BOOL=ON ..
make
sudo make install



The error:
Code: Select all
[  0%] Built target portability
[  5%] Built target tgf
[  7%] Built target networking
[ 16%] Built target tgfclient
[ 18%] Built target robottools
[ 20%] Built target sd2-trackgen
[ 21%] Built target tgfdata
[ 21%] Built target networkhuman
[ 24%] Built target learning
[ 27%] Built target usr
[ 30%] Built target dandroid
[ 31%] Built target human
[ 40%] Built target simplix
[ 42%] Built target kilo2008
[ 47%] Built target solid
[ 52%] Built target simuv2.1
[ 61%] Built target ssggraph
[ 70%] Built target osggraph
[ 82%] Built target legacymenu
[ 85%] Built target snddefault
[ 89%] Built target simuv4
[ 91%] Built target trackv1
[ 92%] Built target textonly
[ 92%] Built target telemetryv1
[ 92%] Built target speed-dreams-2
[ 97%] Built target standardgame
[ 98%] Built target sd2-accc
[ 99%] Built target sd2-nfsperf
[ 99%] Built target sd2-nfs2acBuilt target xmlversion

[100%] /home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/logging.xml config/logging.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/logging.xml (version 1.7)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceengine.xml config/raceengine.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceengine.xml (version 2.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/screen.xml config/screen.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/screen.xml (version 1.19)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/graph.xml config/graph.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/graph.xml (version 1.17)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/sound.xml config/sound.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/sound.xml (version 1.1)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/practice.xml config/raceman/practice.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/practice.xml (version 1.6)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/quickrace.xml config/raceman/quickrace.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/quickrace.xml (version 1.22)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/singleevent-36gp.xml config/raceman/singleevent-36gp.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/singleevent-36gp.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/singleevent-challenge.xml config/raceman/singleevent-challenge.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/singleevent-challenge.xml (version 1.8)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/singleevent-endurance.xml config/raceman/singleevent-endurance.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/singleevent-endurance.xml (version 1.20)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/singleevent-ls-gt1.xml config/raceman/singleevent-ls-gt1.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/singleevent-ls-gt1.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/singleevent-mp5.xml config/raceman/singleevent-mp5.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/singleevent-mp5.xml (version 1.3)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/championship.xml config/raceman/championship.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/championship.xml (version 1.6)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/championship-supercars.xml config/raceman/championship-supercars.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/championship-supercars.xml (version 1.9)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/championship-trb1.xml config/raceman/championship-trb1.xml /home/runner/base/data
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/championship-36gp.xml config/raceman/championship-36gp.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/championship-trb1.xml (version 1.1)
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/championship-36gp.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/championship-ls-gt1.xml config/raceman/championship-ls-gt1.xml /home/runner/base/data
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/championship-mp5.xml config/raceman/championship-mp5.xml /home/runner/base/data
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/networkrace.xml config/raceman/networkrace.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/championship-mp5.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/championship-mpa1.xml config/raceman/championship-mpa1.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/networkrace.xml (version 1.21)
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/championship-mpa1.xml (version 2.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/career-36GP.xml config/raceman/career-36GP.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/career-36GP.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/career-supercars.xml config/raceman/career-supercars.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/career-supercars.xml (version 1.8)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/career_36GP.xmls config/raceman/career_36GP.xmls /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/career_36GP.xmls (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/career_MPA1.xmls config/raceman/career_MPA1.xmls /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/career_MPA1.xmls (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/career_supercars.xmls config/raceman/career_supercars.xmls /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/career_supercars.xmls (version 1.5)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/career_ls1.xmls config/raceman/career_ls1.xmls /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/championship-ls-gt1.xml (version 1.0)
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/career_ls1.xmls (version 1.7)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml config/raceman/extra/skill.xml config/raceman/extra/skill.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for config/raceman/extra/skill.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml drivers/human/human.xml drivers/human/human.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for drivers/human/human.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml drivers/human/preferences.xml drivers/human/preferences.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for drivers/human/preferences.xml (version 1.6)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml drivers/human/car.xml drivers/human/car.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for drivers/human/car.xml (version 1.3)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml drivers/networkhuman/networkhuman.xml drivers/networkhuman/networkhuman.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for drivers/networkhuman/networkhuman.xml (version 1.0)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml drivers/networkhuman/preferences.xml drivers/networkhuman/preferences.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for drivers/networkhuman/preferences.xml (version 1.3)
/home/runner/base/build/games/xmlversion /home/runner/base/build/games/version.xml drivers/networkhuman/car.xml drivers/networkhuman/car.xml /home/runner/base/data
xmlversion: Updated /home/runner/base/build/games/version.xml for drivers/networkhuman/car.xml (version 0.0)
[100%] Built target settings_versions
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/share/games/speed-dreams-2/CHANGES.txt

:
:
:
:
:
:

-- Installing: /usr/local/share/games/speed-dreams-2/tracks/speedway/manton/manton.jpg
CMake Error at data/tracks/speedway/manton/cmake_install.cmake:36 (FILE):
  file INSTALL cannot copy file
  "/home/runner/base/data/tracks/speedway/manton/shadow2.jpg" to
  "/usr/local/share/games/speed-dreams-2/tracks/speedway/manton/shadow2.jpg".
Call Stack (most recent call first):
  data/tracks/speedway/cmake_install.cmake:49 (INCLUDE)
  data/cmake_install.cmake:41 (INCLUDE)
  data/tracks/cmake_install.cmake:39 (INCLUDE)
make: *** [install] Error 1




  cmake_install.cmake:78 (INCLUDE)


What happens?
Leopjing
 
Posts: 92
Joined: Sat Jan 12, 2013 11:59 pm
Location: Germany

Re: Semaphore build problem

Postby MiniJoe » Sat Oct 08, 2016 12:24 am

I tried to build SD on semaphore and yeah make install drops an error.

A quick search indicates that Semaphore is a Continous Integration software.
It also looks like you are building on Linux.
I build and install on Mint 17 with no errors.

CMake Error at data/tracks/speedway/manton/cmake_install.cmake:36 (FILE):
file INSTALL cannot copy file
"/home/runner/base/data/tracks/speedway/manton/shadow2.jpg" to
"/usr/local/share/games/speed-dreams-2/tracks/speedway/manton/shadow2.jpg".

The error indicates that it can't find (or copy) the shadow2.jpg file for manton.
Make sure that the file exists at "/home/runner/base/data/tracks/speedway/manton/shadow2.jpg"
Also make sure that the Semaphore user has write permission to /usr/local/
You may have to add the Semaphore user to sudoers. Are any other files successfully copied to the
"/usr/local/share/games/speed-dreams-2/tracks/speedway/manton/" folder?
MiniJoe
 
Posts: 95
Joined: Fri Mar 16, 2012 1:32 am


Return to Problems, Fixes & Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron