Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base-builder is based on Ubuntu Xenial, which is EOL #5697

Closed
maflcko opened this issue May 2, 2021 · 3 comments
Closed

base-builder is based on Ubuntu Xenial, which is EOL #5697

maflcko opened this issue May 2, 2021 · 3 comments

Comments

@maflcko
Copy link
Contributor

maflcko commented May 2, 2021

It seems that the base-builder is based on an operating system that is EOL. The instructions say that the required packages may be installed from the base-builder package manager (see https://google.github.io/oss-fuzz/getting-started/new-project-guide/#dockerfile). However, as the operating system is EOL, the package versions are often no longer supported by the project. Also, they might contain unfixed bugs that will result in false positives. Finally, it looks like this results in hacky workarounds that might break other things. (Example:

RUN sed -i -e 's/xenial/bionic/g' /etc/apt/sources.list
)

Even if the base-runner is based on Xenial, it might be good to offer alternative base-builders on Focal or Bionic that can do the static builds.

@inferno-chromium
Copy link
Collaborator

Yes we do plan to move to 18.04 or 20.04 soonish, in next month or two. really sorry that this has taken so long.

@inferno-chromium
Copy link
Collaborator

inferno-chromium commented May 6, 2021

@asraa - as you are thinking of breaking base-builder into language specific images at some time in Q2, maybe we do this at same time as well ?

a1xndr added a commit to a1xndr/oss-fuzz that referenced this issue Jun 14, 2021
QEMU builds are failing [1]:
"Step google#4: ERROR: glib-2.56 gthread-2.0 is required to compile QEMU"

The version of glib shipped with Ubuntu 18.04 is too old. While we wait
on [2] , use the same hack [3] as libreoffice to fix the build.

[1] https://oss-fuzz-build-logs.storage.googleapis.com/log-2a22b4e2-d7b7-4695-a4dd-25d8d8407704.txt
[2] google#5697
[3] https:/google/oss-fuzz/blob/30f3a8f1c0f5b072e77d5bea82709db04c53453d/projects/libreoffice/Dockerfile#L24

Signed-off-by: Alexander Bulekov <[email protected]>
a1xndr added a commit to a1xndr/oss-fuzz that referenced this issue Jun 14, 2021
QEMU builds are failing [1]:
"Step google#4: ERROR: glib-2.56 gthread-2.0 is required to compile QEMU"

The version of glib shipped with Ubuntu 18.04 is too old. While we wait
on [2], take some inspiration from poppler [3], and build glib ourselves.

[1] https://oss-fuzz-build-logs.storage.googleapis.com/log-2a22b4e2-d7b7-4695-a4dd-25d8d8407704.txt
[2] google#5697
[3] https:/google/oss-fuzz/blob/a44547d8d6f78ad7ce02323ecc33382a1d628e39/projects/poppler/build.sh#L70

Signed-off-by: Alexander Bulekov <[email protected]>
DavidKorczynski pushed a commit that referenced this issue Jun 15, 2021
* qemu: manually build glib

QEMU builds are failing [1]:
"Step #4: ERROR: glib-2.56 gthread-2.0 is required to compile QEMU"

The version of glib shipped with Ubuntu 18.04 is too old. While we wait
on [2], take some inspiration from poppler [3], and build glib ourselves.

[1] https://oss-fuzz-build-logs.storage.googleapis.com/log-2a22b4e2-d7b7-4695-a4dd-25d8d8407704.txt
[2] #5697
[3] https:/google/oss-fuzz/blob/a44547d8d6f78ad7ce02323ecc33382a1d628e39/projects/poppler/build.sh#L70

Signed-off-by: Alexander Bulekov <[email protected]>

* qemu: add license header to build.sh

Signed-off-by: Alexander Bulekov <[email protected]>
@maflcko
Copy link
Contributor Author

maflcko commented Aug 20, 2021

Presumed duplicate of #6180

@maflcko maflcko closed this as completed Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants