Re: [gentoo-user] merged on \${HOST} with notice"

2021-01-17 Thread Hogren



On 17/01/2021 19:18, the...@sys-concept.com wrote:

I have in a new machine (as on all other boxes) in make.conf
PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"

In  /etc/conf.d/hostname
hostname="syscon3"

But when a package is emerge I receive via email notice as in subject line: 
"...merged on localhost.localdomain"
eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice

Which file define "${HOST}"


Hello,

I suppose you had already rebooted after modify the file ?

Do you have Systemd ?


Regards,

Hogren




Re: [gentoo-user] network transfer speed

2021-01-15 Thread Hogren



On 15/01/2021 09:34, Raffaele BELARDI wrote:


ST Restricted


-Original Message-
From: Hogren 
Sent: Friday, January 15, 2021 08:50
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] network transfer speed


On 15/01/2021 07:56, the...@sys-concept.com wrote:
Hello

On both of my systems the network card speed is showing 1000
cat /sys/class/net/enp4s0/speed   1000

but when I do rsync larage file I only see about: 20 to 22MB/s On my
home network I get about 110MB/s between PC's

Both PC's have SSD  and the swith is Gigabit (I think).
How to find a the bottleneck?


20MB = 80Mb so it sounds like your network is a 100Mb network. What is the
perfs of your switch(s) between your systems ?

I disagree, /sys/class/net/enp4s0/speed shows the speed negotiated by the 
network card with the switch, it cannot be 1000 if the switch is a only a 
10/100. I think we can safely assume the network is a gigabit one.

raffaele


Yes, I thought about that after. But may be he has several switchs 
between the two systems.


Hogren





Re: [gentoo-user] network transfer speed

2021-01-14 Thread Hogren



On 15/01/2021 07:56, the...@sys-concept.com wrote:
Hello

On both of my systems the network card speed is showing 1000
cat /sys/class/net/enp4s0/speed   1000

but when I do rsync larage file I only see about: 20 to 22MB/s
On my home network I get about 110MB/s between PC's

Both PC's have SSD  and the swith is Gigabit (I think).
How to find a the bottleneck?

20MB = 80Mb so it sounds like your network is a 100Mb network. What is 
the perfs of your switch(s) between your systems ?



Regards,

Hogren




Re: [gentoo-user] Screen/driver/xserver freezing after suspension

2021-01-08 Thread Hogren



On 07/01/2021 18:48, Igor Mróz wrote:


On Thu, 7 Jan 2021 13:47:56 +0100
Hogren  wrote:


Did you try to open another tty after a freeze (CTRL + ALT [0-9]) ?

Yes - screen is completely frozen and only way to interact with system is via 
ALT + SysRq.

I've also tried to reboot/shutdown system via SSH, but it didn't work.


After execute a remote reboot, how long did you wait before to force the 
machine ?


Do you have systemd ?  Did you analyse journalctl  (you just said 
dmesg/logs) ?



Regards

Hogren






Re: [gentoo-user] Screen/driver/xserver freezing after suspension

2021-01-07 Thread Hogren

Did you try to open another tty after a freeze (CTRL + ALT [0-9]) ?

And if it worked, did you try to run a second Xorg server (with startx 
command or whatever) ?



Regards,

Hogren

On 07/01/2021 12:21, Igor Mróz wrote:

Yeah, I've thought about it, but it is currently impossible - too much work to 
do ;) Maybe in the future. I hope that maybe someone has a clue what could be 
wrong with my setup :)

Thanks
Igor


On Thu, 7 Jan 2021 09:48:42 +0100
Hogren  wrote:


Hello,

Did you think to reinstall (in an other partition) Gentoo, and test
after each step, to know at which step the bug appears ?

It's a fastidious method, but you will may be know more precisely where
is the problem.


Regards,

Hogren


On 07/01/2021 09:39, Igor Mróz wrote:

Thanks for link, but I don't have problem with touchpad - I made it work. 
Problem is with driver/server freezing ;)

Igor


On Wed, 6 Jan 2021 00:55:28 +0100
 wrote:
  

Hi!
I similar problem with my touchpad but the different model of Lenovo laptop, 
but it should help  https://forums.gentoo.org/viewtopic-t-1094436-start-0.html
If it will not help I can help you with that problem 

---
Regards,
Marcin Woźniak
https://yorune.pl

-Original Message-
From: Igor Mróz 
Sent: 05 January 2021 10:41
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Screen/driver/xserver freezing after suspension

Hello,

hopefully I don't double existing topic :)

Recently I've installed gentoo on my new laptop 
(https://www.extra.com/en-om/computer/laptops/clamshell/lenovo-yoga-slim-7-laptop-core-i7-14-inch-16gb-1tb-slate-grey/p/100214558
 - with Iris graphics, not Nvidia). I've installed desktop env (xmonad + 
greetd), mesa (with i965 and iris USE) and xorg packages. At this point there 
were no display issues, but I had no audio, webcam and touchpad support. With 
trials and errors method I've managed to get everything working. Unfortunately 
somewhere during this process (kernel updates, system updates) screen started 
to freeze after monitor suspension. It looks like system is still working (I 
can ssh to it, music is playing). When I move mouse, then it looks like desktop 
is drawn once and then it freezes. I tried to play with kernel options, i915 
driver options etc, but it doesn't help. After this freezes I tried to look 
into dmesg/logs via SSH, but there were no clues. Problem exists with external 
monitor connected, as well as with disconnected.

I don't use xf86-video-intel. I include intel firmware 
(FIRMWARE_FILES="i915/icl_dmc_ver1_09.bin i915/icl_guc_49.0.1.bin 
i915/icl_huc_9.0.0.bin" in genkernel.conf) in initramfs.

Do you know what might be a case? I'm out of ideas :(

Thanks
Igor Mróz



  


Re: [gentoo-user] Screen/driver/xserver freezing after suspension

2021-01-07 Thread Hogren

Hello,

Did you think to reinstall (in an other partition) Gentoo, and test 
after each step, to know at which step the bug appears ?


It's a fastidious method, but you will may be know more precisely where 
is the problem.



Regards,

Hogren


On 07/01/2021 09:39, Igor Mróz wrote:

Thanks for link, but I don't have problem with touchpad - I made it work. 
Problem is with driver/server freezing ;)

Igor


On Wed, 6 Jan 2021 00:55:28 +0100
 wrote:


Hi!
I similar problem with my touchpad but the different model of Lenovo laptop, 
but it should help  https://forums.gentoo.org/viewtopic-t-1094436-start-0.html
If it will not help I can help you with that problem 

---
Regards,
Marcin Woźniak
https://yorune.pl

-Original Message-
From: Igor Mróz 
Sent: 05 January 2021 10:41
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Screen/driver/xserver freezing after suspension

Hello,

hopefully I don't double existing topic :)

Recently I've installed gentoo on my new laptop 
(https://www.extra.com/en-om/computer/laptops/clamshell/lenovo-yoga-slim-7-laptop-core-i7-14-inch-16gb-1tb-slate-grey/p/100214558
 - with Iris graphics, not Nvidia). I've installed desktop env (xmonad + 
greetd), mesa (with i965 and iris USE) and xorg packages. At this point there 
were no display issues, but I had no audio, webcam and touchpad support. With 
trials and errors method I've managed to get everything working. Unfortunately 
somewhere during this process (kernel updates, system updates) screen started 
to freeze after monitor suspension. It looks like system is still working (I 
can ssh to it, music is playing). When I move mouse, then it looks like desktop 
is drawn once and then it freezes. I tried to play with kernel options, i915 
driver options etc, but it doesn't help. After this freezes I tried to look 
into dmesg/logs via SSH, but there were no clues. Problem exists with external 
monitor connected, as well as with disconnected.

