Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409743 - sys-apps/openrc-0.9.x: move error message output out of librc
Summary: sys-apps/openrc-0.9.x: move error message output out of librc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
: 411145 414041 416319 (view as bug list)
Depends on:
Blocks: openrc-0.10
  Show dependency tree
 
Reported: 2012-03-26 09:57 UTC by Ewoud Kohl van Wijngaarden
Modified: 2012-05-16 23:14 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,15.67 KB, text/plain)
2012-03-26 09:57 UTC, Ewoud Kohl van Wijngaarden
Details
emerge --info openrc output (emerge-info-openrc,5.00 KB, text/plain)
2012-03-26 16:43 UTC, Ewoud Kohl van Wijngaarden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ewoud Kohl van Wijngaarden 2012-03-26 09:57:19 UTC
Created attachment 306701 [details]
build.log

I tried to merge openrc 0.9.9 and got an error about not being able to find einfo.h.

Steps to reproduce:
- emerge -C openrc
- emerge =openrc-0.9.9*

Expected result:
Openrc 0.9.9 installed

Actual result:
Compilation failure:
librc-misc.c:32:19: fatal error: einfo.h: No such file or directory

Note that when I first installed openrc 0.9.8.4 and then upgraded it was fine.
Comment 1 William Hubbs gentoo-dev 2012-03-26 15:11:00 UTC
Can you emerge openrc-0.9.9.3?
Comment 2 Ewoud Kohl van Wijngaarden 2012-03-26 15:13:11 UTC
I didn't specifiy it, but I tried 0.9.9.{0..3} and all gave the same result. Manually placing einfo.h in /usr/include also solved the issue for me.
Comment 3 William Hubbs gentoo-dev 2012-03-26 15:37:16 UTC
You shouldn't have to manually place einfo.h in /usr/include however; it
is part of the OpenRC source, so there shouldn't be an issue with
finding it. I'm about to pull your build log.
Comment 4 William Hubbs gentoo-dev 2012-03-26 16:35:09 UTC
Can you please post your emerge --info output?
Comment 5 Ewoud Kohl van Wijngaarden 2012-03-26 16:43:30 UTC
Created attachment 306757 [details]
emerge --info openrc output

The reason I placed einfo.h in /usr/include is that when I upgraded to udev 181 I couldn't emerge openrc-0.9.8.4 anymore and I just unmerged openrc. Portage did complain about a file collision when merging. My guess would be that for whatever reason the new openrc doesn't want to use einfo.h from its own sources but only the system file. If openrc is not installed there is no system file so it fails.
Comment 6 Ewoud Kohl van Wijngaarden 2012-03-26 16:47:58 UTC
Using git bisect on the sources:

 git bisect start openrc-0.9.9 openrc-0.9.8.4 && git bisect run make clean all

c3be42006b78809f1087b6a8262caba01f2c7fc1 is the first bad commit
commit c3be42006b78809f1087b6a8262caba01f2c7fc1
Author: Christian Ruppert <idl0r@gentoo.org>
Date:   Sat Dec 31 00:33:49 2011 +0100

    Rename proc_getent to rc_proc_getent and make it global

:040000 040000 cded9ad85f6a4326a8ad371bbde68b449e2a444a 8ed69194ea03af8c785aa39a5a037c8c8e962ef1 M	src
bisect run success
Comment 7 William Hubbs gentoo-dev 2012-03-26 20:20:06 UTC
This should be fixed in commit 300c032.
Comment 8 William Hubbs gentoo-dev 2012-04-08 22:50:48 UTC
*** Bug 411145 has been marked as a duplicate of this bug. ***
Comment 9 Christian Ruppert (idl0r) gentoo-dev 2012-04-15 12:55:39 UTC
Ok, we have about 10? duplicates now. William, *please* leave this bug open *until* a new version of OpenRC has been released with that fix. Thx.
Comment 10 Christian Ruppert (idl0r) gentoo-dev 2012-04-15 12:56:46 UTC
Damn.. wrong bug.
Comment 11 William Hubbs gentoo-dev 2012-04-15 20:19:17 UTC
*** Bug 411145 has been marked as a duplicate of this bug. ***
Comment 12 Anthony Basile gentoo-dev 2012-05-01 02:27:09 UTC
*** Bug 414041 has been marked as a duplicate of this bug. ***
Comment 13 William Hubbs gentoo-dev 2012-05-16 23:14:31 UTC
*** Bug 416319 has been marked as a duplicate of this bug. ***