Summary: | emerge fails on net-irc/unrealircd-3.2.8.1 due to a configure syntax error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | shimi <gentoo-bugzilla> |
Component: | New packages | Assignee: | Packages in net-irc <net-irc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | binki |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/net-irc/unrealircd-3.2.8.1/temp/build.log
adds dev-util/pkgconfig dep |
Description
shimi
2010-04-20 16:20:30 UTC
Created attachment 228521 [details]
/var/tmp/portage/net-irc/unrealircd-3.2.8.1/temp/build.log
It is to be noted that 3.2.7-r2 configures, compiles and installs just fine on the very same box. However, a known DoS is in the wild, so that's not an acceptable solution :-) Your build log states !!! SELinux module not found. Please verify that it was installed. Please check here: http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?part=3&chap=3 if this can solve the issue for you. In particular take a look at: 3.d. Portage error messages : I get a missing SELinux module error when using emerge: This indicates that the portage SELinux module is missing or damaged. Also python may have been upgraded to a new version which requires python-selinux to be recompiled. Remerge dev-python/python-selinux. If packages have been merged under this condition, they must be relabed after fixing this condition. If the packages needing to be remerged cannot be determined, a full relabel may be required. Regards, Thomas Please ignore the SELinux... It's totally unrelated IMHO. It's just OFF, for a while ago, now. I looked inside the 'configure' script extracted from the package - and the error clearly states a line that actually appears there and I wonder if it really should. Googling for the name of this PKG_whatever with 'unrealircd' gave me just one result: The patch in Gentoo's tree. Maybe related to this 'tre' that was moved from Unreal's original implementation (included with the dist) and 'use the external package which is in portage' ? Can YOU merge this package successfully ? (In reply to comment #4) > Can YOU merge this package successfully ? Yes, no issues here. Assigning..., maybe the irc-herd knows what's going on. Created attachment 234903 [details, diff] adds dev-util/pkgconfig dep Sorry that I overlooked this. My ebuilds for bug 260806 introduced a call to eautoreconf and unrealircd uses pkgconfig (thus the undefined macro if the user doesn't have pkgconfig installed). This patch adds the missing buildtime pkgconfig dep and makes two tiny quoting stylistic changes ;-). oh, forgot to mention: If you're applying this patch, please also regenerate the manifest as Unreal3.2.8.1.tar.gz changed upstream (but it's a very insignificant change) :-/ (In reply to comment #7) > oh, forgot to mention: If you're applying this patch, please also regenerate > the manifest as Unreal3.2.8.1.tar.gz changed upstream (but it's a very > insignificant change) :-/ Uhm, actually, those changes were not intended by upstream and open up a backdoor, so PLEASE DON'T UPDATE THE MANIFEST! (In reply to comment #8) So to sum it up, what SHOULD I do? :) (I got the mail from Syzop saying about backdoored Unreal3.2.8.1.tar.gz Backdoored version (BAD) is: 752e46f2d873c1679fa99de3f52a274d Official version (GOOD) is: 7b741e94e867c0a7370553fd01506c66 ) (In reply to comment #9) > (In reply to comment #8) > > So to sum it up, what SHOULD I do? :) Yeah, sorry for the confusion I made. I was using a local overlay which had a Manifest file with the correct checksums but official portage mirrors and Manifest had the backdoored version. See bug 323691 . If you're still running unrealircd using the Gentoo package, you should immediately upgrade to =unrealircd-3.2.8.1-r1 and restart the server. And otherwise, this bug's comments needn't be further filled with offtopic chat about the backdoor (and I'm the one who went off topic, I admit ;-) ). > > (I got the mail from Syzop saying about backdoored Unreal3.2.8.1.tar.gz > > Backdoored version (BAD) is: 752e46f2d873c1679fa99de3f52a274d > Official version (GOOD) is: 7b741e94e867c0a7370553fd01506c66 > > ) > No worries, due to this bug I didn't have the backdoored version... :) However, the compile issue is still there on -r1... checking if your system prepends an underscore on symbols... no checking if FD_SETSIZE is large enough to allow 1024 file descriptors... yes ./configure: line 13544: syntax error near unexpected token `0.17' ./configure: line 13544: `PKG_PROG_PKG_CONFIG(0.17)' !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-irc/unrealircd-3.2.8.1-r1/work/Unreal3.2/config.log * ERROR: net-irc/unrealircd-3.2.8.1-r1 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_configure (In reply to comment #11) > No worries, due to this bug I didn't have the backdoored version... :) > > However, the compile issue is still there on -r1... Ah. It ended up that -r1 was just a security bump without any other bug fixes. Try installing dev-util/pkgconfig before installing unrealircd. That works around this bug for me, at least. (In reply to comment #12) UPgrading pkgconfig (I had 0.15, now it's 0.23) indeed solved the issue (I've merged Unreal successfully, at last...). Which suggests the dependency tree for the package is still broken, no? (needs to not only require pkgconfig, but also from a certain version and above...) (In reply to comment #13) > UPgrading pkgconfig (I had 0.15, now it's 0.23) indeed solved the issue (I've > merged Unreal successfully, at last...). Cool :-). > Which suggests the dependency tree for the package is still broken, no? My patch isn't in portage, so the deps are still broken. ;-) > (needs > to not only require pkgconfig, but also from a certain version and above...) No. The oldest version of pkgconfig in the tree is 0.22. If there was even an unversioned dep in unrealircd-3.2.8.1.ebuild (as in my patch), emerge would have automatically updated your pkgconfig install. Requiring versioned deps for things like this would make ebuilds a lot less readable (and more messy), so I think it's better to avoid them when possible :-). |