Commit Graph

2572 Commits

Author SHA1 Message Date
Dongsu Park
e48e61ce45 Merge pull request #131 from kinvolk/dongsu/dwarves-1.19
dev-util/dwarves: update to 1.19 for CONFIG_DEBUG_INFO_BTF
2020-12-01 11:27:24 +01:00
Dongsu Park
530d1e1791 Merge pull request #114 from kinvolk/rust-1.47.0-main
virtual: Upgrade Rust 1.46.0 to 1.47.0
2020-11-30 16:19:04 +01:00
Dongsu Park
706cc0eb21 dev-util/dwarves: update to 1.19 for CONFIG_DEBUG_INFO_BTF
It is already possible to enable kernel config `CONFIG_DEBUG_INFO_BTF`
using dwarves 1.18 included in the current Flatcar SDK, as long as its
arch is amd64.

However, Kernel build fails in case of arm64, when Kernel version is
>= 5.9 and dwarves version is <= 1.18, like the following:

```
+ pahole -J .tmp_vmlinux.btf
PAHOLE: Error: Found symbol of zero size when encoding btf
(sym: '__kvm_nvhe_arm64_ssbd_callback_required', cu: '../source/arch/arm64/kernel/cpu_errata.c').
PAHOLE: Error: Use '-j' or '--force' to ignore such symbols and force emit the btf.
../source/scripts/link-vmlinux.sh: line 141: 1929102 Segmentation fault
```

The bug was fixed via
https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?id=2e719cca6672,
("btf_encoder: revamp how per-CPU variables are encoded").
The fix was first included in dwarves
[1.19](https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tag/?h=v1.19).
Thus we need to get dwarves 1.19 included in Flatcar SDK, so that the
next Alpha Kernels could have `CONFIG_DEBUG_INFO_BTF` enabled.
2020-11-30 14:54:16 +01:00
Thilo Fromm
0fe4212a73 net-dns/libidn2-2.3.0: EAPI7 -> EAPI6 to break glibc-2.32 toolchain dep loop
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-24 13:51:13 +01:00
Thilo Fromm
9f9be4551b virtual/awk,eclass: add awk-1.ebuild, update toolchain-funcs for glibc-2.32
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-24 13:51:13 +01:00
Thilo Fromm
2bebee3291 Merge pull request #127 from kinvolk/t-lo/update-to-gcc-9.3.0
dev-util,sys-devel,sys-libs,sys-kernel: update to gcc-9.3.0
2020-11-18 14:52:55 +01:00
Thilo Fromm
361ad25ee4 dev-util,sys-(devel|libs|kernel): modify gcc-9.3.0 updates, clean up
This commit introduces Flatcar specific modification
to the Gentoo recipes for updating to gcc-9.3.0 introduced
in the previous commit. The changes are required
in order to make things build with the Flatcar SDK.

The commit also removes old, stale, unused recipes.

The changes include:

dev-util/perf/perf-4.9.13.ebuild: fix binutils ebuild RDEPEND
dev-util/perf/perf-5.8.ebuild: remove python3_{8} compat; unmask arm64, amd64
sys-devel/binutils: remove old, stale versions
sys-devel/binutils/binutils-2.35.ebuild: backport to EAPI6 because our
                 outdated emerge does not handle BDEPEND dependencies correctly,
                 resulting in BDEPEND being pulled in as runtime deps.
                 Unmask for amd64 and arm64.
sys-devel/binutils/binutils-9999.ebuild: backport to EAPI6
net-dns/dnsmasq: remove old, stale versions
sys-devel/crossdev: remove old versions
sys-devel/gcc: remove old versions
sys-devel/gcc/gcc-9.3.0-r1.ebuild: use EAPI6 because of emerge
                 BDEPEND issue (see above)
sys-devel/libtool/libtool-2.4.6-r6.ebuild: use EAPI6 because of emerge
                 BDEPEND issue (see above)
sys-kernel/linux-headers: remove old versions
ys-kernel/linux-headers/linux-headers-5.8.ebuild: unmask for amd64, arm64

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-18 14:44:40 +01:00
Thilo Fromm
7e0f49e2fc dev-util,sys-(devel|libs|kernel): import recipes for update to gcc-9.3.0
This commit includes the necessary changes to upgrade the SDK
compiler to gcc-9.3.0. The changes include:

