Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-02 Thread Paul Colquhoun
On Sunday, June 2, 2024 4:06:59 P.M. AEST John Covici wrote:
> On Sat, 01 Jun 2024 23:19:37 -0400,
> 
> Paul Colquhoun wrote:
> > On Sunday, June 2, 2024 1:34:20 A.M. AEST John Covici wrote:
> > > The great program yt-dlp no longer will download from youtube.  It
> > > complains that name or service not known.  It works fine downloading
> > > from rumble.  Anyone know  what is happening?  I assume youtube did
> > > some update that broke something.
> > > 
> > > Thanks in advance for any suggestions.
> > 
> > It's working for me.
> > 
> > Can you post a full command line that isn't working?
> 
> Here is the command with full output.
> youtube-dl  https://www.youtube.com/embed/VGNMhK8Yssg

H, it seems to work here:

$ youtube-dl  https://www.youtube.com/embed/VGNMhK8Yssg
[youtube] Extracting URL: https://www.youtube.com/embed/VGNMhK8Yssg
[youtube] VGNMhK8Yssg: Downloading webpage
[youtube] VGNMhK8Yssg: Downloading ios player API JSON
[youtube] VGNMhK8Yssg: Downloading android player API JSON
[youtube] VGNMhK8Yssg: Downloading m3u8 information
[info] VGNMhK8Yssg: Downloading 1 format(s): 270+140
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 25
[download] Destination: Fernanda speaks on the occasion of Global 
Accessibility Awareness Day 2024-VGNMhK8Yssg.f270.mp4
[download] 100% of   12.46MiB in 00:00:27 at 467.49KiB/s
[download] Destination: Fernanda speaks on the occasion of Global 
Accessibility Awareness Day 2024-VGNMhK8Yssg.f140.m4a
[download] 100% of1.99MiB in 00:00:01 at 1.30MiB/s
[Merger] Merging formats into "Fernanda speaks on the occasion of Global 
Accessibility Awareness Day 2024-VGNMhK8Yssg.mp4"
Deleting original file Fernanda speaks on the occasion of Global Accessibility 
Awareness Day 2024-VGNMhK8Yssg.f270.mp4 (pass -k to keep)
Deleting original file Fernanda speaks on the occasion of Global Accessibility 
Awareness Day 2024-VGNMhK8Yssg.f140.m4a (pass -k to keep)

$ ls -l Fernanda*
-rw-r--r-- 1   14531671 May 17 01:54 'Fernanda speaks on the occasion 
of Global Accessibility Awareness Day 2024-VGNMhK8Yssg.mp4'

$ file Fernanda* 
Fernanda speaks on the occasion of Global Accessibility Awareness Day 2024-
VGNMhK8Yssg.mp4: ISO Media, MP4 Base Media v1 [ISO 14496-12:2003]


$ youtube-dl --version
2024.05.27


Try following that URL in your browser, then click the "Watch in YouTube" link 
at the lower left.

This converts the URL to https://www.youtube.com/watch?v=VGNMhK8Yssg

See if that URL works for you.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-01 Thread Paul Colquhoun
On Sunday, June 2, 2024 1:34:20 A.M. AEST John Covici wrote:
> The great program yt-dlp no longer will download from youtube.  It
> complains that name or service not known.  It works fine downloading
> from rumble.  Anyone know  what is happening?  I assume youtube did
> some update that broke something.
> 
> Thanks in advance for any suggestions.


It's working for me.

Can you post a full command line that isn't working?


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Getting WiFi to work

2024-04-09 Thread Paul Sopka

On 09.04.24 15:23, Peter Humphrey wrote:

Hello list,

I want to move my Intel i5 NUC box to a place where Ethernet is not available,
nor like to become so. That means I have to get WiFi working, but I've had no
success so far. The wiki pages are many, confusing and contradictory, so I'd
like the panel's advice on the way to proceed.

The first thing I tried was the traditional wpa_supplicant, which seemed to go
well - except that I couldn't get the link out of the DOWN state.

Then I tried NetworkManager, and failed with that too.

This is the hardware:
# lspci -v -s 00:14.3
00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev
01)
--->8
 Kernel driver in use: iwlwifi
 Kernel modules: iwlwifi

And this is dmesg:

$ dmesg | grep -i wifi
[1.622343] Intel(R) Wireless WiFi driver for Linux
[1.622432] iwlwifi :00:14.3: enabling device ( -> 0002)
[1.625069] iwlwifi :00:14.3: Detected crf-id 0x400410, cnv-id 0x80400
wfpm id 0x8020
[1.625121] iwlwifi :00:14.3: PCI dev 51f1/0094, rev=0x370,
rfid=0x2010d000
[1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
[1.626644] iwlwifi :00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version:
0.0.2.41
[1.626902] iwlwifi :00:14.3: loaded firmware version 86.fb5c9aeb.0 so-
a0-gf-a0-86.ucode op_mode iwlmvm
[1.643426] iwlwifi :00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz,
REV=0x370
[1.651382] iwlwifi :00:14.3: WRT: Invalid buffer destination
[1.809375] iwlwifi :00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[1.809385] iwlwifi :00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[1.809394] iwlwifi :00:14.3: WFPM_AUTH_KEY_0: 0x90
[1.809401] iwlwifi :00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
[1.810724] iwlwifi :00:14.3: loaded PNVM version e28bb9d7
[1.810817] iwlwifi :00:14.3: RFIm is deactivated, reason = 4
[1.825831] iwlwifi :00:14.3: Detected RF GF, rfid=0x2010d000
[1.897387] iwlwifi :00:14.3: base HW address: f4:6d:3f:2a:33:3e

Would net-wireless/iwd get me a bit further?

Meanwhile, I'll keep on exploring with the results of sys-apps/hw-probe.


Hey Peter

This might be the wrong firmware being loaded.

Are you building your the iwlwifi driver not as a module but directly 
into the kernel?


Are you including your firmware into the kernel?

If you do the above, try loading the driver as a module. Also enable 
both DVM and MVM Firmware support.


Then emerge  sys-kernel/linux-firmware without USE=savedconfig.

Finally reboot and check wther it works. If it works, check which 
firmware is loaded in your dmesg.





Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-08 Thread Paul Sopka

Hey Michael

Thank you for helping me. I have finally solved the issue by upgrading 
to kernel 6.8.4, see this: 
https://forums.gentoo.org/viewtopic-t-1168150.html


Have a very nice week!

Regards

Nanderty




Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-05 Thread Paul Sopka

On 05.04.24 08:31, Paul Sopka wrote:

On 05.04.24 00:55, Michael wrote:

Your toolchain is now correct.  Can you show the output of:

equery u media-libs/libjpeg-turbo

and

emerge --info media-libs/libjpeg-turbo

However, it could be this is a bug, you can check here for reports:

https://bugs.gentoo.org/buglist.cgi?quicksearch=media-libs%2Flibjpeg-turbo 



If this is the only package you're getting a problem with, you can run:

emerge --resume --skipfirst

to complete your migration to profile 23.0, then try again to emerge 
libjpeg-

turbo on its own.
Also one or two weeks ago I successfully emerged with emptytree after 
migrating to profile 23.0.




Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-05 Thread Paul Sopka

On 05.04.24 00:55, Michael wrote:

Your toolchain is now correct.  Can you show the output of:

equery u media-libs/libjpeg-turbo

and

emerge --info media-libs/libjpeg-turbo

However, it could be this is a bug, you can check here for reports:

https://bugs.gentoo.org/buglist.cgi?quicksearch=media-libs%2Flibjpeg-turbo

If this is the only package you're getting a problem with, you can run:

emerge --resume --skipfirst

to complete your migration to profile 23.0, then try again to emerge libjpeg-
turbo on its own.


Unfortunately I have this issue with many packages.

I can confirm it with media-libs/libjpeg-turbo:

 * Found these USE flags for media-libs/libjpeg-turbo-3.0.2:
 U I
 + + abi_x86_32  : 32-bit (x86) libraries
 - - java    : Add support for Java
 - - static-libs : Build static versions of dynamic libraries as well

and dev-util/vulkan-headers as well as sci-libs/netcdf:

 * Found these USE flags for sci-libs/netcdf-4.9.2-r1:
 U I
 - - blosc    : Allow using blosc compression via dev-libs/c-blosc
 + + bzip2    : Enable bzip2 compression support
 + - dap  : Support for remote data access with the built-in 
OPeNDAP client
 - - doc  : Add extra documentation (API, Javadoc, etc). It is 
recommended to enable per package instead of globally

 - - examples : Install examples, usually source code
 - - hdf  : Build with HDF4 read capability(sci-libs/hdf, 
sci-libs/hdf5 and sys-libs/zlib required).

 + - hdf5 : Add support for the Hierarchical Data Format v5
 - - mpi  : Add MPI (Message Passing Interface) layer to the apps 
that support it

 - - szip : Use the szip compression library
 - - test : Enable dependencies and/or preparations necessary to 
run tests (usually controlled by FEATURES=test but can be toggled 
independently)

 + + zstd : Enable support for ZSTD compression

My emerge --info media-libs/libjpeg-turbo:

Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/23.0, gcc-13, 
glibc-2.39-r2, 6.8.2-gentoo x86_64)

=
 System Settings
=
System uname: 
Linux-6.8.2-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i5-13600KF-with-glibc2.39

KiB Mem:    32699852 total,  27956992 free
KiB Swap:  0 total, 0 free
Timestamp of repository gentoo: Thu, 04 Apr 2024 18:19:20 +
Head commit of repository gentoo: 45b6803c7d0c2f6e0bbb7247385e9a3095dc172b

Timestamp of repository guru: Thu, 04 Apr 2024 17:48:38 +
Head commit of repository guru: ae5669fdb3157526d19cdfab0661a2719f00170b

Timestamp of repository steam-overlay: Thu, 04 Apr 2024 01:22:27 +
Head commit of repository steam-overlay: 
aca6eb772e0d5474b6d44072998af0082f36d08a


Timestamp of repository wayland-desktop: Thu, 04 Apr 2024 01:22:35 +
Head commit of repository wayland-desktop: 
559692d775352c785aecfec52d940f20f5c9b800


sh dash 0.5.12
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:    1.3.7::gentoo
app-shells/bash:   5.2_p26::gentoo
dev-build/autoconf:    2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:    1.16.5-r2::gentoo
dev-build/cmake:   3.29.0::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make:    4.4.1-r1::gentoo
dev-build/meson:   1.4.0-r1::gentoo
dev-java/java-config:  2.3.3-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python:   3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin: 1.76.0::gentoo
sys-apps/baselayout:   2.15::gentoo
sys-apps/openrc:   0.53.1::gentoo
sys-apps/sandbox:  2.38::gentoo
sys-devel/binutils:    2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:   17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config:  2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm:    17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:    2.39-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: 

Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-04 Thread Paul Sopka

On 04.04.24 00:44, Michael wrote:

No, this is not normal.  I wonder if your make.conf settings are correct.
Start with some safe CFLAGS as suggested here:

https://wiki.gentoo.org/wiki/Safe_CFLAGS

Then use the package 'app-portage/cpuid2cpuflags' to set the correct CPU
flags:

https://wiki.gentoo.org/wiki/CPU_FLAGS_*

At this point you should be able to use gcc with no further problems.  You can
try to optimise your settings further by taking a look at suggestions here:

https://wiki.gentoo.org/wiki/GCC_optimization


A little correction, even though the "-march=" change removed the 
warning gcc threw, it unfortunately didn't solve the issue. I just 
recompiled dev-lang/nasm, and after that recompiled libjpeg-turbo, and I 
have the same hang on  "Detecting C compiler ABI info" again.


Good night

Nanderty


Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-04 Thread Paul Sopka

On 04.04.24 00:44, Michael wrote:

No, this is not normal.  I wonder if your make.conf settings are correct.
Start with some safe CFLAGS as suggested here:

https://wiki.gentoo.org/wiki/Safe_CFLAGS

Then use the package 'app-portage/cpuid2cpuflags' to set the correct CPU
flags:

https://wiki.gentoo.org/wiki/CPU_FLAGS_*

At this point you should be able to use gcc with no further problems.  You can
try to optimise your settings further by taking a look at suggestions here:

https://wiki.gentoo.org/wiki/GCC_optimization


Thank you for pointing into the right direction.

After changing -march=raptorlake to -march=alderlake on an i5-13600KS 
and running the following three times:



In case you haven't done it yet, if you rebuild the toolchain things
should
hopefully self-correct on your system:

emerge --sync

emerge -1av sys-devel/binutils

emerge -1av --nodeps sys-devel/gcc

Use 'gcc-config -l' to check you are using the correct gcc version.

emerge -1av sys-libs/glibc

emerge -1av dev-build/libtool

env-update && source /etc/profile
I don't get the hang at "-- Detecting C compiler ABI info" anymore. It 
now hangs later on "-- Looking for a ASM_NASM compiler".


My CPU_FLAGS_* are correct, I checked them with 
app-portage/cpuid2cpuflags to make sure they are up to date and they were.


Do you have any idea for this?

Thank you

Nanderty


Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-03 Thread Paul Sopka

On 03.04.24 09:40, Michael wrote:

In case you haven't done it yet, if you rebuild the toolchain things should
hopefully self-correct on your system:

emerge --sync

emerge -1av sys-devel/binutils

emerge -1av --nodeps sys-devel/gcc

Use 'gcc-config -l' to check you are using the correct gcc version.

emerge -1av sys-libs/glibc

emerge -1av dev-build/libtool

env-update && source /etc/profile


Good evening Michael

Thank you for your suggestions, I tried them, but unfortunately it 
didn't help.


Also, i found out that removing CPU_FLAGS_X86 made the issue disappear, 
but another issue appeared later. I experience a similar hang, at "-- 
Looking for a ASM_NASM compiler".


Further, compiling GCC throws the following warnings:

 * QA Notice: Installing libtool files (.la) without corresponding 
static libraries!

 *   /usr/libexec/gcc/x86_64-pc-linux-gnu/13/liblto_plugin.la
 * QA Notice: Found the following implicit function declarations in 
configure logs:
 * 
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/32/libgfortran/config.log:4628 
- fpsetmask
 * 
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/build/x86_64-pc-linux-gnu/libgfortran/config.log:4536 
- fpsetmask

 * Check that no features were accidentally disabled.
 * See https://wiki.gentoo.org/wiki/Modern_C_porting.
 * QA Notice: Package triggers severe warnings which indicate that it
 *    may exhibit random runtime failures.
 * 
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/gcc/vec.h:316: 
warning: ‘free’ called on unallocated object ‘accesses’ 
[-Wfree-nonheap-object]
 * 
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/gcc/vec.h:316:10: 
warning: ‘free’ called on unallocated object ‘dest_bbs’ 
[-Wfree-nonheap-object]
 * 
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/gcc/vec.h:316: 
warning: ‘free’ called on unallocated object ‘accesses’ 
[-Wfree-nonheap-object]
 * 
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/gcc/vec.h:316:10: 
warning: ‘free’ called on unallocated object ‘dest_bbs’ 
[-Wfree-nonheap-object]
 * 
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/libsanitizer/hwasan/hwasan.cpp:539:52: 
warning: format ‘%zd’ expects a matching ‘signed size_t’ argument 
[-Wformat=]

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: https://gcc.gnu.org/

Is this normal?

Hope you all have a nice evening

Nanderty




Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-02 Thread Paul Sopka

On 02.04.24 21:43, Paul Sopka wrote:

On 02.04.24 20:50, J. Roeleveld wrote:

Did you upgrade GCC recently?
If yes, did you follow the gcc-upgrade guide:

https://wiki.gentoo.org/wiki/Upgrading_GCC

?

--
Joost


Thank you for your answer Joost.

As far as I know, I didn't upgrade GCC recently. I just rebuilt 
libtool to be sure, but that didn't help.


Nanderty


I rebuilt with emptytree over night from tty. The system didn't crash, 
but it hung up at the first program to use this, media-libs/libjpeg-turbo.




Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-02 Thread Paul Sopka

On 02.04.24 20:50, J. Roeleveld wrote:

Did you upgrade GCC recently?
If yes, did you follow the gcc-upgrade guide:

https://wiki.gentoo.org/wiki/Upgrading_GCC

?

