[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build fail on centos 7.5

If you don’t have the Marvin tar file under the tools/marvin/dest then it failed building it try building it manually with this:

mvn -P developer -pl :cloud-marvin


Amadeus House, Floral Street, London  WC2E 9DPUK

On 27 Nov 2018, at 14:16, Andrija Panic <andrija.panic@xxxxxxxxx<mailto:andrija.panic@xxxxxxxxx>> wrote:

Nope.... did this command in root git folder = all fine, then descended
inside packages folder, and repeat build command, same error again :(

On Tue, 27 Nov 2018 at 12:29, Boris Stoyanov <boris.stoyanov@xxxxxxxxxxxxx<mailto:boris.stoyanov@xxxxxxxxxxxxx>>

Yeah that’s all cool, but it didn’t solve the packaging issues, packaging
script is looking for a tar file at tools/marvin…Marvin.tar.gz, which will
only appear after you build the developer profile:

mvn clean install -P developer


Amadeus House, Floral Street, London  WC2E 9DPUK

On 27 Nov 2018, at 13:01, Andrija Panic <andrija.panic@xxxxxxxxx<mailto:andrija.panic@xxxxxxxxx><mailto:
andrija.panic@xxxxxxxxx<mailto:andrija.panic@xxxxxxxxx>>> wrote:

Hi Bobi,

sorry, yes, this is just default build for centos7:

[root@acs packaging]# ./ -d centos7

I installed Marvin wtih yum install, and here is -v output:

[root@acs packaging]# mvn -v
Apache Maven 3.0.5 (Red Hat 3.0.5-17)
Maven home: /usr/share/maven
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-862.14.4.el7.x86_64", arch: "amd64",
family: "unix"


On Tue, 27 Nov 2018 at 11:37, Boris Stoyanov <boris.stoyanov@xxxxxxxxxxxxx<mailto:boris.stoyanov@xxxxxxxxxxxxx>

Hi Andrija,

This error indicates Marvin is not been build, what’s the command you’re
executing? Are you building a particular maven goal?

Is there any other error within the execution log related to failing to
build marvin?


Amadeus House, Floral Street, London  WC2E 9DPUK

On 27 Nov 2018, at 11:58, Andrija Panic <andrija.panic@xxxxxxxxx<mailto:andrija.panic@xxxxxxxxx><mailto:
andrija.panic@xxxxxxxxx<mailto:andrija.panic@xxxxxxxxx>>> wrote:

HI guys,

perhaps I have done something wrong, but for me building RPMs fail on
CentOS 7.5 server

I have followed the guide
with exception that I did not download manually Maven - same version
is now available via yum install maven....
Checked Maven that it seems correct Java version etc - all fine.

all tests pass, and then it fails on RPM build:

cp 'tools/marvin/dist/Marvin-*.tar.gz'

cp: cannot stat 'tools/marvin/dist/Marvin-*.tar.gz': No such file or
error: Bad exit status from /var/tmp/rpm-tmp.3XUwZq (%install)

RPM build errors:
 Bad exit status from /var/tmp/rpm-tmp.3XUwZq (%install)
RPM Build Failed

I have seen similar case, which was supposed to be fixed n 4.11.2

Any thoughts on this?



Andrija Panić


Andrija Panić


Andrija Panić