eclass: update toolchain.eclass to EAPI7
acct-(user|group): add dnsmasq user / group
net-dns/dnsmasq: update to dnsmasq-2.82
dev-util/perf: update to perf-5.8.ebuild
sys-devel/binutils: update to binutils-2.35.ebuild
sys-libs/binutils-libs: update to binutils-libs-2.35.ebuild
sys-devel/crossdev: update to crossdev-20200801.ebuild
sys-devel/gcc: update to gcc-9.3.0-r1.ebuild
sys-devel/libtool: update to libtool-2.4.6-r6.ebuild
sys-kernel/linux-headers: update to linux-headers-5.9.ebuild

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-18 14:03:42 +01:00
Dongsu Park
a901ea801d dev-util/dwarves: introduce new dev tool dwarves
To build Kernel with `CONFIG_DEBUG_INFO_BTF`, we need to get pahole, a
part of dwarves included in the Flatcar SDK.
So simply import `dev-util/dwarves` from upstream Gentoo.
2020-11-17 15:37:14 +01:00
Thilo Fromm
f7314c720b acct(group|user)/ntp: add NTP group and user
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-16 13:35:47 +01:00
Thilo Fromm
a6fb769199 net-fs/cifs-utils: update to 6.11
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2020-11-13 16:58:05 +01:00
Dongsu Park
b8ba9979e4 Merge pull request #122 from kinvolk/dongsu/samba-sssd
dev-libs, sys-libs: Updated libs needed by samba, sssd
2020-11-13 15:10:12 +01:00
Dongsu Park
db5635cca2 Merge pull request #59 from kinvolk/dongsu/pkgconfig-0.29.2-alpha
dev-util/pkgconfig: bump to 0.29.2 for PKG_CHECK_MODULES_STATIC for alpha
2020-11-13 15:08:07 +01:00
Dongsu Park
b3061d608d sys-libs/tevent: update to 0.10.2
To be able to build `net-fs/samba` 4.11, we need to update
`sys-libs/tevent` to 0.10.2.
2020-11-06 13:50:57 +01:00
Dongsu Park
7cacf2c668 sys-libs/talloc: update to 2.3.1
To be able to `net-fs/samba` 4.11, we need to import `sys-libs/talloc`
to 2.3.1.
2020-11-06 13:50:55 +01:00
Dongsu Park
9cd5e87a35 sys-libs/tdb: update to 1.4.3
To be able to build samba 4.11, we need to update `sys-libs/tdb` to
1.4.3.
2020-11-06 13:50:53 +01:00
Dongsu Park
dd27327b93 app-crypt/p11-kit: import p11-kit from Gentoo
To be able to build sssd 2.3.1, we need to import `app-crypt/p11-kit`
from upstream Gentoo.
2020-11-06 13:50:51 +01:00
Dongsu Park
50c3589497 dev-libs/libtasn1: import libtasn1 from Gentoo
To build `net-libs/gnutls` 3.6, we need to import `dev-libs/libtasn1`.
2020-11-06 13:50:48 +01:00
Dongsu Park
22155497c6 dev-libs/nettle: update to 3.6
To build `net-libs/gnutls` 3.6.15, we need to also update
`dev-libs/nettle` to 3.6.
2020-11-06 13:50:46 +01:00
Dongsu Park
7a818340fa net-libs/gnutls: import from upstream Gentoo
To be able to build `net-fs/samba` 4.11, we need to import
`net-libs/gnutls` from upstream Gentoo. Since gnutls is one of the
hard requirements of upstream Samba, we are not able to disable the
dependency on gnutls.
2020-11-06 13:50:43 +01:00
Sayan Chowdhury
72be7c4946 sys-block/open-isns: Add the new package
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-11-06 11:13:28 +05:30
Dongsu Park
e3db28c9c5 dev-util/glib-utils: update to 2.64.5 2020-10-30 16:52:20 +01:00
Sayan Chowdhury
e7b5405278 dev-libs/glib: Sync the package with upstream
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2020-10-30 14:17:24 +01:00
Krzesimir Nowak
407e682a37 app-arch: Import from Gentoo
An updated systemd will need it.
2020-10-26 14:15:15 +01:00
Dongsu Park
0be496912c Merge pull request #119 from flatcar-linux/dongsu/sdk-pkgs-re2c-file
dev-util,sys-apps: update re2c, file
2020-10-23 15:06:58 +02:00
Dongsu Park
2c820da16e Merge pull request #118 from flatcar-linux/dongsu/meson-gdbus
dev-util: update meson, gdbus-codegen
2020-10-23 15:06:11 +02:00
Dongsu Park
f8a27a086e sys-apps/file: update to 5.39
Update sys-apps/file to 5.39 to address
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18218 .
2020-10-22 15:20:38 +02:00
Dongsu Park
5b8dbb7fb2 dev-util/re2c: update to 2.0.3
Update dev-util/re2c to 2.0.3 to address
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11958 .
2020-10-22 15:19:06 +02:00
Dongsu Park
c320d06f06 dev-util/gdbus-codegen: update to 2.64.5
Now that dev-libs/glib was updated to 2.64.5, we need to also update
dev-util/gdbus-codegen to 2.64.5.

Otherwise we would see strange slot conflicts like:

