Bug 265099 - irc/ircd-hybrid: will not start after upgrade to 8.2.40
Summary: irc/ircd-hybrid: will not start after upgrade to 8.2.40
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Santhosh Raju
Depends on:
Reported: 2022-07-08 21:24 UTC by John Marshall
Modified: 2022-07-21 00:31 UTC (History)
1 user (show)

See Also:
fox: maintainer-feedback+

Add missing m_mlock files to pkg-plist (513 bytes, patch)
2022-07-08 21:24 UTC, John Marshall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marshall 2022-07-08 21:24:16 UTC
Created attachment 235135 [details]
Add missing m_mlock files to pkg-plist

Missing (new) core module m_mlock.

Log file shows:
[2022-07-09T06:47:23+1000] Module m_message.la [version: $Revision: 10060 $ hand
le: 0x800e21740] loaded.
[2022-07-09T06:47:23+1000] Error loading module m_mlock.la: file not found
[2022-07-09T06:47:23+1000] Error loading core module m_mlock.la: terminating ircd

This new module had not been added to pkg_plist. Applying attached patch and rebuilding fixes the problem.
Comment 1 commit-hook freebsd_committer 2022-07-09 07:14:37 UTC
A commit in branch main references this bug:

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

commit 949904de1fdf934f254f06c87821c35c7607a9a6
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2022-07-09 07:08:13 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2022-07-09 07:13:14 +0000

    irc/ircd-hybrid:  Update the missed out pkg-plist.

    PR: 265099
    Reported by: John Marshall <john@jmarshall.id.au>

 irc/ircd-hybrid/pkg-plist | 5 +++++
 1 file changed, 5 insertions(+)
Comment 2 Santhosh Raju freebsd_committer 2022-07-09 07:15:29 UTC
Apologies for missing out the files. I have fixed this in the latest commit.


Feel free to reopen the issue in case you are still facing problems.
Comment 3 Ofloo 2022-07-16 20:25:39 UTC
I'm sorry but I still got this issue installing ircd-hybrid from pkg tree today.

pkg info ircd-hybrid
Name           : ircd-hybrid
Version        : 8.2.40
Installed on   : Sat Jul 16 16:10:16 2022 CEST
Origin         : irc/ircd-hybrid
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : irc
Licenses       : GPLv2
Maintainer     : fox@FreeBSD.org
WWW            : http://www.ircd-hybrid.org/
Comment        : Fast irc daemon with a number of new features

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes

# uname -a
FreeBSD link 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
Comment 4 John Marshall 2022-07-17 20:36:39 UTC
(In reply to Ofloo from comment #3)
That will be because PORTREVISION was not bumped when the fix was applied, so the pkg building system doesn't know anything has changed and has not yet built the fixed port. Building from ports works for me.
Comment 5 commit-hook freebsd_committer 2022-07-21 00:28:52 UTC
A commit in branch main references this bug:

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

commit 14c9723a310c41881f80d17f8de958ad449aa491
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2022-07-21 00:23:39 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2022-07-21 00:23:39 +0000

    irc/ircd-hybrid: Bump PORTREVISION for the pkg-plist fix.

    PR: 265099
    Reported by: John Marshall <john@jmarshall.id.au>

 irc/ircd-hybrid/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 6 Santhosh Raju freebsd_committer 2022-07-21 00:31:52 UTC
Hopefully this triggers the rebuild and fixes the package.

Thank you for pointing this out.