It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't build Qt5 project with bitbucket pipelines Edited

limentas I'm New Here Jan 09, 2020

Hi.

I'm trying to build Qt5 project (https://bitbucket.org/limentas/mifare-access-bits-calculator/src/master/) with bitbucket pipelines. I got the following error:

RCC: Error in 'qml.qrc': Cannot find file 'qml/BlocksConditions.qml'

I'm using my own docker image. Building this project from container from this image locally on my computer is successfull.

The simpliest way to reproduce this error is using the following yml:

image: dylanvanassche/qt5:cosmic
pipelines:
default:
-
step:
name: Build
script:
-
echo '<RCC> <qresource prefix="/"> <file>1.txt</file> </qresource> </RCC>' > 1.qrc
-
echo 'body' > 1.txt
-
ls -l
-
rcc -name q1 1.qrc -o qrc_q1.cpp

And output:

+ rcc -name q1 1.qrc -o qrc_q1.cppRCC: Error in '1.qrc': Cannot find file '1.txt'

I found only following similar issue: https://github.com/docker/for-linux/issues/208

But I'm using docker version 18.09.1 and libseccomp version 2.3.3 (https://bitbucket.org/limentas/mifare-access-bits-calculator/addon/pipelines/home#!/results/15)

1. Do you have any ideas to solve the problem?

2. Maybe somebody know which seccomp profile does bitbucket use for performing pipelines scripts?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

542 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you