I don't use xf86-video-intel. I include intel firmware 
(FIRMWARE_FILES="i915/icl_dmc_ver1_09.bin i915/icl_guc_49.0.1.bin 
i915/icl_huc_9.0.0.bin" in genkernel.conf) in initramfs.

Do you know what might be a case? I'm out of ideas :(

Thanks
Igor Mróz






Re: [gentoo-user] meson build woes

2020-08-24 Thread Hogren

Sorry sorry sorry…

Franz is right...

Do not uninstall all python versions !


Hogren

On 24/08/2020 11:39, 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.
portage is written in python.
You can fix that but it requires some manual intervention...


- Verify your package.use files. Run "grep -Ri 'python'
/etc/portage/package.use/" and delete old files.

- Run a "emerge --newuse --update --autounmask-write --deep
--with-bdeps=y @world".

This should be the first thing to check.
package.use and probably also make.conf should be looked for PYTHON settings.
Uncomment affected lines first (put the character # at the beginning) before 
deleting.
The "--deep --newuse" emerge options should take care for the rest.





Re: [gentoo-user] meson build woes

2020-08-24 Thread Hogren

Hi,

In your logs, I saw that python 3.7 is executed.

And you wrote that python 3.6 is selected.

I had many problem with the python transition too. I have no simple 
solution. I uninstalled many things for reinstall after.


Maybe try to :

- Unmerge all python and python-setuptools versions

- Verify your package.use files. Run "grep -Ri 'python' 
/etc/portage/package.use/" and delete old files.


- Run a "emerge --newuse --update --autounmask-write --deep 
--with-bdeps=y @world".


Hogren

On 23/08/2020 07:16, Paul Colquhoun wrote:


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



Re: [gentoo-user] sys-apps/systemd is blocking app-emulation/docker-19.03.12

2020-08-23 Thread Hogren

Thank you Ashley to help me to read the ebuild/emerge syntax !

With your advice, docker is installing !!


Thank thank thank :)

Bye


Hogren

On 22/08/2020 22:09, Ashley Dixon wrote:

On Sat, Aug 22, 2020 at 09:48:00PM +0200, Hogren wrote:

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

Calculating dependencies... done!
[ebuild  N ] app-emulation/docker-19.03.12::gentoo USE="container-init
overlay seccomp -apparmor -aufs -btrfs -device-mapper -hardened" 0 KiB
[blocks B  ] sys-apps/systemd[-cgroup-hybrid(+)]
("sys-apps/systemd[-cgroup-hybrid(+)]" is blocking
app-emulation/docker-19.03.12)

Total: 1 package (1 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.

   (sys-apps/systemd-245.5:0/2::gentoo, installed) pulled in by
     sys-apps/systemd required by @selected

   (app-emulation/docker-19.03.12:0/0::gentoo, ebuild scheduled for merge)
pulled in by
     app-emulation/docker

systemd is not blocking Docker; Docker is blocking systemd. From the ebuild
(gentoo.git/app-emulation/docker/docker-19.03.12.ebuild):
 
 RDEPEND="

 ${COMMON_DEPEND}
 !sys-apps/systemd[-cgroup-hybrid(+)]

 [...]

I.e., "block systemd unless the `cgroup-hybrid` flag is set". The `(+)` suffix
means that the flag is assumed to be enabled if it does not exist [1]. For your
particular case (systemd v. 245.5), this suffix is irrelevant.

Just re-emerge systemd with USE="cgroup-hybrid" and see if that helps.

 Ashley.

[1] 
https://devmanual.gentoo.org/general-concepts/dependencies/#use-dependency-defaults





[gentoo-user] sys-apps/systemd is blocking app-emulation/docker-19.03.12

2020-08-22 Thread Hogren

Hello world !


I suppose this problem is really easy to solve for many people here. But 
I failed to deal with it !


I had systemd and docker since a long time.

For the first time, I can't make an update of my system.

Recently, I tried to run "emerge --newuse --update --autounmask-write 
--deep --with-bdeps=y @world". I see the problem. I unmerged docker. I 
run again the precedent command.


All was right.

So, I try to emerge docker : "emerge --verbose app-emulation/docker"


This is the output :

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

Calculating dependencies... done!
[ebuild  N ] app-emulation/docker-19.03.12::gentoo 
USE="container-init overlay seccomp -apparmor -aufs -btrfs 
-device-mapper -hardened" 0 KiB
[blocks B  ] sys-apps/systemd[-cgroup-hybrid(+)] 
("sys-apps/systemd[-cgroup-hybrid(+)]" is blocking 
app-emulation/docker-19.03.12)


Total: 1 package (1 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-245.5:0/2::gentoo, installed) pulled in by
    sys-apps/systemd required by @selected

  (app-emulation/docker-19.03.12:0/0::gentoo, ebuild scheduled for 
merge) pulled in by

    app-emulation/docker


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages



Anyone can help me ?

Thank you !

Hogren




Re: [gentoo-user] Problems with /dev/parport0

2019-05-03 Thread Hogren



On 03/05/2019 15:45, k...@aspodata.se wrote:

Do you have parport installed as a module or directly in the kernel ?
Did you try the two methods ?

Only as a module.

Why do you not try do integrate it with the kernel ?


Other questions :

- Where did you read that you can write directly to the /dev/parport0 
device ?


- Can you post «tree /proc/sys/dev/parport» or equivalent (to compare 
with the official documentation) ?



Hogren




Re: [gentoo-user] Problems with /dev/parport0

2019-05-03 Thread Hogren

Hello,

I try to help you without parallel port, sorry.

Do you have parport installed as a module or directly in the kernel ? 
Did you try the two methods ?


If this is a module, did you run «insmod partport» ?

Do you follow a documentation ? Can you give a link ?


Regards,

Hogren



On 02/05/2019 17:33, k...@aspodata.se wrote:

Where is the proper place to ask about parports ?

///

  I get:
# echo -n 1 > /dev/parport0
bash: echo: write error: Invalid argument

i.e. error 22 (EINVAL), as if there isn't any write routine
in the driver. I have tested two identical cards, same story.

Same thing with reading:
$ dd if=/dev/parport0 count=1 bs=1
dd: error reading '/dev/parport0': Invalid argument
0+0 records in
0+0 records out
0 bytes copied, 6.2359e-05 s, 0.0 kB/s

open() and close() works without errors.

How can I make it functional ?

///

  I have two Delock 1x par, 2x ser pcie cards (only one installed).
  The parport one show up (lspci -vn) as:
05:00.2 0701: 9710:9912 (prog-if 03 [IEEE1284])
 Subsystem: a000:2000
 Flags: bus master, fast devsel, latency 0, IRQ 17
 I/O ports at ad00 [size=8]
 I/O ports at ac00 [size=8]
 Memory at fd8fb000 (32-bit, non-prefetchable) [size=4K]
 Memory at fd8fa000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [78] Power Management version 3
 Capabilities: [80] Express Legacy Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Kernel driver in use: parport_serial
 Kernel modules: parport_serial

  it matches:
 { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9912,
   0xA000, 0x2000, 0, 0, netmos_99xx_1p }
  i.e. lines 176-177 in drivers/parport/parport_serial.c
  in the kernel source, last changed ages ago:
commit b9b24558f7d36c550b5cf0b550a8926f8c03cdbd
Author: Frédéric Brière 
Date:   Sun May 29 15:08:04 2011 -0400

  It shows up in the log as:
parport0: PC-style at 0xad00 (0xac00), irq 17, using FIFO 
[PCSPP,TRISTATE,COMPAT,EPP,ECP]
  or
parport0: PC-style at 0xad00 (0xac00), irq 17 [PCSPP,TRISTATE,EPP]
  depending if I have CONFIG_PARPORT_PC_FIFO set or not in the kernel

  I cannot set irq to none, it shows up as irq 17 even though I do:
# modprobe parport_pc irq=none
# modprobe parport_serial irq=none

  The device file has sensible maj/min numbers:
# ls -l /dev/parport0
crw-rw 1 root users 99, 0 Jan 18  2016 /dev/parport0

Regards,
/Karl Hammar






Re: [gentoo-user] Anjuta - Segmentation Fault

2017-07-08 Thread Hogren


On 07/07/2017 15:51, Mart Raudsepp wrote:
> Ühel kenal päeval, R, 07.07.2017 kell 13:44, kirjutas Hogren:
>>> Would be good to see the actual segfault message as well.
>>>
>> Just after errors messages, there is :
>> Segmentation Error  (core dumped)
> This involves actually looking at the core dump with gdb and such.
> If you happen to use systemd, then this might just do it (provided gdb
> is emerged):
>
> coredumpctl gdb anjuta
>
> it should load into gdb, takes a while, then if successful:
>
> thread apply all bt full
>
> ---
>
> However if you want an IDE or so, not anjuta in particular, I would
> really suggest to try out gnome-builder instead.
> Though it'd be nice to have anjuta working and debugged anyhow, even if
> for others who suffer from it crashing but haven't bothered reporting.
>
>
> Mart
>

Hello,

Sorry, I am not familiarized with gdb.
That is the output of the given commands :
(gdb) thread apply all bt full

Thread 10 (Thread 0x7fa500a6a700 (LWP 5112)):
#0  0x7fa52096e0f9 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1  0x7fa521234e1a in g_cond_wait_until () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x7fa5211c3e29 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x7fa521217620 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4  0x7fa521216cb5 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5  0x7fa520c2b454 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6  0x7fa52097261d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 9 (Thread 0x7fa50126b700 (LWP 5111)):
#0  0x7fa52096e0f9 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1  0x7fa521234e1a in g_cond_wait_until () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x7fa5211c3e29 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x7fa521217620 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4  0x7fa521216cb5 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5  0x7fa520c2b454 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6  0x7fa52097261d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 8 (Thread 0x7fa4f77fe700 (LWP 5114)):
#0  0x7fa52096e0f9 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1  0x7fa521234e1a in g_cond_wait_until () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x7fa5211c3e29 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x7fa521217620 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4  0x7fa521216cb5 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5  0x7fa520c2b454 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6  0x7fa52097261d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 7 (Thread 0x7fa5151c9700 (LWP 5104)):
#0  0x7fa52096953d in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x7fa5211ef6fc in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x7fa5211ef80c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
---Type  to continue, or q  to quit---
No symbol table info available.
#3  0x7fa5211ef849 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#4  0x7fa521216cb5 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5  0x7fa520c2b454 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6  0x7fa52097261d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 6 (Thread 0x7fa5149c8700 (LWP 5105)):
#0  0x7fa52096953d in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x7fa5211ef6fc in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x7fa5211efa82 in g_main_loop_run () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x7fa5217d7766 in ?? () from /usr/lib64/libgio-2.0.so.0
No symbol table info available.
#4  0x7fa521216cb5 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#5  0x7fa520c2b454 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#6  0x7fa52097261d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 5 (Thread 0x7fa50e8bf700 (LWP 5107)):
#0  0x7fa52096e0f9 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1  0x7fa521234e1a in g_cond_wait_until () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x

Re: [gentoo-user] Anjuta - Segmentation Fault

2017-07-07 Thread Hogren


On 07/07/2017 13:25, Alexander Kapshuk wrote:
> On Fri, Jul 7, 2017 at 2:14 PM, Hogren <hog...@iiiha.com> wrote:
>> Hello !
>>
>>
>> I try to develop with Anjuta.
>>
>> When I run it, many times it works, many times it won't to start.
>>
>> I have a lot of WARNING, and several CRITICAL messages :
>>
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :2:30: The
>> style property GtkWidget:focus-line-width is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :3:27: The
>> style property GtkWidget:focus-padding is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): GLib-GObject-CRITICAL **:
>> g_cclosure_marshal_VOID__POINTER: assertion 'n_param_values == 2' failed
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :2:28: The
>> style property GtkButton:default-border is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :3:36: The
>> style property GtkButton:default-outside-border is deprecated and
>> shouldn't be used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :4:25: The
>> style property GtkButton:inner-border is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :5:30: The
>> style property GtkWidget:focus-line-width is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :6:27: The
>> style property GtkWidget:focus-padding is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **:
>> (/var/tmp/portage/x11-libs/gtk+-3.22.15/work/gtk+-3.22.15/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
>> runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) == 0)
>>
>> (anjuta:5134): GLib-GObject-CRITICAL **:
>> g_cclosure_marshal_VOID__POINTER: assertion 'n_param_values == 2' failed
>>
>> (anjuta:5134): GLib-GObject-CRITICAL **:
>> g_cclosure_marshal_VOID__POINTER: assertion 'n_param_values == 2' failed
>>
>> (anjuta:5134): GLib-GObject-CRITICAL **:
>> g_cclosure_marshal_VOID__POINTER: assertion 'n_param_values == 2' failed
>>
>> (anjuta:5134): Gtk-WARNING **:
>> (/var/tmp/portage/x11-libs/gtk+-3.22.15/work/gtk+-3.22.15/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
>> runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) == 0)
>>
>> (anjuta:5134): Gtk-WARNING **:
>> (/var/tmp/portage/x11-libs/gtk+-3.22.15/work/gtk+-3.22.15/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
>> runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) == 0)
>>
>> (anjuta:5134): Gtk-WARNING **:
>> (/var/tmp/portage/x11-libs/gtk+-3.22.15/work/gtk+-3.22.15/gtk/gtkicontheme.c:2184):gtk_icon_theme_choose_icon:
>> runtime check failed: ((flags & GTK_ICON_LOOKUP_GENERIC_FALLBACK) == 0)
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :11:31: The
>> style property GtkButton:default-border is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :12:39: The
>> style property GtkButton:default-outside-border is deprecated and
>> shouldn't be used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :13:29: The
>> style property GtkButton:inner-border is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :27:30: The
>> style property GtkComboBox:arrow-size is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :32:31: The
>> style property GtkButton:default-border is deprecated and shouldn't be
>> used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :33:39: The
>> style property GtkButton:default-outside-border is deprecated and
>> shouldn't be used anymore. It will be removed in a future version
>>
>> (anjuta:5134): Gtk-WARNING **: Theme parsing error: :34:29: The
>> style property GtkButton:inner-b

[gentoo-user] Anjuta - Segmentation Fault

2017-07-07 Thread Hogren
ch=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"   
CHOST="x86_64-pc-linux-gnu"
USE="mmx sse sse2 X -wayland bash-completion gtk emacs -ieee1394 -ipv6
alsa php mysql pdo opengl system-wine jpeg png zlib cups xinerama"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
MAKEOPTS="-j3"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/
http://gentoo.modulix.net/gentoo/;
VIDEO_CARDS="intel"
INPUT_DEVICES="evdev synaptics"
PHP_TARGETS="php5-6"
ACCEPT_LICENSE="-* @FREE"
FEATURES="webrsync-gpg"
PORTAGE_GPG_DIR="/var/lib/gentoo/gkeys/keyrings/gentoo/release"


