Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] New install failed to emerge sysklogd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
chaosys
n00b
n00b


Joined: 02 Nov 2017
Posts: 2

PostPosted: Thu Nov 02, 2017 7:48 am    Post subject: [SOLVED] New install failed to emerge sysklogd Reply with quote

I'm installing a new dual-boot instance of Gentoo, using SystemRescueCD off a USB drive as the initial install environment. I'm trying to keep this as by-the-book as possible, as it's been nearly a decade since I last used Gentoo. (I mostly ran Arch until now, but the proliferation of systemd drove me away.)

I've gotten to the point where I'm installing system tools in the chroot env, and have had no problem until trying to install sysklogd. The emerge attempt fails with this:
>>> Failed to emerge app-admin/sysklogd-1.5.1:
syslogd.c: In function ‘reapchild’:
syslogd.c:2142:13: error: storage size of ‘status’ isn’t known
  union wait status;


While I could use a different logger, I'd rather stick to something I'm familiar with until the system's standing on its own. This is just a desktop box anyway; my logging needs are pretty straightforward. Any help is appreciated.

build log
build env
emerge --info
emerge -pqv:
[ebuild  N    ] app-admin/sysklogd-1.5.1  USE="-logrotate"


Last edited by chaosys on Thu Nov 02, 2017 9:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7161
Location: almost Mile High in the USA

PostPosted: Thu Nov 02, 2017 7:06 pm    Post subject: Reply with quote

I think this is a bug that just showed up, I was able to reproduce it with glibc-2.25.
I was able to build it on a 2-week old machine with glibc-2.23. Still researching though initial finds are that sysklogd will need to be fixed.

I think the best course of action is to upgrade to sysklogd-1.5.1-r1.
You'll need to keyword unmask it for now.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?


Last edited by eccerr0r on Thu Nov 02, 2017 7:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7133
Location: Saint Amant, Acadiana

PostPosted: Thu Nov 02, 2017 7:15 pm    Post subject: Reply with quote

Downgrade glibc? Everything built against newer version will probably fail.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7161
Location: almost Mile High in the USA

PostPosted: Thu Nov 02, 2017 7:20 pm    Post subject: Reply with quote

Yes it was temporary, though I think I found an actual fix instead of a workaround:

Add the unmask

/etc/portage/package.keywords/glibc225.unmasks (or whatever):

Code:
=app-admin/sysklogd-1.5.1-r1 ~amd64 ~x86
(or whatever arch you are using)

Ref: https://bugs.gentoo.org/636046

"This too, shall pass." (hopefully this unmask will be redundant within the next few days and a simple emerge --sync will let you install the -r1 version.)
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22036
Location: here

PostPosted: Thu Nov 02, 2017 7:48 pm    Post subject: Reply with quote

And welcome :D
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
chaosys
n00b
n00b


Joined: 02 Nov 2017
Posts: 2

PostPosted: Thu Nov 02, 2017 8:31 pm    Post subject: Reply with quote

@eccerr0r:
That worked, thank you! Here's hoping the rest of the install goes fine. I'd like my system to at least be bootable before something else goes wrong. :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum