Bug 280875 - devel/tevent build (?) failure
Summary: devel/tevent build (?) failure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-17 07:13 UTC by Konstantin Belousov
Modified: 2024-08-19 10:08 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (samba)


Attachments
poudriere build log (94.52 KB, text/plain)
2024-08-17 07:13 UTC, Konstantin Belousov
no flags Details
tevent.patch (444 bytes, patch)
2024-08-17 18:58 UTC, Denis Shaposhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!