Re: [gentoo-user] visualise openrc initscript start order and dependency tree

2019-11-08 Thread Bill Kenworthy
On 9/11/19 4:03 am, J. Roeleveld wrote:
> On Thursday, November 7, 2019 4:06:10 PM CET Daniel Frey wrote:
>> On 2019-11-07 04:37, Bill Kenworthy wrote:
>>> I have run into some problems creating openrc initscripts for moosefs -
>>> is there something that will display the start order/dependency tree?
>>> Text or graphical doesn't matter.
>>>
>>> Bill K.
>> rc-status does try to resolve dependencies and list them in order, try
>> `rc-status -a` - this will list all scripts (including ones not in startup.)
>>
>> Dan
> Actually, it doesn't show what is depending on what.
>
> I had a similar issue and ended up checking every init-script, conf.d file 
> and 
> rc.conf entry and making a dependency-tree manually on a big white-board.
>
> I haven't found a tool that does this automatically yet.
>
> --
> Joost
>
>
>
>
Thanks, I ended up working around it rather than solving i.


BillK






Re: [gentoo-user] visualise openrc initscript start order and dependency tree

2019-11-08 Thread J. Roeleveld
On Thursday, November 7, 2019 1:37:21 PM CET Bill Kenworthy wrote:
> I have run into some problems creating openrc initscripts for moosefs -
> is there something that will display the start order/dependency tree? 
> Text or graphical doesn't matter.
> 
> Bill K.

The closest to this is:

/lib/rc/bin/rc-depend  xdm

(This will return ALL the services that need to be started before "xdm" can 
start, according to the dependencies)
This can also be executed as a normal (NON-root) user.

To force a regen of the dependency-tree, you can issue:
"/lib/rc/bin/rc-depend --update" (This does require root)

--
Joost





Re: [gentoo-user] visualise openrc initscript start order and dependency tree

2019-11-08 Thread J. Roeleveld
On Thursday, November 7, 2019 4:06:10 PM CET Daniel Frey wrote:
> On 2019-11-07 04:37, Bill Kenworthy wrote:
> > I have run into some problems creating openrc initscripts for moosefs -
> > is there something that will display the start order/dependency tree?
> > Text or graphical doesn't matter.
> > 
> > Bill K.
> 
> rc-status does try to resolve dependencies and list them in order, try
> `rc-status -a` - this will list all scripts (including ones not in startup.)
> 
> Dan

Actually, it doesn't show what is depending on what.

I had a similar issue and ended up checking every init-script, conf.d file and 
rc.conf entry and making a dependency-tree manually on a big white-board.

I haven't found a tool that does this automatically yet.

--
Joost






Re: [gentoo-user] Glamor use flag disappeared?

2019-11-08 Thread joost
On Friday, November 8, 2019 4:45:38 PM CET J. Roeleveld wrote:
> Hi All,
> 
> Xorg-server wants to rebuild because the glamor USE flag seems to have
> disappeared completely. For some reason it now fails to build because of
> missing glamor libraries.
> 
> Does anyone else have this issue? Or is my tree not syncing correctly?
> 
> Many thanks,
> 
> Joost

My issue is described in one of the last comments in the following bug:

https://bugs.gentoo.org/692206

The problem I am now facing is that none of the patches listed on that link 
seem to apply cleanly, so need to figure that one out.
I need "libglvnd" on my laptop to have external displays and the nvidia chip 
working.

Guess I will need to wait for a proper fix to this and hope nothing breaks in 
the meantime.

--
Joost





Re: [gentoo-user] Glamor use flag disappeared?

2019-11-08 Thread Jack

On 2019.11.08 10:45, J. Roeleveld wrote:

Hi All,

Xorg-server wants to rebuild because the glamor USE flag seems to  
have disappeared completely. For some reason it now fails to build  
because of missing glamor libraries.


Does anyone else have this issue? Or is my tree not syncing correctly?

Many thanks,

Joost
I rebuilt a few days ago, and didn't have any problems.  On my box, the  
only glamor library I find is /usr/lib64/xorg/modules/libglamoregl.so  
which belongs to xorg-server, so I wonder where it's looking.


Also, although the glamor use flag is gone, looking in the ebuild, it  
ewarns (if use wayland && use minimal) "glamor is necessary for  
acceleration under Wayland. Performance may be unacceptable without  
it.  Build with USE=-minimal t enable glamor." and lower down is  
"$(use_enable !minimal glamor)" and those are the only mentions of  
glamor in the ebuild.I have -wayland and -minimal.


Jack


Re: [gentoo-user] Glamor use flag disappeared?

2019-11-08 Thread J. Roeleveld
On 8 November 2019 17:31:34 CET, Dale  wrote:
>J. Roeleveld wrote:
>> On 8 November 2019 17:01:51 CET, Mick 
>wrote:
>>> On Friday, 8 November 2019 15:45:38 GMT J. Roeleveld wrote:
 Hi All,

 Xorg-server wants to rebuild because the glamor USE flag seems to