```
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

 (dev-libs/glib-2.64.5:2/2::portage-stable, ebuild scheduled for merge) pulled in by
   >=dev-libs/glib-2.58.3:2 required by (dev-util/gdbus-codegen-2.58.3:0/0::portage-stable, binary scheduled for merge)

 (dev-util/gdbus-codegen-2.58.3:0/0::portage-stable, binary scheduled for merge) pulled in by
   dev-util/gdbus-codegen required by (coreos-base/hard-host-depends-0.0.1-r194:0/0::coreos, binary scheduled for merge)
```
2020-10-22 14:30:38 +02:00
Sayan Chowdhury
c6a6d5a685 dev-util/meson: Sync package with the upstream
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2020-10-22 14:30:38 +02:00
Dongsu Park
698a6c104d dev-libs/libxml2: update to 2.9.10-r3
Update libxml2 to 2.9.10-r3, to multiple security issues in libxml2:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20388
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7595

See also https://security.gentoo.org/glsa/202010-04 .
2020-10-21 16:34:26 +02:00
Dongsu Park
6c98682dd6 sys-fs/cryptsetup: update to 2.3.2
Since cryptsetup 1.7.5 cannot be built with json-c 0.15,
we need to also update cryptsetup to 2.3.2.
2020-10-21 16:34:17 +02:00
Dongsu Park
1bc50f2cd2 eclass: sync cmake-multilib.eclass with Gentoo
Now that json-c 0.15 requires new definitions in cmake-multilib.eclass,
we need to sync cmake-multilib.eclass with upstream Gentoo.
2020-10-21 16:32:18 +02:00
Dongsu Park
2fbc9fb0b8 dev-libs/json-c: update 0.15
Update json-c to 0.15, to address
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12762 .
2020-10-21 16:32:18 +02:00
Dongsu Park
69e05d7dbc dev-libs/libuv: update to 1.39.0
Update libuv to 1.39.0 to address
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8252 .
2020-10-21 16:32:10 +02:00
Dongsu Park
4d28d167f5 net-dns/c-ares: update to 1.61.1
Update net-dns/c-ares to 1.61.1, to address
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000381 .
2020-10-21 16:25:20 +02:00
Sayan Chowdhury
0bbfd9bc1e app-arch/tar: Sync with upstream
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2020-10-20 05:45:10 +00:00
Dongsu Park
47e30b2847 virtual/rust: update to 1.47.0
Update virtual/rust to 1.47.0, to make dev-lang/rust 1.47.0 work well.
2020-10-13 13:45:57 +02:00
Krzesimir Nowak
1550782835 Merge pull request #112 from flatcar-linux/krnowak/dracut-update
Update dracut
2020-10-08 18:46:03 +02:00
Alban Crequy
3593d2251c Merge pull request #111 from flatcar-linux/alban/update-seccomp
bump(sys-libs/libseccomp): sync with upstream
2020-10-02 19:27:26 +02:00
Krzesimir Nowak
654ebbf5dd eclass: Pull in an eclass needed by a new dracut 2020-09-30 19:49:09 +02:00
Krzesimir Nowak
215d9bda8b eclass: Sync systemd.eclass with upstream 2020-09-30 19:48:30 +02:00
Krzesimir Nowak
9a2855f189 sys-kernel/dracut: Sync with gentoo 2020-09-30 19:41:18 +02:00
Alban Crequy
8dc4b6702d bump(sys-libs/libseccomp): sync with upstream
Change python check to python3_6 so it builds in Flatcar.
Update checksums
2020-09-26 14:36:19 +02:00
Dongsu Park
4dc4d60108 dev-lang/tcl: add tcl for SDK dependencies
Since sqlite 3.32 or newer requires dev-lang/tcl to be available in
the Flatcar SDK by default, we should add dev-lang/tcl into the SDK.
2020-09-25 17:30:35 +02:00
Dongsu Park
f710c0d0c8 sys-apps/makedev: bring back the package for bootstrap_sdk
The bootstrap_sdk stage still requires `sys-apps/makedev` to be
available, as listed in `profiles/default/linux/packages.build`.
We need to bring it back to make the SDK build work again.

This reverts commit df8159f565972eb31455ff5e4cbfba8c4a12bb52.
2020-09-25 16:37:39 +02:00
Dongsu Park
44d3e1f36a sys-devel/bin86: remove unnecessary package
Remove unnecessary package sys-apps/bin86.
We can do so because sys-devel/dev86 is now gone.
2020-09-25 10:36:08 +02:00
Dongsu Park
94a78bda6c sys-devel/dev86: remove unnecessary package
Remove unnecessary package sys-apps/dev86.
We can do so because sys-firmware/vgabios is now gone.
2020-09-25 10:36:08 +02:00
Dongsu Park
c8219909ce sys-firmware/vgabios: remove unnecessary package
Remove unnecessary package sys-firmware/vgabios.
2020-09-25 10:36:08 +02:00
Dongsu Park
292e92707f sys-apps/makedev: remove unnecessary package
Remove unnecessary package sys-apps/makedev.
2020-09-25 10:36:08 +02:00