--
Joost


Thank you for your answer Joost.

As far as I know, I didn't upgrade GCC recently. I just rebuilt libtool 
to be sure, but that didn't help.


Nanderty




[gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-02 Thread Paul Sopka

Hello Gentoo,

my entire system crashes reliably on "Detecting C compiler ABI info" 
when compiling some packages, happened on sci-libs/netcdf and 
media-libs/svt-av1.


I am pretty sure it isn't a hardware instability since I can compile 
everything that doesn't run "Detecting C compiler ABI info" without any 
issues at all.


Does anybody have an idea why this happens?

I wish you all a nice afternoon!

Nanderty




Re: [gentoo-user] New profile, gcc-13.2.1_p20240210 fails to build. ATTN: Peter Humphrey.

2024-03-24 Thread Paul Colquhoun
On Sunday, March 24, 2024 8:49:28 A.M. AEDT Dale wrote:
> Michael wrote:
> >> Nice to know I'm not alone.  I forgot to mention, it wanted to update
> >> glibc first.  The news item said NOT to let it do that and use the
> >> --nodeps option instead.  So, the command I used had that option.  I've
> >> since restarted it, just in case it finishes.  I'll post back if it
> >> does.  I find it odd that it builds fine one time but fails on others.
> >> Strange things happen tho.
> >> 
> >> Dale
> >> 
> >> :-)  :-)
> > 
> > There's a new patch for gcc.  You need to follow the guide as you did,
> > then
> > resync portage to fetch the latest ebuild for gcc, before you start the
> > emerge --emptytree world.  This is how I managed to get ggc to build
> > after previous attempts with 'no error' failures.  Hope this works for
> > you.
> 
> It just failed the second attempt.  I'll sync again and hopefully the
> new ebuild will fix things.  If nothing else, they working out the
> kinks.  Since I'm in a chroot, messing up won't matter. 
> 
> Maybe Peter will see this, update and try again.  May help him as well. 


I had the gcc compile fail, but was successful after removing the "objc" use 
flag.

Unfortunately, it seemd to be required by app-arch/unar during step 16, 
rebuild world.

I'm re-enbleing it and will see how it all goes.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] How do I zap a specific area of a gnumeric spreadsheet page?

2024-03-22 Thread Paul Colquhoun
rray[6]} ))
>   accum7=$(( ${accum7} + ${dataarray[7]} ))
>   accum8=$(( ${accum8} + ${dataarray[8]} ))
>else
> #
> # If this line's date has changed, output to hospsum.csv, update prevdate,
> # and update accumulators.  ***IMPORTANT*** "echo" TO hospsum.csv MUST BE
> # EXECUTED BEFORE UPDATING ACCUMULATORS AND prevdate***
>   echo
> "${prevdate},${accum2},${accum3},${accum4},${accum5},${accum6},${accum7},${
> accum8}" >&3 prevdate="${dataarray[0]}"
>   accum2=${dataarray[2]}
>   accum3=${dataarray[3]}
>   accum4=${dataarray[4]}
>   accum5=${dataarray[5]}
>   accum6=${dataarray[6]}
>   accum7=${dataarray[7]}
>   accum8=${dataarray[8]}
>fi
> done #
> # Close file hospsum.csv
> exec 3<&-
> IFS="${oldifs}"


Bash can do patern substitution in variable references.

Replace  accum3=$(( ${accum3} + ${dataarray[3]} ))
with accum3=$(( ${accum3} + ${dataarray[3]/'.'/0} ))

and similarly with the other lines and any array value of '.' will be replaced 
with a '0'


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-03-01 Thread Paul B. Henson
On Wed, Feb 28, 2024 at 04:23:37PM -0600, Dale wrote:
> 
> I have two questions.  Does a upgrade change it back to defaults?  If
> so, there may be a file in /etc somewhere that is more permanent.  If
> not, cool.  :-) 

No, it's never been overwritten, so far...

> How did you get the info to match the hardware you have?

You can get your list of monitors:

$ xrandr --listmonitors
Monitors: 3
 0: +*DVI-D-0 1920/518x1200/324+1920+0  DVI-D-0
 1: +DisplayPort-0 1920/518x1200/324+3840+0  DisplayPort-0
 2: +HDMI-A-0 1920/518x1200/324+0+0  HDMI-A-0

and then play with the locations until the mouse does the right thing
when you move it between them :). Or fix it via the GUI and note which
one is where; the description ends in +x+y with the offset for each
monitor currently, so you can see that HDMI-A-0 is on the far left, then
DVI-D-0 is in the middle, and DisplayPort-0 is on the right.




Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-28 Thread Paul B. Henson
On Sat, Feb 24, 2024 at 08:53:37PM -0800, Daniel Frey wrote:
> After cursing KDE for a while with three monitors, does anyone have any 
> idea why KDE is so bad at managing multiple monitors?

. I ended up adding this to /usr/share/sddm/scripts/Xsetup:

xrandr --output DVI-D-0 --primary --output HDMI-A-0 --left-of DVI-D-0
--output DisplayPort-0 --right-of DVI-D-0

Always perfect since then :).




Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Paul Colquhoun
On Sunday, February 25, 2024 3:53:37 P.M. AEDT Daniel Frey wrote:
> After cursing KDE for a while with three monitors, does anyone have any
> idea why KDE is so bad at managing multiple monitors?
> 
> All I'm trying to do is get it to remember *where* my monitors are (I
> have two side-by-side and one above the right monitor.) I go into System
> Settings, set it up and it works perfectly... until I log out. Then it
> resets everything and I have to set it up again.
> 
> Anyone have any clue why it refuses to save settings?
> 
> -Dan

Have a look in /etc/Xorg/xorg.conf

Mine has this section, which I think I edited by hand. My monitor config does 
survive reboots.

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
Screen  1  "Screen1" RightOf "Screen0"
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection


"man xorg.conf" gives the syntax. Here is the section for the "Screen" part of 
"ServerLayout"

Screen  screen-num "screen-id" position-information
One  of  these  entries must be given for each screen being used in
a session.  The screen-id field is mandatory, and specifies the Screen 
section  being  referenced.
The  screen-num  field is optional, and may be used to specify the
screen number in multi-head configurations.  When this field is
omitted, the screens  will  be  numbered  in the order that they are
listed in.  The numbering starts from 0, and must be consecutive. 
The position-information field describes the way multiple  screens
are  positioned.  There are a number of different ways that this
information can be provided:

  x y

  Absolute  x y
  These both specify that the upper left corner’s coordinates
  are (x,y).  The Absolute keyword is optional.  Some older
  versions of XFree86 (4.2  and  earlier) don’t  recognise the
  Absolute keyword, so it’s safest to just specify the
  coordinates without it.

  RightOf   "screen-id"

  LeftOf"screen-id"

  Above "screen-id"

  Below "screen-id"

  Relative  "screen-id" x y
  These give the screen’s location relative to another screen.
  The  first  four position  the  screen immediately to the
  right, left, above or below the other screen. When
  positioning to the right or left, the top edges  are
  aligned. When positioning above or below, the left edges are
  aligned. The Relative form specifies the offset of the
  screen’s origin (upper left corner) relative to the
  origin of another screen.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Issues with amdgpu driver: Compositor hangs, sysfs not working

2024-02-18 Thread Paul Sopka
AMDGPU-PRO is not a driver, but a set of libraries containing 
opencl,vulkan and advanced media framework. It operates on top of amdgpu.



Mesa is the open source implementation of OpenGL, Vulkan, et al. graphics API
specifications.  If you are using proprietary AMD drivers then I understand
all the graphics API instructions will go through these proprietary drivers,
instead of being translated by Mesa.
As you said, it could be seen as an alternative to mesa, but will not 
change anything about the firmware or the amdgpu driver. It therefore 
will not change anything about the framebuffer, since this is handled by 
the driver.


That said, I do not have the described problems when starting gamescope 
from a tty, so my guess now is that its a Hyprland issue. I filed a bug 
there. I will also try to start Hyprland using amdgpu-pro instead of mesa.


Thank you for your time




Re: [gentoo-user] Issues with amdgpu driver: Compositor hangs, sysfs not working

2024-02-18 Thread Paul Sopka

Thank you for your reply.


Hello everybody,

I installed an AMD Radeon RX 7900 XTX today, switching from Nvidia. But
once I enable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y to have a tty once
the driver is up, the following happens:

1) My Wayland compositor (Hyprland) takes very long to start.

2) reading from sysfs (e.g. running "cat
/sys/class/drm/card0/device/gpu_busy_percent") does not work and causes
a hang.

Once I disable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=n, I have no issues
with the starting speed of the compositors at all and the mentioned
command works. But this leads to a black tty.

You'd normally need this enabled to get a fb display on the console, but I
don't know if this would be provided by proprietary drivers instead for your
card - see below.
I made a mistake here, sorry. The issue causing setting is 
DRM_FBDEV_EMULATION=y, which on itself works with the open source 
driver, but causes issues as soon as I start Hyprland.



It could be both.  I don't think there's any Linux firmware released yet for
this card - but I don't follow the latest & greatest so I could be wrong.
You'd need the AMD amdgpu-pro on top of the amdgpu driver, to bring in the
proprietary OpenGL, OpenCL, Vulkan and AMF components:

https://wiki.gentoo.org/wiki/AMDGPU-PRO

This is what's in portage today:

~ $ eix -l amdgpu-pro
* dev-libs/amdgpu-pro-opencl
  Available versions:
~20.40.1147286 ^fmsd[ABI_X86="32 64"] ["|| ( abi_x86_32
abi_x86_64 )"]
  Homepage:
https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-40
  Description: Proprietary OpenCL implementation for AMD GPUs

* media-libs/amdgpu-pro-vulkan
  Available versions:
~21.50.2.1384496-r1 ^md [ABI_X86="32 64"
VIDEO_CARDS="amdgpu"] ["video_cards_amdgpu"]
~22.10.4.1452060-r1 ^md [ABI_X86="32 64"
VIDEO_CARDS="amdgpu"] ["video_cards_amdgpu"]
~22.20.5.1511376-r1 ^md [ABI_X86="32 64"
VIDEO_CARDS="amdgpu"] ["video_cards_amdgpu"]
~22.40.6.1580631-r1 ^md [ABI_X86="32 64"
VIDEO_CARDS="amdgpu"] ["video_cards_amdgpu"]
~23.10.3.1620044-r1 ^md [ABI_X86="32 64"
VIDEO_CARDS="amdgpu"] ["video_cards_amdgpu"]
~23.20.0.1654522-r1 ^md [ABI_X86="32 64"
VIDEO_CARDS="amdgpu"] ["video_cards_amdgpu"]
  Homepage:https://www.amd.com/en/support
  Description: AMD's closed source vulkan driver, from Radeon
Software for Linux

* media-video/amdgpu-pro-amf
  Available versions:
~1.4.24.1452059 ^md
~1.4.26.1511376 ^md
~1.4.29.1580631 ^md
~1.4.30.1620044 ^md
~1.4.31.1654522 (0/31)^md
  Homepage:https://www.amd.com/en/support
  Description: AMD's closed source Advanced Media Framework (AMF)
driver

Found 3 matches
The firmare seems good, since it is loaded just fine, "dmesg | grep 
amdgpu | grep firmware" returns:

[   16.905914] Loading firmware: amdgpu/psp_13_0_0_sos.bin
[   16.905916] Loading firmware: amdgpu/psp_13_0_0_ta.bin
[   16.905917] Loading firmware: amdgpu/smu_13_0_0.bin
[   16.905917] Loading firmware: amdgpu/dcn_3_2_0_dmcub.bin
[   16.905918] Loading firmware: amdgpu/gc_11_0_0_pfp.bin
[   16.905919] Loading firmware: amdgpu/gc_11_0_0_me.bin
[   16.905919] Loading firmware: amdgpu/gc_11_0_0_rlc.bin
[   16.905920] Loading firmware: amdgpu/gc_11_0_0_mec.bin
[   16.905921] Loading firmware: amdgpu/gc_11_0_0_imu.bin
[   16.905922] Loading firmware: amdgpu/sdma_6_0_0.bin
[   16.905923] Loading firmware: amdgpu/vcn_4_0_0.bin
[   16.906095] Loading firmware: amdgpu/gc_11_0_0_mes_2.bin
[   16.906096] Loading firmware: amdgpu/gc_11_0_0_mes1.bin
[   16.906496] amdgpu :03:00.0: amdgpu: Will use PSP to load VCN 
firmware


Also the mesa libraries work just fine, if I disable 
DRM_FBDEV_EMULATION=n, I just get a black tty, but Hyprland starts and I 
can play games with the expected performance.





[gentoo-user] Issues with amdgpu driver: Compositor hangs, sysfs not working

2024-02-17 Thread Paul Sopka

Hello everybody,

I installed an AMD Radeon RX 7900 XTX today, switching from Nvidia. But 
once I enable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y to have a tty once 
the driver is up, the following happens:


1) My Wayland compositor (Hyprland) takes very long to start.

2) reading from sysfs (e.g. running "cat 
/sys/class/drm/card0/device/gpu_busy_percent") does not work and causes 
a hang.


Once I disable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=n, I have no issues 
with the starting speed of the compositors at all and the mentioned 
command works. But this leads to a black tty.


The only two error messages from amdgpu I find in dmesg are:

[   66.757500] amdgpu :03:00.0: amdgpu: SMU: I'm not done with your 
previous command: SMN_C2PMSG_66:0x0029 SMN_C2PMSG_82:0x

[   66.757502] amdgpu :03:00.0: amdgpu: Failed to disable gfxoff!

and

[  870.087856] amdgpu :03:00.0: amdgpu: SMU: I'm not done with your 
previous command: SMN_C2PMSG_66:0x0029 SMN_C2PMSG_82:0x
[  870.087858] amdgpu :03:00.0: amdgpu: Failed to export SMU metrics 
table!


Did I forget anything or is this a bug?




Re: [gentoo-user] Suggestions for backup scheme?

2024-02-04 Thread Paul Ezvan

Le 30/01/2024 à 19:15, Grant Edwards a écrit :

I need to set up some sort of automated backup on a couple Gentoo
machines (typical desktop software development and home use). One of
them used rsnapshot in the past but the crontab entries that drove
that have vanished :/ (presumably during a reinstall or upgrade --
IIRC, it took a fair bit of trial and error to get the crontab entries
figured out).

I believe rsnapshot ran nightly and kept daily snapshots for a week,
weekly snapshots for a month, and monthly snapshots for a couple
years.

Are there other backup solutions that people would like to suggest I
look at to replace rsnapshot?  I was happy enough with rsnapshot (when
it was running), but perhaps there's something else I should consider?

--
Grant


I use restic [1] with the S3 backend. It manages snapshots and supports 
several backends. It is way faster than the previous backup solution 
I've used (dejadup).


It came handy several times when I had to restore a specific file from a 
point in time.


1: https://packages.gentoo.org/packages/app-backup/restic




Re: [gentoo-user] Open source network monitoring / intrusion detection recommendations?

2023-12-20 Thread Paul Colquhoun
On Thursday, December 21, 2023 8:53:05 A.M. AEDT Mark Knecht wrote:
> Hi,
>I have a couple of older, by today's standards not very powerful,
> laptops and I was considering setting up some sort of network monitoring
> aimed mostly at watching for intrusion events but also just network traffic
> and resource issues. I'm wondering what you all might be using for that
> sort of stuff in the home environment? The network has Linux, Windows,
> Chromebox and Android devices along with a number of smart TV's.
> 
>Thanks in advance for any suggestions.
> 
> Cheers,
> Mark


I haven't used any of them, but this article lists 6 options.
I'd already heard of Kali, but you might find what you are after here:

https://www.comptia.org/blog/linux-distributions-for-ethical-hacking-and-pen-testing

-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Certain packages refuse to use binary from build save, the -k thing.

2023-09-15 Thread Paul Colquhoun
On Saturday, September 16, 2023 2:44:03 P.M. AEST Dale wrote:
> Howdy,
> 
> A couple of my video players are not playing videos correctly.  I've
> rebuilt a few things but no change.  Some work fine, some give a error
> about a bad index or something, some just don't even try at all.  The
> videos come from various sources and are of different file extensions. 
> I can't find a rhyme or reason to the failure.  So, my plan, do a emerge
> -ek world to reinstall all packages instead of just the obvious ones
> that isn't fixing the issue.  I figure that should catch whatever is out
> of sync and fix the problem.  If not, then try to figure out why it is
> breaking the hard way.  This is basically a emerge -e world, just faster
> on my main system.
> 
> What I did before this.  I ran emerge -eak world on my main install. 
> Any packages that showed ebuild, which means it doesn't have a package
> binary, I emerged in my chroot.  Once it was done installing, I copied
> the binary package over to my main install.  However, when I run emerge
> -eak world again on my main install, it still shows ebuild for these
> packages. 
> 


> 
> Most package are the way they should be, showing a binary.  Like this:
> 
> 
> [binary   R] x11-libs/libX11-1.8.6::gentoo  USE="-doc -test"
> ABI_X86="32 (64) (-x32)" 0 KiB
> 
> 
> Does anyone know if there is some reason these packages won't use a
> binary for some reason?  I've recompiled some of these twice now with it
> refusing to show it using a binary.  I expect memtest and a couple
> others to fail but never ran into this before.
> 
> I do this so that my main system updates faster.  A couple of those
> packages has a bit longer compile time.  I might add, I've done this
> countless times doing updates with no problems, most likely even with
> these packages.  Today it just refuses to cooperate. 
> 
> Oh, I posted about handbrake and opencascade blocking some updates in
> another thread a while back, I unmerged those and Kicad which I think
> used opencascade.  It did update some video stuff the other day.  I feel
> some package is out of sync with some other package and hope a reinstall
> will fix it.  Otherwise, could be a bug in some package version. 
> 
> Any ideas? 


Does your compile server have exactly the same USE flags (and other flags) set 
as the target system?


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Paul Colquhoun
On Saturday, August 12, 2023 4:46:17 A.M. AEST Alan Mackenzie wrote:
> Hello, Gentoo.
> 
> For the past couple of days, after $ emerge --sync, I've tried
> 
> $ emerge -auND @world
> 
> ..  It has come back very quickly with the error message:
> 
> #
> 
> !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet
> requirements. - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap
> pop3 progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn
> -kerberos -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba
> -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd"
> ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls -nss
> (-rustls)"
> 
>   The following REQUIRED_USE flag constraints are unsatisfied:
> curl_ssl_openssl? ( openssl )
> 
>   The above constraints are a subset of the following complete expression:
> ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss
> curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls )
> curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? (
> openssl ) curl_ssl_rustls? ( rustls )
> 
> #
> 
> ..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in
> the above message.  I assume it's talking about some USE flag, but which?
> openssl?  curl_ssl_openssl?  As a matter of interest, I have
> =dev-libs/openssl-3.0.9-r2 installed.
> 
> Please help me understand what's happening.
> 
> Thanks for the help!


