Inspecting module build failures in Fedora
Have you submitted a build which failed? This page will point you to the right places to get all the information about build failures.
Reminder: Building modules
Goal: Get your packages built as a module.
Details:
Module builds are triggered using fedpkg
from whithin your dist-git repository.
For example, to submit a build of the nodejs:10
module, run:
$ fedpkg clone modules/nodejs $ cd nodejs $ git checkout 10 $ fedpkg module-build
Please note the module build ID. You will need it to verify the build state. It also helps you in the next step. |
To watch the satate of your module build, run:
$ fedpkg module-build-watch BUILD_ID
When the module is in a "ready" state, you can continue to the next step.
However, in this scenario, we expect your build failed.
Inspecting build failures
Run the following command using the BUILD_ID from the previous step:
$ fedpkg module-build-info BUILD_ID
which shows you "State Reason" — a short summary of the build failure regarding the whole module, as well as a list of individual packages in the module. Find the ones that failed and go to the "Koji Task" URL. There, click on the "Build" link which gets you to the module build page. On this page, inspect the root.log
, build.log
, and other files to get the build error.