Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-18 Thread Michael Cook

On 2/18/24 01:50, n952162 wrote:

On 2/17/24 23:10, Michael Cook wrote:

On 2/17/24 14:03, n952162 wrote:

On 2/17/24 20:00, n952162 wrote:

On 2/17/24 19:56, n952162 wrote:

On 2/17/24 19:22, n952162 wrote:

On 2/17/24 16:38, Arsen Arsenović wrote:

n952162  writes:


When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems 
normal.

Am I misreading it?

There does seem to be an open bug: https://bugs.gentoo.org/924493

If this one does not match your issue, please file a bug:
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide

Thanks in advance, have a lovely day.



Would that make the package not emerge?   I can't imagine a more 
mature

package ...




The package must have worked once.  Is it possible and practical 
to get an earlier, working version out of git?





I'm currently using the ftp in /net-ftp/ftp-0.17.34.0.2.5.1/ and 
it's broken - it doesn't send the last block.


Other FTPs listed in https://wiki.gentoo.org/wiki/FTP have 
different command syntax, which breaks my expect(1) script.





The inetutils on nixos runs fine.  I wonder why gentoo can't get it 
working ...


I assume you're trying to build inetutils with the ftp use flag set? 
net-ftp/ftp blocks inetutils in that case, you need to remove 
net-ftp/ftp first.




Can you give some more information about that?  E.g. how one package 
can block another one?


I removed net-ftp/ftp (good riddance):

$ equery l net-ftp/ftp
!!! No installed packages matching 'net-ftp/ftp'
 * Searching for ftp in net-ftp ...

But I'm still getting the same problem:

emerge: there are no ebuilds to satisfy "net-misc/inetutils".

emerge: searching for similar names...
emerge: Maybe you meant any of these: net-misc/iputils,
net-misc/tipcutils, net-misc/bridge-utils?


It looks like you're portage tree is out of date ... rather very out of 
date. The package was first added in September of 2023. So you'll have 
to sync up and probably have lots of other updates to handle as well.


Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread Michael Cook

On 2/17/24 14:03, n952162 wrote:

On 2/17/24 20:00, n952162 wrote:

On 2/17/24 19:56, n952162 wrote:

On 2/17/24 19:22, n952162 wrote:

On 2/17/24 16:38, Arsen Arsenović wrote:

n952162  writes:


When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems 
normal.

Am I misreading it?

There does seem to be an open bug: https://bugs.gentoo.org/924493

If this one does not match your issue, please file a bug:
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide

Thanks in advance, have a lovely day.



Would that make the package not emerge?   I can't imagine a more 
mature

package ...




The package must have worked once.  Is it possible and practical to 
get an earlier, working version out of git?





I'm currently using the ftp in /net-ftp/ftp-0.17.34.0.2.5.1/ and it's 
broken - it doesn't send the last block.


Other FTPs listed in https://wiki.gentoo.org/wiki/FTP have different 
command syntax, which breaks my expect(1) script.





The inetutils on nixos runs fine.  I wonder why gentoo can't get it 
working ...


I assume you're trying to build inetutils with the ftp use flag set? 
net-ftp/ftp blocks inetutils in that case, you need to remove 
net-ftp/ftp first.


Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-07 Thread Michael Cook

On 1/7/24 12:35, Michael Cook wrote:

On 1/7/24 12:24, Dr Rainer Woitok wrote:

Greetings,

during my last routine upgrade  package "media-video/vlc" installed new
dependency  "media-libs/libmpg123".   However,  after installation "eix"
did not list the new package, while "eix-installed" did:

    # eix-update --quiet
    # env -i eix | grep -E 'app-portage/eix|media-libs/libmpg123'
    [I] app-portage/eix
    # env -i eix-installed all | grep -E 
'app-portage/eix|media-libs/libmpg123'

    app-portage/eix-0.36.7
    media-libs/libmpg123-1.32.3-r1
    #

Are there any "eix" gurus out there  who can tell me  how to trick "eix"
into listing _all_ packages?

Sincerely,
   Rainer

Well the package in question is called media-sound/mpg123-base, so 
there's that. Also, not sure why you would want to grep the output of 
eix like that. eix -# 'app-portage/eix|media-sound/mpg123-base' will 
give you very similar output, but there are other output options that 
will give other output that might be more desirable for you.


I do have to follow up on this, the package was renamed, you probably 
need to run an update with --changed-deps passed and it will get back 
into a good state. eix isn't finding the package because it doesn't 
exist anymore.





Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-07 Thread Michael Cook

On 1/7/24 12:24, Dr Rainer Woitok wrote:

Greetings,

during my last routine upgrade  package "media-video/vlc"  installed new
dependency  "media-libs/libmpg123".   However,  after installation "eix"
did not list the new package, while "eix-installed" did:

# eix-update --quiet
# env -i eix | grep -E 'app-portage/eix|media-libs/libmpg123'
[I] app-portage/eix
# env -i eix-installed all | grep -E 'app-portage/eix|media-libs/libmpg123'
app-portage/eix-0.36.7
media-libs/libmpg123-1.32.3-r1
#

Are there any "eix" gurus out there  who can tell me  how to trick "eix"
into listing _all_ packages?

Sincerely,
   Rainer

Well the package in question is called media-sound/mpg123-base, so 
there's that. Also, not sure why you would want to grep the output of 
eix like that. eix -# 'app-portage/eix|media-sound/mpg123-base' will 
give you very similar output, but there are other output options that 
will give other output that might be more desirable for you.





Re: [gentoo-user] udev rule for periodic polling of USB gamepad?

2024-01-03 Thread Michael Cook

On 1/3/24 12:33, Nikos Chantziaras wrote:
Is it possible to have a USB controller (8BitDo Pro 2) polled every 
second or so with a udev rule? Or through some other mechanism?


This controller has a quirk where it disconnects every 4 seconds or so 
and rubmbles when it does so. It also changes device number when this 
happens. It does this because it tries to auto-detects the kind of 
system it has been plugged into (like an XBox, Android, a Nintendo 
Switch, whatever.)


Support for this controller was added in kernel 6.3 or so, but the 
support is extremely half-assed because it doesn't deal with this 
specific quirk. Currently on 6.6.9 here but this was never fixed.



I do not have this issue. I have the switch on the back of the 
controller set to the X position and just connect over bluethooth 
without any issues.



https://codeberg.org/fabiscafe/game-devices-udev I do have these udev 
rules installed, unsure if they fix the issue you're talking about.





Re: [gentoo-user] Re: world updates blocked by Qt

2023-10-12 Thread Michael Cook

On 10/12/23 06:56, Alan McKinnon wrote:
On Thu, Oct 12, 2023 at 12:19 PM Nikos Chantziaras  
wrote:


On 11/10/2023 21:14, Alan McKinnon wrote:
> On Wed, Oct 11, 2023 at 4:49 PM Michael Cook  <mailto:mackal.c...@gmail.com>> wrote:
>     I just --backtrack=100 and walked away, seemed to have figured
>     something out for my system and updated normally.
>
> This is the one that solved it. Been away too long, forgot all
about
> backtrack

I've had this in my make.conf for many years now:

   EMERGE_DEFAULT_OPTS="--backtrack=200"

Never hit the issue you described (KDE desktop, thus Qt is always
a dep.)


Added similar here now. I see the default is 10, obviously that is not 
enough when a big Qt drop hits.


I have something like 30 Qt-5 packages! When did it get so big? I 
recall building Qt4 and it was about 6 or so.

Perhaps the devs split it up into many smaller packages.

Alan

--
Alan McKinnon
alan dot mckinnon at gmail dot com


I built this computer in 2018, been using KDE for my desktop and it's 
always been on ~amd64. I've had to increase backtrack like twice to 
resolve some Qt upgrades, not worth upping the default, would not save time.


Re: [gentoo-user] world updates blocked by Qt

2023-10-11 Thread Michael Cook

On 10/11/23 09:43, Alan McKinnon wrote:

Hi all,

Today a sync and emerge world produces a huge list of blockers.
qt 5.15.10 is currently installed and qt 5.15.11 is new in the tree 
and being blocked.

All the visible blockers are Qt itself so --verbose-conflicts is needed.

That will be an exceptionally long list and today I feel really lazy 
and unwilling :-D

Has anyone seen what the actual blockers are?
I spotted okular, I suspect there are more.


--
Alan McKinnon
alan dot mckinnon at gmail dot com


I just --backtrack=100 and walked away, seemed to have figured something 
out for my system and updated normally.


Re: [gentoo-user] Portage load control

2023-05-12 Thread Michael Cook

On 5/12/23 09:46, Peter Humphrey wrote:

On Friday, 12 May 2023 00:08:03 BST Mark Knecht wrote:

On Thu, May 11, 2023 at 3:07 PM Peter Humphrey 

wrote:

On Thursday, 11 May 2023 17:18:17 BST Mark Knecht wrote:




The ''problem' is this can easily hit 100% of the cores you have in the
machine if not sensibly set. (You choose what's 'sensible')

Once again, --load-average is being ignored. Why is it there? Surely, it
must be to mitigate the worst effects of that N*K, but it isn't doing so.

 From your description, yeah, it's weird, but possibly it's managing it over
(for instance) over much longer time frames or something like that.

Or possibly it just doesn't work.

That's it, I'm sure.


Or possibly whoever wrote the man page misunderstood.

Load-average has been around for a long time.


Poking around a bit this morning I took the path at the bottom of the
link I gave you to the Portage niceness page. It says scheduling policy
control started with portage-3.0.35 which on paper sounds sort of recent.
Possibly a bug crept in, but I was curious as to what you have for
PORTAGE_SCHEDULING_POLICY, if any, and whether you need to enable some
sort of scheduling to get this under control?

https://wiki.gentoo.org/wiki/Portage_niceness

I have no PORTAGE_SCHEDULING_POLICY, or not that I can find. It seems to me
that such a policy is to do with the running of portage in the OS, rather than
how it launches its own emerge jobs. Is that right?


Anyway, I feel for ya.

:)

You can read /usr/share/portage/config/make.conf.example for an 
explanation. All children processes will use that. I can run portage and 
play games on the same system with my settings.





Re: [gentoo-user] Portage load control

2023-05-11 Thread Michael Cook

On 5/11/23 23:23, Eldon wrote:

On Thu, May 11, 2023 at 11:07:04PM +0100, Peter Humphrey wrote:

Once again, --load-average is being ignored. Why is it there? Surely, it must
be to mitigate the worst effects of that N*K, but it isn't doing so.


Take all of the following with a grain of salt and YMMV. Any gentoo
pro's please correct my ideas here:

I have also been experimenting along the lines of making emerge nicer
via a few quick strategies, and while it doesn't address your issue
directly, I'll tell you some of the things that have made it more
enjoyable to use a machine while it is building packages:

1) Niceness: I set the following in my make.conf, since I value
responsiveness of the machine over the speed of the build:
```
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
PORTAGE_NICENESS=19
```

2) Load average: I will trade some build time for responsiveness, so I
go ahead and use `taskset 2-100 emerge ...` on linux to prevent emerge
from using the first two cores/threads. I don't have a machine with a hundred
cores, but if I did, it would make a little heat

3) I set --load-average on the command line and in the make opts. No need
to run too wild. I make sure this is less than the number of cores I
allocated with taskset, or I think I may not hit the designated load
average for limiting.

4) ONLY if I have the RAM, mount /var/tmp or /var/tmp/portage as a
tmpfs. If I am merging very large projects (firefox and llvm for
example) concurrently, I may need more than several 10's of GB of RAM
for this. If I don't usually run the machine with substantial swap space
enabled, this might be a good time.

I think with those strategies, it is ok to just run emerge with `-j`
with no arguments. The cores prohibited from participating in emerge
will be available for interactive tasks, and the load average will limit
to some degree the number of processes.
  
If you give this a try, let me know what you think!


Eldon

Don't set PORTAGE_IONICE_COMMAND or PORTAGE_NICENESS. I just set 
PORTAGE_SCHEDULING_POLICY="idle". My MAKEOPTS are "-j12 -l12" and I have 
"--jobs=12" in EMERGE_DEFAULT_OPTS (6c12t CPU). Anything that uses rust 
(cargo seems to not support load so runs into problems, but setting 
scheduling policy should help) or webkit you might want to lower 
MAKEOPTS jobs via env overrides.





Re: [gentoo-user] Is it OK to get rid of app-alternatives/* ?

2023-02-14 Thread Michael Cook

On 2/14/23 20:47, Walter Dnes wrote:

   A whole bunch of busy-work for emerge, and nothing in the news item
indicates it's really necessary for the average user.  Howsabout...

* manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
* and then include "app-alternatives" in the file pointed to by
   PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from="

   Am I missing something obvious that would cause problems?

You're missing a lot of manual busy work you would have to do 
maintaining a package.provided since packages depend on stuff in that 
category.





Re: [gentoo-user] Libsld, what gives?

2022-11-16 Thread Michael Cook

On 11/16/22 19:18, Laurence Perkins wrote:



tortoise ~ # eclean-dist
  * Building file list for distfiles cleaning...
  * ERROR: games-strategy/boswars-::poly-c failed (depend phase):
  *   EAPI 6 unsupported.

Possibly also need to upgrade portage and/or gentoolkit first.  That's usually 
a good idea regardless.


Hmm, poly-c is looking like it's a common factor here.



Overlays can go stale, even if they were previously necessary to fix something. 
 For long-term use pulling just the ebuilds you need into your own overlay 
often works out better.

LMP


Personally I just mask the overlay and unmask what I need. If something 
breaks, I look into fixing it. Upgrading rather frequently seems to 
limit this, just maintain the system. Waiting months and then having to 
deal with tons of changes and an overlay going dead (I don't think 
poly-c exists anymore?) is way worse.





Re: [gentoo-user] Missing keyword. Overlay question too, maybe.

2022-02-19 Thread Michael Cook

On 2/19/22 10:54, Dale wrote:

Howdy,

I'm just going to point to the gentoo page for this but I'd like to know
why something is in the tree if it is not available to anyone due to
missing keywords.

https://packages.gentoo.org/packages/app-office/libreoffice

Also, I noticed I have packages coming in from overlays or something I
don't have installed/enabled here, if they are overlays.  This is one
recent example.


root@fireball / # equery list -po firefox
  * Searching for firefox ...
[-P-] [  ] www-client/firefox-91.6.0:esr
[IP-] [  ] www-client/firefox-97.0.1:rapid
root@fireball / #


Part of me thinks that is a overlay however, no such overlay exists.  Is
this a new way for devs to set slots for packages?  I've seen overlay
names there before but never noticed this.  I've also seen slot version
numbers before but not this.  Anyone else notice this and have more info
on it?

Thanks much.

Dale

:-)  :-)



I don't think those versions of libreoffice are ready for testing basically.

Those are slots. `equery list -po` will show an O in the first [] set if 
it's in an overlay.




Re: [gentoo-user] why libera?

2021-05-28 Thread Michael Cook

On 5/28/21 2:44 PM, caveman رَجُلُ الْكَهْفِ 穴居人 wrote:

hi.  i personally think gentoo should've gone to
OFTC instead of libera, because:

- OFTC is the true libera, thanks to its better
   tor support, which is not surprising as it is
   the home of the tor project.

- OFTC has more users at the moment, and is
   specifically designed for FOSS projects.

- OFTC is older than libera, with less problems to
   solve.

despite libera being called after liberty in latin,
its tor support is hypocritical, as it requires
registering SASL over an un-tor-ed connection,
hence revealing your IP address, which defeats the
whole point of tor (hiding your IP address).
OFTC, on the other hand, is the home of the tor
project, and has best tor support.  so, in a
sense, OFTC is the true libera.

the only reason that i can think of that would
explain why a group of people would create libera,
is because their /hobby/ is to maintain IRC
servers.

i'm not for freenode either.  the latest move was
unacceptable, and it's good that people started
leaving freenode, to show the new owners that
while they can purchase a bunch of servers and
domain names, they cannot purchase people.

so i like that this freenode drama happened.  but
i dislike that we solved it by creating libera.  i
think we should've solved it by going the simpler
solution:  go to what already exists, and already
has more liberty (more tor friendliness): OFTC.

but, what happened is that we -instead- went to
the freenode copy-cat, with the same hypocritical
tor support, aka libera, which is as far away from
liberty as freenode was away from free.

while this subject is still warm and in the
making, i recommend gentoo to change its opinion
ans switch to the OFTC.

rgrds,
cm.


Tor simply introduce too much chance of abuse. If people didn't abuse 
it, it wouldn't be blocked.




Re: [gentoo-user] askterisk 11.25.3-r1 masked

2020-12-06 Thread Michael Cook

On 12/6/20 4:23 PM, the...@sys-concept.com wrote:

I'm looking at the output of "equery y asterisk"
and it shows asterisk-11.25.3-r1 is masked
and https://packages.gentoo.org/packages/net-misc/asterisk show as
stable  (amd64)

Why is it masked on my system?



It's EOL



Re: [gentoo-user] Re: Determine what's keeping Python 3.7 around?

2020-12-06 Thread Michael Cook

On 12/6/20 3:25 PM, Grant Edwards wrote:

On 2020-12-06, Neil Bothwick  wrote:

On Sun, 6 Dec 2020 20:01:27 - (UTC), Grant Edwards wrote:


I updated one of my systems a day or two ago, and Python 3.7 went away
as expected. Today, I'm updating another system and it is rebuilding
tons of stuff to target python 3.8 instead of 3.7, but it's keeping
3.7 and even wants to install a _new_ package -- and build it for
Python 3.7:


emerge -cpv python:3.7 will show you what is keeping 3.7


Something's wrong.

That lists 43 packages. I checked the first few, and none of them require 
python 3.7.



emerge -uDN @world --with-bdeps=y --changed-deps=y --keep-going

Run that as well, then run emerge -cpv python:3.7

Check if you have any useflags keeping it around. For me it was mycli 
and doomsday (at least ones that still would be keeping it around, I 
think there was another package that has since been updated to have 
support for 3.8)




Re: [gentoo-user] Gentoo's Python policy drives me crazy

2019-12-16 Thread Michael Cook

On 12/16/19 2:00 PM, Helmut Jarausch wrote:

Today's updating involves some package which causes rebuilding
a package which needs Python2.7 and another one which needs 
python_single_target_python3_8

required by that mysterious @__auto_slot_operator_replace_installed__

To emerge the Python2.7 package (Scribus) I do need to set
PYTHON_SINGLE_TARGET="python2_7"
in /etc/portage/make.conf
which makes the whole update fail since the other packages needs
PYTHON_SINGLE_TARGET="python3_8"

So, what can I brave Gentoo user do?

Hopefully something better than trying to find which new package 
triggers which rebuild.


PYTHON_SINGLE_TARGET for most set ups should default to python3_6 and 
PYTHON_TARGETS should be python2_7 and python3_6. scribus should be fine 
with the defaults, but if you really wanna deviate from default 
profiles, you'll probably have to set python_single_target_python2_7 
manually for that package until it supports newer pythons. (currently it 
seems to support up to 3.7, it might support 3.8 as well, just hasn't 
updated, haven't looked into that detail)




Re: [gentoo-user] kodi reports symbol lookup error

2019-12-11 Thread Michael Cook

On 12/11/19 11:39 PM, Adam Carter wrote:

Kodi has been dead for a while;
/usr/lib64/kodi/kodi-x11: symbol lookup error: /usr/lib64/kodi/kodi-x11: 
undefined symbol: 
_ZN3fmt2v68internal14sprintf_formatIeEEPcT_RNS1_6bufferIcEENS1_13sprintf_specsE


How do i go about troubleshooting this?


If you're not on the live ebuild, you'll probably have to mask 
>libfmt-6.1.0. I noticed I had build issues with the live ebuild and 
just masked it assuming it would eventually be fixed (which it appears 
to be now)


I never got around to testing if older version worked or not, so didn't 
report that it needs to be masked for them.




Re: [gentoo-user] [Sort of OT] Going old school - Doom

2019-11-23 Thread Michael Cook

On 11/24/19 2:08 AM, Andrew Lowe wrote:

Dear all,
 Does anyone have any suggestions as to the current "best" port of 
old school Doom? Spent ages playing this in the dim dark days and 
wouldn't mind doing a quick install and having a go again.


 Andrew


https://doomwiki.org/wiki/Comparison_of_source_ports

Personally, I've used games-fps/prboom-plus, which is in the tree. 
games-fps/doomsday is very much not vanilla, but is also in the tree 
(and has a GUI and stuff) I've had friends that used Chocolate Doom, but 
I don't think that's in the tree.




Re: [gentoo-user] KDE plasma upgrade heads up for possible problem

2019-03-05 Thread Michael Cook

On 3/5/19 8:34 PM, Philip Webb wrote:

190305 Michael Cook wrote:

On 3/5/19 7:47 PM, Dale wrote:

I just did a KDE plasma upgrade to 5.15.  I ran into a slight problem
that may or may not affect others so I wanted to give a heads up

-- snip --

Doing a revdep-rebuild.sh found the issue for me.
Note the newer version of this script without .sh did not find the issue.


So what was the actual problem & how did you solve it ??
Don't just leave us in suspense (sigh).



/usr/lib64/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so 
(symbol 
_ZN3QV46Object12insertMemberEPNS_6StringEPKNS_8PropertyENS_18PropertyAttributesE 
version Qt_5_PRIVATE_API not defined in file libQt5Qml.so.5 with link 
time reference)



dev-qt/qtxmlpatterns was also updated, must have built/linked against 
old libs due to using --jobs




Re: [gentoo-user] KDE plasma upgrade heads up for possible problem

2019-03-05 Thread Michael Cook

On 3/5/19 7:47 PM, Dale wrote:

Howdy,

I just did a KDE plasma upgrade to 5.15.  I ran into a slight problem
that may or may not affect others so I wanted to give a heads up just in
case.  Everything builds fine.  I had no compile or install failures.
What I did run into tho was a missing or more likely crashed
kicker/panel/thingy that is at the bottom of my screen.  It's the thing
that has the clock, desktop switcher, clip board and the K menu as
well.  I never can remember what they call that this week.  Anyway, when
I logged in, it came up for just a second or two and then disappeared.
Obviously, you can't switch desktops in the normal way but if you use
the ctrl and functions keys, it doesn't act or look like it normally
should since there doesn't appear to be any background at all.  Example,
I have Kpatience on desktop 6.  If I switch to it with the ctrl function
keys, I can play the game normally.  However, if I switch to what at
startup is a empty desktop, #5 for example, the game still shows but
doesn't work.  If I switch back to desktop 6, it works as it should
again.  Whatever it is, it doesn't redraw the screen when you switch if
you don't have something already running there.  Other programs behaved
in a similar way.  It makes it look like all desktops are on one desktop
yet switching still works.  It's plenty weird.  Also, there is no K menu
so you can't start any programs that doesn't open from a saved session
on login.  Trust me, if you run into this, you won't miss it.  Even if
you don't notice the panel thingy at the bottom missing, you will notice
the rest.  It gets in your face and yells loudly that something ain't
right.  lol

What little bit of error I found mentioned something about a missing
input.  To be honest tho, I'm not sure it was related to what I saw
happening.  None of the errors looked like a complete failure but more
as a informational type message.  Sort of like video drivers that have
the "--" or "II".  They show something didn't work as expected but it
found a way around it or works without it.

I don't have enough info to file a bug.  The way I fixed it, I did a
emerge -e world.  It might be that a emerge -ek would fix it but to be
sure, I let it recompile everything.  It didn't quite finish when I
tried to login and it worked normally.  If I had a clue what package it
was that was causing this, I'd certainly file a bug but it could be any
number of packages.  I suspect it is a dependency myself.  Something
needed to be rebuilt but wasn't for some reason.

I hope no one runs into this but if you do, make sure you at least have
a back up GUI installed, even if it doesn't give you anything but the
basics, at least you have a GUI.  You may also want to make sure you
have time to deal with this just in case you do run into this problem.
Having something so you can go back to 5.14 easily may work as well.

Best of luck to all.  I hope no one else hits this.  It was plenty weird.

Dale

:-)  :-)


Doing a revdep-rebuild.sh found the issue for me. (Note the newer 
version of this script without .sh did not find the issue)




Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?

2016-07-11 Thread Michael Cook

On 07/11/2016 04:27 PM, waltd...@waltdnes.org wrote:

  I put it into CFLAGS/CCFLAGS years ago, and left it there.  During a
discussion on the Pale Moon forum about build options, the opinion seems
to be that "-fomit-frame-pointer" is now the default.  Is that correct?
I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale Moon
build process.


It depends on the CPU. Most modern (x86 at least) stuff most likely are.



Re: [gentoo-user] CoreOS vulnerability inherited from Gentoo?

2016-05-31 Thread Michael Cook

On 05/31/2016 01:44 PM, Mick wrote:

On Tuesday 31 May 2016 16:30:27 James wrote:

 Here is an interesting read::

Security brief: CoreOS Linux Alpha remote SSH issue
May 19, 2016 · By Matthew Garrett



Gentoo defaults to ending the PAM configuration with an optional pam_permit.

This meant that failing both pam_unix and pam_sss on CoreOS systems would
surprisingly result in authentication succeeding, and access being granted.

The operator user was not used by CoreOS, but existed because it exists in
the Gentoo Portage system from which CoreOS is derived.


Full read [1]. It kinda shows that CoreOS is derived from Gentoo
and not ChromeOS; at least when time to blame a security lapse elsewhere


enjoy,
James

[1] https://coreos.com/blog/


Does this mean we need to do anything to improve the security of our systems?

I tried logging in as operator with any password, it did not work for 
me. Unsure if that's because of my SSH set up or not though. The blog 
post does however mention reverting their SSSD change did fix the issue, 
so I assume if you set up SSSD the same way they did you would have 
issues. With that being said, maybe it would be a good idea for the 
gentoo pam team to set up pambase to support SSSD and not cause issues. 
(Currently if you want to set up SSSD you are left to do it manually)




Re: [gentoo-user] preserved-rebuild python endless loop

2015-03-23 Thread Michael Cook
Have you tried running python-updater? I have no idea if it would fix it,
but worth a try?
On Mar 23, 2015 17:38, Dale rdalek1...@gmail.com wrote:

Howdy,

For the past week or so, I been getting this endless loop with
preserved-rebuild.  I did a emerge -ev world last night and it still
gives me the same thing.  I'm stumped with the info emerge is giving me
again.

root@fireball / # emerge @preserved-rebuild

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] dev-lang/python-3.3.5-r1:3.3::gentoo  USE=gdbm ipv6
ncurses readline sqlite ssl threads tk xml -build -doc -examples
-hardened -wininst 0 KiB
[ebuild   R] dev-lang/python-2.7.9-r1:2.7::gentoo  USE=gdbm ipv6
ncurses readline sqlite ssl threads tk (wide-unicode) xml -berkdb -build
-doc -examples -hardened -wininst 0 KiB
[ebuild   R] dev-lang/python-3.4.1:3.4::gentoo  USE=gdbm ipv6
ncurses readline sqlite ssl threads tk xml -build -examples -hardened
-wininst 0 KiB

Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB

 Verifying ebuild manifests
 Emerging (1 of 3) dev-lang/python-3.3.5-r1::gentoo
 Emerging (2 of 3) dev-lang/python-2.7.9-r1::gentoo
 Emerging (3 of 3) dev-lang/python-3.4.1::gentoo
 Installing (2 of 3) dev-lang/python-2.7.9-r1::gentoo
 Installing (1 of 3) dev-lang/python-3.3.5-r1::gentoo
 Installing (3 of 3) dev-lang/python-3.4.1::gentoo
 Jobs: 3 of 3 complete   Load avg: 3.99,
2.91, 1.47
 Auto-cleaning packages...

 No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
 package: dev-lang/tk-8.5.17
 *  - /usr/lib64/libtk8.6.so
 *  used by /usr/lib64/python2.7/lib-dynload/_tkinter.so
(dev-lang/python-2.7.9-r1)
 *  used by /usr/lib64/python3.3/lib-dynload/_tkinter.cpython-33.so
(dev-lang/python-3.3.5-r1)
 *  used by /usr/lib64/python3.4/lib-dynload/_tkinter.cpython-34.so
(dev-lang/python-3.4.1)
 package: dev-lang/tcl-8.5.17
 *  - /usr/lib64/libtcl8.6.so
 *  used by /usr/lib64/python2.7/lib-dynload/_tkinter.so
(dev-lang/python-2.7.9-r1)
 *  used by /usr/lib64/python3.3/lib-dynload/_tkinter.cpython-33.so
(dev-lang/python-3.3.5-r1)
 *  used by /usr/lib64/python3.4/lib-dynload/_tkinter.cpython-34.so
(dev-lang/python-3.4.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries

 * IMPORTANT: config file '/etc/bash/bashrc' needs updating.

 * IMPORTANT: config file '/usr/share/config/kdm/kdmrc' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
root@fireball / #


I've also rebuilt tcl and tk before doing a emerge -ev world.  Where is
my hammer?

Thanks.

Dale

:-)  :-)


Re: [gentoo-user] gcc-4.9.x and stack protection ?

2015-01-19 Thread Michael Cook

On 01/19/2015 06:09 PM, walt wrote:

gcc-4.9.2 surprised me by landing on ~amd64 today, and I'm still very vague
about the status of stack protection on gentoo.

I seem to recall reading (somewhere) that gcc-4.9.x is needed for compiling
the kernel with CONFIG_CC_STACK_PROTECTOR_STRONG so I've never tried it until
today.

Is my recollection accurate?  Does gcc-4.9.x include more/different support
than gcc-4.8.x for stack protection?

Anyway, so far, so good.  I recompiled and rebooted kernel 3.14.29 with strong
stack protection enabled and all seems good. (Uptime is 20 minutes and counting 
;)



Yep, they added another stack protector option. Basically it offers 
better security than compiling with -fstack-protector and less overkill 
than compiling with -fstack-protector-all.


Read more http://lwn.net/Articles/584225/ (it is GCC 4.9+)



Re: [gentoo-user] Making DVD high resolution

2014-12-18 Thread Michael Cook

On 12/18/2014 01:31 PM, Joseph wrote:

On 12/18/14 19:10, J.  Roeleveld wrote:

On 18 December 2014 18:50:09 CET, Joseph syscon...@gmail.com wrote:

I've used Imagination to make VOB and set in preferences resolution
1920 x 1080 HD
made VOB.  How do I check the VOB frame size settings?

When I tried to made HD video using DVD Styler the max frame rate I can
set to make DVD ISO is 720x480.
How to make DVD with higher resolution?


You can't.

The DVD spec doesn't support HD video.


So what format do I have to burn the disk in, in order to have lets say
1920 x 1080 HD

Bluray. But I think it would be rather worthless. If you're burning to a 
disc, I assume you're not using a computer, which means you probably 
trying to play it on a TV in which case I would say just use a Bluray 
player that upscales DVDs (most do)


So just burn the DVD as normal (don't bother upscaling) and play it on a 
Bluray player.




Re: [gentoo-user] About the time sync with Windows and Gentoo

2014-07-08 Thread Michael Cook

On 07/08/2014 03:04 AM, J. Roeleveld wrote:

On Tuesday, July 08, 2014 02:45:41 PM taozhijiang wrote:

Hi, all
I have installed dual OSes on my laptop: Microsoft Windows 7 and Gentoo.
But I can not sync the time with the different OSes.
By default, Windows  shows the right time, but Gentoo failed, how to setup
the system to fix the problem described above.

I am in the Zone UTC+8, China/Beijing.


Please check the hwclock configuration:
**
# cat /etc/conf.d/hwclock
# Set CLOCK to UTC if your Hardware Clock is set to UTC (also known as
# Greenwich Mean Time).  If that clock is set to the local time, then
# set CLOCK to local.  Note that if you dual boot with Windows, then
# you should set it to local.
clock=UTC
**

In other words:
Set the BIOS clock to the local time.
Set the following in the /etc/conf.d/hwclock file:
clock=local

Also, ensure that MS Windows does the clock-changes between summer and winter
time (if that exists where you live).

--
Joost


It's actually recommended for dual booting with Windows Vista+ to set 
Windows to UTC rather than setting Linux to local (Windows XP and 
earlier apparently don't play nicely/can't be set to UTC)


This should tell you how: 
https://wiki.archlinux.org/index.php/time#UTC_in_Windows




Re: [gentoo-user] how to wake up gdm

2014-06-29 Thread Michael Cook

On 06/29/2014 03:20 PM, cov...@ccs.covici.com wrote:

Tom Wijsman tom...@gentoo.org wrote:


On Tue, 24 Jun 2014 22:36:14 +0300
Gevisz gev...@gmail.com wrote:


Are you sure that you need gdm at all?


Yes, `startx` doesn't work well in GNOME 3 for a lot of people; so,
unless one attempts to cover what the login manager sets up, I don't
think that a plain call with a plain `exec gnome-session` will work.

It for example needs the *-launch things between exec and gnome-session.


So, What can I do aside from restarting gdm after it goes to sleep or
whatever its doing after a few minutes?  Also, I did try startx and I
did get a session and it seems to work, although I have not tested
extensively.


What are your settings under the Power settings in the settings app? I 
have Blank screen: 5 minutes and Automatic suspend: Off (there are no 
other settings under Suspend  Power Off)




Re: [gentoo-user] how to wake up gdm

2014-06-24 Thread Michael Cook

On 06/24/2014 11:51 AM, cov...@ccs.covici.com wrote:

Hi.  If I don't log in to gdm after a few minutes gdm enters a mode
where no keystroke seems to wake it up -- I did manage to move the mouse
and wake it up, but is there a way to disable the feature (maybe its a
screen saver or something), so it does not go to sleep?

Thanks in advance for any suggestions.

Something must be going wrong. Basically it's entering powersave mode 
instead of activating a screen saver like older gnome would. Maybe it's 
entering suspend/hibernate instead of just putting the display to sleep?


Either way, shaking my mouse or pressing a key wakes GDM up fine here.



Re: [gentoo-user] trying to turn numlock automatically in my ttys under systemd

2014-06-20 Thread Michael Cook

On 06/20/2014 03:46 PM, cov...@ccs.covici.com wrote:

Jc García jyo.gar...@gmail.com wrote:


2014-06-20 11:26 GMT-06:00  cov...@ccs.covici.com:


I tried your idea of a shell script like this
[Service]
ExecStartPost=/bin/bash -c setleds -D -num /dev/%I

I tried your line on my system, and rebooted, and didn't see any problem.

I have:

/etc/systemd/system/getty\@.service.d/numlock.conf:
[Service]
#ExecStartPost=-/bin/sh -c '/usr/bin/setleds -D -num /dev/%I'
ExecStartPost=/bin/bash -c /usr/bin/setleds -D -num /dev/%I


After reboot I logged in using tty1, here's the output of

systemctl status -l getty@tty1.service:
-
● getty@tty1.service - Getty on tty1
Loaded: loaded
(/etc/systemd/system/getty.target.wants/../../../../usr/lib/systemd/system/getty@.service;
enabled)
   Drop-In: /etc/systemd/system/getty@.service.d
└─numlock.conf
Active: active (running) since vie 2014-06-20 12:04:47 CST; 19min ago
  Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html

-This line:
   Process: 625 ExecStartPost=/bin/bash -c /usr/bin/setleds -D -num
/dev/%I (code=exited, status=0/SUCCESS)


  Main PID: 624 (login)
CGroup: /system.slice/system-getty.slice/getty@tty1.service
‣ 624 /bin/login --

jun 20 12:05:17 jdesk login[624]: pam_unix(login:session): session
opened for user jc by LOGIN(uid=0)
-


But it did not work, it kept restarting and systemd eventually refused
to start.  When I commented out the line, it started OK.



Post the actual output you get from systemd when is trying to start a
getty@ service, to see what's going on in your machine.

OK, here is what I get when I enable the ExecStartPost line:


bash[28875]: KDGKBLED: Inappropriate ioctl for device
bash[28875]: Error reading current flags setting. Maybe you are not on
the console?
bash[28879]: KDGKBLED: Inappropriate ioctl for device
bash[28879]: Error reading current flags setting. Maybe you are not on
the console?
bash[28883]: KDGKBLED: Inappropriate ioctl for device
bash[28883]: Error reading current flags setting. Maybe you are not on
the console?
bash[28887]: KDGKBLED: Inappropriate ioctl for device
bash[28887]: Error reading current flags setting. Maybe you are not on
the console?


% cat /etc/systemd/system/getty@.service.d/activate-numlock.conf
[Service]
ExecStartPre=/bin/sh -c 'setleds +num  /dev/%I'


That works here to turn numlock on (source ArchLinux wiki)



Re: [gentoo-user] Systemd upower

2014-06-03 Thread Michael Cook

On 06/03/2014 09:48 PM, Dutch Ingraham wrote:

On 06/03/2014 09:08 PM, Canek Peláez Valdés wrote:

On Tue, Jun 3, 2014 at 7:58 PM, Dutch Ingraham s...@gmx.us wrote:

On 06/03/2014 07:24 PM, Jim Burwell wrote:


FWIW, on my system, I had to mask sys-apps/gentoo-systemd-integration
for it to merge the udev update w/o trying to pull in systemd, et al.  i
didn't deep dive on what was trying to pull that in, but masking it
(plus a ton of other stuff I have masked) prevented portage from trying
to build a systemd based system.






OK - I have followed the advice given in eselect news read; I have
also followed the advice on this and the related thread today and
uninstalled sys-power/upower and installed
sys-power/upower-pm-utils.  That didn't work.  Then, given the above,
I have masked (first) sys-apps/gentoo-systemd-integration and when
that had no effect, masked sys-apps/systemd.

I am still hard-blocked out of updating:

Calculating dependencies... done!
[ebuild  N ] sys-libs/libseccomp-2.1.1  USE=-static-libs 111 kB
[ebuild  r  U  ] app-text/qpdf-5.1.1:0/13 [4.1.0:0/10] USE=-doc
-examples -static-libs {-test} 7,484 kB
[ebuild   R] dev-libs/glib-2.38.2-r1:2  USE=mime%* -debug (-fam)
(-selinux) -static-libs -systemtap {-test} -utils -xattr ABI_X86=(64)
(-32) (-x32) PYTHON_TARGETS=python2_7 (-python2_6) 0 kB
[ebuild   R   ~] x11-libs/libmatewnck-1.6.1:1::mate-overlay
[1.6.1:0::gentoo] USE=introspection startup-notification (-X%*) 0 kB
[ebuild  rR] net-print/cups-filters-1.0.53  USE=dbus foomatic jpeg
-perl -png -static-libs -tiff -zeroconf 0 kB
[ebuild U  ] net-print/foomatic-db-4.0.20140105 [4.0.20120831] 37,935 kB
[ebuild  N#] sys-apps/systemd-212-r5:0/2  USE=acl filecaps
firmware-loader kmod pam policykit seccomp -audit -cryptsetup -doc
-gcrypt -gudev -http -introspection (-kdbus) -lzma -python -qrcode
(-selinux) (-ssl) {-test} -vanilla -xattr ABI_X86=(64) (-32) (-x32)
PYTHON_SINGLE_TARGET=python2_7 -python3_2 -python3_3
PYTHON_TARGETS=python2_7 python3_3 -python3_2 0 kB
[ebuild  N#] sys-apps/gentoo-systemd-integration-4  52 kB
[ebuild  N ] virtual/libudev-208:0/1  USE=-static-libs
ABI_X86=(64) (-32) (-x32) 0 kB
[ebuild U  ] virtual/udev-208-r2 [208-r1] USE=gudev -introspection
-static-libs (-kmod%*) (-selinux%) ABI_X86=(64) (-32) (-x32) 0 kB
[ebuild  N ] sys-power/upower-0.9.23-r3  USE=introspection -doc
-ios 0 kB
[uninstall ] sys-power/upower-pm-utils-0.9.23  USE=introspection
-doc -ios
[blocks b  ] sys-power/upower (sys-power/upower is blocking
sys-power/upower-pm-utils-0.9.23)
[blocks B  ] sys-apps/systemd (sys-apps/systemd is blocking
sys-fs/udev-212-r1)
[blocks B  ] sys-apps/gentoo-systemd-integration
(sys-apps/gentoo-systemd-integration is blocking sys-fs/udev-212-r1)
[blocks B  ] sys-fs/udev (sys-fs/udev is blocking
sys-apps/systemd-212-r5, sys-apps/gentoo-systemd-integration-4)

Total: 11 packages (3 upgrades, 5 new, 3 reinstalls, 1 uninstall), Size
of downloads: 45,580 kB
Conflict: 4 blocks (3 unsatisfied)


I'm not sure what else to mask/uninstall/reinstall at this point.  Any
suggestions?


Something is pulling upower. You need to find out what; supposedly
everything in the tree already should handle upower-pm-utils as a
upower replacement.

Perhaps try to sync again?

Regards.


Thanks, Canek.

I did re-sync, with the same results.  I also ran a equery depends
upower with the following result:

dutch@gentoo ~ $ sudo equery depends upower
  * These packages depend on upower:
mate-base/mate-applets-1.6.2-r1 (=sys-power/upower-0.9.4)
 (sys-power/upower-0.99)
mate-base/mate-session-manager-1.6.1-r1 (=sys-power/upower-0.9.0)
mate-extra/mate-power-manager-1.6.3 (=sys-power/upower-0.9.1)
xfce-base/xfce4-session-4.10.1-r1 (udev ? sys-power/upower-0.99)
xfce-extra/xfce4-power-manager-1.2.0-r2 (sys-power/upower-0.99)
dutch@gentoo ~ $

But as you said, upower-pm-utils should be handling these
dependencies.  Is anyone else having these problems with MATE or XFCE?


Do you have newer sys-fs/udev masked by chance? What version do you have 
installed? I noticed the MATE stuff is in an overlay, so it might take a 
bit longer for them to make things right.




Re: [gentoo-user] Re: Anybody using lightdm?

2012-02-18 Thread Michael Cook
On 02/18/2012 05:15 PM, Grant wrote:
 Has anyone set up lightdm?  I'm using it with the default config
 file but I get a black screen with no error in Xorg.0.log.  gdm
 works fine. Any ideas?
 
 - Grant
 
 I switched to SLiM and I like it but I wish there were a way to 
 restart and/or shutdown from the login screen.  I had to emerge
 xterm to make it work BTW.
 
 - Grant
 
 
You can type reboot or shutdown for the user then the root password
and it will do as you requested.



Re: [gentoo-user] grub vs grub2

2012-02-14 Thread Michael Cook
You can't edit /etc/default/grub to customize how grub-mkconfig generates
grub.cfg. Mint probably has update-grub like Ubuntu does which just allows
you to use that command instead of grub2-mkconfig -o /boot/grub/grub.cfg
On Feb 14, 2012 2:55 PM, LK linuxrocksrul...@googlemail.com wrote:


 On 120214, at 20:29, Andrea Conti wrote:
  PS: If you know how to get rid of any background image, could you
  say how?
  Remove or comment out any splashimage directives from the config file.
 I meant in GRUB2. I have another box with linux mint using GRUB2, and
 splash backgrounds in GRUB / lowlevel menus or anywhere (branding)
 reminds me of commercialism like Apple putting their logo onto every
 product. (They are good, tho, the apple logo is stylish. Now imagine the
 iPhone would have a rectangle-like icon with bad proportions)

  Re grub2: as long as grub0 works, I really don't care if grub2 is
  better, cleaner, shinier, more modern or anything else.
 
  I don't need a freakin' whole OS to boot linux, and having a
  configuration that is so convoluted that it *has to* be generated by
  running a set of scripts makes no sense at all. I thought the days of m4
  and sendmail.cf were over a long time ago...
 
  I am sure grub2 can be made to work, but for a piece of software as
  vital as a boot loader, that level of complexity in my opinion is
  totally unreasonable and impossible to justify.

 I agree to you in a big part. Thanks.

 Big companies like Microsoft or Apple are doing a thing i simply call
 Similarisation of features for new/unknowledged users, which always
 goes in the reverse direction on long-term. Sample situation: Microsoft
 Repair CD: You can select to partition your disk appropiate to how the
 assistant will like it. You are being hid from all the details, as you wont
 understand them any way.
   Once you try to do something special, you get problems bigger than
 without this 'improvement for new ones'. This is because less work is
 being done to the detailed way of doing it, and more to the simple,
 which is made to just do one or two things.
   Essence: The system is hidden, you only see actions what you can
 do (update-grub in our case) instead of the system. This is obviously
 wrong because the system, the back-end, takes more than
 the front-end. Now the front-end should represent the back-end in a
 human readable form and not simplify to fit the least knowledged.

 BUT, i guess (from what ive heard) grub2 is fine with editing it by
 hand. And the command does really only assist in the simpliest
 matter, only combines all actions you'd have to take yourself.
 Thanks for the clearance.

 (If you want to criticise the above big block of text, I always fail to
 express myself well.)