In the USE flsgs you have: gnutls -openssl
In the CURL_SSL flags you have: openssl -gnutls

These 2 are contradicting each other. One says use gnutls instead of openssl, 
the other says no, use openssl instead of gnutls.

Pick which option you want to use, and adjust the flags to agree on that 
option.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] [OT] Read date input from text file problem

2023-08-05 Thread Paul Colquhoun
On Sunday, August 6, 2023 12:28:26 P.M. AEST Walter Dnes wrote:
>   I have a situation where something that works as a literal but
> doesn't work when reading from a text file.  Here's the problem,
> simplified...
> 
>   I have a text file ztest.txt consisting of one line...
> 
> "August 14, 2021"
> 
>   ...and I have a script ztest consisting of...
> 
> #!/bin/bash
> xtoday=$( date --date="August 14, 2021" +%F )
> echo ${xtoday}
> read < ztest.txt
> echo "${REPLY}"
> xtoday=$( date --date="${REPLY}" +%F )
> echo ${xtoday}
> 
>   Running the script produces three lines of output...
> 
> 2021-08-14
> "August 14, 2021"
> date: invalid date ‘"August 14, 2021"’
> 
>   What am I doing wrong?

The date in the text file shoudn't have the quotes around it.

-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] ip_change_notifier - empty IP address

2023-06-28 Thread Paul Colquhoun
On Wednesday, June 28, 2023 5:05:25 P.M. AEST Neil Bothwick wrote:
> On Tue, 27 Jun 2023 18:49:55 -0600, the...@sys-concept.com wrote:
> > # Query the API to get the current IP address
> > NEW_IP=$(get_ip_address)
> > 
> > # Retry if the IP address is empty
> > retry_count=0
> > while [[ -z "$NEW_IP" && $retry_count -lt 3 ]]; do
> > 
> >  sleep 1
> >  NEW_IP=$(get_ip_address)
> >  ((retry_count++))
> > 
> > done
> 
> That's better, although I would use a longer sleep to allow for network
> issues.

# Retry if the IP address is empty
retry_count=0
while [[ -z "$NEW_IP" && $retry_count -lt 3 ]]; do

 ((retry_count++))
 sleep $retry_count
 NEW_IP=$(get_ip_address)

done


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Gcc 13.1 and chromium

2023-04-27 Thread Paul Colquhoun
On Friday, April 28, 2023 4:40:24 A.M. AEST Alan Grimes wrote:
> I rebuilt my system on gcc 13.1. I think the compiler is good but it
> exposed some bugs in a handful of packages, these are:
> 
> tortoise /var/tmp/portage # tree -L 2
> .
> ├── app-editors
> │   └── scite-5.3.5
> ├── media-libs
> │   ├── liblo-0.31
> │   └── nas-1.9.5
> └── media-sound
>  └── audacity-3.2.5
> 
> 8 directories, 0 files
> tortoise /var/tmp/portage #
> 
> I trust these will be patched and upstream will be notified, hardly
> worth commenting actually.
> 
> Chromium still shows the same error pattern but generated crashes at a
> slower rate than previously, the result is that I was able to collect
> error messages from the very beginning of the run:
> 
> 
> atg@tortoise ~ $ chromium
> [19039:19057:0427/143338.626886:ERROR:bus.cc(399)] Failed to connect to
> the bus: Could not parse server address: Unknown address type (examples
> of valid types are "tcp" and on UNIX "unix")
> [19039:19057:0427/143338.626944:ERROR:bus.cc(399)] Failed to connect to
> the bus: Could not parse server address: Unknown address type (examples
> of valid types are "tcp" and on UNIX "unix")


Have you tried starting it with:

   strace chromium

to get debugging info on each system call. I might show you where the bad 
server address is coming from, as it will list all the files that are opened.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Another day without clues.

2023-04-24 Thread Paul Colquhoun
On Tuesday, April 25, 2023 4:32:59 A.M. AEST Alan Grimes wrote:
> Still no clues as to why chromium can't display about:blank from an
> empty user config folder without spewing hundreds of errors a second.

How are you starting chromium?

Have you tried starting it from a command line to see if it prints any usefull 
error messages?


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8

2022-12-27 Thread Paul Colquhoun
On Wednesday, December 28, 2022 7:36:38 A.M. AEDT Walter Dnes wrote:
>   I gave up on searching Google, and decided to nuke+repave.  I'm sending
> from my backup ("successor") machine.  The original machine now has basic
> install plus xorg-server plus icewm plus xterm.  The titles on the xterm
> window bars are OK, i.e. they are *NOT* missing every second letter.  I
> still have to install 74 apps from the backup copy I made of "world" and
> configure them.
> 
>   I fear that I may have to do the same with the backup machine.  I run
> the same configs on both machines.  I haven't updated the backup machine
> for 63 days, according to the warnings.  Hopefully correcting make.conf
> right now will save me a second reinstall.


Did you try the not quite so hard "emerge --emptytree -a world" first?

It just recompiles your whole current system again, to make sure everything is 
up to date 
and has the current set of Use flags. Skips all the initial installation steps, 
and keeps all 
your /etc config customisations.

-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Paul Colquhoun
On Saturday, December 17, 2022 6:05:08 A.M. AEDT Walter Dnes wrote:
> On Fri, Dec 16, 2022 at 06:46:30PM +, Michael wrote
> 
> > Have you sorted out your locale to include UTF-8?
> > 
> > Check this page:
> > 
> > https://wiki.gentoo.org/wiki/Localization/Guide
> 
>   My /etc/locale.gen has been...
> 
> en_US ISO-8859-1
> en_US.UTF-8 UTF-8
> C.UTF8 UTF-8
> 
> ...for a long time.

Are you missing a hyphen in "C.UTF8"?

-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] NAS and replacing with larger drives

2022-12-09 Thread Paul Colquhoun
On Friday, December 9, 2022 12:58:38 A.M. AEDT Dale wrote:


> I was thinking DAS was not a good option.  It seems like a feature
> removed and cheaper version of NAS. 

Maybe get the DAS, then connect it to the Rasberry Pi 4, to make a DIY NAS.

That way you get a propper encolsure for your drives, without needing to cobble 
something together.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



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

2022-11-16 Thread Paul Colquhoun
On Wednesday, November 16, 2022 6:11:18 P.M. AEDT Alan Grimes wrote:
> Even though only 45 days have passed since my last update, I felt like
> doing one tonight. Usually I should wait six months just to save myself
> the aggrivation...

No, waiting 6 months between updates *causes* aggrivation.

Try updateing on a regular schedule, at 1 or 2 week intervals, and see if 
your experience improves.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] Getting printer working, the road of Pain.

2022-09-09 Thread Paul Colquhoun
On Friday, September 9, 2022 2:52:01 A.M. AEST Alan Grimes wrote:
> Ok. I'm going to have to do it. I'm going to have to get my blessed
> printer working.
> 
> It is the finest laser printer money can buy. God himself uses it to
> process the paperwork involved in assigning souls to either heaven or
> hell... What I'm saying is that the printer is such an immaculate
> example of printing perfection that linux is going to give me absolute
> hell getting it working.
> 
> I will be sthocked if I can get it working in less than two weeks
> working full time and without influcting a migraine and/or an ulcer on
> myself.
> 
> (meanwhile, Windows can print to the thing effortlessly)
> 
> Right now linux is so broken that the CUPS web interface will deny all
> attempts to administer the printer and reject any password. The config
> file is written in moonspeak, I just need the motherfucking thing to say
> yes when I tell it to do a thing. I expect it to take 2-3 days just to
> get over this hurdle.
> 
> How can people actually go around installing linux on people's computers
> as if they were doing them a favor when it really is this bad?


Two points.

1) Did you bother to research the Linux support situation before you purchased 
the 
printer? World's finest printer or not, if they keep parts of the interface as 
proprietry 
secrets then there is not much the Linux maintainers can do.

2) Remind us again why you still try to run Gentoo when you obviously dislike 
it.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] MEGA sync problems

2021-10-08 Thread Paul Colquhoun
On Saturday, October 9, 2021 7:33:04 A.M. AEDT Skippy wrote:
> Greetings.
> 
> I have been using Megasync with Gentoo for many moons. Now I'm having an
> assortment of problems.
> 
> Mega is not in the official Gentoo.  I've been getting my ebuilds from here:
> 
> http://gpo.zugaina.org/net-misc/megasync
> 
> I currently have 4.4.0 installed.  This was working fine until about 2-3
> weeks ago.  Now I get this error message when I attempt to start it.
> 
> 

> --
> 
> There are newer versions available so I figured this was a good
> indicator I should just update Megasync.
> 
> Well the universe hates me and every version of Megasync newer than
> 4.4.0 fails.  In fact if I attempt to re-emerge my existing 4.4.0 that
> fails as well.
> 
> Here is the full emerge log for version 4.5.3.
> 
> https://zerobin.net/?e8b7f31b1ce11c23#4wTnxsnZ+v31rS8PLplBxM+//23zC5b0rMXSAT
> uoYDQ=
> 
> I've been informed that 4.5.3 is failing because it needs <=ffmpeg-3.4.
> 
> That brings me to how to install such a version of ffmpeg. My limited
> understanding of slots tells me this should be possible, but I've yet to
> find anything explaining how to install the older ffmpeg without
> disturbing the newer version.
> 
> Any help with this would be greatly appreciate.  Much thanks.
> 
> Skippy


> -
> 
>   root # emerge -pqv '=net-misc/megasync-4.5.3::Skippy'
> [ebuild U ] net-misc/megasync-4.5.3 [4.4.0] USE="cryptopp curl
> readline sqlite thunar zlib -dolphin -examples -freeimage -gnome -java
> -nautilus -php -python -threads (-qt5%*)" ABI_X86="32 (64) (-x32)"
> 
> 


It looks like you are downloading the ebuild by hand from their web site.

I just installed Megesync 4.5.3 on my system, which has ffmpeg-4.4

The commands I used were:

layman -a 4nykey

to add the 4nykey overlay, which contains megasync, then

emerge -a megasync

just like other portage programs.


If you still get any crypto-related errors, have a look for the recent news 
item 
"*2021-07-23-libxcrypt-migration*"

eselect news list

will get you a list.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes

2021-02-06 Thread Paul Colquhoun
On Saturday, February 6, 2021 6:07:39 A.M. AEDT Walter Dnes wrote:
> On Fri, Feb 05, 2021 at 06:55:12AM -0500, Rich Freeman wrote
> 
> > On Fri, Feb 5, 2021 at 2:45 AM Walter Dnes  wrote:
> > >   So far, so good, but running "ps -ef | grep whatever" and then
> > > 
> > > typing the kill -SIGSTOP/SIGCONT command on the correct pid is grunt
> > > work, subject to typos.
> > 
> > man killall
> 
>   My reading of the "killall" man page is that it works on command
> names.  For my script, "pstop palemoon" stops all instances of Pale
> Moon.  But my script greps the entire line, so "pstop slashdot" will
> stop the process...
> 
> /home/waltdnes/pm/palemoon/palemoon -new-instance -p slasdot
> 
>   Does "killall" have that ability to stop a process based on any
> parameters in the command line?


Someone else mentioned pgrep. It has an associated pkill command as well.
Both appear to have a "-f" option to also search on the full command line.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] gentoo handbook

2020-10-24 Thread Paul Ezvan
Le lundi 12 octobre 2020, 08:47:02 CEST Jude DaShiell a écrit :

>Didn't read about any of this in the handbook, probably some material on
>inside menuconfig might be where this stuff could go.

One option would be to avoid the menuconfig step entirely, by following any of 
the kernel configuration alternative listed in the handbook.

I usually use the genkernel alternative which doesn't require to configure the 
kernel. On my last install I tried the distribution kernel alternative, which 
also went pretty smoothly.

Menuconfig is probably one of the trickiest step of the installation process, 
so you'd save a lot of potential headaches by following one of the 
alternatives.

Paul





Re: [gentoo-user] Re: meson build woes

2020-08-24 Thread Paul Colquhoun
On Tuesday, August 25, 2020 2:23:57 A.M. AEST Grant Edwards wrote:
> On 2020-08-24, Franz Fellner  wrote:
> > On Mo 24 Aug 2020 11:21:10 +0200, Hogren  wrote:
> >> Maybe try to :
> >> 
> >> - Unmerge all python and python-setuptools versions
> > 
> > No, don't do that!!!
> > Unmerging all python version will leave you with a non-working portage.
> 
> Indeed -- I've done that.  It's not fun.  You certainly won't do it a
> second time.
> 
> --
> Grant

I'm trying again.

I started by removing all the Python version stuff I'd added under /etc/
portage to try and bring things back to standard.

Now I'm seeing instances where a package has had multiple 
"python_single_target" variable set, like the example below.

I'm not sure how this is possible, or where they are coming from.

It makes it look like something may be wrong in my profile, but that should get 
corrected every time I sync portage with the mirrors, shouldn't it?


##

[Tue Aug 25 11:42:14]# emerge   --autounmask-keep-masks y --verbose \
  --quiet-fail y --backtrack=99 --keep-going --jobs 6 --with-bdeps y \
  --quiet --update --buildpkg --deep --reinstall changed-use --usepkg n \
  -a -e world 

!!! The ebuild selected to satisfy ">=dev-util/gdbus-codegen-2.48" has unmet 
requirements. 
- dev-util/gdbus-codegen-2.62.6::gentoo USE="" ABI_X86="(64)" 
PYTHON_SINGLE_TARGET="python3_6 python3_7 -python3_8"   
   

 The following REQUIRED_USE flag constraints are unsatisfied: 
   exactly-one-of ( python_single_target_python3_6 
python_single_target_python3_7 python_single_target_python3_8 )

