Re: [gentoo-user] Genlop wonky again
On 07/01/2024 00:52, Peter Humphrey wrote: On Saturday, 6 January 2024 19:28:05 GMT Wols Lists wrote: Statistics is one of those areas where, if you don't know what you're doing and you use the wrong maths, then you are going to get stupid results. "Statistics tell you how to get from A to B. What they don't tell you is that you're all at C". I took a module on statistics in my Open University maths degree 40-odd years ago. I was bemused. They seemed to say that the subject was founded on two basic principles; then they proceeded to define each of them in terms of the other. Weird! I took a module on statistics in my Open University (Chemistry) degree 40-odd years ago. Probably the same one? I've still got the modules as a reference work, though I probably couldn't lay my hands on them easily now ... I'm still waiting for the entire edifice to come crashing down around our ears. :) Nah - it's been abused for so long nobody's noticed it came down centuries ago :-) Cheers, Wol
[gentoo-user] Re: Genlop wonky again
On 2024-01-05, Peter Humphrey wrote: > Hello list, > > I've just had some strange output from genlop on my 16-thread i5 box, thus: > > # genlop -t libreoffice | /bin/grep minute >merge time: 37 minutes and 38 seconds. >merge time: 52 minutes and 59 seconds. >merge time: 46 minutes and 17 seconds. > > # genlop -c > > Currently merging 11 out of 11 > > * app-office/libreoffice-7.5.9.2 > >current merge time: 4 minutes and 3 seconds. >ETA: 1 hour, 4 minutes and 24 seconds. > Is this an off-by-one? While I'm not acquainted with perl, https://raw.githubusercontent.com/gentoo-perl/genlop/master/genlop has this: "For a better prediction we only consider the last 10 merges", followed by a max() with the number 9, suggesting zero-based indices that would need to be incremented for the average, but then "$tm_secondi = sum(@merge_times) / $#merge_times;" (That said, I also wonder if the "slicing off" part needs adjustment too, can the (zero-based?) length be greater than 9 after it was shortened to be 9? Or am I misunderstanding the code?) Summing the three merge times and dividing by two I get, if I've not messed up my calculations, 68 minutes and 27 seconds, matching your "Currently merging" output. -- Nuno Silva
Re: [gentoo-user] Genlop wonky again
On 07/01/2024 00:52, Peter Humphrey wrote: They seemed to say that the subject was founded on two basic principles; then they proceeded to define each of them in terms of the other. I should add, I dug into this sort of stuff, and you do know the entire edifice of Peano (ie number theory), thanks to Godel, is built on the edifice that " true == false " :-) ? Basically, no matter how hard you try, you cannot escape the Cretan Paradox. To quote some famous mathematician - "If you define a religion as the irrational belief in the unprovable, then Mathematics is the only religion that can prove it is one". That's why the Ancient Philosophers debated how many Angels can dance on the Head of a Pin. Set aside your prejudices, your beliefs that "that *must* be stupid", read Terry Pratchett's "Science of Diskworld", and realise that it doesn't matter WHERE you start, the application of logic and reason will lead you down the Rabbit Hole into Wonderland. And modern man is no better at avoiding that trap than the ancients. Cheers, Wol
[gentoo-user] "eix" doesn't find a freshly installed package
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
Re: [gentoo-user] "eix" doesn't find a freshly installed package
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] "eix" doesn't find a freshly installed package
On Sun, 7 Jan 2024 at 18: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? I'm no "eix guru", but reading the man page to show me what the '-i' flag does pretty much explain why it would exclude many packages. You probably want the capital '-I' version to list installed packages. Regards, Arve
Re: [gentoo-user] "eix" doesn't find a freshly installed package
On Sun, 7 Jan 2024 at 19:41, Arve Barsnes wrote: > > On Sun, 7 Jan 2024 at 18: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? > > I'm no "eix guru", but reading the man page to show me what the '-i' > flag does pretty much explain why it would exclude many packages. You > probably want the capital '-I' version to list installed packages. Right, ignore that, I see the '-i' flag was to 'env'. But running eix on its own by default only outputs 50 packages, so there's that. Regards, Arve
[gentoo-user] New build, openrc, llvm, musl etc
Dear all, It's been a while since I built a Gentoo machine from scratch so need a bit of guidance. I want to build a machine, amd64, that uses OpenRC, LLVM & Musl. Looking on the Downloads page and in turn the "Advanced choices", there is two separate Stage 3 archives, "llvm/OpenRC" & "Musl/OpenRC". I understand why I should have Musl as the default install. I'm assuming that I should just use the OpenRC/Musl Stage 3 and then just install LLVM as per normal, "emerge llvm" and things would end up being what I want - am I right? Or is there something special in the "llvm/OpenRC" archive that I also need to do? Any thoughts are greatly appreciated. Regards, Andrew
Re: [gentoo-user] "eix" doesn't find a freshly installed package
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.
[gentoo-user] Emacs interface for Bugzilla, including bugs.gentoo.org
I've written Emacs interface to Bugzilla web-based bug trackers quite some time ago. That includes the Gentoo bug tracker bugs.gentoo.org I can't pay as much attention to this Emacs package as I'd like to, and not everything is great in it but it seems to work and be useful enough. Maybe if somebody else finds it useful, I'll work more on it. So, if you're interested, you are welcome to eselect repository enable akater && emerge app-emacs/bugz (Hopefully, that will go without errors.) See the brief intro at https://framagit.org/akater/emacs-bugz/-/blob/master/bugz.org Use at your own risk, I haven't tested it much. Feedback is welcome. signature.asc Description: PGP signature
[gentoo-user] Cannot compile poetry
Hi, I have not updated my system for a while. And my emerge command failed with these errors. How do I fix the poetry's build failures? Thanks, Hung >>> Compiling source in /tmp/portage/dev-python/poetry-core-1.8.1/work/poetry-core-1.8.1 ... * python3_11: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for poetry-core-1.8.1 via poetry.core.masonry.api python3.11 -m gpep517 build-wheel --prefix=/usr --backend poetry.core.masonry.api --output-fd 3 --wheel-dir /tmp/portage/dev-python/poetry-core-1.8.1/work/poetry-core-1.8.1-python3_11/wheel 2024-01-07 19:14:19,775 gpep517 INFO Building wheel via backend poetry.core.masonry.api Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 429, in sys.exit(main()) ^^ File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 425, in main return func(args) ^^ File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 215, in build_wheel print(build_wheel_impl(args, args.wheel_dir), file=out) ^^ File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 207, in build_wheel_impl wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) ^ File "/usr/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 66, in build_wheel poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False) File "/usr/lib/python3.11/site-packages/poetry/core/factory.py", line 43, in create_poetry raise RuntimeError("The Poetry configuration is invalid:\n" + message) RuntimeError: The Poetry configuration is invalid: - Additional properties are not allowed ('group' was unexpected) * ERROR: dev-python/poetry-core-1.8.1::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3878: Called distutils-r1_src_compile * environment, line 1866: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 728: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3495: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3052: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3050: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1151: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1848: Called distutils-r1_python_compile * environment, line 1663: Called distutils_pep517_install '/tmp/portage/dev-python/poetry-core-1.8.1/work/poetry-core-1.8.1-python3_11/install' * environment, line 2204: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); emerge-info.log Description: Binary data
Re: [gentoo-user] ssh from linux to Windows
On 1/6/24 20:09, the...@sys-concept.com wrote: I installed openssh server on Windows 11 and tried to ssh to it using the id_rsa.pub key but I didn't have luck. I copied the key to .ssh\authorized_keys file. On linux the last line ending with "\" on Windows Notepad replaces it with the "+" sign. ssh with password is working but windows doesn't recognize the public key or maybe it is wrong directory C:\Users\Garry Server\.ssh\authorized_keys Trying to run: "ssh -vv" I get: debug1: Authenticating to 10.0.0.130:22 as 'Glen Server' debug1: load_hostkeys: fopen /home/joseph/.ssh/known_hosts2: No such file or directory Where is it taking the : "known_hosts2" in home directory .ssh/ I only have file "known_hosts" In /etc/ssh/sshd_config (computer ssh is initiated from) I can not find any reference to "known_hosts2" Nor, windows \ProgramData\ssh\sshd_config contain any reference to "known_hosts2"