And my Use Flags for Anjuta:

dev-util/anjuta glade terminal devhelp



Thanks for help !


Regards,


Hogren




Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
I create my make.conf, it's not a copy. (It's make the error more
stupid,  ^^, so be it).


Thank you !

Hogren
On 02/06/2017 15:17, Sam Jorna wrote:
> On 02/06/17 23:09, Rich Freeman wrote:
>> The stage3 make.conf shouldn't include this.  Now, if you copied your
>> make.conf from some other source like a LiveCD then that could explain
>> where it came from.  The flag was actually invented mainly for things
>> like LiveCDs, and these are all built using USE=bindist (we couldn't
>> legally distribute them otherwise).
> The stage3 make.conf does include USE=bindist by default, as it includes
> packages affected by this flag (specifically openssh and openssl). It's
> required, as I understand, because the stage3 does distribute binaries
> of these packages, thus must have the patent-encumbered parts disabled.
>




Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
Thank you all for the help.

I saw a "bindist" in my global USE flag !

I really don't remember when I had that. May be when I saw it for the
first time, I said to me "Hey a weak protocol (EC)? disable it !" …

For the moment, no more problem !


Thank you 


On 02/06/2017 11:34, Kent Fredric wrote:
> On Fri, 2 Jun 2017 10:55:51 +0200
> Hogren <hog...@iiiha.com> wrote:
>
>> dev-libs/openssl:0
>>
>>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
>> pulled in by
>> dev-libs/openssl:0[bindist=] required by
>> (dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
>>   
>>  
>>   
>>
>>
>>   (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>> >=dev-libs/openssl-0.9.8f:0[bindist=] required by  
>> (net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
>>
> The important thing here is not the version, but the use requirement in
> the [ ]
>
> Consulting `man 5 ebuild` , 
>
>>  foo[bar=]  bar? ( foo[bar] ) !bar? ( foo[-bar] )
> So, this means that:
>
>dev-libs/openssl:0[bindist=]  required by 
> net-misc/openssh-7.3_p1-r7:0/0::gentoo
>
> Interprets as:
>
>is net-misc/openssh built with USE=bindist?
>   yes ->
>  require dev-libs/openssl be built with USE=bindist
>   no ->
>  require dev-libs/openssl be built WITHOUT USE=bindist
>
> In short, the USE setting for openssl and openssh must have the same
> value for USE=bindist
>
> And also, dev-qt/qtnetwork also has the same constraint.
>
> Thus, you need to configure the USE=bindist flag for all of:
>
>   dev-libs/openssl
>   dev-qt/qtnetwork
>   net-misc/openssh
>
> Either be all USE=bindist or USE=-bindist
>
> *hopefully* that's enough information for you to solve your issue,
> but if not, I can expand upon request, if you state what parts you
> don't understand
> :)
>




Re: [gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
Sorry for the lack of courtesy !!

I hope that someone can help me.


Thank you very very much for your help !!


Hogren


On 02/06/2017 10:55, Hogren wrote:
> Hello list,
>
>
> It's me again about conflicts.
>
>
> I don't understand this conflict, the two needed openssl are the same.
> Actually, I don't see the difference.
>
>
> gnugnu # emerge --verbose-conflict @preserved-rebuild
> Calculating dependencies... done!
> [ebuild   R] dev-libs/openssl-1.0.2k  USE="bindist*"
> [ebuild   R] sys-devel/binutils-2.25.1-r1
> [ebuild U  ] sys-libs/talloc-2.1.9 [2.1.5]
> [ebuild U  ] sys-libs/tdb-1.3.13 [1.3.8]
> [ebuild U  ] sys-libs/tevent-0.9.31-r1 [0.9.28]
> [ebuild  N ] dev-python/subunit-1.2.0-r1  USE="-static-libs {-test}"
> ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 (-pypy)
> (-pypy3) (-python3_5) (-python3_6)"
> [ebuild  N ] dev-qt/qtnetwork-5.6.2  USE="bindist ssl -connman
> -debug -libproxy -networkmanager {-test}"
> [ebuild U  ] sys-libs/ldb-1.1.29-r1 [1.1.26] USE="ldap%* python%*"
> [ebuild   R] dev-qt/qtxmlpatterns-5.6.2
> [ebuild   R] dev-qt/qtwebkit-5.6.2
> [ebuild   R   ~] net-misc/teamviewer-9.0.32150
> [ebuild U  ] net-fs/samba-4.5.10 [4.2.14] USE="-gpg%
> (-system-heimdal) -zeroconf%"
> [ebuild   R] media-gfx/blender-2.72b-r4
> [ebuild   R   ~] media-gfx/wkhtmltopdf-0.12.4
> [ebuild U ~] www-client/firefox-53.0.3 [52.0.1-r1]
> [ebuild U  ] app-office/libreoffice-5.2.7.2 [5.2.3.3-r1]
> PYTHON_SINGLE_TARGET="python3_4* -python2_7*"
> [ebuild   R] net-ftp/filezilla-3.12.0.2
> [ebuild   R] media-gfx/gimp-2.8.14-r2
> [ebuild  N ] x11-plugins/enigmail-1.9.6.1-r1
> [ebuild U  ] mail-client/thunderbird-45.8.0 [45.7.0]
> [blocks b  ] x11-plugins/enigmail ("x11-plugins/enigmail" is
> blocking mail-client/thunderbird-45.7.0)
>
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
>
> dev-libs/openssl:0
>
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
> dev-libs/openssl:0[bindist=] required by
> (dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
>   
>   
>  
>
>
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
> >=dev-libs/openssl-0.9.8f:0[bindist=] required by
> (net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
>
>   
>   
>
>
>
> Hogren
>
>
>




[gentoo-user] conflict with same package, same USE

2017-06-02 Thread Hogren
Hello list,


It's me again about conflicts.


I don't understand this conflict, the two needed openssl are the same.
Actually, I don't see the difference.


gnugnu # emerge --verbose-conflict @preserved-rebuild
Calculating dependencies... done!
[ebuild   R] dev-libs/openssl-1.0.2k  USE="bindist*"
[ebuild   R] sys-devel/binutils-2.25.1-r1
[ebuild U  ] sys-libs/talloc-2.1.9 [2.1.5]
[ebuild U  ] sys-libs/tdb-1.3.13 [1.3.8]
[ebuild U  ] sys-libs/tevent-0.9.31-r1 [0.9.28]
[ebuild  N ] dev-python/subunit-1.2.0-r1  USE="-static-libs {-test}"
ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 (-pypy)
(-pypy3) (-python3_5) (-python3_6)"
[ebuild  N ] dev-qt/qtnetwork-5.6.2  USE="bindist ssl -connman
-debug -libproxy -networkmanager {-test}"
[ebuild U  ] sys-libs/ldb-1.1.29-r1 [1.1.26] USE="ldap%* python%*"
[ebuild   R] dev-qt/qtxmlpatterns-5.6.2
[ebuild   R] dev-qt/qtwebkit-5.6.2
[ebuild   R   ~] net-misc/teamviewer-9.0.32150
[ebuild U  ] net-fs/samba-4.5.10 [4.2.14] USE="-gpg%
(-system-heimdal) -zeroconf%"
[ebuild   R] media-gfx/blender-2.72b-r4
[ebuild   R   ~] media-gfx/wkhtmltopdf-0.12.4
[ebuild U ~] www-client/firefox-53.0.3 [52.0.1-r1]
[ebuild U  ] app-office/libreoffice-5.2.7.2 [5.2.3.3-r1]
PYTHON_SINGLE_TARGET="python3_4* -python2_7*"
[ebuild   R] net-ftp/filezilla-3.12.0.2
[ebuild   R] media-gfx/gimp-2.8.14-r2
[ebuild  N ] x11-plugins/enigmail-1.9.6.1-r1
[ebuild U  ] mail-client/thunderbird-45.8.0 [45.7.0]
[blocks b  ] x11-plugins/enigmail ("x11-plugins/enigmail" is
blocking mail-client/thunderbird-45.7.0)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
pulled in by
dev-libs/openssl:0[bindist=] required by
(dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
  

   


  (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>=dev-libs/openssl-0.9.8f:0[bindist=] required by
(net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
   
    




Hogren





Re: [gentoo-user] nodejs and qtnetwork = conflict on bindist openssl USE flag

2017-06-02 Thread Hogren


On 02/06/2017 07:49, Alexander Kapshuk wrote:
> On Fri, Jun 2, 2017 at 8:35 AM, Hogren <hog...@iiiha.com> wrote:
>> Hello list,
>>
>> When I try to update my system, I have many conflicts.
>>
>> A first conflict which about I need help is this:
>>
>> dev-libs/openssl:0
>>
>>   (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>> >=dev-libs/openssl-1.0.2g:0=[-bindist] required by
>> (net-libs/nodejs-7.10.0:0/0::gentoo, installed)
>>
>> 
>>
>> >=dev-libs/openssl-1.0.2g:0/0=[-bindist] required by
>> (net-libs/nodejs-7.10.0:0/0::gentoo, installed)
>>
>> 
>>
>> >=dev-libs/openssl-0.9.8f:0[bindist=] required by
>> (net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
>>
>> 
>>
>>
>>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
>> pulled in by
>> dev-libs/openssl:0[bindist=] required by
>> (dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
>>
>> 
>>
>>
>>
>>
>> I tried de make "-ssl" USE flag to nodejs, but I have an error at the
>> emerge time :
>>
>>>>> Configuring source in
>> /var/tmp/portage/net-libs/nodejs-7.10.0/work/node-v7.10.0 ...
>> Error: --without-ssl is incompatible with --shared-openssl
>>
>>
>> I look in the ebuild and I see there is apparently no method to drop the
>> --shared-openssl option. So I can't use "-ssl".
>>
>>
>> Did anybody have already the problem ?
>>
>>
>> Thank you for help !
>>
>>
>> Hogren
>>
>>
> On my system, I overcame that by disabling the 'bindist' USE flag
> globally in /etc/portage/make.conf.
>
Ok thanks. With little more search, I find a bug report about that :
https://bugs.gentoo.org/show_bug.cgi?id=615448

I will try without ~amd64 in my accept_keywords file. And after with
this global use flag.

Thanks.


Hogren



[gentoo-user] nodejs and qtnetwork = conflict on bindist openssl USE flag

2017-06-01 Thread Hogren
Hello list,

When I try to update my system, I have many conflicts.

A first conflict which about I need help is this:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>=dev-libs/openssl-1.0.2g:0=[-bindist] required by
(net-libs/nodejs-7.10.0:0/0::gentoo, installed)




>=dev-libs/openssl-1.0.2g:0/0=[-bindist] required by
(net-libs/nodejs-7.10.0:0/0::gentoo, installed)
  



>=dev-libs/openssl-0.9.8f:0[bindist=] required by
(net-misc/openssh-7.3_p1-r7:0/0::gentoo, installed)
   




  (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge)
pulled in by
dev-libs/openssl:0[bindist=] required by
(dev-qt/qtnetwork-5.6.2:5/5.6::gentoo, ebuild scheduled for merge)
  

 




I tried de make "-ssl" USE flag to nodejs, but I have an error at the
emerge time :

>>> Configuring source in
/var/tmp/portage/net-libs/nodejs-7.10.0/work/node-v7.10.0 ...
Error: --without-ssl is incompatible with --shared-openssl


I look in the ebuild and I see there is apparently no method to drop the
--shared-openssl option. So I can't use "-ssl".


Did anybody have already the problem ?


Thank you for help !


Hogren




Re: [gentoo-user] gdm fails to start

2017-05-23 Thread Hogren


On 23/05/2017 14:44, Raffaele Belardi wrote:
> On Tue, 2017-05-23 at 14:05 +0200, Hogren wrote:
>> I suppose there is a group in /etc/groups for gdm ?
>>
>> Does your user is associate with this group ?
>>
>>
> Yes, there is a gdm group but my user is not part of it. I will test it
> later since I cannot logout right now, but where did you find a
> reference for this?
Hum, sorry it's possible that it's a mistake.

Other thing, who is the user UID=32 ?

Why it's him who try to execute systemd ?

>
> Searching for a reference myself, I found this not really related but
> interesting (https://help.gnome.org/admin/gdm/stable/security.html.en):
>
> "The only special privilege the "gdm" user requires is the
> ability to read and write Xauth files to the /run/gdm
> directory.  The /run/gdm directory should have root:gdm ownership
> and 1777 permissions."
>
> My /var/run/gdm has different permissions:
>
> drwx--x--x  3 root gdm  60 May 23 10:19 gdm
>
> I did not change or create this directory so it must be the default
> created by the ebuild. Can anyone confirm that with these permissions
> gdm works correctly?
>
> raffaele
>



Hogren



Re: [gentoo-user] gdm fails to start

2017-05-23 Thread Hogren
I suppose there is a group in /etc/groups for gdm ?

Does your user is associate with this group ?


Hogren


On 23/05/2017 13:53, Raffaele Belardi wrote:
> On Tue, 2017-05-23 at 12:53 +0200, Hogren wrote:
>> On 23/05/2017 10:34, Raffaele Belardi wrote:
>>> On Mon, 2017-05-22 at 16:09 +0200, Hogren wrote:
>>>> Hello,
>>>>
>>>> Very simple question but did you have "pam" in your global USE
>>>> flag
>>>> or
>>>> Systemd USE flag ?
>>> Yes, I am using the gnome/systemd profile:
>>>
>>> # euse -I pam
>>> global use flags (searching: pam)
>>> 
>>> no matching entries found
>>>
>>> local use flags (searching: pam)
>>> 
>>> [+  D   ] pam (net-dialup/ppp):
>>> Enables PAM (Pluggable Authentication Modules) support
>>>
>>> [+  D   ] pam (sys-apps/util-linux):
>>> build runuser helper
>> There is a "pam" USE flag for systemd.
>> Did you try to add it ?
>> https://packages.gentoo.org/packages/sys-apps/systemd
>>
>> Hogren
>>
> Yes, it is set, I don't know why euse does not show it:
>
> # eix -I sys-apps/systemd
> [I] sys-apps/systemd
>  Available versions:  226-r2(0/2) (~)231(0/2) [M](~)232(0/2) 233-
> r1(0/2) **(0/2) {acl apparmor audit build cryptsetup curl doc
> elfutils (+)gcrypt gnuefi http idn importd +kdbus +kmod +libidn2 +lz4
> lzma nat pam policykit qrcode +seccomp selinux ssl sysv-utils test
> vanilla xkb ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64"
> ABI_X86="32 64 x32"}
>  Installed versions:  233-r1(05:53:09 AM 05/20/2017)(acl gcrypt
> kmod lz4 pam policykit seccomp ssl -apparmor -audit -build -cryptsetup
> -curl -doc -elfutils -gnuefi -http -idn -importd -lzma -nat -qrcode
> -selinux -sysv-utils -test -vanilla -xkb ABI_MIPS="-n32 -n64 -o32"
> ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 -64 -x32")
>
>




Re: [gentoo-user] gdm fails to start

2017-05-23 Thread Hogren


On 23/05/2017 10:34, Raffaele Belardi wrote:
> On Mon, 2017-05-22 at 16:09 +0200, Hogren wrote:
>> Hello,
>>
>> Very simple question but did you have "pam" in your global USE flag
>> or
>> Systemd USE flag ?
> Yes, I am using the gnome/systemd profile:
>
> # euse -I pam
> global use flags (searching: pam)
> 
> no matching entries found
>
> local use flags (searching: pam)
> 
> [+  D   ] pam (net-dialup/ppp):
> Enables PAM (Pluggable Authentication Modules) support
>
> [+  D   ] pam (sys-apps/util-linux):
> build runuser helper

There is a "pam" USE flag for systemd.
Did you try to add it ?
https://packages.gentoo.org/packages/sys-apps/systemd

Hogren



Re: [gentoo-user] gdm fails to start

2017-05-22 Thread Hogren
Hello,

Very simple question but did you have "pam" in your global USE flag or
Systemd USE flag ?

If this is on the first, did you compile systemd and may be dependencies
after add it ?

Did you try that:

|systemctl reset-failed|

|For a guy on github, that solve (without explanation) the problem:
|

|https://github.com/coreos/bugs/issues/1498|
||



Hogren





On 22/05/2017 14:13, Raffaele Belardi wrote:
> On Mon, 2017-05-22 at 13:02 +0300, Alexander Kapshuk wrote:
>> On Mon, May 22, 2017 at 1:00 PM, Raffaele Belardi
>> <raffaele.bela...@st.com> wrote:
>>> On Mon, 2017-05-22 at 12:47 +0300, Alexander Kapshuk wrote:
>>>> A Google search found this systemd issue:
>>>> https://github.com/systemd/systemd/issues/4342
>>>> Quote:
>>>> @poettering I see I left no account modules in the bare-bones PAM
>>>> config. Maybe it is pam_acct_mgmt failing then?
>>>>
>>>> @yuwata what happens if you add account required pam_unix.so ?
>>>>
>>>> @fsateler Thanks. By adding the line, user sessions successfully
>>>> start
>>>> without the error messages. Do you think the line should be added
>>>> to
>>>> the minimal PAM file?
>>>>
>>>> See if that helps.
>>>>
>>> Yes, I saw that but the solution is not at all clear to me: which
>>> PAM
>>> config file are they referring to?
>>>
>>> raffaele
>>>
>>>
>> Could it be this one, /etc/pam.d/systemd-user?
>>
> Done then issued 'systemctl daemon-reload' and 'systemctl start gdm',
> no change:
>
> $ cat /etc/pam.d/systemd-user 
> # This file is part of systemd.
> #
> # Used by systemd --user instances.
>
> account include system-auth
> # [RB]
> account required pam_unix.so
> session include system-auth
> session optional pam_keyinit.so force revoke
> session optional pam_systemd.so
>
> #journalctl -b
> ...
> systemd[1]: Created slice User Slice of gdm.
> systemd[1]: Starting User Manager for UID 32...
> systemd[1]: Started Session c519 of user gdm.
> systemd-logind[173]: New session c519 of user gdm.
> systemd[15240]: user@32.service: Failed at step PAM spawning
> /usr/lib/systemd/systemd: Operation not permitted
> systemd[1]: Failed to start User Manager for UID 32.
> systemd[1]: user@32.service: Unit entered failed state.
> systemd[1]: user@32.service: Failed with result 'protocol'.
> gdm-launch-environment][15237]: pam_systemd(gdm-launch-
> environment:session): Failed to create session: Start job for unit user
> @32.service failed with 'failed'
> systemd-logind[173]: Removed session c519.
>




Re: [gentoo-user] emerge : what generates this error message

2017-03-29 Thread Hogren


On 29/03/2017 13:15, Alexander Kapshuk wrote:
> On Wed, Mar 29, 2017 at 2:03 PM, Helmut Jarausch <jarau...@skynet.be> wrote:
>> Hi,
>>
>> I have unmerged the package sci-libs/opencascade.
>>
>> From then on, for any emerge action, I get the error message
>>
>> !!! File Not Found: '/etc/env.d/51opencascade'
>>
>>
>> This occurs, e.g., between
>>
>>>>> media-sound/amarok-2.8.90-r2 merged.
>>
>> and
>>
>>>>> Regenerating /etc/ld.so.cache...
>>
>> What part of Gentoo (probably an eclass) does produce this error message
>> and how to stop this?
>>
>> Many thanks for a hint,
>> Helmut
>>
> Perhaps running 'revdep-rebuild' after unmerging the pkg in question
> would fix that.
>
Hello,
If that doesn't work. Try to use grep to find if this file filename is
hard coded anywhere.
#grep -Ri "opencascade" /etc/*
 
Bye
Hogren



Re: [gentoo-user] bashrc in console

2017-03-22 Thread Hogren


On 22/03/2017 14:57, Alan McKinnon wrote:
> On 22/03/2017 14:34, Hogren wrote:
>> Hello,
>>
>> Anybody knows why ~/.bashrc is not running on the first Bash opening ?
>>
>>
>> Steps to reproduce my problem:
>>
>> - I boot up my machine (systemd)
>>
>> - I have the login prompt
>>
>> - I enter my login, then my password
>>
>> - I am in Bash but ~/.bashrc is not sourced. Aliases, $PATH, and other
>> are not updated.
>>
>> - I enter the command "bash" to enter in a subshell. Now I have my new
>> aliases, $PATH, etc. The ~/.bashrc is sourced.
>>
>>
>>
>> I didn't find the good conf file.
>
> man bash, section INVOCATION.
>
> Study it and study it well. bash does not do with it's startup files
> what you probably assume it does.
>
> Read it, read it again, read it three times. Read and understand what
> is actually there.
>
>
I already read the man pages in the past, and even the Advanced Bash
Scripting Guide (very good free book). I just not remembered a thing
like that.

I didn't read it a second, and a third time ^^. That was my error :)

Bye

Hogren



Re: [gentoo-user] bashrc in console

2017-03-22 Thread Hogren

> http://tinyurl.com/9hrrh53
Very good link. Interesting.
Thanks !

And thanks all for your answers.

Hogren



Re: [gentoo-user] bashrc in console

2017-03-22 Thread Hogren


On 22/03/2017 13:58, Hogren wrote:
>
> On 22/03/2017 13:57, Hogren wrote:
>> On 22/03/2017 13:42, Arthur Țițeică wrote:
>>> În ziua de miercuri, 22 martie 2017, la 14:34:50 EET, Hogren a scris:
>>>> Hello,
>>>>
>>>> Anybody knows why ~/.bashrc is not running on the first Bash opening ?
>>> Maybe you're missing '.bash_profile'. Look in /etc/skel/ for an example.
>> I don't understand. What do I have to in ~/.bash_profile to run .bashrc,
>> even at the first logon ?
>>
>> I have nothing in /etc/skel.
>>
>> /etc/skel $ ls -l
>> total 0
>>
>>
>> Hogren
>>
> Stupid Hogren… ls -a …
>
> I will look.
>
> Sorry.
>
Ok it works, thanks !

Can you explain to me why the ~/.bashrc is sourced in subshells without
.bash_profile ?

Thanks again !

Bye

Hogren



Re: [gentoo-user] bashrc in console

2017-03-22 Thread Hogren


On 22/03/2017 13:57, Hogren wrote:
>
> On 22/03/2017 13:42, Arthur Țițeică wrote:
>> În ziua de miercuri, 22 martie 2017, la 14:34:50 EET, Hogren a scris:
>>> Hello,
>>>
>>> Anybody knows why ~/.bashrc is not running on the first Bash opening ?
>> Maybe you're missing '.bash_profile'. Look in /etc/skel/ for an example.
> I don't understand. What do I have to in ~/.bash_profile to run .bashrc,
> even at the first logon ?
>
> I have nothing in /etc/skel.
>
> /etc/skel $ ls -l
> total 0
>
>
> Hogren
>
Stupid Hogren… ls -a …

I will look.

Sorry.



Re: [gentoo-user] bashrc in console

2017-03-22 Thread Hogren


On 22/03/2017 13:42, Arthur Țițeică wrote:
> În ziua de miercuri, 22 martie 2017, la 14:34:50 EET, Hogren a scris:
>> Hello,
>>
>> Anybody knows why ~/.bashrc is not running on the first Bash opening ?
> Maybe you're missing '.bash_profile'. Look in /etc/skel/ for an example.
I don't understand. What do I have to in ~/.bash_profile to run .bashrc,
even at the first logon ?

I have nothing in /etc/skel.

/etc/skel $ ls -l
total 0


Hogren



[gentoo-user] bashrc in console

2017-03-22 Thread Hogren
Hello,

Anybody knows why ~/.bashrc is not running on the first Bash opening ?


Steps to reproduce my problem:

- I boot up my machine (systemd)

- I have the login prompt

- I enter my login, then my password

- I am in Bash but ~/.bashrc is not sourced. Aliases, $PATH, and other
are not updated.

- I enter the command "bash" to enter in a subshell. Now I have my new
aliases, $PATH, etc. The ~/.bashrc is sourced.



I didn't find the good conf file.


Thank you for help !



Hogren





Re: [gentoo-user] date+filename

2017-03-14 Thread Hogren
Hello,

Did you try with the alternative substitution syntax ("$(date +%F)" in
place of "`date +%F`") ?

Did you try to replace "%F" with "%Y-%m-%d" ?

Did you try to escape the % ("\%")?

I don't know Xface, so I give you advices with my Bash skills.

Good luck.


Hogren


On 14/03/2017 00:10, the...@sys-concept.com wrote:
> I'm trying to add to Xface menu: Configure Custom Actions
> This:
> pdfunite %N folder/`date +%F`-output.pdf
>
> The file in dir folder gets created ("-output.pdf") but is missing the date.
>
> This works from command line:
> pdfunite 1.pdf 2.pdf folder/`date +%F`-output.pdf
>
> What kind of bracket am I missing?
>




Re: [gentoo-user] Building a new root for my Gentoo: Permission denied?

2017-02-13 Thread Hogren
On 13/02/2017 04:42, meino.cra...@gmx.de wrote:
> Hi,
>
> got a mysterious error message this morning (still building a new 
> root...)
>
> One of the updates was gnutls:
> It ends with:
> ...
> checking for i686-pc-linux-gnu-pkg-config... 
> /usr/bin/i686-pc-linux-gnu-pkg-config
> checking pkg-config is at least version 0.9.0... 
> /var/tmp/portage/net-libs/gnutls-3.5.9/work/gnutls-3.5.9/configure: line 
> 5020: /usr/bin/i686-pc-linux-gnu-pkg-config: Permission denied
> no
> checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... configure: error: in 
> `/var/tmp/portage/net-libs/gnutls-3.5.9/work/gnutls-3.5.9-abi_x86_32.x86':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> ...
>
> I tried:
> computer# ldd /usr/bin/i686-pc-linux-gnu-pkg-config
>   not a dynamic executable
> computer# /usr/bin/i686-pc-linux-gnu-pkg-config 
> zsh: permission denied: /usr/bin/i686-pc-linux-gnu-pkg-config
>
> computer# file /usr/bin/i686-pc-linux-gnu-pkg-config
> /usr/bin/i686-pc-linux-gnu-pkg-config: ELF 32-bit LSB executable, Intel 
> 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, 
> for GNU/Linux 2.6.32, stripped, with debug_info
>
> I choosed multilib right from the beginning of this adventure ...
>
> How can I check, whether the problem is caysed by gnutls or by the 
> system setup (regarding 32bit)?
>
> Cheers
> Meino
>
>
>
>
>

Hello,

Can you give us more details of what do you want to do, what do you
already do, etc.

Does /usr/bin/i686-pc-linux-gnu-pkg-config have the x (executable) permission ? 
(ls -l /usr/bin/i686-pc-linux-gnu-pkg-config)



Hogren






Re: [gentoo-user] Delete /tmp content

2017-02-08 Thread Hogren
Hello world !


I do an answer very very very late. But I would to thanks a lot Rich,
Mick, Walter Dnes, James, and Marc Joliet, for their responses.

The basic subject make a interesting conversation.


I think my problem was that my /tmp is a LVM logical volume. The systemd
service did empty the /tmp before the mount of the tmp LV.

I don't very need to separate /tmp from the / LV. So I deleted it (the
/tmp, not the / ^^). An other solution would may be to change the good
systemd service to affect the boot order.


This TOPIC is SOLVED.


Thank you again !


Bye


Hogren


On 16/07/2016 00:18, Marc Joliet wrote:
> On Friday 15 July 2016 08:44:39 Rich Freeman wrote:
>> I checked and it looks like the default on Gentoo is to not clear
>> tmpfiles on a running system at all:
>> cat /usr/lib/tmpfiles.d/tmp.conf
>> v /tmp 1777 root root
>> v /var/tmp 1777 root root
> Which is due to https://bugs.gentoo.org/show_bug.cgi?id=490676 (I still fail 
> to understand the reasoning behind the change, but oh well).  Personally, I 
> manually override Gentoo's own override in order to retain upstream behaviour.
>




Re: [gentoo-user] Retrieving bounced list messages

2017-01-04 Thread Hogren
Sorry I didn't read your response.


On 04/01/2017 08:58, Floyd Anderson wrote:
> I see no change to find any message on [1] by its message number.
> Although it were possible, my goal is to have the messages local
> stored and searchable while being offline. Also [2] doesn’t help here
> even though it offers a message download link — it’s not the raw email
> (with header fields). 

For me, this is the raw mail [1]. When you are on a message, click on
"Download message RAW".

> Now there is still one thing. How to get messages (better whole
> threads) for offline usage from a period before the list subscription
> when their message numbers is unknown? 

Use a Bash, Python, C++, or other language with curl/libcurl to filter
by date.
It's quiet easy :
- download the mailing page, with mounths date
- download subpage only if the dates you want are in these
- from subpages, retrieves ids for concerned messages and download it
with an URL like that [2]

[1] : https://marc.info/?l=gentoo-announce=148344860307130=raw
[2] : https://marc.info/?l=gentoo-announce=IDMESSAGE=raw

Hogren



Re: [gentoo-user] Retrieving bounced list messages

2017-01-04 Thread Hogren
Hello,


With a little search, I saw it (on MARC, software used by gentoo [1]) :

" Robot policy

In theory, we don't mind people snarfing down some MARC pages for
off-line reading. (I travel a lot, and sometimes want to pull down long
threads before hitting the road to read locally, etc.)

On the other hand... first, if we think you are a spam-bot
address-harvester, no death is slow or painful enough. Also, even if
well-intentioned, a robot crawling MARC can sometimes create a DoS; if
the robot sustains many parallel requests (or we happen to be hit by
multiple different robots at the same time) and doesn't back off if the
site starts to slow down, it can bog down the server. In a perfect world
MARC would scale better, and would automatically recognize abusive
robots 100% accurately, 100% of the time. But since it's not a perfect
world... we may throttle traffic from you if your IP, user-agent, or
IP/user-agent combination have misbehaved in the past.

If you want to crawl MARC, please be sure you have a delay between
requests, say one or two seconds. If you think we've mis-identified you
as a robot, please feel free to contact us. Please include information
we'll need to find your activity in our logs, such as the time you get
this message, the IP address(es) you are browsing from, and the
user-agent (web browser) you are using."


With this warning, you can use the MARC interface to try to dump what
you want. Try to start with at the mailing list page [2]. The on MARC
contains date, and others mail headers. Use libcurl and sed should be
sufficient for your needs.



[1] : https://marc.info/?q=about

[2] : https://marc.info/?l=gentoo-announce=1=2



Good luck :)


Hogren


On 04/01/2017 08:58, Floyd Anderson wrote:
> On Tue, 03 Jan 20:12:05 -0500
> Philip Webb <purs...@ca.inter.net> wrote:
>> 170104 Floyd Anderson wrote:
>>> Is it possible — and when how — to retrieve bounced mailing list
>>> messages,
>>> e.g. from <gentoo-annou...@lists.gentoo.org> or this list) ?
>>
>> You can recover everything from the Gentoo lists' archive :
>>  http://archives.gentoo.org/ .
>
> Thanks for your response. I’ve already found [1] but it’s hard (even
> impossible) to figure out the bounced message(s) from there. Notice,
> the bouncing messages information from mailing list manager (mlmmj)
> looks like:
>
>> Some messages to you could not be delivered. If you're seeing this
>> message it means things are back to normal, and it′ merely for your
>> information.
>>
>> Here is the list of the bounced messages:
>> - 174956
>> - 174958
>
> I see no change to find any message on [1] by its message number.
> Although it were possible, my goal is to have the messages local
> stored and searchable while being offline. Also [2] doesn’t help here
> even though it offers a message download link — it’s not the raw email
> (with header fields).
>
> Anyway, you push me in the right direction. After digging somewhat
> deeper I found the ability to send a message request to e.g.
> <gentoo-user+ge...@lists.gentoo.org> (where N is the message number).
>
> Now there is still one thing. How to get messages (better whole
> threads) for offline usage from a period before the list subscription
> when their message numbers is unknown?
>
>
> [1] <https://archives.gentoo.org/gentoo-user/>
> [2] <https://marc.info/?l=gentoo-user=148349234522442=2>
>




[gentoo-user] [Resolved] Broadcom wireless problem after a certain time

2017-01-02 Thread Hogren
OK, options are interpreted.
So the hwpctl=0 (or 1) does not have effect on my problem.

But !
Several minutes before to leave my work office this evening (in France),
I add the options qos=0.
And it seems that it was the solution !
I downloaded several GBs and I still connected :).

I hope that I will have some time to investigate to learn how it doesn't
work fine with this module option.


Thank you very much for your help !!





Re: [gentoo-user] Broadcom wireless problem after a certain time

2017-01-02 Thread Hogren
On 02/01/2017 12:37, Mick wrote:
> On Sunday 01 Jan 2017 20:53:50 Hogren wrote:
>> On 01/01/2017 13:07, Mick wrote:
>>> So,
>>> let's see what the card is configured to use at present:
>>>
>>> cat /sys/class/net/wlp36s0b1/power/control
>>>
>>> The default setting would be off and since this parameter is specified as
>>> an integer it is likely to be 0.  There is also a possibility of it being
>>> set at 'auto'.  In any case you can try switching this on, to see if it
>>> is makes any difference, or if it is set at 'auto' force it to off.
>>>
>>> I see you are running systemd.  I am not well versed with it, so others
>>> will hopefully chip in to correct me.  On a normal Gentoo system with
>>> openrc I> 
>>> would use this file to set options:
>>>  /etc/modprobe.d/b43.conf
>>>
>>> So create it and add in it:
>>>
>>> options b43 hwpctl=1
>>>
>>> to switch power management on, or:
>>>
>>> options b43 hwpctl=0
>>>
>>> to force it off.
>> Hello !
>>
>> Thanks for help. But for now the result of your cat command returns "auto".
>> I created b43.conf in /etc/modprobe.d/ with same permissions than others
>> files in the same directory with content:
>> options b43 hwpctl=0.
>> I restarted.
>> The cat command returns "auto" again.
>>
>> What is wrong ?
> Try setting:
>
> options b43 hwpctl=1
>
> reboot and see what you get.
Hello,
It returns alway "auto".

On the official Systemd documentation, I see that there is a new
directory to say which modules load, but to change options, it's always
with modprobe.

I tried to modified the option on a command line, but, it's stay at "auto" :
# modprobe b43 options hwpctl=0
# cat /sys/class/net/wlp36s0b1/power/control
auto
# modprobe b43 options hwpctl=1
# cat /sys/class/net/wlp36s0b1/power/control
auto
# modprobe b43 options hwpctl=off
# cat /sys/class/net/wlp36s0b1/power/control
auto

What is wrong ?

I really think that I use this module :
# lsmod
Module  Size  Used by
x86_pkg_temp_thermal 4663  0
kvm_intel 148031  0
b43   385652  0
kvm   309648  1 kvm_intel
irqbypass   2616  1 kvm
sha1_generic3067  0


For help, this is my kernel options about its :
# grep -i "b43" /usr/src/linux/.config
CONFIG_B43=m
CONFIG_B43_BCMA=y
CONFIG_B43_SSB=y
CONFIG_B43_BUSES_BCMA_AND_SSB=y
# CONFIG_B43_BUSES_BCMA is not set
# CONFIG_B43_BUSES_SSB is not set
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
CONFIG_B43_BCMA_PIO=y
CONFIG_B43_PIO=y
CONFIG_B43_PHY_G=y
CONFIG_B43_PHY_N=y
CONFIG_B43_PHY_LP=y
CONFIG_B43_PHY_HT=y
CONFIG_B43_HWRNG=y
# CONFIG_B43_DEBUG is not set
# CONFIG_B43LEGACY is not set
CONFIG_SSB_B43_PCI_BRIDGE=y


Thanks for help !

Hogren



Re: [gentoo-user] Broadcom wireless problem after a certain time

2017-01-01 Thread Hogren
On 01/01/2017 13:07, Mick wrote:
> On Sunday 01 Jan 2017 11:54:22 Hogren wrote:
>> On 31/12/2016 00:21, Mick wrote:
>>> On Friday 30 Dec 2016 21:22:17 Hogren wrote:
>>>> Hello,
>>>>
>>>> I write to the list for a little strange problem.
>>>>
>>>> I have a wireless card :
>>>> # lspci |grep -i 802
>>>> 24:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n
>>>>
>>>>
>>>> Globally, the card works fine. I use wpa_supplicant. I have a systemd
>>>> service to start the connection when I want. The DHCP client works fine
>>>> too. etc. All is right.
>>>>
>>>> But, because there is always a "but", After a certain quantity of
>>>> downloaded data, the card's stopping to work fine. I can't receive
>>>> anything. I need to stop an restart the systemd service.
>>>>
>>>> I herd that there is many problems with Broadcom wireless devices
>>>> because the driver is only based on reverse engineering.
>>>>
>>>> That is the reason ? And there is a solution for this kind of problem ?
>>>>
>>>> Thank you very much !
>>>>
>>>> Hogren
>>> I don't know what problems are being reported on the model you are using,
>>> but previous models were experiencing problems with power saving.  Use
>>> modinfo to find out what power saving parameters the module has and try
>>> disabling these, in case power management is the cause of the
>>> interruptions you are experiencing.
>> I'm not enough experienced to see that and deactivate it.
>>
>> My modinfo output :
>> # modinfo b43
>> filename:
>> /lib/modules/4.4.26-gentoo/kernel/drivers/net/wireless/b43/b43.ko
>> firmware:   b43/ucode9.fw
>> firmware:   b43/ucode5.fw
>> firmware:   b43/ucode16_mimo.fw
>> firmware:   b43/ucode15.fw
>> firmware:   b43/ucode14.fw
>> firmware:   b43/ucode13.fw
>> firmware:   b43/ucode11.fw
>> license:GPL
>> author: Rafał Miłecki
>> author: Gábor Stefanik
>> author: Michael Buesch
>> author: Stefano Brivio
>> author: Martin Langer
>> description:Broadcom B43 wireless driver
>> alias:  ssb:v4243id0812rev10*
>> alias:  ssb:v4243id0812rev0F*
>> alias:  ssb:v4243id0812rev0D*
>> alias:  ssb:v4243id0812rev0C*
>> alias:  ssb:v4243id0812rev0B*
>> alias:  ssb:v4243id0812rev0A*
>> alias:  ssb:v4243id0812rev09*
>> alias:  ssb:v4243id0812rev07*
>> alias:  ssb:v4243id0812rev06*
>> alias:  ssb:v4243id0812rev05*
>> alias:  bcma:m04BFid0812rev2Acl*
>> alias:  bcma:m04BFid0812rev28cl*
>> alias:  bcma:m04BFid0812rev1Ecl*
>> alias:  bcma:m04BFid0812rev1Dcl*
>> alias:  bcma:m04BFid0812rev1Ccl*
>> alias:  bcma:m04BFid0812rev18cl*
>> alias:  bcma:m04BFid0812rev17cl*
>> alias:  bcma:m04BFid0812rev15cl*
>> alias:  bcma:m04BFid0812rev11cl*
>> depends:
>> intree: Y
>> vermagic:   4.4.26-gentoo SMP mod_unload
>> parm:   bad_frames_preempt:enable(1) / disable(0) Bad Frames
>> Preemption (int)
>> parm:   fwpostfix:Postfix for the .fw files to load. (string)
>> parm:   hwpctl:Enable hardware-side power control (default off)
>> (int)
> [snip ...]
>
> The above parameter is the only one I see related to power management.  So, 
> let's see what the card is configured to use at present:
>
> cat /sys/class/net/wlp36s0b1/power/control
>
> The default setting would be off and since this parameter is specified as an 
> integer it is likely to be 0.  There is also a possibility of it being set at 
> 'auto'.  In any case you can try switching this on, to see if it is makes any 
> difference, or if it is set at 'auto' force it to off.
>
> I see you are running systemd.  I am not well versed with it, so others will 
> hopefully chip in to correct me.  On a normal Gentoo system with openrc I 
> would use this file to set options:
>
>  /etc/modprobe.d/b43.conf
>
> So create it and add in it:
>
> options b43 hwpctl=1
>
> to switch power management on, or:
>
> options b43 hwpctl=0
>
> to force it off.
Hello !

Thanks for help. But for now the result of your cat command returns "auto".
I created b43.conf in /etc/modprobe.d/ with same permissions than others
files in the same directory with content:
options b43 hwpctl=0.
I restarted.
The cat command returns "auto" again.

What is wrong ?

Thanks again !


Hogren



Re: [gentoo-user] Broadcom wireless problem after a certain time

2017-01-01 Thread Hogren
On 31/12/2016 00:21, Mick wrote:
> On Friday 30 Dec 2016 21:22:17 Hogren wrote:
>> Hello,
>>
>> I write to the list for a little strange problem.
>>
>> I have a wireless card :
>> # lspci |grep -i 802
>> 24:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n
>>
>>
>> Globally, the card works fine. I use wpa_supplicant. I have a systemd
>> service to start the connection when I want. The DHCP client works fine
>> too. etc. All is right.
>>
>> But, because there is always a "but", After a certain quantity of
>> downloaded data, the card's stopping to work fine. I can't receive
>> anything. I need to stop an restart the systemd service.
>>
>> I herd that there is many problems with Broadcom wireless devices
>> because the driver is only based on reverse engineering.
>>
>> That is the reason ? And there is a solution for this kind of problem ?
>>
>> Thank you very much !
>>
>> Hogren
> I don't know what problems are being reported on the model you are using, but 
> previous models were experiencing problems with power saving.  Use modinfo to 
> find out what power saving parameters the module has and try disabling these, 
> in case power management is the cause of the interruptions you are 
> experiencing.
I'm not enough experienced to see that and deactivate it.

My modinfo output :
# modinfo b43
filename:  
/lib/modules/4.4.26-gentoo/kernel/drivers/net/wireless/b43/b43.ko
firmware:   b43/ucode9.fw
firmware:   b43/ucode5.fw
firmware:   b43/ucode16_mimo.fw
firmware:   b43/ucode15.fw
firmware:   b43/ucode14.fw
firmware:   b43/ucode13.fw
firmware:   b43/ucode11.fw
license:GPL
author: Rafał Miłecki
author: Gábor Stefanik
author: Michael Buesch
author: Stefano Brivio
author: Martin Langer
description:Broadcom B43 wireless driver
alias:  ssb:v4243id0812rev10*
alias:  ssb:v4243id0812rev0F*
alias:  ssb:v4243id0812rev0D*
alias:  ssb:v4243id0812rev0C*
alias:  ssb:v4243id0812rev0B*
alias:  ssb:v4243id0812rev0A*
alias:  ssb:v4243id0812rev09*
alias:  ssb:v4243id0812rev07*
alias:  ssb:v4243id0812rev06*
alias:  ssb:v4243id0812rev05*
alias:  bcma:m04BFid0812rev2Acl*
alias:  bcma:m04BFid0812rev28cl*
alias:  bcma:m04BFid0812rev1Ecl*
alias:  bcma:m04BFid0812rev1Dcl*
alias:  bcma:m04BFid0812rev1Ccl*
alias:  bcma:m04BFid0812rev18cl*
alias:  bcma:m04BFid0812rev17cl*
alias:  bcma:m04BFid0812rev15cl*
alias:  bcma:m04BFid0812rev11cl*
depends:   
intree: Y
vermagic:   4.4.26-gentoo SMP mod_unload
parm:   bad_frames_preempt:enable(1) / disable(0) Bad Frames
Preemption (int)
parm:   fwpostfix:Postfix for the .fw files to load. (string)
parm:   hwpctl:Enable hardware-side power control (default off)
(int)
parm:   nohwcrypt:Disable hardware encryption. (int)
parm:   hwtkip:Enable hardware tkip. (int)
parm:   qos:Enable QOS support (default on) (int)
parm:   btcoex:Enable Bluetooth coexistence (default on) (int)
parm:   verbose:Log message verbosity: 0=error, 1=warn,
2=info(default), 3=debug (int)
parm:   pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
parm:   allhwsupport:Enable support for all hardware (even it if
overlaps with the brcmsmac driver) (int)



I don't know if it can be useful but this is my sysctl -a results
concerning my wireless card :
net.ipv4.conf.wlp36s0b1.accept_local = 0
net.ipv4.conf.wlp36s0b1.accept_redirects = 1
net.ipv4.conf.wlp36s0b1.accept_source_route = 0
net.ipv4.conf.wlp36s0b1.arp_accept = 0
net.ipv4.conf.wlp36s0b1.arp_announce = 0
net.ipv4.conf.wlp36s0b1.arp_filter = 0
net.ipv4.conf.wlp36s0b1.arp_ignore = 0
net.ipv4.conf.wlp36s0b1.arp_notify = 0
net.ipv4.conf.wlp36s0b1.bootp_relay = 0
net.ipv4.conf.wlp36s0b1.disable_policy = 0
net.ipv4.conf.wlp36s0b1.disable_xfrm = 0
net.ipv4.conf.wlp36s0b1.force_igmp_version = 0
net.ipv4.conf.wlp36s0b1.forwarding = 0
net.ipv4.conf.wlp36s0b1.igmpv2_unsolicited_report_interval = 1
net.ipv4.conf.wlp36s0b1.igmpv3_unsolicited_report_interval = 1000
net.ipv4.conf.wlp36s0b1.ignore_routes_with_linkdown = 0
net.ipv4.conf.wlp36s0b1.log_martians = 0
net.ipv4.conf.wlp36s0b1.mc_forwarding = 0
net.ipv4.conf.wlp36s0b1.medium_id = 0
net.ipv4.conf.wlp36s0b1.promote_secondaries = 1
net.ipv4.conf.wlp36s0b1.proxy_arp = 0
net.ipv4.conf.wlp36s0b1.proxy_arp_pvlan = 0
net.ipv4.conf.wlp36s0b1.route_localnet = 0
net.ipv4.conf.wlp36s0b1.rp_filter = 1
net.ipv4.conf.wlp36s0b1.secure_redirects = 1
net.ipv4.conf.wlp36s0b1.send_redirects = 1
net.ipv4.conf.wlp36s0b1.shared_media = 1
net.ipv4.conf.wlp36s0b1.src_valid_mark = 0
net.ipv4.conf.wlp36s0b1.tag = 0

net.ipv4.neigh.

[gentoo-user] Broadcom wireless problem after a certain time

2016-12-30 Thread Hogren
Hello,

I write to the list for a little strange problem.

I have a wireless card :
# lspci |grep -i 802
24:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n


Globally, the card works fine. I use wpa_supplicant. I have a systemd
service to start the connection when I want. The DHCP client works fine
too. etc. All is right.

But, because there is always a "but", After a certain quantity of
downloaded data, the card's stopping to work fine. I can't receive
anything. I need to stop an restart the systemd service.

I herd that there is many problems with Broadcom wireless devices
because the driver is only based on reverse engineering.

That is the reason ? And there is a solution for this kind of problem ?

Thank you very much !

Hogren





[gentoo-user] Delete /tmp content

2016-07-15 Thread Hogren

  Hello everybody !

After several strange problems, I discovered that my /tmp content was 
never deleted.


Is there a natif mechanism (with fstab or other option) and it's just a 
misconfiguration or there isn't, and I need to use a systemd service ?


Thanks for your responses !!

Hogren



Re: [gentoo-user] stop an emerge (compilation), halt the PC, boot and continue the emerge

2016-06-21 Thread Hogren

The 2016-06-20 17:52, Ian Bloss wrote :

Usually what I'll do is ctrl-z which pauses emerge, and then I'll run 
pm-suspend to put the machine to sleep. After I turn it back on again 
I'll issue fg and emerge will resume.


The 2016-06-20 18:29, Mick wrote :

In addition, if you can use the same procedure for hibernate (to disk) 
if for

some reason you need to completely remove power from your PC.


Yes, I know that but I was in a special case where I couldn't use it.




The 2016-06-20 17:56, Andrew Lowe wrote :

What I do may be of help, but then again, it may be all wrong and one 
day the gates of hell may open up and swallow mankind because of what I 
did, but hey, that's life.


There is the FEATURES entry in make.conf, man make.conf. Within this 
are two options "keeptemp" and "keepwork". I enable them, then the 
consequences of which is that stuff is not cleaned up. Hence when I 
rerun the emerge, the "make" within sees the already existing files and 
skips them, in other words it does as "make" is expected to do.


Please bear in mind if you have /var/tmp/portage set up to be a RAM 
disk of some sort, obviously if you turn your machine off, you'll look 
the intermediate files, but if you are hard disk based, they will be 
there when you restart the machine and so when you rerun emerge, the 
part up until when you killed the emerge originally will be skipped.


Hope this helps,
Andrew


Hey, this is an instrosting option ! Thank you !



The 2016-06-20 18:12, Marc Stürmer wrote :


Take a look at Tux on Ice, this should do the trick for you.


I already have suspend and hibernate command. Is it different ?



The 2016-06-20 18:41, Raffaele BELARDI wrote :


I had success in the past using ebuild instead of emerge. Check the man
page, briefly emerge is equivalent to the following steps in sequence:

$ ebuild fetch
$ ebuild unpack
$ ebuild compile
$ ebuild install
$ ebuild qmerge

Running 'make' in the temp dir followed by the last two ebuild steps
only (install and qmerge) should work.

raffaele


Thank you very much for this little course ! It's very introsting !
And it help me very much !



The 2016-06-20 18:42, Willie M wrote :


This is pretty much what is run when you emerge something.

ebuild [.ebuild] fetch
ebuild [.ebuild] unpack
ebuild [.ebuild] compile
ebuild [.ebuild] install
ebuild [.ebuild] qmerge
ebuild [.ebuild] clean

to continue just choose what part the build was on when you quit it and
start there.

All I really just use is compile and merge. If it didn't get to compile
it isn't worth it. Just emerge the whole thing again.


Thank you for your additional informations !


The 2016-06-20 22:52, "J." García wrote :


Yes you can, it is not officially supported to do this but I have done
it several times (webkits, libreoffice) without problems, what I do is
make a binary package and then install it, you should have set $PKGDIR
in make.conf, here's how I've done it:

You stopped at libreoffice, you restart your computer, then you should
find out what is the exact ebuild you were building, equery can help
you, if it is an upgrade, i.e.:

$ equery which libreoffice
${PORDIR}/app-office/libreoffice/libreoffice-5.1.3.2.ebuild

then you pretend you are emerge, by using the portage user to make the
build resume, make sure $PKGDIR is writable by the portage user:

$ sudo -u portage ebuild\
${PORTDIR}/app-office/libreoffice/libreoffice-5.1.3.2.ebuild \
package

or nesting both commands:

$ sudo -u portage ebuild $(equery w libreoffice) package

this makes all the previous steps needed (prepare, configure ,build,
install) if they haven't been done,
when that is finished you can merge your recently created binary
package by:

$ sudo emerge -av1K =app-office/libreoffice-5.1.3.2

and resume the general upgrade with:

emerge --resume -av --exclude app-office/libreoffice


Thank you for your alternate method !




Thank you all, very very much for this lot of introsting and helpful 
anwsers !



Hogren





[gentoo-user] stop an emerge (compilation), halt the PC, boot and continue the emerge

2016-06-20 Thread Hogren
 

  Hello !!

I have a little question about portage.

There are many big softwares like Firefox, LibreOffice. At a certain
moment, I need to stop the compilation to halt the PC.

But, when I boot up again the PC and I «emerge --resume», it restart the
compilation process.

Is there a way to not restart the compilation process ?
I think that if I enter in the temp directory and I type «make && make
install», it will install the software but it will not update portage
database.

Thank you for your response !

Bye

Hogren 

Re: [gentoo-user] media-fonts/urw-fonts-2.4.9 - problem with the tar archive ?

2016-06-17 Thread Hogren

Le 2016-06-17 15:05, Zhu Sha Zang a écrit :


Please, open a bug report: bugs.gentoo.org



I reported :
https://bugs.gentoo.org/show_bug.cgi?id=586188

Thank you Zhu Sha Zang for your response.



Regards.

Regards,

Hogren





On Fri, 17 Jun 2016 13:45:42 +0200
Hogren <hog...@iiiha.com> wrote:

Hey Hey, I found !

I emerge cpio an re-emerge gzip.

I am not a very experimented gentoo user. Do I have to alert the gzip
maintener(s) ?
There is may be a USE flag (cpio) to add (by default or not) to gzip.

Thanks for your help.

Hogren

Le 2016-06-17 10:08, Hogren a écrit :

Hello,

I have a problem when I try to emerge media-fonts/urw-fonts-2.4.9.

my build log :

[32;01m * [39;49;00mPackage:media-fonts/urw-fonts-2.4.9
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: fo...@gentoo.org
[32;01m * [39;49;00mUSE:X abi_x86_64 amd64 elibc_glibc
kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv
usersandbox   Unpacking source...
Unpacking urw-fonts-2.4-9.fc13.src.rpm to
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work

 rpm2tar:
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm:
failed to extract cpio via gzip (not actually an RPM?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
[31;01m*[0m ERROR: media-fonts/urw-fonts-2.4.9::gentoo failed (unpack
phase):
[31;01m*[0m   failure unpacking
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line  133:  Called src_unpack
[31;01m*[0m   environment, line 2295:  Called rpm_src_unpack
[31;01m*[0m   environment, line 2250:  Called srcrpm_unpack
'urw-fonts-2.4-9.fc13.src.rpm'
[31;01m*[0m   environment, line 2300:  Called rpm_unpack
'urw-fonts-2.4-9.fc13.src.rpm'
[31;01m*[0m   environment, line 2278:  Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m   rpm2tar -O "${a}" | tar xf - || die "failure
unpacking ${a}";
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info
'=media-fonts/urw-fonts-2.4.9::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv
'=media-fonts/urw-fonts-2.4.9::gentoo'`.
[31;01m*[0m The complete build log is located at
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/environment'.
[31;01m*[0m Working directory:
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'
[31;01m*[0m S: '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'

It sounds that is problem with the rpm file.

Anybody has the same problem or do I have to search about rpm2tar ?

Thank you very much !!!

Hogren



Re: [gentoo-user] media-fonts/urw-fonts-2.4.9 - problem with the tar archive ?

2016-06-17 Thread Hogren

Hey Hey, I found !

I emerge cpio an re-emerge gzip.

I am not a very experimented gentoo user. Do I have to alert the gzip 
maintener(s) ?

There is may be a USE flag (cpio) to add (by default or not) to gzip.

Thanks for your help.

Hogren

Le 2016-06-17 10:08, Hogren a écrit :


Hello,

I have a problem when I try to emerge media-fonts/urw-fonts-2.4.9.

my build log :

[32;01m * [39;49;00mPackage:media-fonts/urw-fonts-2.4.9
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: fo...@gentoo.org
[32;01m * [39;49;00mUSE:X abi_x86_64 amd64 elibc_glibc 
kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv 
usersandbox

Unpacking source...
Unpacking urw-fonts-2.4-9.fc13.src.rpm to 
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work
rpm2tar: 
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm: 
failed to extract cpio via gzip (not actually an RPM?)

tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
[31;01m*[0m ERROR: media-fonts/urw-fonts-2.4.9::gentoo failed (unpack 
phase):
[31;01m*[0m   failure unpacking 
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm

[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line  133:  Called src_unpack
[31;01m*[0m   environment, line 2295:  Called rpm_src_unpack
[31;01m*[0m   environment, line 2250:  Called srcrpm_unpack 
'urw-fonts-2.4-9.fc13.src.rpm'
[31;01m*[0m   environment, line 2300:  Called rpm_unpack 
'urw-fonts-2.4-9.fc13.src.rpm'

[31;01m*[0m   environment, line 2278:  Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m   rpm2tar -O "${a}" | tar xf - || die "failure 
unpacking ${a}";

[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info 
'=media-fonts/urw-fonts-2.4.9::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv 
'=media-fonts/urw-fonts-2.4.9::gentoo'`.
[31;01m*[0m The complete build log is located at 
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at 
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/environment'.
[31;01m*[0m Working directory: 
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'

[31;01m*[0m S: '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'

It sounds that is problem with the rpm file.

Anybody has the same problem or do I have to search about rpm2tar ?

Thank you very much !!!

Hogren




[gentoo-user] media-fonts/urw-fonts-2.4.9 - problem with the tar archive ?

2016-06-17 Thread Hogren
 

Hello,

I have a problem when I try to emerge media-fonts/urw-fonts-2.4.9.

my build log :

[32;01m * Package:media-fonts/urw-fonts-2.4.9
 * Repository: gentoo
 * Maintainer: fo...@gentoo.org
 * USE:X abi_x86_64 amd64 elibc_glibc
kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv
usersandbox
>>> Unpacking source...
>>> Unpacking urw-fonts-2.4-9.fc13.src.rpm to 
>>> /var/tmp/portage/media-fonts/urw-fonts-2.4.9/work
rpm2tar:
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm:
failed to extract cpio via gzip (not actually an RPM?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: media-fonts/urw-fonts-2.4.9::gentoo failed (unpack
phase):
 *   failure unpacking
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm
 * 
 * Call stack:
 * ebuild.sh, line  133:  Called src_unpack
 *   environment, line 2295:  Called rpm_src_unpack
 *   environment, line 2250:  Called srcrpm_unpack
'urw-fonts-2.4-9.fc13.src.rpm'
 *   environment, line 2300:  Called rpm_unpack
'urw-fonts-2.4-9.fc13.src.rpm'
 *   environment, line 2278:  Called die
 * The specific snippet of code:
 *   rpm2tar -O "${a}" | tar xf - || die "failure
unpacking ${a}";
 * 
 * If you need support, post the output of `emerge --info
'=media-fonts/urw-fonts-2.4.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=media-fonts/urw-fonts-2.4.9::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/environment'.
 * Working directory:
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'
 * S: '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'

It sounds that is problem with the rpm file.

Anybody has the same problem or do I have to search about rpm2tar ? 

Thank you very much !!!

Hogren 

Re: [gentoo-user] sys-apps/man-db depends to app-text/po4a

2014-10-13 Thread hogren
Le Sat, 11 Oct 2014 16:22:04 +0200,
Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de a écrit :

 On Sat, Oct 11, 2014 at 07:37:14AM +0100, Stroller wrote:
  
  On Sat, 11 October 2014, at 7:17 am, hogren hog...@iiiha.com
  wrote:
  
   … 
   Emerge try to compile sys-apps/man-db-2.6.6 and fails.
   When I watched the build log, I saw that in the compilation
   period, po4a is not found.
   
   I make an #emerge app-text/po4a, I tried again #emerge
   @preserved-rebuild. It's ok.
   
   Is it correct if I file a bug about that ?
  
  Yes, absolutely.
  
  Thank you for your service.
 
 Actually: I think no.
 
 This is caused because you recently updated perl and there is some
 version missmatch/dependency issue caused by it.
 Run perl-cleaner --all (and emerge -v1 $(qlist -CI virtual/perl) if
 you run into issues).
 The missing dependency (app-text/po4a) will get pulled along the way
 (did so a few hours ago).

Hello,

Thank you for your response (even if I read the bug [41124] before).

I have a question.
Is there the same problem on other rolling release OS like Arch ? Or
even Debian Testing ?
If there is'nt, how do they do ? what is the gentoo particularity which
make it no possible ?

It's not difficult for me to run perl-cleaner, even if I forget to read
output of last upgrades (I have an old laptop and when I upgrade, I
execute emerge -uD world; halt and go to my bed :) ). But I just want
to understand the problem.

Thank you !

Hogren



Re: [gentoo-user] sys-apps/man-db depends to app-text/po4a

2014-10-13 Thread hogren
Le Mon, 13 Oct 2014 13:15:43 -0400,
Mike Gilbert flop...@gentoo.org a écrit :

 On Mon, Oct 13, 2014 at 11:14 AM, hogren hog...@iiiha.com wrote:
  Le Sat, 11 Oct 2014 16:22:04 +0200,
  Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de a écrit :
 
  On Sat, Oct 11, 2014 at 07:37:14AM +0100, Stroller wrote:
  
   On Sat, 11 October 2014, at 7:17 am, hogren hog...@iiiha.com
   wrote:
  
…
Emerge try to compile sys-apps/man-db-2.6.6 and fails.
When I watched the build log, I saw that in the compilation
period, po4a is not found.
   
I make an #emerge app-text/po4a, I tried again #emerge
@preserved-rebuild. It's ok.
   
Is it correct if I file a bug about that ?
  
   Yes, absolutely.
  
   Thank you for your service.
 
  Actually: I think no.
 
  This is caused because you recently updated perl and there is some
  version missmatch/dependency issue caused by it.
  Run perl-cleaner --all (and emerge -v1 $(qlist -CI virtual/perl) if
  you run into issues).
  The missing dependency (app-text/po4a) will get pulled along the
  way (did so a few hours ago).
 
  Hello,
 
  Thank you for your response (even if I read the bug [41124] before).
 
  I have a question.
  Is there the same problem on other rolling release OS like Arch ? Or
  even Debian Testing ?
  If there is'nt, how do they do ? what is the gentoo particularity
  which make it no possible ?
 
  It's not difficult for me to run perl-cleaner, even if I forget to
  read output of last upgrades (I have an old laptop and when I
  upgrade, I execute emerge -uD world; halt and go to my bed :) ).
  But I just want to understand the problem.
 
  Thank you !
 
 I assume they would have a similar issue on their build machines. They
 would have to rebuild all packages which depend on perl when changing
 major versions.
 
 As an end-user, you would not notice it because the new packages just
 get pulled down automatically.
 
 It's the difference between a source-based distro (Gentoo) and a more
 traditional distro (Debian, Arch, etc).
 

Oh yes I understand.
A new version of perl generate (not automatically) a new version of
many other packages, that is ?

Thank you.

Hogren



Re: [gentoo-user] sys-apps/man-db depends to app-text/po4a

2014-10-12 Thread hogren
Le Sat, 11 Oct 2014 07:37:14 +0100,
Stroller strol...@stellar.eclipse.co.uk a écrit :

 
 On Sat, 11 October 2014, at 7:17 am, hogren hog...@iiiha.com wrote:
 
  … 
  Emerge try to compile sys-apps/man-db-2.6.6 and fails.
  When I watched the build log, I saw that in the compilation period,
  po4a is not found.
  
  I make an #emerge app-text/po4a, I tried again #emerge
  @preserved-rebuild. It's ok.
  
  Is it correct if I file a bug about that ?
 
 Yes, absolutely.
 
 Thank you for your service.
 
 Stroller.
 
 

My bug [525034] is a duplicate of [41124] is an old bug.

In fact, when we update perl, we need to recompile all perl modules.

May be I did'nt see the message after the last perl emerge.

The command to execute is perl-cleaner --allmodules.
You must do this after each perl update.

Thank you for your help.

Regards,

Hogren



[gentoo-user] sys-apps/man-db depends to app-text/po4a

2014-10-11 Thread hogren
Hello,

I want to file a bug and I juste ask you a confirmation.

I tried to upgrade my gentoo (#emerge -uD world).
Ok. At the end emerge says me that I have preserved builds.
So I tried a #emerge @preserved-rebuild.
Emerge try to compile sys-apps/man-db-2.6.6 and fails.
When I watched the build log, I saw that in the compilation period,
po4a is not found.

I make an #emerge app-text/po4a, I tried again #emerge
@preserved-rebuild. It's ok.

Is it correct if I file a bug about that ?

Thank you !

Hogren



Re: [gentoo-user] Re: Noob WiFi question (yes-or-no answer will suffice) [SOLVED]

2014-10-07 Thread hogren
Le Tue, 07 Oct 2014 08:22:35 +0200,
J. Roeleveld jo...@antarean.org a écrit :

 
 On Monday, October 06, 2014 11:06:03 PM Mick wrote:
  On Monday 06 Oct 2014 11:53:54 Neil Bothwick wrote:
   On Fri, 03 Oct 2014 21:21:03 +0200, Alan McKinnon wrote:
nm has come a long way  of late it seems. Perhaps I should
revise my stance on it :-)
   
   The main reason wicd development has stopped is that the developer
   started using NetworkManager.
  
  Am I the only one still using /etc/conf.d/net and wpa_cli / wpa_gui?
 
 For wired desktops, I use the /etc/conf.d/net file.
 For laptops, where I need to connect to different WIFI networks
 regularly, I like the way NM just seems to work.
 I always had issues with wpa_cli/wpa_gui, even when following how-tos
 online.
 
 Never mind trying to connect to different VPNs.
 
 --
 Joost

Hello,

Like Joost, I think that it's a good thing to just use /etc/conf.d/net
where you always use the same WiFi network(s). When you are mobile, you
should use a network manager (wicd, Network Manager, or other).

Regards,

Hogren




Re: [gentoo-user] Re: Noob WiFi question (yes-or-no answer will suffice) [SOLVED]

2014-10-07 Thread hogren
Le Tue, 07 Oct 2014 10:01:57 +0200,
J. Roeleveld jo...@antarean.org a écrit :

 
 On Tuesday, October 07, 2014 09:50:04 AM hogren wrote:
  Le Tue, 07 Oct 2014 08:22:35 +0200,
  
  J. Roeleveld jo...@antarean.org a écrit :
   On Monday, October 06, 2014 11:06:03 PM Mick wrote:
On Monday 06 Oct 2014 11:53:54 Neil Bothwick wrote:
 On Fri, 03 Oct 2014 21:21:03 +0200, Alan McKinnon wrote:
  nm has come a long way  of late it seems. Perhaps I should
  revise my stance on it :-)
 
 The main reason wicd development has stopped is that the
 developer started using NetworkManager.

Am I the only one still using /etc/conf.d/net and wpa_cli /
wpa_gui?
   
   For wired desktops, I use the /etc/conf.d/net file.
   For laptops, where I need to connect to different WIFI networks
   regularly, I like the way NM just seems to work.
   I always had issues with wpa_cli/wpa_gui, even when following
   how-tos online.
   
   Never mind trying to connect to different VPNs.
   
   --
   Joost
  
  Hello,
  
  Like Joost, I think that it's a good thing to just
  use /etc/conf.d/net where you always use the same WiFi network(s).
 
 Actually, that is not what I said.
 I use /etc/conf.d/net for wired desktops.
 All wireless is done using NM.

yes, sorry, I mixed two ideas in my mind before to write ^^.

  When you are mobile, you
  should use a network manager (wicd, Network Manager, or other).
 
 You should use whatever you prefer. For ease-of-use, a working GUI
 can be preferable.
 
 --
 Joost
 

Hogren