fedora-cloud / docker-brew-fedora

MIT License
176 stars 46 forks source link

Build error with fedora34 docker image at travis (CI) #93

Closed raveit65 closed 3 years ago

raveit65 commented 3 years ago

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?

raveit65 commented 3 years ago

Can someone please take a look at this issue? I really need some help with debugging this problem.

raveit65 commented 3 years ago

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.