Two build dependencies are not installed when building package in a PPA

Asked by Luís Infante da Câmara

In the build of webkit2gtk in my PPA (https://launchpad.net/~luis220413/+archive/ubuntu/security-updates), the build dependencies gcc-8 and g++-8 are not installed.

To reproduce this, upload this source package to a PPA.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

Moving to our support tracker.

Revision history for this message
Colin Watson (cjwatson) said :
#2

They are installed - if you search for them in the build log, you can see apt installing them. The problem is probably that you need to pass CC=gcc-8 and CXX=g++-8 (or something similar) to tell your package's build system to use a non-default compiler version.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

In addition to the missing selection of the gcc-8 compiler, the log file
https://launchpad.net/~luis220413/+archive/ubuntu/security-updates/+build/24093172/+files/buildlog_ubuntu-bionic-amd64.webkit2gtk_2.36.3-0ubuntu0.18.04.1~ppa1_BUILDING.txt.gz
shows that g++-8 is not installed

I assume that is caused by the build-dependency clause
... g++ (>= 8.3) | g++-8 (>= 8.3) ...
which is met by g++ 4:7.4.0-1ubuntu2.3

Changing it to
... g++ (>= 4:8.3) | g++-8 (>= 8.3) ...
may help.

Revision history for this message
Luís Infante da Câmara (luis220413) said :
#4

Thanks Manfred Hampl, that solved my question.