SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

Building Debian packages: use mk-build-deps to install required packages #164

Closed tpokorra closed 7 years ago

tpokorra commented 7 years ago

Problem was in https://obs.kolabsys.com/package/view_file/Kolab:Winterfell/cyrus-imapd/cyrus-imapd.dsc?expand=1

Build-Depends:
    libkvm-dev [kfreebsd-amd64],
    libkvm-dev [kfreebsd-i391],

My parser for Build-Depends did not catch that. Then I came across mk-build-deps which should work better anyway

tpokorra commented 7 years ago

if required package does not exist, apt-get install -f -y will not return an error.

happened with irony requiring composer, which was not available