##


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






[gentoo-user] meson build woes

2020-08-22 Thread Paul Colquhoun
For the past month or so (since the recent Python version changes) I haven't 
been able to 
get a full emerge update to complete.

The main culprit seems to be meson, but only because what looks like an 
internal Python 
module, "setup.py", can't import 'setup' from 'setuptools'

All the remaining failures are either the same error, or dependencies of 
packages that get 
the error.

I have been trying various combinations of which Python version is the default 
and which 
versions are in the "PYTHON_TARGETS" variable, but nothing seems to change much.

Rebuilding dev-python/setuptools didn't help either.

My google searches for the error message 
  "cannot import name 'setup' from 'setuptools'" 
also haven't turned up anything that seemed relevent to my system

Does anyone have any suggestions on what I can try before I rebuild my system 
from 
scratch?

The relevant section of the build log in included below, and the full log is 
attached.

"eselect python list" tells me tjhat the default should be python3.6


#
##
 * python3_7: running distutils-r1_run_phase distutils-r1_python_compile
python3.7 setup.py build -j 6
Traceback (most recent call last):
  File "setup.py", line 24, in 
from setuptools import setup
ImportError: cannot import name 'setup' from 'setuptools' (unknown location)
 * ERROR: dev-util/meson-0.54.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 * ebuild.sh, line  125:  Called src_compile
 *   environment, line 2949:  Called distutils-r1_src_compile
 *   environment, line 1219:  Called _distutils-r1_run_foreach_impl 'distutils-
r1_python_compile'
 *   environment, line  447:  Called python_foreach_impl 
'distutils-r1_run_phase' 'distutils-
r1_python_compile'
 *   environment, line 2557:  Called multibuild_foreach_variant 
'_python_multibuild_wrapper' 'distutils-r1_run_phase' 
'distutils-r1_python_compile'
 *   environment, line 2056:  Called _multibuild_run 
'_python_multibuild_wrapper' 'distutils-
r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2054:  Called _python_multibuild_wrapper 
'distutils-r1_run_phase' 
'distutils-r1_python_compile'
 *   environment, line  846:  Called distutils-r1_run_phase 
'distutils-r1_python_compile'
 *   environment, line 1210:  Called distutils-r1_python_compile
 *   environment, line 1079:  Called esetup.py 'build' '-j' '6'
 *   environment, line 1600:  Called die
 * The specific snippet of code:
 *   "${@}" || die "${die_args[@]}";
#
##

-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro

 * Package:dev-util/meson-0.54.2
 * Repository: gentoo
 * Maintainer: flop...@gentoo.org willi...@gentoo.org
 * USE:abi_x86_64 amd64 elibc_glibc kernel_linux 
python_targets_python3_6 python_targets_python3_7 userland_GNU
 * FEATURES:   installsources network-sandbox preserve-libs sandbox userpriv 
usersandbox
 * Applying 0.54.2-multilib-clang.patch ...
 [ ok ]
 * python3_6: running distutils-r1_run_phase distutils-r1_python_compile
python3.6 setup.py build -j 6
running build
running build_py
creating 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/mtest.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/mesonmain.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/interpreterbase.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/msetup.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/msubprojects.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/depfile.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/munstable_coredata.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/mlog.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/mintro.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/envconfig.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/minit.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/coredata.py -> 
/var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild
copying mesonbuild/mesonlib.py -> 
/v

Re: [gentoo-user] What's with all these "acct-group" ebuilds recently?

2020-06-20 Thread Paul Colquhoun
On Sunday, June 21, 2020 9:25:38 A.M. AEST Michael Orlitzky wrote:
> On 2020-06-20 19:06, Daniel Frey wrote:
> > I understand the dependencies problem that they were trying to solve,
> > but I don't think the way it was implemented is a great one.
> 
> This isn't a fundamental problem, it's your package manager being dumb.
> File a bug; I can think of several band-aids for this, like adding a
> flag to emerge that makes it prefer non-acct-* packages and then adding
> that flag to EMERGE_DEFAULT_OPTS.


Or do a quick check to see if any of the packages are dependencies of one of 
the 
other packages, and prefer the one highest on the ladder.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] /usr/portage/distfiles vs /var/cache/distfiles

2020-01-14 Thread Paul B. Henson
On Tue, Jan 14, 2020 at 06:33:58PM -0500, Andrew Udvare wrote:

> The first machine is on a 17.1 profile, and migration was relatively
> simple, and worked. I did it based on this post:
> 
> https://forums.gentoo.org/viewtopic-p-8373904.html?sid=5c30f451df89c01a6bbe0a8dadd77c36#8373904

I'm already on the 17.1 profile. Thanks for the link.





Re: [gentoo-user] /usr/portage/distfiles vs /var/cache/distfiles

2020-01-14 Thread Paul B. Henson
On Tue, Jan 14, 2020 at 05:48:40PM -0500, Mike Gilbert wrote:

> The portage ebuild has some code that automatically patches
> /usr/share/portage/config/make.globals for existing installs. You can
> update the setting there.

Ah, I didn't look there in my search :).

Cool, thanks much for the info.



[gentoo-user] /usr/portage/distfiles vs /var/cache/distfiles

2020-01-14 Thread Paul B. Henson
I recently installed a new server, and noticed that it is using 
/var/cache/distfiles rather than /usr/portage/distfiles. looking at the 
documentation, it seems that is the new default, and it says "new 
installations" will use it. I have older servers which are still using 
/usr/portage/distfiles. None of them have DISTDIR configured, so I am 
curious how portage is deciding between "old" and new"? If I wanted to 
migrate my older boxes to the new location without explicitly setting 
DISTDIR on them, what do I need to change?


Thanks…



Re: [gentoo-user] Strange problem with Ruby (vagrant)

