Bug 280875

Summary: devel/tevent build (?) failure
Product: Ports & Packages Reporter: Konstantin Belousov <kib>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp, dsh
Priority: --- Flags: bugzilla: maintainer-feedback? (samba)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere build log
none
tevent.patch none

Description Konstantin Belousov freebsd_committer freebsd_triage 2024-08-17 07:13:33 UTC
Created attachment 252838 [details]
poudriere build log

I got the following:
/bin/rm -f /wrkdirs/usr/ports/devel/tevent/work/stage/usr/local/lib/tevent/libcmocka-tevent.so
/bin/rmdir /wrkdirs/usr/ports/devel/tevent/work/stage/usr/local/lib/tevent
rmdir: /wrkdirs/usr/ports/devel/tevent/work/stage/usr/local/lib/tevent: Directory not empty
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/tevent
=>> Cleaning up wrkdir
===>  Cleaning for tevent-0.15.0
build of devel/tevent | tevent-0.15.0 ended at Sat Aug 17 10:07:15 EEST 2024
build time: 00:00:37
!!! build failure encountered !!!

Poudriere log is attached
Comment 1 Denis Shaposhnikov 2024-08-17 18:58:21 UTC
Created attachment 252856 [details]
tevent.patch

Proposed patch added
Comment 2 Konstantin Belousov freebsd_committer freebsd_triage 2024-08-17 21:01:30 UTC
(In reply to Denis Shaposhnikov from comment #1)
Worked for me, thanks.
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-08-19 10:00:04 UTC
Hey! Thanks for the report. I am not sure how I did not hit this problem when testing the patch in poudriere.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-08-19 10:06:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bca2cbc9542171c469cce5064422a1cccae6c9cf

commit bca2cbc9542171c469cce5064422a1cccae6c9cf
Author:     Denis Shaposhnikov <dsh@bamus.cz>
AuthorDate: 2024-08-19 10:03:18 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-08-19 10:03:18 +0000

    devel/tevent: Fix build by cleaning lib/tevent during post-install

    PR:             280875
    Reported by:    kib@
    Approved by:    samba (0mp)

 devel/tevent/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 5 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-08-19 10:08:46 UTC
Committed! Thanks!