Opened 2 years ago

Last modified 22 months ago

#61019 assigned enhancement

mpbb: Remove failcache entry if port is already installed

Reported by: ryandesign (Ryan Schmidt) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: buildbot/mpbb Version:
Keywords: haspatch Cc:

Description (last modified by ryandesign (Ryan Schmidt))

We had an unusual problem where a failcache entry didn't get deleted upon a successful build.

What happened was that libsdl built fine but an error occurred during activation so the build was marked as failed. I forced another build of libsdl which succeeded and distributed the previously built archive. The install-port part of the build didn't have to do anything; it just printed:

libsdl already installed, nothing to do

So even though the archive was now distributed, the failcache still considered the port unbuildable.

Maybe mpbb should clear the failcache entry when the port was already installed (see patch).

On the other hand, in this case, the failure of libsdl to activate was due to a problem with the tbz2 archive (#61018), and distributing that broken archive isn't helpful.

Attachments (1)

mpbb-install-port.patch (550 bytes) - added by ryandesign (Ryan Schmidt) 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by ryandesign (Ryan Schmidt)

Attachment: mpbb-install-port.patch added

comment:1 Changed 22 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.