2019-11-20 Thread Paul Klos
t; > dev-ruby/rest-client:2[ruby_targets_ruby25])
> > (ruby_targets_ruby26 ?
> > dev-ruby/rest-client:2[ruby_targets_ruby26])
> > dev-ruby/vagrant_cloud-2.0.3 (ruby_targets_ruby24 ?
> > 
> > >=dev-ruby/rest-client-2.0.2[ruby_targets_ruby24])
> > 
> >  (ruby_targets_ruby25 ?
> > 
> > >=dev-ruby/rest-client-2.0.2[ruby_targets_ruby25])
> > 
> >  (ruby_targets_ruby26 ?
> > 
> > >=dev-ruby/rest-client-2.0.2[ruby_targets_ruby26])
> 
> So I've removed rest-client-2.1.0 and installed 2.0.2. And then:
> > $
> > vagrant   
> >   
> >      
> > Traceback (most recent call last):
> > 
> > /usr/lib64/ruby/site_ruby/2.6.0/rubygems/dependency.rb:311:in
> > `to_specs': Could not find 'ruby_dep' (>= 1.3.1) among 71 total gem(s)
> > (Gem::MissingSpecError)
> > Checked in
> > 'GEM_PATH=/home/skobkin/.gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/lo
> > cal/lib64/ruby/gems/2.6.0', execute `gem env` for more information
> > 
> 
> So I want to ask if someone at all have working Vagrant installation on
> ~amd64 or it's just broken?

I've had a similar situation last week or so, although not extensive as you. I 
just needed to reinstall ruby_dep, which had been depcleaned for some reason.

Cheers,

Paul






Re: [gentoo-user] Replacement for qpopper

2019-10-14 Thread Paul Colquhoun
On Monday, October 14, 2019 5:46:46 P.M. AEDT Hartmut Figge wrote:
> Greetings,
> 
> first some history. qpopper was masked a long time ago now but is still
> installed and working on my Gentoo. Even if it doesn't show up anymore
> on eix. But it does on eix-test-obsolete.
> 
> I don't like this situation and would like to get rid of qpopper and
> replace it with another package. Nothing fancy, only to allow clients to
> use POP3 on localhost.
> 
> Looking at the possibilities it seems I have to use popa3d which I know
> nothing about. Experiments would be tricky because first I would have to
> remove qpopper and would then have lost the current ability to use POP3.
> And if there are difficulties with popa3d... ;)
> 
> Suggestions?
> 
> Hartmut


I used to use qpopper until 2 or 3 years ago.

Now i use net-mail/tpop3d

It's entice config file is:

# cat /etc/tpop3d/tpop3d.conf 
listen-address: 127.0.0.1
mailbox: bsd:/var/spool/mail/$(user)
auth-pam-enable: true
auth-pam-mail-group: mail


It runs as a service, started from systemd.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-05 Thread Paul Colquhoun
On Saturday, July 6, 2019 12:44:46 A.M. AEST Robin Atwood wrote:
> On Fri, 05 Jul 2019 15:34:18 +0100
> 
> Mick  wrote:
> > On Friday, 5 July 2019 15:30:06 BST Robin Atwood wrote:
> > > Thanks Vladimir, that sounds promising. Can you recommend any GPT
> > > programs (this is new to me)? However the dd utility failed when I
> > > tried to copy my old HD to the new one.
> > > 
> > > # dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync
> > > dd: error writing '/dev/sdb': No space left on device
> > > 160+0 records in
> > > 159+0 records out
> > > 10481664 bytes (10 MB, 10 MiB) copied, 0.132944 s, 78.8 MB/s
> > > 
> > > Cheers
> > > Robin
> > 
> > You can use gptfdisk, parted/gparted, etc.
> > 
> > To check the size as well as additional information you can use
> > smartmontools and run:
> > 
> > smartctl -i /dev/sda
> > 
> > It may also be worth checking if later firmware is available to
> > address any issues with it, like reporting the wrong size with some
> > tools.
> > 
> > However, the dd command failure sounds suspicious - as I understand
> > it dd should not fail unless the disk has run out of space.
> 
> OK panic over! I had shelled into the wrong system! The mystery is what
> I was trying to copy to, the machine only has one HD.


It would probably just have created a normal file called /dev/sdb which would 
have grown till it filled the empty space on the partition.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






[gentoo-user] Amazon Corretto JDK?

2019-06-26 Thread Paul B. Henson
Has anybody tried out (or made an ebuild for) the Amazon Corretto jdk
package?

https://aws.amazon.com/corretto/

This looks like an interesting alternative that is no-cost and promises
long term support. It will also be used for almost all AWS java
deployments, so it should be well tested and stable.




Re: [gentoo-user] Re: LVM2 problem, meta data format change?

2019-05-28 Thread Paul Colquhoun
On Tuesday, May 28, 2019 5:14:42 P.M. AEST Michael Haubenwallner wrote:
> Hi Paul,
> 
> as an LVM user without deeper knowledge, stumbled upon your question without
> any reply yet, and my fear was to run into the same when updating lvm2.
> On 5/17/19 2:26 PM, Paul Colquhoun wrote:
> > Recently I found that new kernels were not booting for me, because they
> > could not assemble the LVM partition that I use for the root filesystem.
> > 
> > Booting back to my old kernel still worked.
> > 
> > I have tracked this back to the lvm2 version.
> > 
> > After booting with the old kernel, I ran lvm and tried the 'fullreport'
> > command.
> > 
> > sys-fs/lvm2-2.02.184-r3 gives an error:
> > 
> > lvm> fullreport
> > 
> >  LV root invalid: visible raid meta LV for raid1 segment
> >  LV root invalid: visible raid meta LV for raid1 segment
> >  Internal error: LV segments corrupted in root.
> 
> Searching the web with parts of this error messages leads me to this commit:
> https://github.com/lvmteam/lvm2/commit/dd5716ddf258c4a44819fa90d3356833ccf7
> 67b4
> 
> While I have no idea about "visible SubLVs", maybe that commit message can
> tell something to you?
> 
> > After backing out to an earlier version, sys-fs/lvm2-2.02.183
> > the 'fullreport' actually gives a report.
> > 
> > I'm assuming the only reason the old kernel boots is that it has the older
> > lvm in the initramfs, and once assembled the handover to the live system
> > still works.
> > 
> > I can't find anything online that looks like the same thing to me, so I
> > was
> > wondering if anyone here had encountered a similar problem?
> > 
> > The next step is to try and find how to update the on-disk lvm meta data
> > so the later versions understand it, hopefully without having to rebuild
> > my system from scratch.
> 
> As far as I understand, this doesn't seem like a metadata format _change_,
> but a rare metadata consistency problem that goes unnoticed by the older
> version.


Once I deleted & re-created the logical volume the newer versions had no 
problem.

Unfortunately, since it was my root partition, that took moving data to a 
temporary volume, rebooting from there, re-creating the old LV, moving the 
data back, and rebooting again. Not a quick fix, even if it wasn't that 
difficult.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Re: New Intel CPU flaws discovered

2019-05-18 Thread Paul Colquhoun
On Saturday, May 18, 2019 11:01:30 P.M. AEST Wols Lists wrote:
> On 17/05/19 06:19, Andrew Udvare wrote:
> >> On May 17, 2019, at 01:14, Adam Carter  wrote:
> >> 
> >> The classic one is where OPS haven't noticed that disks in a RAID array
> >> have died years ago...> 
> > This really happened?
> 
> It's probably more common than you think.
> 
> Can't tell (don't really know) the details, but I was told a story first
> hand about someone who went in to the computer room and asked "what are
> those flashing red lights?"
> 
> Cue massive panic as ops suddenly realised that (a) it was the main
> billing server with terabytes of critical information and (b) the two
> flashing lights meant their terribly expensive raid-6 disk array was now
> running in raid-0!


And the even bigger worry would be that a drive replacement and rebuild, which 
is the whole point of using RAID, may fail. The degraded RAID is working (so 
far) but a rebuild (unless it is *very* file system aware) needs to read EVERY 
BLOCK on the existing disks to rebuild the failed drive/s, and if it 
encounters any failed blocks in unused areas of the RAID it may be unable to 
complete the rebuild.

I have seen this happen in previous positions. Not an easy thing to report to 
management, and the unexpected downtime to rebuild everything from backups 
onto new drives can be extensive (and expensive).

This is why good RAID systems have a background task that regularly reads and 
checks every block of every disk, to avoid undetected errors.

Hot Spares are also a good safety measure, along with monitoring software that 
alerts you when the spares have gone live.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






[gentoo-user] LVM2 problem, meta data format change?

2019-05-17 Thread Paul Colquhoun
Recently I found that new kernels were not booting for me, because they could 
not assemble the LVM partition that I use for the root filesystem.

Booting back to my old kernel still worked.

I have tracked this back to the lvm2 version.

After booting with the old kernel, I ran lvm and tried the 'fullreport' 
command.

sys-fs/lvm2-2.02.184-r3 gives an error:

lvm> fullreport 
 LV root invalid: visible raid meta LV for raid1 segment 
 LV root invalid: visible raid meta LV for raid1 segment 
 Internal error: LV segments corrupted in root.


After backing out to an earlier version, sys-fs/lvm2-2.02.183
the 'fullreport' actually gives a report.

I'm assuming the only reason the old kernel boots is that it has the older lvm 
in the initramfs, and once assembled the handover to the live system still 
works.

I can't find anything online that looks like the same thing to me, so I was 
wondering if anyone here had encountered a similar problem?

The next step is to try and find how to update the on-disk lvm meta data so the 
later versions understand it, hopefully without having to rebuild my system 
from scratch.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Re: openjdk?

2019-04-24 Thread Paul B. Henson

On 4/23/2019 4:31 PM, Holger Hoffstätte wrote:


since JDK9+, nothing else. There is no notable difference between
oracle-jdk-8, icedtea-8 or openjdk-8 other than IcedTea (being the JDK-8
LTS maintained by RedHat) also containing the (awesome) Shenandoah GC -
which was also merged into the official upstream JDK12.


Ah, ok; so icedtea-3.11.0 is actually jdk 8? And would be a reasonable 
"swap in place" for oracle-jdk-bin-1.8.0.202?



openjdk-bin-8 as system VM. It is also perfectly "safe" to install openjdk-11 
in parallel
with said flag enabled as long as you don't set it as system VM or know
what you're doing.


What's the difference between icedtea-bin and openjdk-bin? Which one is 
going to be the better long-term replacement for the proprietary Oracle 
jdk? Unless it is labeled differently it doesn't seem any other 
distribution is using icedtea, all of their packages are labeled openjdk.


Thanks much for the info…



[gentoo-user] openjdk?

2019-04-23 Thread Paul B. Henson
So Oracle java has a crappy license now, and I see on the dev list
they're even talking about removing it from portage. However, openjdk
has no stable version, and the ebuild contains:

if use gentoo-vm ; then
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making
this JDK"
ewarn "recognised by the system. This will almost certainly
break things."

Which doesn't build confidence as far as using it 8-/. icedtea is pretty
old. What are people doing for java needs currently? Abusing the Oracle
license? Running old icedtea versions? Ignoring the openjdk warning?

I've been running the redhat openjdk build under Centos for a while and
it seems quite stable, why does Gentoo still consider it not production
ready?

Thanks...



Re: [gentoo-user] kworker using 100% cpu

2019-03-05 Thread Paul Colquhoun
On Tuesday, 5 March 2019 8:53:30 PM AEDT Mick wrote:
> Hi Andreas,
> 
> On Monday, 4 March 2019 19:44:19 GMT Andreas Fink wrote:
> > Hello,
> > I have a problem which uses 100% of one cpu core on my HP-15-bs114ng
> > notebook.
> 
> I had come across the same problem on a mid-2014 MacBook Pro:
> 
> https://archives.gentoo.org/gentoo-user/message/
> 417dfa5af8e9fb76a66fe4816bdc7c44
> 
> > I figured out already that it is somehow related to ACPI
> > interrupts, since the following command will return the system to normal:
> > echo disable > /sys/firmware/acpi/interrupts/gpe16
> 
> Yes, I had to do the same and repeat after each boot.  I can't recall if I
> added this in a script so I didn't have to run it manually each time.


/etc/sysctl.conf is interpreted at boot as an automatic way of doing this, 
instead of using hand made scripts.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] OT scripting - strip zero if between period and digit

2019-01-22 Thread Paul Colquhoun
On Wednesday, 23 January 2019 5:52:57 PM AEDT Alexander Kapshuk wrote:
> On Wed, Jan 23, 2019 at 5:20 AM Adam Carter  wrote:
> >> > François-Xavier
> >> 
> >> My bad, it should be:
> >> 
> >> sed 's/0*\([0-9][0-9]*\)/\1/g'
> >> 
> >> (tests are indeed needed!)
> > 
> > Many thanks François. This is almost right, but it is also stripping zeros
> > that follow a letter, and I only want it to strip zeros that are
> > proceeded by a period. There are no leading zeros in the first octet of
> > the IP so that case does not need to be handled.
> > 
> > Does the \1 refer to what's in the ()'s? So anything that one would wont
> > to carry through should be inside the ()'s and anything that's outside is
> > stripped, right?
> Would something like to do the trick?
> echo 198.088.062.01 | sed 's/\.0/./g'
> 198.88.62.1

In a word, no.

echo 198.088.0.01 | sed 's/\.0/./g'
198.88..1


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] OT scripting - strip zero if between period and digit

2019-01-22 Thread Paul Colquhoun
On Wednesday, 23 January 2019 2:32:43 PM AEDT Adam Carter wrote:
> > $ printf '0.1.2.3 01.2.3.4 1.2.3.0 1.2.000.3\n' | \
> > 
> > sed 's/0*\([[:digit:]]\+\)/\1/g'
> > 
> > 0.1.2.3 1.2.3.4 1.2.3.0 1.2.0.3
> 
> Hi David - thanks for that.
> 
> So [[:digit:]] is another way of writing [0-9] and the + just means another
> instance of the proceeding expression, right, so your and Francois
> solutions are functionally the same, and all the following are the same
> too, right?
> 
> [[:digit:]]+
> [[:digit:]][[:digit:]]
> [0-9]+
> [0-9][0-9]


Not quite.

A trailing '+' means "1 or more of the preceding item", while a trailing '*' 
means "0 or more".

[0-9]+   would match any string consisting of only digits, no matter how long, 
but not an empty string.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] how to prevent portage from installing masked package

2018-10-06 Thread Paul Colquhoun
On Sunday, 7 October 2018 8:34:39 AM AEDT Jack wrote:
> On 2018.10.06 16:29, John Covici wrote:
> > On Sat, 06 Oct 2018 14:55:53 -0400, Rich Freeman wrote:
> > > On Sat, Oct 6, 2018 at 2:04 PM John Covici 
> > 
> > wrote:
> >>> So, I have not been able to figure this out, it did not abort and
> >>> wants to install the masked package, so hear is the whole output
> >>> --- thanks for all your help.
> >> 
> >> What is the actual package.mask set to?  Does the same mask cover
> >> both the installed and upgraded version of gtk+?  It seems odd to me
> >> that emerge would even offer the option to continue if a package was
> >> masked.  You might want to check with the portage team.
> > 
> > The line in my /etc/portage/package.mask says
> > x11-libs/gtk+-3.22.30
> 
> For a specific version, you probably want that to be
>   =x11-libs/gtk+-3.22.30
> or
> 
>   >=x11-libs/gtk+-3.22.30
> 
> although the # in
> [ebuild U #] x11-libs/gtk+-3.24.1:3::mv [3.22.30:3::gentoo]
> seems to show it knows it is listed in package.mask.


Apart from the package.mask syntax error, there is also an emerge flag you 
might want to try:

--autounmask-keep-masks y

I added this when emerge kept asking me to unmask stuff I had manually masked.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Emerge and binary packages

2018-06-30 Thread Paul Colquhoun
On Sunday, 1 July 2018 3:50:47 AM AEST Daniel Frey wrote:
> Hi all,
> 
> Some background: I run mythtv with a single backend and five frontends.
> 
> For many, many years I've been using binpkg to help ease the compile
> pain on my Intel NUC Celeron-based frontends. I use distcc on one to
> compile all my packages and export /usr/portage/packages via nfs.
> 
> I am wondering if it's possible to get emerge to mount
> /usr/portage/packages before actually emerging anything. I've been
> mounting that directory manually but once in a while I forget to.
> 
> Dan


Maybe a wrapper script or an alias like this might be a simple solution.

  alias  emerge="mount /usr/portage/packages ; /usr/bin/emerge "

Put that in your .bashrc file and it will be ready for you every time you 
login.

A wrapper script in your ~/bin directory might be better, as it would let you 
unmount the directory after emerge has finished. You may need to add that to 
your execution $PATH variable in .bashrc

~/bin/emerge
  #!/bin/bash
  mount /usr/portage/packages
  emerge $*
  umount /usr/portage/packages


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] OT: Extracting year from data, but honour empty lines

2018-05-12 Thread Paul Colquhoun
On Saturday, 12 May 2018 12:05:47 PM AEST Paul Colquhoun wrote:
> On Saturday, 12 May 2018 9:16:52 AM AEST Daniel Frey wrote:
> > Hi all,
> > 
> > I am trying to do something relatively simple and I've had something
> > working in the past, but my brain just doesn't want to work today.
> > 
> > I have a text file with the following (this is just a subset of about
> > 2500 dates, and I don't want to edit these all by hand if I can avoid it):
> > 
> > --- START ---
> > December 2, 1994
> > March 27, 1992
> > June 4, 1994
> > 1993
> > January 11, 1992
> > January 3, 1995
> > 
> > 
> > March 12, 1993
> > July 12, 1991
> > May 17, 1991
> > August 7, 1992
> > December 23, 1994
> > March 27, 1992
> > March 1995
> > --- END ---
> > 
> > As you can see, there's no standard in the way the date is formatted.
> > Some of them are also formatted -MM-DD and MM-DD-.
> > 
> > I have a basic grep that I tossed together:
> > 
> > grep -o '\([0-9]\{4\}\)'
> > 
> > This does extract the year but yields the following:
> > 
> > 1994
> > 1992
> > 1994
> > 1993
> > 1992
> > 1995
> > 1993
> > 1991
> > 1991
> > 1992
> > 1994
> > 1992
> > 1995
> > 
> > As you can see, the two empty lines are removed but this will cause
> > problems with data not lining up later on.
> > 
> > Does anyone have a quick tip for my tired brain to make this work and
> > just output a blank line if there's no match? I swear I did this months
> > ago and had something working but I apparently didn't bother saving the
> > script I made. Argh!
> > 
> > Dan
> 
> You can add an alternate regular expression that matches the blank lines,
> but the '-o' switch will still stop that match from being printed as it is
> an 'empty' match. The trick is to modify the data on the fly to add a space
> to the empty lines. I have also added the '-E' switch to make the regular
> expression easier.
> 
> sed -e 's/^$/ /'  YOUR_DATA_FILE  | grep -o -E '([0-9]{4}|^[[:space:]]*$)'


If there is no other type of data in the file, just "lines with dates" & "blank 
lines", then it can be done with just the 'sed' command on it's own:

sed -e 's/.*\([0-9][0-9][0-9][0-9]\).*/\1/' YOUR_DATA_FILE


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] OT: Extracting year from data, but honour empty lines

2018-05-11 Thread Paul Colquhoun
On Saturday, 12 May 2018 9:16:52 AM AEST Daniel Frey wrote:
> Hi all,
> 
> I am trying to do something relatively simple and I've had something
> working in the past, but my brain just doesn't want to work today.
> 
> I have a text file with the following (this is just a subset of about
> 2500 dates, and I don't want to edit these all by hand if I can avoid it):
> 
> --- START ---
> December 2, 1994
> March 27, 1992
> June 4, 1994
> 1993
> January 11, 1992
> January 3, 1995
> 
> 
> March 12, 1993
> July 12, 1991
> May 17, 1991
> August 7, 1992
> December 23, 1994
> March 27, 1992
> March 1995
> --- END ---
> 
> As you can see, there's no standard in the way the date is formatted.
> Some of them are also formatted -MM-DD and MM-DD-.
> 
> I have a basic grep that I tossed together:
> 
> grep -o '\([0-9]\{4\}\)'
> 
> This does extract the year but yields the following:
> 
> 1994
> 1992
> 1994
> 1993
> 1992
> 1995
> 1993
> 1991
> 1991
> 1992
> 1994
> 1992
> 1995
> 
> As you can see, the two empty lines are removed but this will cause
> problems with data not lining up later on.
> 
> Does anyone have a quick tip for my tired brain to make this work and
> just output a blank line if there's no match? I swear I did this months
> ago and had something working but I apparently didn't bother saving the
> script I made. Argh!
> 
> Dan


You can add an alternate regular expression that matches the blank lines, but 
the '-o' switch will still stop that match from being printed as it is an 
'empty' match. The trick is to modify the data on the fly to add a space to the 
empty lines. I have also added the '-E' switch to make the regular expression 
easier.

sed -e 's/^$/ /'  YOUR_DATA_FILE  | grep -o -E '([0-9]{4}|^[[:space:]]*$)'


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] repair FAT-fs

2018-03-02 Thread Paul Colquhoun
On Saturday, 3 March 2018 3:24:32 PM AEDT the...@sys-concept.com wrote:
> I've an android TV box (T95Z Plus) that has a corrupted File System.
> dmes is showing :
> 
> usb-storage 8-1:1.0: USB Mass Storage device detected
> scsi host8: usb-storage 8-1:1.0
> scsi 8:0:0:0: Direct-Access Kingston DataTraveler G3  PMAP PQ: 0 ANSI: 4
> sd 8:0:0:0: Attached scsi generic sg2 type 0
> sd 8:0:0:0: [sdb] 30489408 512-byte logical blocks: (15.6 GB/14.5 GiB)
> sd 8:0:0:0: [sdb] Write Protect is off
> sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00
> sd 8:0:0:0: [sdb] No Caching mode page found
> sd 8:0:0:0: [sdb] Assuming drive cache: write through
> sdb: sdb1
> sd 8:0:0:0: [sdb] Attached SCSI removable disk
> FAT-fs (sdb1): Volume was not properly unmounted. Some data may be
> corrupt. Please run fsck.
> 
> I 've "dosfstools" installed but I can not run: dosfsck - it doesn't exist.


Try 'fsck.vfat' instead. There is also 'fsck.fat' or 'fsck.exfat', at least on 
my installation.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] Re: Is --changed-deps going to be *that* useless?

2018-02-26 Thread Paul Colquhoun
On Tuesday, 27 February 2018 3:25:40 AM AEDT Rich Freeman wrote:
> On Mon, Feb 26, 2018 at 11:16 AM, Nikos Chantziaras <rea...@gmail.com> wrote:
> > On 26/02/18 17:59, Rich Freeman wrote:
> >>> Can't you whitelist packages like automake so that they don't trigger
> >>> rebuilds? Or at least provide a configurable whitelist (for make.conf)
> >>> where
> >>> we can add packages that don't trigger changed-deps rebuilds?
> >>> 
> >>> There is no reason to rebuild anything just because of an automake
> >>> update.
> >>> This is just madness.
> >> 
> >> Are you using --deep?  I suspect that is why changed-deps is looking
> >> at build-time dependencies.  I don't see why you'd need to rebuild
> >> something if a build-time dependency changes, unless you really care
> >> about building with the latest build system (in which case you
> >> probably would want to rebuild after an automake update).
> > 
> > Yes, I use --deep. I've run into cases many times in the past where
> > portage
> > was skipping updates unless I used --deep.
> 
> You might want to avoid combining both --deep and --changed-deps.  I
> haven't tested this but I suspect it is why you're getting all the
> automake-related rebuilds.  Granted, at present that would require two
> separate updates if you wanted to use both.
> 
> It seems like a whitelist isn't really the right solution here.  I
> could see having a way to tell --changed-deps to ignore build-time
> dependencies as useful.
> 
> Of course, the real solution is revbumps whenever necessary, but
> getting devs to do that seems to be impossible, as everybody wants to
> assume that dynamic deps work.


I just tried this to see what was happening, and adding "--with-bdeps n" cut 
the number 
of recompilations right back, even when I still had "--deep" as one of the 
options.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] media-sound/podracer doesn't name downloaded podcasts

2018-02-25 Thread Paul Colquhoun
On Sunday, 25 February 2018 10:59:47 PM AEDT Stroller wrote:
> Hello,
> 
> As per my thread a month ago [1], I've now installed Podracer and gave it a
> spin last night.
> 
> I started by trying to download NPR's Planet Money podcast: 
> https://www.npr.org/sections/money/
> 
> I tried 3 different URLs that I found on that page, none of them worked:
> 
> • https://www.npr.org/feeds/127413729/feed.json
> • https://www.npr.org/podcasts/510289/planet-money/
> • https://www.npr.org/rss/rss.php?id=127413729
> 
> The podcast is also listed in iTunes, I found:
> https://itunes.apple.com/us/podcast/planet-money/id290783428
> 
> Using that URL in my .podracer/subscriptions, Podracer downloaded 300 mp3
> files, I assume every Podcast in the show's archive.
> 
> However the files are named by ID, which is meaningless to humans:
> 
> $ ls podcasts/2018-02-24/ | head
> 20150424_blog_pmoney.mp3
> 20150429_blog_pmoney.mp3
> 20150501_blog_pmoney.mp3
> 20150506_blog_pmoney.mp3
> 20150508_blog_pmoney.mp3
> 20150513_blog_pmoney.mp3
> 20150516_blog_pmoney.mp3
> 20150522_blog_pmoney2.mp3
> 20150522_blog_pmoney.mp3
> 20150527_blog_pmoney.mp3
> $
> 
> If anyone has any suggestions, I'd be grateful. I'll perhaps try Flexget
> later today if I haven't thought of anything else.
> 
> Stroller.
> 
> [1]
> https://archives.gentoo.org/gentoo-user/message/bcd7c0ae62e60a0583f10ae3daf
> 7f0e4


Have you looked at the ID3 tags for the files? If they are properly tagged with 
the name, its 
an easy script to pull the ID3 tag and use it to rename the files.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] Changing dependencies without upping version ??

2017-09-25 Thread Paul Colquhoun
On Monday, 25 September 2017 4:51:22 AM AEST John Blinka wrote:
> > Is this an officially approved technique??  it is DIRTY.
> 
> I imagine that it is sanctioned, otherwise why would there be a
> --changed-deps flag to emerge?  Does seem dirty.  Glad you asked the
> question.  Would love to learn why this is allowed.  In my experience, it
> happens quite often.


Well, --changed-deps is also there for when you change USE flags on your system 
to activate (or deactivate) software features.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] netifrc, configure by SSID and MAC simultaneously?

2017-04-20 Thread Paul Klos



Op 20-4-2017 om 01:16 schreef Peter Humphrey:

On Wednesday 19 Apr 2017 12:00:50 Neil Bothwick wrote:


If you have an always on computer on your network, I would recommend
trying dnsmasq. It has a DHCP server and means you can do all your
network configuration in the one place, with simple text config files.

+1. I've been using it for some years. Nice.

I installed DD-WRT on my router some time ago, and have dnsmasq running 
on that. Works like a charm.




Re: [gentoo-user] Well, I went about updating my system again. (day 6)

2016-12-07 Thread Paul Klos
Op woensdag 7 december 2016 13:57:04 schreef Alan Grimes:
> Alan McKinnon wrote:
> > So why are you running it?
> 
> Do I really need to answer that?
> I want my system upgraded and the gentle approach isn't working -> try
> the rough approach.
> 
Hello Alan,

It's against my better judgement, but here goes. Mind you, I'm not even going 
to attempt to solve your emerge problems, but hopefully this will help you 
nevertheless. 

As far as I can determine everybody who uses Gentoo but you does not use your 
script or anything even remotely like it.
As far as I can determine every now and then someone other than you has a merge 
issue, posts to the list and either gets their issue resolved or, rarely, has 
run into a legitimate issue and needs to patch, or wait for a bug to get fixed.
As far as I can determine you update your system both very rarely, and using a 
method, if it deserves the name, that defies description and consistently runs 
into issues.

These observations lead me to the following hypothesis: your frequency and way 
of upgrading are actually the *cause* of your problems.

Until proven wrong, I'll stick to my hypothesis and offer you these pieces of 
advice:

1. update more frequently
2. let portage do what is was designed to do
3. read (and by read I do in fact actually mean try to understand) and follow 
the veritable heap of advice that was already supplied by the generous souls on 
this list
4. rename your script to jackass.sh and let that refer to anybody who even 
thinks about running it

I'll bet you that:
1.  your updates will go smoother, and
2. you´ll find it easier to get help here if for whatever reason you still run 
into issues.

Best regards and good luck with your update,

Paul

P.S. I sync almost daily and update if there are no big packages that would 
interfere with whatever I'm doing. Today's update was done while I was writing  
this. Once again, no issues. Just one 'emerge @preserved-rebuild' left and I'm 
done. And I didn't even need to figure that out myself, as portage is telling 
me. So I can focus on other things, although in this case, only time will tell 
how useful I spent my time.



RE: [gentoo-user] Umasking media-tv/mythtv-0.28?

2016-12-05 Thread Paul B. Henson
> From: Rich Freeman
> Sent: Thursday, December 01, 2016 12:14 PM
> 
> The other issue is that my mythtv front-end died shortly after I got
> it into the tree, and I've ended up moving off of mythtv.

Bummer; out of curiosity, how are you satiating your media needs now?

> limbo.  However, it almost certainly works and tweaks to improve it
> are certainly welcome.  I'm sure cardoe would commit them but if not I
> can try to help out with that.  I just have no way to test anything at
> the moment so I don't want to fiddle with it without testing feedback
> from an active user.

Cool, thanks. I'll go ahead and unmask it and upgrade over Christmas break with 
a local ebuild then, incorporating the three existing bug fixes and not force 
enabling the logserver for openrc. I actually use syslog for my logging needs 
with mythtv.




[gentoo-user] Umasking media-tv/mythtv-0.28?

2016-11-30 Thread Paul B. Henson
Any dev thoughts on unmasking media-tv/mythtv-0.28? I don't generally
have issues with keywording unstable packages for testing and deploying
ahead of the curve, but I usually try to avoid things that are package
masked, particularly on relatively production stuff like my daily dose
of TV :).

It looks like there are three open bugs on 0.28 that might need to be
addressed before it gets unmasked:

https://bugs.gentoo.org/show_bug.cgi?id=582218

https://bugs.gentoo.org/show_bug.cgi?id=582608

https://bugs.gentoo.org/show_bug.cgi?id=591006


It also seems the current ebuild forces the logserver on if you're not
using systemd? The logserver is deprecated and upstream recommends
against using it, I'm currently using a local 0.27 ebuild with it
disabled using openrc, any particular reason the 0.28 ebuild forces it
on if you're using openrc?

Thanks...



Re: [gentoo-user] Dynamic IP address services.

2016-11-12 Thread Paul Colquhoun
On Mon, 7 Nov 2016 17:54:20 Paul Colquhoun wrote:
> On Mon, 7 Nov 2016 06:17:07 Stroller wrote:
> > Can anyone recommend a free dynamic IP address service.
> > 
> > I've used DynDNS in the past, but I think they discontinued their free
> > accounts.
> > 
> > I've been using DTdns.com until recently, but have somehow managed to lock
> > myself out of my account, so will need to create a new one and thought I'd
> > check here for recommendations first.
> > 
> > All I need to do at the moment is access a single host behind a home
> > router, although it would be nice if there was a free service with room
> > for 2 or 3 hosts in case I need to add more.
> > 
> > Thanks in advance for any suggestions,
> 
> I've been using noip.com for years with no problems.
> 
> There is even an up to date version of their client in portage.


Actually, this was removed a while back, as it wasn't being maintained, and 
I'm using a copy of the ebuild I saved locally.

Sorry for the incorrect information.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] Dynamic IP address services.

2016-11-06 Thread Paul Colquhoun
On Mon, 7 Nov 2016 06:17:07 Stroller wrote:
> Can anyone recommend a free dynamic IP address service.
> 
> I've used DynDNS in the past, but I think they discontinued their free
> accounts.
> 
> I've been using DTdns.com until recently, but have somehow managed to lock
> myself out of my account, so will need to create a new one and thought I'd
> check here for recommendations first.
> 
> All I need to do at the moment is access a single host behind a home router,
> although it would be nice if there was a free service with room for 2 or 3
> hosts in case I need to add more.
> 
> Thanks in advance for any suggestions,


I've been using noip.com for years with no problems.

There is even an up to date version of their client in portage.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] Problems with Xinerama after upgrade to Plasma (KDE5)

2016-09-25 Thread Paul B. Henson
On Fri, Sep 16, 2016 at 10:54:16AM +0200, Dan Johansson wrote:

> Yes, you are correct, I'm running stable (5.6.5).
> Then I'll have to wait for next release to "go stable" or try upgrading 
> to 5.7.4.

As a workaround, uninstall kscreen, create a shell script (named say
xrandr.sh), and put the appropriate xrandr config in it, mine for
example is:

#! /bin/sh
xrandr --noprimary --output DVI-I-2 --left-of DVI-I-1

Go to the KDE system settings, under startup and shutdown, and add this
script in the autostart section as "Pre-KDE startup".

This will result in your monitors being placed correctly under 5.6.x
until you can upgrade to a version with the kscreen bugfix (at that
time, remove this script and reinstall the kscreen ebuild).




Re: [gentoo-user] xdg-open opens pdf with gimp

2016-06-07 Thread Paul Colquhoun
On Tue, 7 Jun 2016 13:42:11 sven.garb...@evall.org wrote:
> Hi,
> 
> xdg-open opens a pdf file with Gimp. I have the following configuration:
> > xdg-mime query filetype tmp/arulesViz.pdf
> 
> application/pdf


This tells you what the mime type of the file is, not what opens it.

Try running:
  xdg-mime query default application/pdf

to see what the default application is for that mime type.

Then you can run
  xdg-mime default insert-your-application-here application/pdf

to change the application that opens that mime type.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] And thus the emerge spake...

2016-04-16 Thread Paul Colquhoun
On Sun, 17 Apr 2016 05:45:15 meino.cra...@gmx.de wrote:
> Hi,
> 
> ...and the novice was buffled and even the master shifted a little bit
> after recognizing this words of the eternal being named emerge.
> I know, that there is a difference in knowing the path and walking the
> path, but it seems that I am not supposed to understand this:
> 
> 
> These are the packages that would be merged, in reverse order:
> 
> Calculating dependencies... done!
> 
> Total: 0 packages, Size of downloads: 0 KiB
> 
> WARNING: One or more updates/rebuilds have been skipped due to a dependency
> conflict:
> 
> dev-util/boost-build:0
> 
>   (dev-util/boost-build-1.60.0:0/0::gentoo, ebuild scheduled for merge)
> conflicts with =dev-util/boost-build-1.58* required by
> (dev-libs/boost-1.58.0-r1:0/1.58.0::gentoo, installed) ^   
>  ^
> 
> 
> !!! The following update has been skipped due to unsatisfied dependencies:
> 
> dev-libs/boost:0
> 
> !!! All ebuilds that could satisfy "=dev-util/boost-build-1.60*" have been
> masked. !!! One of the following masked packages is required to complete
> your request: - dev-util/boost-build-1.60.0::gentoo (masked by: )
> 
> 
> For me it looks like boost not beeing updated/reinstalled because of
> another version of boost, which depends on boost.
> 
> HELP, I need somebody, HELP, not just anybody hee-eee-eelp u!
> 
> Thanks for any HELP in advance! May the source be with you...
> Best regards,
> Meino


Be careful upgrading boost & boost-build. I updated to 1,60.0 a little while 
ago, and akonadi stopped working until I went back to version 1.58.0

This also stopped anything that depends on akonadi, things like kmail.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] module-rebuild populate

2016-03-09 Thread Paul Klos
Op woensdag 9 maart 2016 11:32:15 schreef the...@sys-concept.com:
> I just upgraded to a new kernel and try to run: module-rebuild populate
> but I get:
> bash: module-rebuild: command not found
> 
> Why?
> 
Hi Thelma,

IIRC module-rebuild used to be the tool, but not anymore. I think you're 
looking for

emerge @module-rebuild

Paul



Re: [gentoo-user] Is Calligra / KRITA currently compilable

2016-03-08 Thread Paul Klos
Op zondag 6 maart 2016 13:40:11 schreef Daniel Frey:
> On 03/06/2016 09:21 AM, Paul Klos wrote:
> > Could you share your use flags? Calligra stopped compiling here a few
> > weeks ago. I'd be interested to see if there any differences.
> 
> I recompiled stable and it was fine. I also unmasked 2.9.11, and it
> compiled fine as well:
> 
Well, I figured out what the issue was. I had left an obsolete patch file 
hanging around in /etc/portage, which was causing a failure.

So, my own fault. Sorry about the confusion.

Paul



Re: [gentoo-user] Is Calligra / KRITA currently compilable

2016-03-06 Thread Paul Klos
Could you share your use flags? Calligra stopped compiling here a few weeks 
ago. I'd be interested to see if there any differences.

Thanks,

Paul

Re: [gentoo-user] Difficulty fixing GLSA 201512-07 (gstreamer-0.10)

2016-01-03 Thread Paul Klos
Op zondag 3 januari 2016 07:52:30 schreef Grant:
> GLSA 201512-07 requires that I remove gstreamer-0.10 but I'm finding
> it rather inextricable due to dependencies.  Has anyone else run into
> this problem?
> 
> - Grant
> 

Yes, same here. I arrived to the same conclusion, and decided to just leave it 
in place for now. So, no solution, unfortunately.

Paul



Re: [gentoo-user] Re: Gcc 5.3

2015-12-30 Thread Paul Colquhoun
On Wed, 30 Dec 2015 17:32:44 lee wrote:
> Neil Bothwick <n...@digimed.co.uk> writes:
> > On Tue, 29 Dec 2015 19:21:01 +0100, lee wrote:
> >> > As 4.9.3 is marked stable, I guess that's what'd you get per
> >> > default.
> >> 
> >> 4.8.5
> >> 
> >> I'd have to run emerge --sync to know about more recent versions.  How
> >> is that supposed to be used, btw?  I only run that when I do want to
> >> update everything.  Now if I didn't want to update anything but gcc,
> >> could I run emerge --sync and install gcc 5.x without having trouble
> > 
> > Emerge --sync only updates the portage tree, so
> > 
> > emerge --sync
> > emerge -a sys-devel/gcc:5
> > 
> >> with anything else I might install before actually updating everything?
> >> So if I'd never explicitly update everything but run emerge --sync
> >> frequently, things would be updated over time, occasionally?
> > 
> > No, nothing would get updated. To do that you need to run emerge @world
> > after emerge --sync.
> 
> Well, yes, but what if want to install a package that hasn't been
> installed yet, or re-emerge an installed package with different USE
> flags, after updating the portage tree?  Will a more recent version be
> installed than would have been installed before the tree was updated,
> maybe updating other packages to more recent versions because they are
> needed for the new package?


You have a couple of options.

First, start with "emerge -p whatever" and see what update would happen with 
no adjustments.

Then try again, but specify the version you want and see if that works: 
"emerge -p =whatever-1.2.3"

If it is still trying to install updated versions of libraries or other 
dependencies, make a file like /etc/portage/package.mask/whatever and block 
anything higher than the library/dependency versions you already have.

A bit more work, but probably not much.

However, if you get too far behind, the versions you want may have been 
removed from the portage tree. This is still not a deal breaker. Old ebuilds 
are available from the Gentoo attic at 
https://sources.gentoo.org/cgi-bin/viewvc.cgi and can be installed in a local 
overlay. (I put mine in 
/usr/local/portage). Just put "PORTDIR_OVERLAY=/usr/local/portage" into 
/etc/portage/make/conf and you should be set.

You could also use the local overlay to just add the updated ebuilds for 
things you do want to upgrade (and required dependency upgrades, etc) but I 
think that would quickly become very unwieldy.



> Other distributions usually (want to) update a lot of packages once you
> update the information about available packages.
> 
> >> > Stuff compiled with older gcc's should run with newer libgcc*[0], but
> >> > stuff compililed with a newer gcc might not run with the older
> >> > libgcc*. Same goes, with more problems IIRC, for libstdc++.
> >> > So beware of that. Apart from that? I'm not aware of problems.
> >> 
> >> Uhm ... So I might break the system by switching between compiler
> >> versions?
> > 
> > That's highly unlikely as software that has been compiled with the old
> > compiler will still work.
> 
> And if not?
> 
> Just yesterday I tried to update a Fedora install and it failed so that
> the machine is now unusable because it only keeps rebooting.  I expected
> it to fail, just not that badly ...  If I could find my USB stick, I'd
> be putting Gentoo on it now.
> 
> > You may find that some programs fail to
> > recompile with the new compiler, but I didn't experience that with the
> > 4.9>5 step, although I had some that would build with 4.8 but not 4.9.
> > 
> > I have an application which I would like to compile with gcc
> > 
> >> 5.x just to see if that's even possible.  I could switch, try it, and
> >> then switch back.
> > 
> > Exactly, run gcc-config, compile/emerge the program, run gcc-config again.
> 
> And what about ccache?  Will it use the new version automatically and
> detect that the compiler version has changed so that files in the cache
> need to be recompiled?

-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] Re: Gcc 5.3

2015-12-25 Thread Paul Colquhoun
On Sat, 26 Dec 2015 14:00:55 Paul Colquhoun wrote:
> On Fri, 25 Dec 2015 12:40:48 walt wrote:
> > On Thu, 24 Dec 2015 10:18:27 -0500
> > 
> > Alan Grimes <alonz...@verizon.net> wrote:
> > > Hey, thanks for putting out gcc 5.3...
> > > 
> > > Unfortunately, it fails to bootstrap on my machine. I am getting
> > > differences between the stage 2 and stage 3 compilers and it's
> > > dying... =(
> > 
> > I'm waiting for 5.3.1 before I even try to install it on my main
> > desktop machine.  But I've installed it in a virtual gentoo ~amd64
> > machine, so I know that the failure you are seeing was introduced when
> > the 'jit' useflag was added to the gcc ebuild.
> > 
> > You can work around the failure by installing 5.3.0 with the -jit
> > useflag (which should succeed) and *then* switch to 5.3.0 using
> > gcc-config before re-installing 5.3.0 with +jit.
> > 
> > David mentioned that he succeeded by using gcc-4.9 but I had to use the
> > workaround I described above.
> 
> I disabled the 'jit' flag for gcc, and 5.3.0 compiled cleanly.
> 
> Now to turn the flag back on and see if that works.


Yes, using gcc-5.3.0 to recompile 5.3.0 with +jit worked.

Thanks.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] Re: Gcc 5.3

2015-12-25 Thread Paul Colquhoun
On Fri, 25 Dec 2015 12:40:48 walt wrote:
> On Thu, 24 Dec 2015 10:18:27 -0500
> 
> Alan Grimes <alonz...@verizon.net> wrote:
> > Hey, thanks for putting out gcc 5.3...
> > 
> > Unfortunately, it fails to bootstrap on my machine. I am getting
> > differences between the stage 2 and stage 3 compilers and it's
> > dying... =(
> 
> I'm waiting for 5.3.1 before I even try to install it on my main
> desktop machine.  But I've installed it in a virtual gentoo ~amd64
> machine, so I know that the failure you are seeing was introduced when
> the 'jit' useflag was added to the gcc ebuild.
> 
> You can work around the failure by installing 5.3.0 with the -jit
> useflag (which should succeed) and *then* switch to 5.3.0 using
> gcc-config before re-installing 5.3.0 with +jit.
> 
> David mentioned that he succeeded by using gcc-4.9 but I had to use the
> workaround I described above.


I disabled the 'jit' flag for gcc, and 5.3.0 compiled cleanly.

Now to turn the flag back on and see if that works.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] Gcc 5.3

2015-12-24 Thread Paul Colquhoun
On Thu, 24 Dec 2015 10:18:27 Alan Grimes wrote:
> Hey, thanks for putting out gcc 5.3...
> 
> Unfortunately, it fails to bootstrap on my machine. I am getting
> differences between the stage 2 and stage 3 compilers and it's dying... =(
> 
> make[2]: Entering directory
> '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build'
> make[3]: Entering directory
> '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build'
> rm -f stage_current
> make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build'
> Comparing stages 2 and 3
> warning: gcc/cc1plus-checksum.o differs
> warning: gcc/cc1-checksum.o differs
> Bootstrap comparison failure!
> gcc/tree-ssa-threadedge.o differs


I'm getting the same problem. I keyworded 5.1.0 as a test, and it did the same 
thing.

Perhaps my search skills are lacking, but I cant see anything else about this 
for GCC v5 (yet).

Was planning to poke at it for a few more days before putting in a bug report.

I've included the first part of 'emerge --info' for my system below. Is yours 
similar?


Portage 2.2.26 (python 2.7.11-final-0, 
default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.9.3, glibc-2.22-r1, 4.2.2-
gentoo x86_64)
=
 System Settings
=
System uname: Linux-4.2.2-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-
with-gentoo-2.2
KiB Mem:16441164 total,679344 free
KiB Swap:   67108856 total,  67108684 free
Timestamp of repository gentoo: Thu, 24 Dec 2015 15:45:01 +
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:  4.3_p42::gentoo
dev-java/java-config: 2.2.0::gentoo
dev-lang/perl:5.22.1::gentoo
dev-lang/python:  2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1-
r2::gentoo
dev-util/ccache:  3.2.4::gentoo
dev-util/cmake:   3.4.1::gentoo
dev-util/pkgconfig:   0.29::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf:   2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:   1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4-
r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:   2.25.1-r1::gentoo
sys-devel/gcc:4.9.3::gentoo
sys-devel/gcc-config: 1.8::gentoo
sys-devel/libtool:2.4.6-r1::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:   2.22-r1::gentoo


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] 'emerge --update @world -pv' keeps trying to upgrade to a masked package

2015-10-13 Thread Paul Colquhoun
On Tue, 13 Oct 2015 17:53:54 Marat BN wrote:
> Hello there,
> 
> I'm having a curious problem trying to update my system.
> 
> I issue the command:
> 
> emerge --update @world -pv
> 
> 
> Portage comes back with the following:
> 
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
> 
> net-wireless/bluez:0
> 
>(net-wireless/bluez-4.101-r9:0/0::gentoo, installed) pulled in by
>net-wireless/bluez:0/0= required by
> (media-sound/pulseaudio-5.0-r7:0/0::gentoo, installed)
>^
> (net-wireless/blueman-1.23-r2:0/0::maratbn, installed)
>^ ^
> 
>(net-wireless/bluez-5.33:0/3::gentoo, ebuild scheduled for merge)
> pulled in by
> 
>>=net-wireless/bluez-5 required by
> 
> (net-misc/networkmanager-1.0.6:0/0::gentoo, ebuild scheduled for merge)
>^^ ^
> 
> But I have the following line in my '/etc/portage/package.mask':
> 
> =net-misc/networkmanager-1.0.6:0/0::gentoo
> 
> 
> So doesn't this tell portage not to upgrade to it?   Why does it still
> schedule it for merge?
> 
> 
> Thanks a lot,
> Marat


Try adding "--autounmask-keep-masks y" to your emerge command line, to stop it 
suggesting that you unmask packages.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] update problems

2015-09-20 Thread Paul Colquhoun
On Sat, 19 Sep 2015 21:05:27 Neil Bothwick wrote:
> On Sat, 19 Sep 2015 21:36:06 +0200, lee wrote:
> > emerge -j 8 -a --update --newuse --deep --with-bdeps=y
> > @world
> > 
> >  * IMPORTANT: 4 news items need reading for repository 'gentoo'.
> >  * Use eselect news read to view new items.
> > 
> > These are the packages that would be merged, in order:
> > 
> > Calculating dependencies... done!
> > 
> > !!! Multiple package instances within a single package slot have been
> > pulled !!! into the dependency graph, resulting in a slot conflict:
> > 
> > dev-libs/boost:0
> > 
> >   (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, ebuild scheduled for
> > 
> > merge) pulled in by (no parents that aren't satisfied by other packages
> > in this slot)
> > 
> >   (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for
> > 
> > merge) pulled in by dev-libs/boost:0/1.55.0= required by
> > (dev-libs/librevenge-0.0.2:0/0::gentoo, installed)
> > ^^ (and 2 more with the same problem)
> > 
> > dev-util/boost-build:0
> > 
> >   (dev-util/boost-build-1.55.0:0/0::gentoo, installed) pulled in by
> >   
> > =dev-util/boost-build-1.55* required by
> > 
> > (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for merge)
> > ^
> > ^
> > 
> >   (dev-util/boost-build-1.56.0:0/0::gentoo, ebuild scheduled for merge)
> > 
> > pulled in by =dev-util/boost-build-1.56* required by
> > (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, ebuild scheduled for merge)
> > ^
> > ^
> > 
> > media-video/ffmpeg:0
> > 
> >   (media-video/ffmpeg-2.6.3:0/54.56.56::gentoo, ebuild scheduled for
> > 
> > merge) pulled in by (no parents that aren't satisfied by other packages
> > in this slot)
> > 
> >   (media-video/ffmpeg-2.2.14:0/52.55.55::gentoo, installed) pulled in by
> >   
> > media-video/ffmpeg:0/52.55.55=[vdpau] required by
> > 
> > (media-libs/mlt-0.9.0:0/0::gentoo, installed)
> > ^^^
> 
> These are unimportant, it is simply portage telling you it is not
> updating some packages to the latest available and why. Personally, I
> believe this sort of output should only be shown when using --verbose.


There is an open bug/feature request for portage to be able to drop all these 
blocked/blocking packages (and their dependencies) and continue installing all 
the unaffected packages.

https://bugs.gentoo.org/show_bug.cgi?id=476350


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [OT] Re: [gentoo-user] mpv upgrade warning

2015-09-20 Thread Paul Klos


Neil Bothwick <n...@digimed.co.uk> schreef op 20 september 2015 18:40:05 CEST
>
> [snip]
>
>I have a proper printed OED, all 1800 pages of it. It's a few years old
>so doesn't include words like selfie or twerking, but I get by with it.
>It's main use is for dealing with would be pedants ;-)

Since we're being pedantic, that would be "Its main use" in this case ☺

Cheers,

Paul




Re: [gentoo-user] 69.99 != 69.99

2015-08-22 Thread Paul Colquhoun
On Sat, 22 Aug 2015 16:57:41 hw wrote:
 Am 22.08.2015 um 15:43 schrieb Alan McKinnon:
  On 22/08/2015 15:26, hw wrote:
  Hi,
  
  I have the following in a perl script:
 if ($a != $b) {
 
   print e: '$a', t: '$b'\n;
 
 }
  
  That will print:
  
  e: '69.99', t: '69.99'
  
  
  When I replace != with ne (if ($a ne $a) {), it doesn't print.
  
  
  Is that a bug or a feature?  And if it's a feature, what's the
  explanation?


  != does a numerical comparison. More on this below
  ne does a string comparison. When viewed as a bunch of 
characters, 69.99
  and 69.99 are identical.

  Now, your comparisons are NOT random. They are entirely 
predictable, as
  long as you know what is going on; you are running into floating 
point
  numbers. And as it turns out, computers never represent these 
things
  exactly (they are NOT integers). Even though they look identical
  on-screen, in RAM they will not be (this must be so for perl to do the
  print). Maybe they actually resolve to 69.99001 and 
69.9900. You
  see them as close-as-dammit equal, perl sees them as entirely 
different.
 
 Why can't it print the number as it is, or at least as it is compared,
 like it should?  If it would, one could see at once what the problem is.


Your print values are coming from the original variables. The numeric 
comparison does an internal conversion to two temporary variables, 
and compares those, WITHOUT affecting the original data.

This string to float conversion appears not to be deterministic, if it 
converts two identical strings into two different float values, but I don't 
know enough about the internals to comment any further.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] Re: why --noclear not set on tty1 in default /etc/inittab?

2015-08-12 Thread Paul Tobias
On 8 August 2015 at 20:11, Jonathan Callen jcal...@gentoo.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 On 08/08/2015 01:37 PM, James wrote:
  James wireless at tampabay.rr.com writes:
 
  there is *no we* in nix unless your or I step up. Fair enough!
  ::
 
  git clone --bare https://gitweb.gentoo.org/proj/gli.gitCloning
  into bare repository 'gli.git'... fatal: repository
  'https://gitweb.gentoo.org/proj/gli.git/' not found
 
  It'd be wonderfully appreciated if somebody (anybody) has those
  old installer sources anywhere I can replicate them for
  tweaking.
 
 
  SVEN created a wonderful repositor of old portage snapshots::
 
 
  http://blog.siphos.be/2013/12/upgrading-old-gentoo-installations/
 
  But, alas it has disappeared too?
 
  Granted the posted reason is a failure of guidexml:
 
  Resource unavailable
 
  The requested resource uses Gentoo's retired web publication system
  GuideXML. As support for GuideXML was disabled on May 18, 2015, the
  resource can not be displayed. We hope the author provides an
  updated version soon.  
 
 
  So there is no other way to publish archived portage tree
  snapshots?
 
  Really?
 
  Gentoo devs should at least appreciate the frustration the
  gentoo_commoners experience:: since it looks like the only
  automated installer we're going to get on gentoo is DYI I'm ok
  with that but the simplest path (IMHO) is to just start off where
  the 2009 installer left off.
 
 
  After all, all the brilliant minds say that it cannot be be or
  should not be done (create and automated gentoo installer).
 
 
  James

 Until Sven updates his code to not use GuideXML, I have linked to his
 snapshots in my own devspace, under
 http://dev.gentoo.org/~jcallen/snapshots/.

 The snapshots go back to 2008-01-20, and are current to 2015-07-20.

That's useful, thanks!

To get back to the topic, it looks like the default won't change so I
added a file to /etc/portage/patches/:

# cat /etc/portage/patches/sys-apps/sysvinit/inittab-no-clear.patch
--- inittab.old 2015-08-12 17:01:15.816699692 +0200
+++ inittab 2015-08-12 17:05:18.768780431 +0200
@@ -36,7 +36,7 @@
 su1:S:wait:/sbin/sulogin

 # TERMINALS
-c1:12345:respawn:/sbin/agetty 38400 tty1 linux
+c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear
 c2:2345:respawn:/sbin/agetty 38400 tty2 linux
 c3:2345:respawn:/sbin/agetty 38400 tty3 linux
 c4:2345:respawn:/sbin/agetty 38400 tty4 linux

And if you have systemd, you can do something like this:

# cat '/etc/systemd/system/getty@tty1.service.d/noclear.conf'
[Service]
TTYVTDisallocate=no



Re: [gentoo-user] LVM not accessible after reboot

2015-08-10 Thread Paul Tobias
 my ideas is that LVM2 is not ready at the time of mounting partitions.
how can i do this?

I had the same problem on a system where scsi initialization was very slow.
Adding rootdelay=30 to the kernel command line fixed it. The 30 is how
many seconds should the kernel wait before it starts mounting filesystems.

There was an scsi-wait-scan module too, but I think that was removed from
recent kernels.

Maybe this is not the same problem you have, probably it's quite rare to
have a slowly initializing disk subsystem.


Re: [gentoo-user] Hubris?

2015-08-09 Thread Paul Tobias
On 9 Aug 2015 17:15, Jeremi Piotrowski jeremi.piotrow...@gmail.com
wrote:

 On Wed, Jul 29, 2015 at 12:53 PM, Bruce Schultz brul...@gmail.com wrote:
  On 29 July 2015 6:18:43 AM AEST, Neil Bothwick n...@digimed.co.uk
wrote:
  On Wed, 29 Jul 2015 05:29:18 +1000, Bruce Schultz wrote:
  But I think you do if your btrfs is raid 1. The kernel can't mount
  multidisk btrfs until it done a btrfs device scan in userspace, run
  from initramfs.
 
  According to the btrfs wiki you can pass
  device=/dev/sda1,device=/dev/sdb1 on the kernel boot line.
 
  I'd forgotten that option. Btrfs wiki also says this though:
 
  Using device is not recommended, as it is sensitive to device names
  changing. You should really be using a initramfs. Most modern
distributions
  will do this for you automatically if you install their own btrfs-progs
  package.

 I was wondering if *anyone* has actually seen this work. I'm referring to
 booting a raid1 btrfs volume without performing a user-space device scan,
 using only the kernel `rootflags=device` setting. I have been struggling
with
 this in various settings and am slowly starting to believe that this
scenario
 is simply broken.

It works, but a patched kernel is needed. Take a look at
https://forums.gentoo.org/viewtopic-p-7275724.html The patch there was
still working on the latest kernel a while ago. I used it on 2 of my
systems, but I moved on and now using dracut everywhere.


Re: [gentoo-user] gru2-mkconfig tries to read the extended partition ??

2015-07-24 Thread Paul Tobias
On 23 Jul 2015 16:18, gottl...@nyu.edu wrote:

 On Thu, Jul 23 2015, Paul Tobias wrote:

  On 23 Jul 2015 02:31, gottl...@nyu.edu wrote:
 
  My new installation is running well, in particular it boots fine.
  However the grub2-mkconfig seems odd.
 
  It finds linux (all kernels) and the stub windows partition.  But then
I
  get messages that both ext4-fs and FAT-fs have trouble with /dev/sda4,
  which is the extended partition.  Perhaps the fact that the windows
  partitions sda[23] don't really have windows on them yet is part of the
  answer??
 
  Has anyone else seen something like this?
 
  thanks,
  allan
 
  Maybe there was another partition on the disk around that location
before
  and the file system signature is still lurking around? Run `wipefs
  /dev/sda4`,  that will show you which signatures are there.

 Wow what a command name!  When I first read your msg I had a double
 take, since wiping (i.e., erasing) /dev/sda4 would erase my entire linux
 installation.  Reading the man page helped, but I would like one more
 piece of assurance.  Am I correct in believing/hoping that when the man
 page says

When used without options -a or -o, it lists all visible filesystems
and the offsets of their basic signatures.

 it means

When used without options -a or -o, it lists all visible filesystems
and the offsets of their basic signatures *and erases nothing*.

 I really don't want to damage any signature on the extended partition
 that is needed to access the sub-partitions it contains.  As I said
 my newly installed gentoo resides on those sub-partitions.

 thanks.
 allan


yes,  wipefs doesn't actually write anything if ran without options. I use
it when I suspect blkid doesn't show me all the signatures.

but my message was a shot in the dark because I didn't actually see the
exact error message you are getting. please send the output of wipefs
/dev/sda4 and the error message you are getting together with the actual
commands you are running to get the output. that way there will be more
helpful replies (and hopefully less flame).


Re: [gentoo-user] gru2-mkconfig tries to read the extended partition ??

2015-07-23 Thread Paul Tobias
On 23 Jul 2015 02:31, gottl...@nyu.edu wrote:

 My new installation is running well, in particular it boots fine.
 However the grub2-mkconfig seems odd.

 It finds linux (all kernels) and the stub windows partition.  But then I
 get messages that both ext4-fs and FAT-fs have trouble with /dev/sda4,
 which is the extended partition.  Perhaps the fact that the windows
 partitions sda[23] don't really have windows on them yet is part of the
 answer??

 Has anyone else seen something like this?

 thanks,
 allan


Maybe there was another partition on the disk around that location before
and the file system signature is still lurking around? Run `wipefs
/dev/sda4`,  that will show you which signatures are there.


Re: [gentoo-user] KMail-2 duplicates

2015-07-06 Thread Paul Colquhoun
On Mon, 6 Jul 2015 09:33:58 Peter Humphrey wrote:
 Hello list,
 
 Isn't anyone else suffering duplication of e-mails in KMail-2? This list 
is
 silent on the subject, and the bug I opened in April still hasn't even 
been
 confirmed, never mind acted on.
 
 https://bugs.kde.org/show_bug.cgi?id=346695
 
 It looks as though the underlying database design is incomplete, or 
just
 broken, to judge by ~/.local/share/akonadi/db_data/mysql.err . I raised 
bug
 348491 about that - also unconfirmed so far. I suppose the KDE devs 
are
 overwhelmed.


Yes, I get duplicate message as well. I've been getting them for all 
versions of Kmail-2, as far as I remember.

Currently using version 4.14.8 and the frequency of duplicates has 
dropped, but they still happen.

Also, Kmail-2 doesn't seem to move message files correctly in maildir 
folders. Quite a few get left in the 'new' directory instead of being moved 
to 'cur'. I havn't checked to see it these correleate with duplicated 
messages at all.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] mount -o bind /dev /mnt/gentoo/dev

2015-06-23 Thread Paul Tobias
 test -e ${root}/dev/zero   || mount --bind /dev/ ${root}/dev
 test -e ${root}/dev/shm/dh || mount --bind /dev/shm ${root}/dev/shm
 test -e ${root}/dev/pts/0  || mount --bind /dev/pts/ ${root}/dev/pts

no need to separately mount shm and pts,  just use --rbind,  as the install
doc recommends https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base


Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing

2015-06-08 Thread Paul Klos
Op maandag 8 juni 2015 14:40:28 schreef Andrew Lowe:
 On 06/08/2015 02:23 AM, Daniel Frey wrote:
  On 06/07/2015 10:30 AM, Paul Klos wrote:
  Op zondag 7 juni 2015 10:17:24 schreef Daniel Frey:
  On 06/07/2015 08:10 AM, Andrew Lowe wrote:
  Same here.
  
  Can't seem to reply to myself, just posting back the nepomuk USE-flag
  did indeed fix it.
  
  Dan
  
  Interesting, I have indeed still enabled the nepomuk USE flag on kdelibs.
  
  I'm curious to know why nepomuk is marked deprecated when it's still in
  use. It doesn't appear there's a replacement for this functionality.
  
  Dan
 
   Interesting observation. Long story way, but I hate the whole
 nepomuk/akonadi stuff and disable it where I can. Looking at kdelibs
 shows that, yes it is disabled. This just begs the question, why is the
 ability to show two thumbnails side by side dependant on a file indexer?
 
   As to nepomuk being deprecated,, according to its website:
 
 https://userbase.kde.org/Nepomuk
 
 it's on the way out and something called Baloo in the new greatest
 thing/debacle since sliced bread.
 
   I might have a look at kdelibs as to why there is this dependency, but
 it looks like I'm going to have to live without my preview pictures
 
   Thanks to all who offered ideas etc,
   Andrew

I recently deleted the complete nepomuk cache from my kde profile. The files 
hadn't been touched since November last year. I have had the nepomuk USE flag 
enabled for a long time, and I hadn't even noticed that the nefarious nepomuk 
implementation had been replaced with Baloo.

Baloo seems to do what you might expect from a file indexer: it runs in the 
background and silently indexes you files. You wouldn't even know it's there. 
Actually I *didn't* notice it was there :-).

I think the nepomuk use flag has become a bit of a misnomer by now, because 
there is no more actual nepomuk to pull in.

Maybe it's worth a try to enable it again, and enjoy these pretty previews.

Paul



Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing

2015-06-07 Thread Paul Klos
Op zondag 7 juni 2015 10:17:24 schreef Daniel Frey:
 On 06/07/2015 08:10 AM, Andrew Lowe wrote:
  Same here.
  
 
 Can't seem to reply to myself, just posting back the nepomuk USE-flag
 did indeed fix it.
 
 Dan
 
Interesting, I have indeed still enabled the nepomuk USE flag on kdelibs.



Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing

2015-06-07 Thread Paul Klos

Op zondag 7 juni 2015 17:42:37 schreef Andrew Lowe:

Hi all,
Under KDE, which I use, when you go to move/copy a file and it
already exists in the destination, you get a dialogue pop up with a
heading of File already exists, it says in the dialogue Source and
Destination with the respective paths underneath then underneath that
a big expanse of nothing then below that some stuff including the
Overwrite/Skip/Cancel buttons.

My question relate to the expanse of nothingness. For example, if I'm
moving/copying image files, should there be a preview of the two files
in this nothingness? Is there some USE flag I've stuffed up that has
disabled this. This happens, in my experience with Dolphin and 
Gwenview,

but I'm assuming they both use a standard Qt/KDE dialogue so others
probably display this behaviour as well.

Any thoughts, greatly appreciated,

Andrew


Hi Andrew,

If I try to copy a file that already exists in the destination folder, I 
do indeed get preview images and some metadata, not a vast expanse of 
nothingness.


For example, when copying a jpg  the dialog shows thumbnails of the 
source and the destination, and underneath each image the type, size, 
width, height and the date it was last modified.


Below that is an input field where an alternative name can be entered, 
which presumably you still have. Finally there are the buttons.


As for what triggers the presence/absence of the preview, I have no 
idea.


Paul




Re: [gentoo-user] Copying/Moving a file in KDE - is the preview missing

2015-06-07 Thread Paul Klos
Op zondag 7 juni 2015 08:02:04 schreef Dale:
 Andrew Lowe wrote:
  On 06/07/2015 08:24 PM, Mick wrote:
 
  From what I recall, in a full KDE desktop you will see previews only if 
  you 
  have clicked on View/Previews to enable it.  This will create loads of 
  thumbnails of various files so that the preview can show these.
 
  Have you tried this?
 
  No I haven't. I've just tried, but I can't find what you're actually
  referring to. Is View/Preview a system setting somewhere, an
  application setting or you can't remember the actual title and it could
  be view or preview???
 
  Thanks for the suggestion,
 
  Andrew
 
  .
 
 
 
 In Konqueror, Settings up top, Configure Konqueror.  In the new window,
 expand File Management, click General then click the tab Previews.  I
 have videos, images etc checked here.  I can see previews of the files
 while navigating around so I knew this was set already, but checked to
 make sure there wasn't something new here.
 
 You're not alone tho.  I have the same as you.  Weird. 
 
 Dale
 
 :-)  :-) 
 
 
Well, nothing substantial comes to mind, but I have a few suggestions/questions 
to investigate.

Have you tried with another, or a new, user?

Do you use a custom theme? If so, you could switch it back and see if that 
makes any difference/

Is your disk full?

Are both directories local, or are you copying to or from a remote directory?

Paul



Re: [gentoo-user] user config provisioning

2015-05-21 Thread Paul Tobias
On 20 May 2015 22:08, Stefan G. Weichinger li...@xunil.at wrote:

 alias abcd-server='ssh -p 51023 174.183.26.11'  # demo only

Instead of aliases,  you can put this into ~/. ssh/config:
Host abcd
  Port 51023
  Hostname 174.183.26.11

And then you can simply do this:
ssh abcd

As a bonus, the host abcd will work with scp and rsync too. You can
check man ssh_config for some other options to use, for example the
User is very useful too. Here are some more tricks:
https://blog.flameeyes.eu/2011/01/mostly-unknown-openssh-tricks

There is a package net-misc/keychain which is useful to add your keys
to the agent, and handles gpg keys too.

Also note that most ssh servers allow only 3-5 authentication
attempts, so if you have more than 2 keys in your agent, then
connecting to a server with password authentication might fail.

If you need to keep security boundaries but don't want to give up the
convenience of ssh agent forwarding then you can use ssh-ident, as
described here: http://rabexc.org/posts/pitfalls-of-ssh-agents
(unfortunately no gentoo package for that one, but it's just a single
python file).

Have a nice day,
Paul



Re: [gentoo-user] logjam vulnerability

2015-05-21 Thread Paul Tobias
On 21 May 2015 at 13:53, Stefan G. Weichinger li...@xunil.at wrote:

 Heard of logjam today - https://weakdh.org

 Tried to fix it following:

 https://weakdh.org/sysadmin.html

 for postfix that works

 for apache-2.2.29 (=stable gentoo package) I googled that one has to

 # cat dhparams.pem  /my/ssl_cert_file

 and restart apache

Hmm, where did you read that?

The custom DH parameters are supported in SSLCertificateFile with
apache = 2.4.7. (see
https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslcertificatefile)

Unfortunately the suggested SSLOpenSSLConfCmd option from
https://weakdh.org/sysadmin.html is available only from apache =
2.4.8 (see https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslopensslconfcmd)

 But even then the tests at weakdh.org and

 https://www.ssllabs.com/ssltest/analyze.html

 tell me I have too weak DH groups

 Does anyone have the same issue? And a solution?

 Thanks, regards, Stefan

With apache 2.2 you'll have to patch manually for now, for example
this patch: http://serverfault.com/a/693448/88476 I don't run any
apache 2.2 instances so I can't test.

Fortunately it's quite easy to apply custom patches with gentoo:
https://wiki.gentoo.org/wiki//etc/portage/patches

Have a nice day,
Paul



Re: [gentoo-user] Question for users of the Firefox browser

2015-05-17 Thread Paul Klos
Op zondag 17 mei 2015 13:52:21 schreef Andrew Lowe:
 Hi all,
   I've been using Firefox for ages and something struck me recently as a
 bit odd. In the Windows version, if I click up into the address or
 search boxes, the existing contents are highlighted and if I begin
 typing, the existing text is deleted and what I'm typing becomes the
 contents. On the Linux version, under KDE, it doesn't. I have to click
 into the appropriate edit box, highlight the contents and start typing
 or hit either home/end and then start deleting before typing my new URL.
 If, for example, the existing text happens to be a google search string,
 this can be quite a bit of text to delete.
 
   So my question, I suppose, is multipart:
 
 1) Is this by design? Is this the normal behaviour?
 
 2) Have I set a USE flag wrong somewhere that causes this behaviour?
 
 3) How do people get around the problem I mentioned above regarding long
 URL's, such as a Google search results?
 
   Any thoughts, greatly appreciated,
 
   Andrew
 
Hi Andrew,

You might be interested in these settings (from about:config):

browser.urlbar.clickSelectsAll
browser.urlbar.doubleClickSelectsAll

You can configure what happens when you click in the address bar.

I have no idea why the defaults on win/linux are different, though,

Cheers,

Paul




Re: [gentoo-user] Recommendations for WLAN-AP?

2015-05-07 Thread Paul Tobias
On 2 May 2015 at 17:17, waben...@gmail.com wrote:

 Volker Armin Hemmann volkerar...@googlemail.com wrote:

  Am 27.04.2015 um 20:37 schrieb waben...@gmail.com:
   I'm searching for a new WLAN-AP that is fast, powerful and
   reliable. I can remember that there were some recommendations in
   this list some weeks/months ago, but I can't find them.
  
   Regards
   wabe
  
  
 
  tplink archer series?
 
  can cope with 20 laptops at the same time easily and is not too
  expensiv.

 Thanks Volker. I will have a look at it.

 --
 Regards
 wabe


Hi wabe, did you decide yet? You might find this article useful:
http://arstechnica.com/gadgets/2015/03/from-the-wirecutter-the-best-wi-fi-router-for-most-people-anyway/

Before that article came out, I also arrived at the same conclusion: the
TP-Link Archer C7 v2 is the best for me. My requirements also included
OpenWRT support.


Re: [gentoo-user] Strange new behavior from the mount command

2015-04-18 Thread Paul Colquhoun
On Sat, 18 Apr 2015 11:48:12 walt wrote:
 I have two similar but not identical ~amd64 machines, and *one* of the
 two machines is doing something new and strange when I type mount 
with
 no arguments.
 
 The bad machine prints the list of mounted filesystems as it should,
 but then proceeds to read the partition table on every disk in the 
machine
 and writes a fresh version of /run/blkid/blkid.tab .
 
 This has the very annoying side effect of spinning up any sleeping disks,
 including the floppy disk (but not the dvd player, thankfully).
 
 I re-installed util-linux, which installs the mount utility, but no
 difference.  (The two machines both have util-linux-2.26.1-r1).
 
 This new behavior began on April 14, FWIW, and the only package I 
installed
 on that machine that day was gentoo-sources-3.14.38, which is why I 
blamed
 the new kernel for the new behavior but I discovered since then that it
 happens with all the old kernels too.
 
 I'm stumped.  Any ideas?


Are you sure they are both running the same mount command?

What does 'type mount' or 'which mount' show for each machine?

Is the 'bad' machine perhaps using the '-l' option, which looks like it may 
need to read information from partitions on the fly:

-l, --show-labels
Add the labels in the mount output.  mount must have permission to 
read
the disk device (e.g. be suid root) for this to work.  One can set such
a label for ext2, ext3 or ext4 using the e2label(8) utility, or for XFS
using xfs_admin(8), or for reiserfs using reiserfstune(8).

On the other hand, using '-l' on my machine didn't appear to try anything, 
and didn't rewrite /run/blkid/blkid.tab but that may be because I don't use 
labels.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] Mutt emerge USE flags for novice

2015-04-02 Thread Paul B. Henson
On Sat, Mar 21, 2015 at 02:09:57PM -0400, German wrote:

 Thank you, but are there anyone around who uses Mutt with gmail?

I use mutt with gmail IMAP and the following flags:

[ebuild   R] mail-client/mutt-1.5.23-r5  USE=berkdb crypt gdbm gpg
imap kerberos nls sasl smime smtp ssl -debug -doc -gnutls -idn -mbox
-nntp -pop -qdbm (-selinux) -sidebar -slang -tokyocabinet 0 kB

I think the most important ones for gmail are imap, smtp, and ssl. I
believe imap and smtp are off by default, at least they were when I first
installed mutt, my package use flags are:

mail-client/muttsasl gpg imap smime smtp

I think kerberos is pulled in for me by a global use flag.

gpg and smime are only needed if you want to work with encrypted/signed
email. I don't think I needed sasl but left it there in case someday I
wanted to play with kerberos auth.

Relevant lines from my muttrc are:

set smtp_url=smtp://username@gmail@smtp.gmail.com:587/
set folder=imaps://imap.gmail.com/
set imap_user=username@gmail.com
unset record
set postponed=imaps://imap.gmail.com/[Gmail]/Drafts
set spoolfile==INBOX
set header_cache=$HOME/.mutt/header_cache/gmail

It works reasonably well. My main complaint is that it fairly regularly
drops my persistant connection and I need to reconnect. That's most
annoying when I just went through 100 emails and deleted many, and it
drops the connection before the delete has been synced :(. Other than
that it works fine.

We recently switched to office365 at work, and it has the same problem
with dropped imap connections. I'm not sure if they just both
occasionally boot annoying imap users who have hung out too long or if
mutt has issues with imap over a possibly flaky remote connection.

Good luck...



  1   2   3   4   5   6   7   8   9   10   >