Re: [gentoo-user] Building firefox-61 with distcc

2018-08-02 Thread Branko Grubic
On Thu, 2 Aug 2018 22:33:15 +0200
Branko Grubic  wrote:

> On Thu, 2 Aug 2018 13:14:22 -0700
> Daniel Frey  wrote:
> 
> > Well, I discovered some of my plugins stopped working on Firefox
> > because they've been updated to the new plugin format.
> > 
> > I've been using distcc for a long time now, and I've tried to build
> > firefox and it fails with:
...
> > Dan
> >   
> 
> Same issue here with FF and distcc, it's happening for few releases
> now, whenever I tried to find a solution I was going over some old
> build system issues with FF on their bugzilla.
> 
> You can disable distcc for specific package using package.use[1].
> I have just two things set:
> FEATURES="-distcc -distcc-pump"
> and MAKEOPTS reduced in the nodistcc.conf 
> 
> 
> [1] https://wiki.gentoo.org/wiki//etc/portage/package.env

It's not package.use but package.env, documentation url is right, just
what I wrote before isn't, no idea what I was thinking at the time.
Sorry for the confusion.



Re: [gentoo-user] Building firefox-61 with distcc

2018-08-02 Thread Branko Grubic
On Thu, 2 Aug 2018 13:14:22 -0700
Daniel Frey  wrote:

> Well, I discovered some of my plugins stopped working on Firefox
> because they've been updated to the new plugin format.
> 
> I've been using distcc for a long time now, and I've tried to build
> firefox and it fails with:
> 
> --
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/threading.py", line 801, in
> __bootstrap_inner self.run()
>   File "/usr/lib64/python2.7/threading.py", line 754, in run
> self.__target(*self.__args, **self.__kwargs)
>   File
> "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/testing/mozbase/mozprocess/mozprocess/processhandler.py",
> line 1028, in _read
> callback(line.rstrip())
>   File
> "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/testing/mozbase/mozprocess/mozprocess/processhandler.py",
> line 944, in __call__
> e(*args, **kwargs)
>   File
> "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mach/mach/mixin/process.py",
> line 86, in handleLine
> line_handler(line)
>   File
> "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mozbuild/mozbuild/controller/building.py",
> line 681, in on_line
> self.log(logging.INFO, 'build_output', {'line': message},
> '{line}') File
> "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mach/mach/mixin/logging.py",
> line 54, in log
> extra={'action': action, 'params': params})
>   File "/usr/lib64/python2.7/logging/__init__.py", line 1231, in log
> self._log(level, msg, args, **kwargs)
>   File "/usr/lib64/python2.7/logging/__init__.py", line 1286, in _log
> self.handle(record)
>   File "/usr/lib64/python2.7/logging/__init__.py", line 1296, in
> handle self.callHandlers(record)
>   File "/usr/lib64/python2.7/logging/__init__.py", line 1336, in
> callHandlers
> hdlr.handle(record)
>   File "/usr/lib64/python2.7/logging/__init__.py", line 759, in handle
> self.emit(record)
>   File
> "/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/python/mozbuild/mozbuild/controller/building.py",
> line 564, in emit
> self.fh.write(msg)
> UnicodeEncodeError: 'ascii' codec can't encode characters in position
> 138-140: ordinal not in range(128)
> 
> --
> 
> What I'm trying to figure out is if this is due to the recent python
> changes or if it really is a distcc problem as per:
> 
> https://bugs.gentoo.org/662516
> 
> (I just noticed they tagged it wontfix. :(  )
> 
> Has anyone found a solution for this other than disabling distcc
> altogether? I'm going to try that now and see if it compiles.
> 
> If it does turn out to be distcc is there a method to disable distcc
> just for the firefox package? The distcc article @ gentoo wiki doesn't
> mention anything.
> 
> Dan
> 

Same issue here with FF and distcc, it's happening for few releases
now, whenever I tried to find a solution I was going over some old
build system issues with FF on their bugzilla.

You can disable distcc for specific package using package.use[1].
I have just two things set:
FEATURES="-distcc -distcc-pump"
and MAKEOPTS reduced in the nodistcc.conf 


[1] https://wiki.gentoo.org/wiki//etc/portage/package.env



Re: [gentoo-user] Vcore unstable?

2018-05-27 Thread Branko Grubic
On Sun, 27 May 2018 01:50:35 +0200 (CEST)
 wrote:

> i have a machine i just put lm sensors etc. on.  xsensors shows
> "Vcore" fluctuating between 1.12 and 1.3v.  stays at 1.12V when
> idling but increases with load.  Is this remotely normal behavior for
> an athlon chip in a desk top?  It's either some sort of throttling or
> the Vcore power supply is failing, obviously i'd like to know which.
> If it's the power supply i can likely fix it if it needs to be
> fixed.  Also occurs to me that xsensors could be usefull tracking
> down intermittent issues.  I used it to monitor a power supply i
> wasn't sure about for about a week and it stayed nice.
> 
> mad.scientist.at.large (a good madscientist)
> --
> 

If you have cpu frequency scaling options enabled (in kernel[1]) and
Cool'n'Quiet[2] in BIOS, that should be normal.

[1] https://wiki.gentoo.org/wiki/Power_management/Processor
[2] https://en.wikipedia.org/wiki/Cool%27n%27Quiet



Re: [gentoo-user] Portage tarball generation?

2018-03-06 Thread Branko Grubic
On Tue, 6 Mar 2018 09:55:05 -0500
Eldon  wrote:

> Sorry, not sure if this is the correct place to post this. I have a
> set of machines which I update regularly, typically by downloading a
> tarball like
> http://distfiles.gentoo.org/snapshots/portage-20180304.tar.gz and
> mirroring locally. The squashfs under
> http://distfiles.gentoo.org/snapshots/squashfs/ has been updated (and
> I would actually prefer to use that), but no gpg signature is
> generated for it.  It looks like these may not have been generated
> for some days. I asked in IRC, and was told these archives are not
> likely going away. I looked for bugs, but none were filed. What is
> the best way to inform/poke/assist in this regard?
> 
> Thanks!
> 

