Re: [gentoo-user] Cannot find LILO

2021-04-04 Thread Peter Humphrey
On Friday, 2 April 2021 17:29:25 BST konsolebox wrote:

> Your ARCH is set to i386 most likely.  Maybe it's a CHOST configuration
> issue.

No, it isn't either of those. Nothing has changed between this kernel and 
others. Oddly, 'make install' works if I chroot into this system from, e.g., a 
rescue CD, just not natively.

I tried to install a new system, but some packages refuse to build so I've 
restored the original system for now.

Still no idea what's wrong. Does anyone else suffer inexplicable things going 
bump in the night at irregular intervals? My jaundiced eye is glaring at my 
EFI BIOS, which I'm loath to tinker with.

-- 
Regards,
Peter.






Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-04-04 Thread n952162

On 4/4/21 12:31 AM, Neil Bothwick wrote:

On Sat, 3 Apr 2021 22:03:46 +0200, n952162 wrote:


I find no clue why the binary packages on my server aren't being picked
up.  The --debug option  (and --verbose, naturally) has no additional
information.  Running the --getbinpkgonly stops immediately, saying 0
packages are selected.

I found one problem: on my server, my apache log file had a 302 fetch
error for /var/cache/binpkgs/Packages.  I touched it a few hours into
the future and started getting a 200 for it.  But still no emerge would
fetch a binary (even though there ARE good candidates).  On a guess, I
touched all the files in binpkgs an hour into the future, but that
didn't help.

Have you tried "emaint --check binhost" followed by "emaint --fix
binhost"?



Thank you, that was exactly the kind of tip I was hoping for.
Unfortunately, in this case, it didn't help:


$ sudo emaint --check binhost
Password:
Emaint: check binhost   [
<=> ]

$sudo emaint --fix binhost
Emaint: fix binhost    100%
[>]


It is likely a dependency issue, but one package that I checked had:

 * neither server or client USE flags
 * the CPU_FLAGS match
 * the required package exists on the server

E.g.:

[ebuild   R    ]    dev-libs/libuv-1.40.0:0/1::gentoo USE="-static-libs"
0 KiB

I'm not sure where the static-libs USE flag comes from, it's not in
/etc/portage/package.use.

I don't follow the "0 KiB"

Okay, here's the status of the server, I'm a little confused by it now
... like what is rustc?  And why do I have different versions in binpkgs
and distfiles?

[ebuild U  ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo] 0 KiB
[ebuild U  ]    dev-lang/rust-1.47.0-r2:stable/1.47::gentoo
[1.46.0:stable/1.46::gentoo]

$ cd /var/cache

$ ls -l  */rust*
-rw-r--r-- 1 root root 117764080 Apr  3 14:30
distfiles/rust-1.45.1-x86_64-unknown-linux-gnu.tar.xz
-rw-r--r-- 1 root root 127200200 Apr  3 14:29
distfiles/rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz
-rw-r--r-- 1 root root 101868452 Apr  3 14:30
distfiles/rustc-1.46.0-src.tar.xz
-rw-r--r-- 1 root root 104143736 Apr  3 14:29
distfiles/rustc-1.47.0-src.tar.xz

