Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837197 - 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)
Summary: net-irc/unrealircd-6.0.3[operoverride-verify]: fails to build with invite.c:4...
Status: RESOLVED DUPLICATE of bug 833307
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Palimaka (kensington)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-08 01:26 UTC by Th|ef
Modified: 2022-12-13 10:54 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
UnrealIRCd 6.0.3 Failed Build Log (file_837197.txt,70.60 KB, text/plain)
2022-04-08 01:28 UTC, Th|ef
Details

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