CID/Build Status Per Target Env

This page is supposed to facilitate developing the build procedure of pEp base libraries (pEp-libs-base) on different platforms, collaboratively. Lets document the current state and the work that has been done in an attempt to build the base libraries for a given platform.

The pEp Base Libraries (pEp-libs-base) are:

  • sequoia
  • yml2
  • libetpan
  • asn1c
  • libpEpEngine

Debian 10

State: Supported
Manual Build-Instructions: https://dev.pep.foundation/Common%20Adapter%20Documentation/Adapter_Build_Instructions-Linux_Debian10
Automated-build: https://pep-security.lu/gitlab/cid/Internal-Deployment/-/blob/master/build-pep-debian.sh
Last Edit: Heck

CentOS 6

State: Problems
Manual Build-Instructions: README
Automated-build: -
Last edit: dvn

CentOS 7

State: Building
Manual Build-Instructions: Use Docker to build.
Automated-build: -
Last edit: dvn

CentOS 8

State: Problems
Manual Build-Instructions: -
Automated-build: -
Last edit: Heck

#!/bin/bash
set -x

#CentOS 8

#PREPARE SYSTEM AS ROOT
yum install -y sudo tar cargo rustc yum-utils git make pkgconfig nettle-devel openssl-devel sqlite-devel autoconf automake clang
usermod -a -G wheel heck

# BUILD AS NORMAL USER
###capnproto
mkdir -p ~/code/common/capnproto
cd ~/code/common/capnproto
curl -O https://capnproto.org/capnproto-c++-0.7.0.tar.gz
tar zxf capnproto-c++-0.7.0.tar.gz
cd capnproto-c++-0.7.0
./configure
make -j6 check
sudo make install

### Sequoia
mkdir -p ~/code/common/sequoia
cd ~/code/common/sequoia
git clone https://gitlab.com/sequoia-pgp/sequoia.git .
git checkout pep-engine
make PYTHON=disable



# CAPNPROTO FAILS TO BUILD
# reported to: capnproto@googlegroups.com
#
# Hya,
#the post build tests have failed.
#FAIL: capnp-test
#============================================================================
#Testsuite summary for Capn Proto 0.7.0
#============================================================================
## TOTAL: 3
## PASS:  2
## SKIP:  0
## XFAIL: 0
## FAIL:  1
## XPASS: 0
## ERROR: 0
#============================================================================
#See ./test-suite.log
#Please report to capnproto@googlegroups.com
#============================================================================
#
#
#CentOS Linux release 8.1.1911 (Core)
#minimal install
#vim
#ssh
#samba
#net-tools
#
#
#mkdir -p ~/code/common/capnproto
#cd ~/code/common/capnproto
#curl -O https://capnproto.org/capnproto-c++-0.7.0.tar.gz
#tar zxf capnproto-c++-0.7.0.tar.gz
#cd capnproto-c++-0.7.0
#./configure
#make -j6 check
#sudo make install
#
#
#Please let me know if you need more information.
#
#Cheers
#Heck
#