>>> have
 disappeared completely. For some reason it now fails to build
>because
>>> of
 missing glamor libraries.

 Does anyone else have this issue? Or is my tree not syncing
>>> correctly?
 Many thanks,

 Joost
>>> I just upgraded xorg-drivers and did not experience such a problem. 
>>> Did you 
>>> grep for 'glamor' in case it is lost in some .use file?  I'm not
>sure
>>> but I 
>>> think gallium is now used in its place and when rebuilding
>dependencies
>>>
>>> portage should sort things out all on its own.
>> Will have a look for glamor in all config files. It is showing in the
>output as if it is now masked.
>> But it dissappeared from the portage tree completely.
>>
>> --
>> Joost
>
>
>If it helps any, I synced on this past Sunday and this is what I show
>here:
>
>
>root@fireball / # euse -i glamor
>global use flags (searching: glamor)
>
>no matching entries found
>
>local use flags (searching: glamor)
>
>no matching entries found
>root@fireball / #
>
>
>It appears to be gone here to so it's not just you.  I'm not familiar
>with the flag so not sure what state it was in before going away.
>
>Dale
>
>:-)  :-) 

Ok, looks like it dissappeared without notice. My xorg server was built with it.
Will check for gallium instead, as Mick mentioned, and rebuild the laptop.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Glamor use flag disappeared?

2019-11-08 Thread Dale
J. Roeleveld wrote:
> On 8 November 2019 17:01:51 CET, Mick  wrote:
>> On Friday, 8 November 2019 15:45:38 GMT J. Roeleveld wrote:
>>> Hi All,
>>>
>>> Xorg-server wants to rebuild because the glamor USE flag seems to
>> have
>>> disappeared completely. For some reason it now fails to build because
>> of
>>> missing glamor libraries.
>>>
>>> Does anyone else have this issue? Or is my tree not syncing
>> correctly?
>>> Many thanks,
>>>
>>> Joost
>> I just upgraded xorg-drivers and did not experience such a problem. 
>> Did you 
>> grep for 'glamor' in case it is lost in some .use file?  I'm not sure
>> but I 
>> think gallium is now used in its place and when rebuilding dependencies
>>
>> portage should sort things out all on its own.
> Will have a look for glamor in all config files. It is showing in the output 
> as if it is now masked.
> But it dissappeared from the portage tree completely.
>
> --
> Joost


If it helps any, I synced on this past Sunday and this is what I show here:


root@fireball / # euse -i glamor
global use flags (searching: glamor)

no matching entries found

local use flags (searching: glamor)

no matching entries found
root@fireball / #


It appears to be gone here to so it's not just you.  I'm not familiar
with the flag so not sure what state it was in before going away.

Dale

:-)  :-) 



Re: [gentoo-user] Glamor use flag disappeared?

2019-11-08 Thread J. Roeleveld
On 8 November 2019 17:01:51 CET, Mick  wrote:
>On Friday, 8 November 2019 15:45:38 GMT J. Roeleveld wrote:
>> Hi All,
>> 
>> Xorg-server wants to rebuild because the glamor USE flag seems to
>have
>> disappeared completely. For some reason it now fails to build because
>of
>> missing glamor libraries.
>> 
>> Does anyone else have this issue? Or is my tree not syncing
>correctly?
>> 
>> Many thanks,
>> 
>> Joost
>
>I just upgraded xorg-drivers and did not experience such a problem. 
>Did you 
>grep for 'glamor' in case it is lost in some .use file?  I'm not sure
>but I 
>think gallium is now used in its place and when rebuilding dependencies
>
>portage should sort things out all on its own.

Will have a look for glamor in all config files. It is showing in the output as 
if it is now masked.
But it dissappeared from the portage tree completely.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Glamor use flag disappeared?

2019-11-08 Thread Mick
On Friday, 8 November 2019 15:45:38 GMT J. Roeleveld wrote:
> Hi All,
> 
> Xorg-server wants to rebuild because the glamor USE flag seems to have
> disappeared completely. For some reason it now fails to build because of
> missing glamor libraries.
> 
> Does anyone else have this issue? Or is my tree not syncing correctly?
> 
> Many thanks,
> 
> Joost

I just upgraded xorg-drivers and did not experience such a problem.  Did you 
grep for 'glamor' in case it is lost in some .use file?  I'm not sure but I 
think gallium is now used in its place and when rebuilding dependencies 
portage should sort things out all on its own.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Glamor use flag disappeared?

2019-11-08 Thread J. Roeleveld
Hi All,

Xorg-server wants to rebuild because the glamor USE flag seems to have 
disappeared completely.
For some reason it now fails to build because of missing glamor libraries.

Does anyone else have this issue? Or is my tree not syncing correctly?

Many thanks,

Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.