I used old bug[1] for this, which was still open from last time.

[1] https://bugs.gentoo.org/631372 



Re: [gentoo-user] Bouncing Messages

2018-03-02 Thread Branko Grubic
On Thu, 1 Mar 2018 14:42:35 -0600
R0b0t1  wrote:

> I keep getting emails from the mailer daemon about bouncing messages.
> I am worried. Am I missing messages from my internet friends? Please
> send help.
> 
> With much concern,
>  R0b0t1
> 

I opened a bug[1] for the infra team, possibly they can analyze the
logs/reports to see why this happens.

[1] https://bugs.gentoo.org/649366



Re: [gentoo-user] Bouncing Messages

2018-03-01 Thread Branko Grubic
On Thu, 1 Mar 2018 16:38:42 -0600
Dale <rdalek1...@gmail.com> wrote:

> Branko Grubic wrote:
> > On Thu, 1 Mar 2018 14:42:35 -0600
> > R0b0t1 <r03...@gmail.com> wrote:
> >  
...
> 
> 
> I have got a couple recently as well.  I wonder, can this be used to
> retrieve those messages somehow??
> 
> 
> Here is the list of the bounced messages:
> - 182748
> - 182749
> - 182751
> 
> 
> I keep my messages locally so when I miss messages, it can throw a
> thread into some random weirdness.  If one uses the web interface to
> read/reply etc then it wouldn't matter but for those who use email
> software, it seems we are missing something.  
> 
> I might also wonder, what happened to 182750??  
...

I have no idea, does it mean it bounced, and mailing list software did
re-send them later or not. I don't see a way to use those numbers to
find out which email message relates to the number. So no answer for
any of those.

But what is interesting is that all of us use gmail.