$ ls -l binpkgs/*/rust*
-rw-r- 1 root root 95131159 Apr  3 22:30
binpkgs/dev-lang/rust-1.47.0-r2.tbz2
-rw-r- 1 root root    17542 Apr  3 22:30
binpkgs/virtual/rust-1.47.0.tbz2

$ cd /var/db

$ ls -ld pkg/dev-lang/rust-1.47.0-r2/
drwxr-xr-x 2 root root 4096 Feb  2 14:07 pkg/dev-lang/rust-1.47.0-r2/

# (I can't imagine that I ever intentionally emerged rust-bin)

$ ls -ld repos/gentoo/dev-lang/rust
rust/ rust-bin/

$ ls -l repos/gentoo/dev-lang/rust/
total 140
-rw-r--r-- 1 root root 29908 Feb 25 00:39 Manifest
drwxr-xr-x 2 root root  4096 Mar  1 17:00 files
-rw-r--r-- 1 root root  1083 Mar 31  2020 metadata.xml
-rw-r--r-- 1 root root 17326 Jan 31 01:43 rust-1.46.0.ebuild
-rw-r--r-- 1 root root 18735 Feb 25 00:39 rust-1.47.0-r2.ebuild
-rw-r--r-- 1 root root 18059 Jan 31 01:43 rust-1.48.0.ebuild
-rw-r--r-- 1 root root 18104 Feb  5 20:39 rust-1.49.0.ebuild
-rw-r--r-- 1 root root 18277 Feb 12 01:09 rust-1.50.0.ebuild

I'll run quickpkg again and report ...




Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-04-04 Thread Neil Bothwick
On Sun, 4 Apr 2021 10:33:15 +0200, n952162 wrote:

> [ebuild   R    ]    dev-libs/libuv-1.40.0:0/1::gentoo USE="-static-libs"
> 0 KiB
> 
> I'm not sure where the static-libs USE flag comes from, it's not in
> /etc/portage/package.use.

The flag is defined in the ebuild and defaults to off.

> I don't follow the "0 KiB"

It's the size of the files portage needs to download to install this. As
you have already installed it, the source files are in your $DISTDIR so
there's nothing to download.


-- 
Neil Bothwick

Feminism: the radical notion that women are people.


pgps14vwdFG6M.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-04-04 Thread n952162

On 4/4/21 10:56 AM, Neil Bothwick wrote:

On Sun, 4 Apr 2021 10:33:15 +0200, n952162 wrote:


[ebuild   R    ]    dev-libs/libuv-1.40.0:0/1::gentoo USE="-static-libs"
0 KiB

I'm not sure where the static-libs USE flag comes from, it's not in
/etc/portage/package.use.

The flag is defined in the ebuild and defaults to off.


I don't follow the "0 KiB"

It's the size of the files portage needs to download to install this. As
you have already installed it, the source files are in your $DISTDIR so
there's nothing to download.




Thank you.

After re-running quickpkg, I still get no "binary"s in the emerge output
dependency tree.

I now have this:

02/var/cache/distfiles>ll *rust*
-rw-r--r-- 1 root root 50278 Apr  3 14:30 eselect-rust-20200419.tar.bz2
-rw-r--r-- 1 root root 117764080 Apr  3 14:30
rust-1.45.1-x86_64-unknown-linux-gnu.tar.xz
-rw-r--r-- 1 root root 127200200 Apr  3 14:29
rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz
-rw-r--r-- 1 root root 101868452 Apr  3 14:30 rustc-1.46.0-src.tar.xz
-rw-r--r-- 1 root root 104143736 Apr  3 14:29 rustc-1.47.0-src.tar.xz

02/var/cache/distfiles>cd ../binpkgs


22/var/cache/binpkgs>ll */*rust*
-rw-r- 1 root root    15249 Apr  4 11:36
app-eselect/eselect-rust-20200419.tbz2
-rw-r- 1 root root 95134383 Apr  4 11:29 dev-lang/rust-1.47.0-r2.tbz2
-rw-r- 1 root root    17542 Apr  4 11:46 virtual/rust-1.47.0.tbz2

and:

[ebuild U  ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo] 0 KiB
[ebuild U  ]    dev-lang/rust-1.47.0-r2:stable/1.47::gentoo
[1.46.0:stable/1.46::gentoo] USE="-clippy -debug (-doc) (-libressl)
(-miri) (-nightly) (-parallel-compiler) -rls -rustfmt
(-system-bootstrap) (-system-llvm) -test% -wasm" CPU_FLAGS_X86="sse2"
LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR% -BPF -Hexagon -Lanai
-MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly
-XCore" 0 KiB

No USE flags associated with "rust" on server or client.

I would expect that it would have "binary" instead of "ebuild" if it
were to come from the server.

I reran the emaint commands.

Here's the command:

+ emerge -p --getbinpkg y -v --tree --deep --update --noreplace
--changed-use --newuse --changed-deps --verbose-conflicts --keep-going
--with-bdeps=y --backtrack=100 @world

Relevant lines from /etc/portage/make.conf:

PORTAGE_BINHOST="http:///xxx//packages";
FEATURES="getbinpkg"

(I guess the FEATURES definition is redundant).

Yesterday, I successfully binary-updated a vm from a different server,
and another vm on that same (other) server is updating now, successfully
pulling in binary packages.





Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-04-04 Thread n952162

On 4/4/21 12:37 PM, n952162 wrote:

After re-running quickpkg, I still get no "binary"s in the emerge
output dependency tree.



At some point, I started getting 304 errors here again.

   |304 Not Modified|
   
   This is used for caching purposes. It tells the client that the
   response has not been modified, so the client can continue to
   use the same cached version of the response.

I suspect the problem is related to this. The Packages file is the
package index file.

# ls -l /var/cache/binpkgs/Packages
-rw-r--r-- 1 root root 1024590 Apr  4 13:00 /var/cache/binpkgs/Packages



Re: [gentoo-user] Cannot find LILO

