Skip to content

exit cleanup not called if makepkg fails too early #1128

Description

@sunworms

Same-issue check

Yes

Linux Distribution

Archlinux

Kernel version

6.16-rc3

What happened?

trying to use makepkg -si with default config file results in this:

❯ makepkg -si
           .---.`               `.---.
        `/syhhhyso-           -osyhhhys/`
       .syNMdhNNhss/``.---.``/sshNNhdMNys.
       +sdMh.`+MNsssssssssssssssNM+`.hMds+
       :syNNdhNNhssssssssssssssshNNhdNNys:
        /ssyhhhysssssssssssssssssyhhhyss/
        .ossssssssssssssssssssssssssssso.
       :sssssssssssssssssssssssssssssssss:
      /sssssssssssssssssssssssssssssssssss/   Linux-tkg
     :sssssssssssssoosssssssoosssssssssssss:        kernels
     osssssssssssssoosssssssoossssssssssssso
     osssssssssssyyyyhhhhhhhyyyyssssssssssso
     /yyyyyyhhdmmmmNNNNNNNNNNNmmmmdhhyyyyyy/
      smmmNNNNNNNNNNNNNNNNNNNNNNNNNNNNNmmms
       /dNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd/
        `:sdNNNNNNNNNNNNNNNNNNNNNNNNNds:`
           `-+shdNNNNNNNNNNNNNNNdhs+-`
                 `.-:///////:-.`
==> Making package: linux-tkg- .-273 (Sun 29 Jun 2025 07:26:13 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: 5.10 was not found in the build directory and is not a URL.

Relevant logs

shell-output.log.txt <- initial error
shell-output.log2.txt <- error on running makepkg -si again

My Favorite type(s) of frog

Frog, African Bullfrog (Pyxicephalus adspersus)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions