Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 837197

Summary: net-irc/unrealircd-6.0.3[operoverride-verify]: fails to build with invite.c:460:47: error: ‘MODE_SECRET’ undeclared (first use in this function)
Product: Gentoo Linux Reporter: Th|ef <family>
Component: Current packagesAssignee: Michael Palimaka (kensington) <kensington>
Status: RESOLVED DUPLICATE    
Severity: normal CC: amd64, family, jstein, sam, tanekliang
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: UnrealIRCd 6.0.3 Failed Build Log

Description Th|ef 2022-04-08 01:26:41 UTC
To the Gentoo Maintainers!

Proud & Longstanding Member 20yrs+ and running! :) 

Thank you for all of your ongoing hard work to keep Gentoo the freshest distro on the market!

I've been working a little with Gentoo Maintainers and I am very happy to help further in Gentoo's Development.

This is my first Bug Report, so let's get stuck in!

So we have UnrealIRCd 6.0.3 with a lot of security fixed so that's good.
The problem becomes evident when we try to emerge the program with the 'operoverride-verify' USE flag enabled. The build fails, please see the following log file and relevant information. 

Please note, my CFLAGS include  "-mno-rdrnd" & "-mno-rdseed" directives which correspond with my vps hosts new hypervisor infrastructure. These should pose no issue, hence the bug report.  

Finally, during a recent discussion in #gentoo-chat myself and a few other 'lifers' were able to ascertain that the init script fails to create the unrealircd.ctl socket due to incorrect permissions. 

A resolution was found by altering the the start_pre() directive from

1) checkpath --directory --owner root:root --mode 0600 "${UNREALIRCD_CHROOT}"/run/unrealircd


to

2) checkpath --directory --owner unrealircd:unrealircd --mode 0700 "${UNREALIRCD_CHROOT}"/run/unrealircd

Note to Developers: 

*There *may* be other underlying permissions issues elsewhere*

Please find the attached build.log :) 

All Hail Gentoo! 

Peace!
Comment 1 Th|ef 2022-04-08 01:28:07 UTC
Created attachment 769319 [details]
UnrealIRCd 6.0.3 Failed Build Log
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-13 10:54:32 UTC
clang-stricter_tinderbox detected this bug as duplicate of 833307 - If this an error, please let me know

*** This bug has been marked as a duplicate of bug 833307 ***