Bug 1955920 - Build error with fedora34 docker image at travis (CI)
Summary: Build error with fedora34 docker image at travis (CI)
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora Container Images
Classification: Fedora
Component: docker
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yu Qi Zhang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-01 13:42 UTC by Wolfgang Ulbrich
Modified: 2021-06-03 15:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-03 15:03:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Wolfgang Ulbrich 2021-05-01 13:42:38 UTC
Description of problem:

MATE desktop use fedora:latest docker tag for testing our github repos with Travis CI.
Since fedora:latest is fedora 34 builds are failing at Travis CI.
See https://travis-ci.org/github/mate-desktop/mate-panel/jobs/769073247#L591
```
+ ./autogen.sh
/usr/bin/mate-autogen
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 1.7.3
checking for gtk-doc >= 1.0...
  testing gtkdocize... found 1.33.1
checking for mate-common >= 1.1.0...
  testing mate-doc-common... found 1.24.2
Checking for required M4 macros...
Checking for forbidden M4 macros...
skipping . -- directory is read only
Skipping configure process.
+ scan-build -enable-checker deadcode.DeadStores -enable-checker alpha.deadcode.UnreachableCode -enable-checker alpha.core.CastSize -enable-checker alpha.core.CastToStruct -enable-checker alpha.core.IdenticalExpr -enable-checker alpha.core.SizeofPtr -enable-checker alpha.security.ArrayBoundV2 -enable-checker alpha.security.MallocOverflow -enable-checker alpha.security.ReturnPtrRange -enable-checker alpha.unix.SimpleStream -enable-checker alpha.unix.cstring.BufferOverlap -enable-checker alpha.unix.cstring.NotNullTerminated -enable-checker alpha.unix.cstring.OutOfBounds -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy ./configure --enable-compile-warnings=maximum
scan-build: Using '/usr/bin/clang-12' for static analysis
Can't exec "./configure": No such file or directory at /usr/bin/scan-build line 1168.
```

Same build with using f33 docker image works fine.
https://travis-ci.org/github/mate-desktop/mate-panel/builds/769122622#L555
```
+ ./autogen.sh
/usr/bin/mate-autogen
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 1.7.3
checking for gtk-doc >= 1.0...
  testing gtkdocize... found 1.33.1
checking for mate-common >= 1.1.0...
  testing mate-doc-common... found 1.24.2
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running gtkdocize...
Running mate-doc-common...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
<cut>
```
For some reasons the directory is read only with f34 docker image and configure failed for that reason.
Or something is changed with using 'autotools' for build packages for f34.
But i didn't notice any different when building MATE desktop packages (rpms) at koji build server.
Any idea what can cause this issue?


Version-Release number of selected component (if applicable):

fedora:latest

How reproducible:

Using fedora 34 docker image with travis CI

Actual results:

builds are failing

Expected results:

Building works fine

Additional info:

upstream report https://github.com/fedora-cloud/docker-brew-fedora/issues/93

Comment 1 Wolfgang Ulbrich 2021-05-23 08:54:29 UTC
Can someone please take a look at this issue?
I really need some help with debugging this problem.

Comment 2 Wolfgang Ulbrich 2021-06-03 15:03:34 UTC
Problem was caused by using Ubuntu bionic as container host system for Travis CI.
I could fix that with switching all our repo configs to use Ubuntu focal as container host system.
Thank you for your attention.


Note You need to log in before you can comment on or make changes to this bug.