2021-04-04 Thread konsolebox
On Sun, Apr 4, 2021 at 3:35 PM Peter Humphrey  wrote:
>
> On Friday, 2 April 2021 17:29:25 BST konsolebox wrote:
>
> > Your ARCH is set to i386 most likely.  Maybe it's a CHOST configuration
> > issue.
>
> No, it isn't either of those. Nothing has changed between this kernel and
> others. Oddly, 'make install' works if I chroot into this system from, e.g., a
> rescue CD, just not natively.

Yes I just found out the value of ARCH doesn't really have anything to
do with it.

Your system might be missing /sbin/installkernel while you run 'make
install'. It's called by arch/x86/boot/install.sh if it exists and is
executable. Otherwise install.sh simply tries to install using LILO.
It's part of the sys-kernel/installkernel-gentoo package which may not
be installed for some reason, or the environment you run 'make
install' with is not Gentoo and /sbin/installkernel simply doesn't
exist there.


-- 
konsolebox



[gentoo-user] Looking for other Seamonkey users

2021-04-04 Thread Dale
Howdy,

As some may know, I use Seamonkey for several things.  Mostly for email
but using it for email leads to it being used for other things, like
clicking links in email and viewing the page in Seamonkey.  I tried
switching to Thunderbird, which is supposed to be about the same thing
but I didn't like it at all.  It's different and in a bad way. 

Thing is, some sites are no longer working as they should.  It seems
with each upgrade, Seamonkey has more issues with things not working
correctly.  I might add, most add-ons, adblock being a big one, no
longer work.  They haven't had updates in ages.  With all this, it makes
me wonder if Seamonkey is still viable or if it is something I have set
wrong.  Is anyone else who uses Seamonkey noticing the same problems
with add-ons and sites not working right?  I may start trying to make a
list of sites that don't work right. Maybe someone else can see what it
does for them.  I know my financial sites act weird but without login
info, no way to really test those.  I might add, it seems that sites
with security measures are the ones with the most issues.  I use Firefox
for most things now.  I have different profiles and even use containers
to help secure things.  I really wish I liked Thunderbird and could use
that and Firefox to replace Seamonkey.  Sadly, Thunderbird just isn't
for me last I checked. 

This is my Seamonkey info:


[ebuild U ~] www-client/seamonkey-2.53.7::gentoo
[2.53.7_beta1::gentoo] USE="chatzilla dbus gmp-autoupdate ipc roaming
startup-notification system-av1 system-harfbuzz system-icu system-jpeg
system-libevent system-libvpx system-sqlite -crypt -custom-cflags
-custom-optimization -debug -jack (-lto) -minimal (-neon) -pulseaudio
(-selinux) -test -wifi" L10N="-cs -de -en-GB -es-AR -es-ES -fr -hu -it
-ja -lt -nl -pl -pt-PT -ru -sk -sv -zh-CN -zh-TW"



Anyone else seeing this or am I the only Gentoo user using Seamonkey? 

Thanks.

Dale

:-)  :_) 



[gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."

2021-04-04 Thread Alarig Le Lay
Hello,

Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
boxes, but `make oldconfig` doesn’t want to use my old config:
Here is my make output: https://paste.swordarmor.fr/raw/2rRh
And here is my config:  https://paste.swordarmor.fr/raw/YHaG

Does anyone else has to redo its configuration, and did you manage to
reuse the old one?

Thanks,
-- 
Alarig



Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread karl
Jack:
> On 2021.04.03 07:15, k...@aspodata.se wrote:
...
> > make[1]: *** Waiting for unfinished jobs
> Try running with -j1
...

 I already have:
EMERGE_DEFAULT_OPTS="--jobs 1 ...
 in make.conf. Don't know why it still wants to run in parallell.

Regards,
/Karl Hammar





Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread karl
Michael:
> On Sat, 2021-04-03 at 13:15 +0200, k...@aspodata.se wrote:
> > Is there a way to run emerge step by step to find out why it fails ?
> > 
> 
> No easy way. You can `cp -a` the source/build directories out of
> /var/tmp/portage and then re-run `make -j`. That should re-
> start the build more or less where it failed.

$ cp -a ...
$ cd ...
$ make -j1
...
$ echo $?
0

It builds without failure in that case.

Regards,
/Karl Hammar





Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."

2021-04-04 Thread Michael
On Sunday, 4 April 2021 23:31:50 BST Alarig Le Lay wrote:
> Hello,
> 
> Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
> boxes, but `make oldconfig` doesn’t want to use my old config:
> Here is my make output: https://paste.swordarmor.fr/raw/2rRh
> And here is my config:  https://paste.swordarmor.fr/raw/YHaG
> 
> Does anyone else has to redo its configuration, and did you manage to
> reuse the old one?
> 
> Thanks,

The 'make oldconfig' script steps through the previous configuration 
selections and stops at any new options which require your input.  In the 
pasted output you provided the first option asking for your input is your 
preferred compression algorithm for the kernel image.  Choose any one of the 
list below, or leave it to default (gzip):

Kernel compression mode
> 1. Gzip (KERNEL_GZIP)
  2. Bzip2 (KERNEL_BZIP2)
  3. LZMA (KERNEL_LZMA)
  4. XZ (KERNEL_XZ)
  5. LZO (KERNEL_LZO)
  6. LZ4 (KERNEL_LZ4)
  7. ZSTD (KERNEL_ZSTD) (NEW)
choice[1-7?]: 

Then proceed to the next kernel option and so on.

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


Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread Michael Orlitzky
On Mon, 2021-04-05 at 00:44 +0200, k...@aspodata.se wrote:
> Michael:
> 
> $ cp -a ...
> $ cd ...
> $ make -j1
> ...
> $ echo $?
> 0
> 
> It builds without failure in that case.
> 

That's (potentially) good news. Can you now try it with the
CFLAGS/CXXFLAGS and LDFLAGS from your `emerge --info`? If the build
fails in that case, then we know it's one of those flags causing a
problem.






Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread Jack

On 4/4/21 6:44 PM, k...@aspodata.se wrote:

Jack:

On 2021.04.03 07:15, k...@aspodata.se wrote:

...

make[1]: *** Waiting for unfinished jobs

Try running with -j1

...

  I already have:
EMERGE_DEFAULT_OPTS="--jobs 1 ...
  in make.conf. Don't know why it still wants to run in parallel.
--jobs=1 tells emerge to only emerge one package at a time.  The -j 1 
(actually needs to be part of 'MAKEOPTS="-j1 "' is passed in to make 
to tell it to only compile one piece at a time.  Using a higher number 
for -j sometimes fails if it needs some intermediate result that has not 
yet been produced.  Sometimes that failure is consistently repeatable, 
and sometimes not.




[gentoo-user] IPsec

2021-04-04 Thread Grant Taylor

Hi,

Does anyone have any experience with IPsec?  Preferably on Gentoo or 
Linux in general?


I'd like to discuss some things (probably off list) while wading into 
the IPsec pool.  E.g.:


 - ip xfrm ...
 - strongSwan
 - Libraswan
 - X.509 certificate based authentication, preferably /mutual/
 - Opportunistic Encryption
 - Transport Mode
 - Tunnel Mode



--
Grant. . . .
unix || die



Re: [gentoo-user] Looking for other Seamonkey users

2021-04-04 Thread Hund
On April 5, 2021 12:17:59 AM GMT+02:00, Dale  wrote:
>Howdy,
>
>As some may know, I use Seamonkey for several things.  Mostly for email
>but using it for email leads to it being used for other things, like
>clicking links in email and viewing the page in Seamonkey.  I tried
>switching to Thunderbird, which is supposed to be about the same thing
>but I didn't like it at all.  It's different and in a bad way. 
>
>Thing is, some sites are no longer working as they should.  It seems
>with each upgrade, Seamonkey has more issues with things not working
>correctly.  I might add, most add-ons, adblock being a big one, no
>longer work.  They haven't had updates in ages.  With all this, it makes
>me wonder if Seamonkey is still viable or if it is something I have set
>wrong.  Is anyone else who uses Seamonkey noticing the same problems
>with add-ons and sites not working right?  I may start trying to make a
>list of sites that don't work right. Maybe someone else can see what it
>does for them.  I know my financial sites act weird but without login
>info, no way to really test those.  I might add, it seems that sites
>with security measures are the ones with the most issues.  I use Firefox
>for most things now.  I have different profiles and even use containers
>to help secure things.  I really wish I liked Thunderbird and could use
>that and Firefox to replace Seamonkey.  Sadly, Thunderbird just isn't
>for me last I checked. 
>
>This is my Seamonkey info:
>
>
>[ebuild U ~] www-client/seamonkey-2.53.7::gentoo
>[2.53.7_beta1::gentoo] USE="chatzilla dbus gmp-autoupdate ipc roaming
>startup-notification system-av1 system-harfbuzz system-icu system-jpeg
>system-libevent system-libvpx system-sqlite -crypt -custom-cflags
>-custom-optimization -debug -jack (-lto) -minimal (-neon) -pulseaudio
>(-selinux) -test -wifi" L10N="-cs -de -en-GB -es-AR -es-ES -fr -hu -it
>-ja -lt -nl -pl -pt-PT -ru -sk -sv -zh-CN -zh-TW"
>
>
>
>Anyone else seeing this or am I the only Gentoo user using Seamonkey? 
>
>Thanks.
>
>Dale
>
>:-)  :_) 
>

Have you considered something more modern like Neomutt?

--
Hund