It could be that gmail is receiving a lot of messages from
lists.gentoo.org and that triggers some spam protection? :(

Regards,
Branko




Re: [gentoo-user] Bouncing Messages

2018-03-01 Thread Branko Grubic
On Thu, 1 Mar 2018 14:42:35 -0600
R0b0t1  wrote:

> I keep getting emails from the mailer daemon about bouncing messages.
> I am worried. Am I missing messages from my internet friends? Please
> send help.
> 
> With much concern,
>  R0b0t1
> 

Hi,

I was just thinking about asking the same question, I also get those
recently.

Regards,
Branko



Re: [gentoo-user] Rebuilding all dependants of a package

2018-02-19 Thread Branko Grubic
On Mon, 19 Feb 2018 12:55:08 + (UTC)
Holger Hoffstätte  wrote:

> Hey,
> 
> I'm not exactly new to portage, but one thing that I cannot seem to
> figure out is how to rebuild all dependants of a package. Not
> *dependencies*, dependants: packages that require said package.
> 
> As a recent example: whenever go (the language) is updated to a new
> version (say from 1.9 to 1.10, as it happended recently), I'd like to
> rebuild docker & friends - or more specifically 'things that are
> compiled with go'.
> 
> The --changed-deps option doesn't seem to do the trick, so instead I
> manually do a -vp --depclean on go and manually --oneshot all
> installed packages that have their hands on it. This is obviously
> stupid and error-prone.
> 
> Am I missing something or is this really not easily possible?
> Basically I'm looking for a hard --oneshot --revdep-rebuild with a
> package argument.
> 
> thanks,
> Holger
> 
> 

I never needed this, so I don't know how to do it directly with emerge
(is it possible?), but you can use equery like this to get a list:

equery -q d dev-lang/go

-q/--quiet (minimal output)
(d)epends (list all packages directly depending on ATOM)

to get a list of packages installed which depend on dev-lang/go
you can filter versions out of it and feed that to 'emerge -av1'.

Or if you trust this ugly one-liner without filtering (probably ugliest
thing, but seems to do the job):

emerge -av1 $(for i in $(equery -q d sys-apps/util-linux); do echo
"=$i"; done)



Re: [gentoo-user] Everyone wants util linux...but different versions en mass

2017-10-24 Thread Branko Grubic
On Wed, 25 Oct 2017 04:17:33 +0200
tu...@posteo.de wrote:

> Hi,
> 
> Suddenly I got the below this morning while updateing:
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (net-wireless/rfkill-0.5-r3:0/0::gentoo, ebuild scheduled for
> merge) pulled in by net-wireless/rfkill required by @selected
> 
>   (sys-apps/util-linux-2.31:0/0::gentoo, ebuild scheduled for merge)
> pulled in by sys-apps/util-linux required by
> (net-fs/nfs-utils-2.1.1-r1:0/0::gentoo, installed)
> sys-apps/util-linux required by
> (app-admin/testdisk-7.0-r3:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.20 required by
> >(sys-fs/eudev-3.2.4:0/0::gentoo, installed)  
> sys-apps/util-linux required by
> (dev-libs/appstream-glib-0.6.13:0/8::gentoo, installed)
> sys-apps/util-linux required by
> (app-text/xmlto-0.0.28-r1:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.22 required by
> >(virtual/eject-0:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.16 required by
> >(sys-fs/lvm2-2.02.166-r2:0/0::gentoo, installed)  
> 
> sys-apps/util-linux[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
> (sys-apps/util-linux[abi_x86_64(-)]) required by
> (dev-libs/glib-2.52.3:2/2::gentoo, installed) sys-apps/util-linux
> required by @system
> >=sys-apps/util-linux-2.20 required by
> >(net-fs/autofs-5.1.3:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.13 required by
> >(sys-power/pm-utils-1.4.1-r7:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.16 required by
> >(sys-fs/e2fsprogs-1.43.7:0/0::gentoo, installed)  
> sys-apps/util-linux required by
> (sys-apps/gptfdisk-1.0.3:0/0::gentoo, installed)
> sys-apps/util-linux:0=[static-libs(+)?] (sys-apps/util-linux:0=)
> required by (sys-fs/btrfs-progs-4.13.3:0/0::gentoo, installed)
> sys-apps/util-linux:0/0= required by
> (sys-fs/btrfs-progs-4.13.3:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.16 required by
> >(dev-libs/apr-1.6.3:1/1::gentoo, ebuild scheduled for merge)
> >=sys-apps/util-linux-2.17.2 required by
> >(sys-fs/xfsprogs-4.13.1:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.20 required by
> >(sys-block/gparted-0.29.0:0/0::gentoo, installed)  
> sys-apps/util-linux required by
> (app-admin/apache-tools-2.4.29:0/0::gentoo, ebuild scheduled for
> merge)
> >=sys-apps/util-linux-2.20.1-r2 required by
> >(sys-fs/udisks-2.7.3:2/2::gentoo, installed)
> >=sys-apps/util-linux-2.19 required by
> >(dev-libs/rasqal-0.9.32:0/0::gentoo, installed)
> >=sys-apps/util-linux-2.27 required by
> >(sys-libs/libblockdev-2.13:0/0::gentoo, installed)
> 
> >=sys-apps/util-linux-2.24.1-r3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
> >(>=sys-apps/util-linux-2.24.1-r3[abi_x86_64(-)]) required by
> >(x11-libs/libSM-1.2.2-r1:0/0::gentoo, installed)  
> sys-apps/util-linux required by
> (dev-libs/volume_key-0.3.9:0/0::gentoo, installed)
> sys-apps/util-linux required by
> (app-text/build-docbook-catalog-1.21:0/0::gentoo, installed)
> sys-apps/util-linux required by (sys-fs/cryptsetup-1.7.5:0/0::gentoo,
> installed) sys-apps/util-linux required by
> (app-text/rarian-0.8.1-r3:0/0::gentoo, installed)
> 
> Why suddenly "all packages" needs a different version of util-linux
> suddenly...? How can I fix that?
> 
> Cheers
> Meino
> 
> 
> 

Possibly it's just the issue with two packages which cannot be
installed at the same time. Recently[1] util-linux added the same
functionality and command 'rfkill', so that is probably why those two
cannot be installed at the same time, try removing net-wireless/rfkill.

[1] http://karelzak.blogspot.com/2017/10/util-linux-v231-whats-new.html



Re: [gentoo-user] How to set up claws mail

2017-10-19 Thread Branko Grubic
On Thu, 19 Oct 2017 10:29:52 +0100
Peter Humphrey  wrote:

> Hello list,
> 
> I'm trying to ditch KMail and switch to mail-client/claws-mail, but I
> can't see how to set it up to receive emails from my ISP. It appears
> to run, but it doesn't fetch anything. Even KMail can do that ;-)
> 
> The claws log shows me logging in, then out again without doing
> anything.
> 
> Can anyone offer the clueless a clue, please?
> 

Hi Peter,

There is no much information to understand what exactly you tried
already.
I use claws-mail for a few years now, have no issues, it's a great
mail client, but whenever I want to start fresh I do go around all
settings (general) and account and tweak things, so I don't remember
what defaults are.

Take a look at "Configuration > Preferences" under  "Mail Handlig >
Receiving" in "Automatic checking" section "Check for new mail on
start-up" is set (if you want this) (interval checking if you
want that as well).

Also take a look at "Configuration > Edit Accounts" then select your
account and "Edit", under "Account > Receive" is "'Get Mail' checks for
new messages on this account" set.

Regards,
Branko



Re: [gentoo-user] conf.d/net routes

2017-09-02 Thread Branko Grubic
On Sat, 2 Sep 2017 11:54:48 -0700
Ian Zimmerman  wrote:

> What is the exact syntax of the *_routes lines in the /etc/conf.d/net
> file, or where is it documented?
> 
> The wiki gives a couple of examples, but they are all either just for
> dhcp (so no configurable routes) or else they are of the form
> 
> eth0_routes="default via eth0"
> 
> "via" is not something I can use on the command line of the route
> command, at least according to its manpage.  So it can't be just
> straight repetition of the command line.  But then, what is it?
> 
> Motivation: I want to add a route for a point-to-point interface.
> 

Some examples you can find
in /usr/share/doc/netifrc-0.5.1/net.example.bz2

Replace netifrc version with one installed on your system.




Re: [gentoo-user] How to update glibc

2017-08-19 Thread Branko Grubic
On Sat, 19 Aug 2017 11:39:40 -0300
Raphael MD  wrote:

> Hi,
> 
> Emerge is asking to update glibc because old is masked and it'll be
> removed.
> 
> But, how to update glibc?
> Gentoo only talk about to update gcc, but my gcc it's up to date.
> 
> Thanks

Just upgrade it, glibc is backwards compatible, no extra procedures
regarding it.