[gentoo-user] Problem when going to install refind and using musl/llvm profile

2024-04-04 Thread Andrew Lowe

Hi all,
	I'm attempting to set up a new machine. I want to try out the musl/llvm 
combo, profile 70, but am having troubles with the refind boot manager.


When I attempt to emerge refind, I get, during the "pretend phase":


* ERROR: sys-boot/refind-0.14.0.2-r1::gentoo failed (pretend phase):
 *   objcopy (objcopy) does not support EFI target


and a bit further down:


* The specific snippet of code:
 *  LANG=C LC_ALL=C "${OBJCOPY}" --help | grep -q '\|| die "${OBJCOPY} (objcopy) does not support EFI target"



Has anyone gone down the road of musl/llvm/refind and seen this? I don't 
see anything under bugs.gentoo.org.


Any thoughts on how to fix this would be appreciated,

Andrew







[gentoo-user] New build, openrc, llvm, musl etc

2024-01-07 Thread Andrew Lowe

Dear all,
	It's been a while since I built a Gentoo machine from scratch so need a 
bit of guidance.


	I want to build a machine, amd64, that uses OpenRC, LLVM & Musl. 
Looking on the Downloads page and in turn the "Advanced choices", there 
is two separate Stage 3 archives, "llvm/OpenRC" & "Musl/OpenRC".


	I understand why I should have Musl as the default install. I'm 
assuming that I should just use the OpenRC/Musl Stage 3 and then just 
install LLVM as per normal, "emerge llvm" and things would end up being 
what I want - am I right? Or is there something special in the 
"llvm/OpenRC" archive that I also need to do?


Any thoughts are greatly appreciated.

Regards,
Andrew





Re: [gentoo-user] Lost keyboard shortcut to KDE button

2022-04-28 Thread Andrew Lowe

On 28/4/22 11:11 pm, Peter Humphrey wrote:

Hello list,

While playing with task bars etc. I've managed to lose the Left Windows key
shortcut to open the task manager.

How can I get it back?

I asked this on the KDE User list eight days ago, but no reply.



	The thingy between "Ctrl" and "Alt", looks like the "Win 98" logo? 
"Task Manager" - the thing that has all of the programmes, "log out", 
"Shut down" etc? If you use the mouse off the task bar it's called the 
"Application launcher"? Still there for me.


	Display the task bar via moving the mouse to the appropriate posi, I 
have the task bar across the top of the screen so I move the mouse to 
the top and then the left hand corner where the little 9 dot icon is. 
Select that and the launcher drops down. Next to the Search box is the 
little two slider looking icon, "Configure Application Launcher". Select 
that then "Keyboard Shortcuts". Select the key you want. Although I've 
just noticed, that even though I changed this, to now be be "F12", which 
works, the Windows icon still works.


	Or are you referring to the thing accessed via "Ctrl" + "Esc""? Don't 
know about that one.


Or maybe Ive still got it wrong...

Andrew



Re: [gentoo-user] Dolphin and missing paste file option in right click menu.

2022-04-28 Thread Andrew Lowe

On 28/4/22 9:55 pm, Dale wrote:

Neil Bothwick wrote:

On Wed, 27 Apr 2022 14:37:12 -0500, Dale wrote:


I did my weekly updates this past Sunday.  I noticed one change I like.

[snip]


[snip]



That works here too.  As you point out, it doesn't work elsewhere like
it used to tho.  Odd.  I suspect it will be fixed with the next version.

I tried to go back to a older version but it wants older versions of
other KDE packages too.  I was wanting to see how it worked in the old
version again, compare things.  Oh well.  At least you got me a way to
make it work until they give it a proper fix.

Thanks much.

Dale

:-)  :-)



	Broken for me as well. I did a big update a few days ago and had 
noticed the same problem. I was about to  post the same as Dales 
original post when Dales popped up. I agree with Neil, about being near 
a file and clicking on the LHS.


	If I remember correctly, and I'm quite prepared to be corrected here, 
in the earlier versions the "highlight bar" only covered the file/dir 
name, not right across the whole window, Size, Modified, Type etc. Now 
it does, from the vertical line that indicates the dir tree right across 
to the RHS of the window. It does not extend right to the edge of the 
LHS of the window from the vertical line and that's the part that Neil 
identified. I'm guessing that dolphin somehow uses the highlight colour, 
the "highlight bar", to indicate location within the window and in turn 
as to whether things can be pasted there or not.


	If I didn't have, literally, three solid days of 1st year engineering 
students submissions to mark, I would have a quick squizz at the dolphin 
code, but it's out of the question at the moment. There is nothing on 
the Gentoo bugs thingy regarding Dolphin. I think I'll be waiting until 
the next update


Andrew



[gentoo-user] Graphics problem, especially when running Firefox - kde environment

2022-03-13 Thread Andrew Lowe

Dear all,
	Back story, I'm in Perth Australia, hence summer has just finished. 
Summer here means long runs of about 40ºC during the day and nights of 
about 35ºC at midnight.


12 months ago, I started getting a dialogue popup that said:



KWin Window Manager
Desktop effects were restarted due to a graphics reset



This would pop up, particularly when doing "deep research" with Firefox 
on Youtube. Firefox would freeze for a few seconds, but the audio would 
continue, the screen would do a refresh/flash sort of thing and on goes 
the "research". As the day would progress, and the home office would 
heat up, 35ºC during the day, these popups would pop up more and more 
and the machine would nearly become unusable.


It was also accompanied by the following in dmesg:


...
...
[ 1473.478242] NVRM: GPU at PCI::0a:00: 
GPU-810c3175-ac6b-0de3-ff85-dce410a501dc
[ 1473.478246] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 1473.478530] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 1480.030284] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 1480.030618] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 2093.087760] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 2093.088145] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 2126.588242] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004

...
...



This started last summer and then as things cooled down, occurred less 
and eventually disappeared, winter time. This summer it's back and even 
worse so I upgraded from an nVidia 1060 to a 3050 - the thinking being 
the card was over heating. As you guessed the problem is still here.


	I've found the xid errors page on nVidia's site but was wondering if 
anyone else had come across this error and has any advice?


Thanks in advance for any thoughts,

Andrew






Re: [gentoo-user] Contribution: Python C Code builder, Simple Build

2022-01-20 Thread Andrew Lowe

On 21/1/22 10:32 am, Matt Connell wrote:

On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:

I would like to send a little python program that runs GCC to compile
the C code. The C Code can put multiple sub directories in the main
SRC directory. The python code uses os.walk method to find all C Code
files and pass it to GCC.


So, you've reinvented makefiles?




	There have been a few "weird" posts lately, authors "Attilla" & "xbx", 
and subjects, amongst others, "Technical Docum". Is this someone 
trying to contribute or a spam/spear phishing attack?


Andrew




Re: [gentoo-user] Kernel config thingy, "make menuconfig"

2022-01-15 Thread Andrew Lowe

On 15/1/22 10:47 pm, tastytea wrote:

On 2022-01-15 22:38+0800 Andrew Lowe  wrote:


Dear all,
I'm in the process of fiddling around with the config of my
kernel. This means using the "menu config thingy" that "make
menuconfig" builds. It is very frustrating. Does anyone know why
stuff is not in alphabetical order? It's a pain in the clacka trying
to find some of the entries. For example "Device Drivers -> Android".
You would expect it to be near the top of the device drivers, but no,
it's near the bottom.

No, I'm not expecting anyone to "fix" it, just basically a
whinge.

Andrew



Yeah, someone should clean that thing up… But I guess a lot of people
would complain because they are used to the current structure. 

Did you know you can search with / and then jump to the results with
the number keys?



"number keys" - No, something to now investigate.

Thanks,
Andrew



[gentoo-user] Kernel config thingy, "make menuconfig"

2022-01-15 Thread Andrew Lowe

Dear all,
	I'm in the process of fiddling around with the config of my kernel. 
This means using the "menu config thingy" that "make menuconfig" 
builds. It is very frustrating. Does anyone know why stuff is not in 
alphabetical order? It's a pain in the clacka trying to find some of the 
entries. For example "Device Drivers -> Android". You would expect it to 
be near the top of the device drivers, but no, it's near the bottom.


No, I'm not expecting anyone to "fix" it, just basically a whinge.

Andrew



Re: [gentoo-user] Movie editing softeware

2021-12-19 Thread Andrew Lowe

On 20/12/21 11:17 am, William Kenworthy wrote:
Hi, what is a usable piece of software in portage to do a quick edit of 
a movie? (cut start/end and maybe splice a bit in/out of the middle?)


BillK





How easy should it be? Won't ffmpeg allow you to do this type of thing 
but you need to do a bit of work to get what you need - no nice GUI?


Andrew



Re: [gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Andrew Lowe

On 26/8/21 1:45 am, Dale wrote:

Hi,

I have a video that does something weird.  The video plays about 6
minutes or so past the length it should.  During that extended time, you
can't fast forward, pause or anything either.  I've ran into this a
couple times with my deer camera and thought it odd but didn't worry
about it.  My question is, can this be fixed somehow?  Can I get mplayer
or something to process the file and adjust the time it thinks the video
is to what it actually is?

Bonus, how in the world did it get that way?

Thanks.

Dale

:-)  :-)

	Seen the same sort of behaviour in vid's "liberated" from youtube using 
youtube-dl. I can't remember if I found the problem. What format are you 
using? For example mkv has mkvalidator which will check the integrity 
and I thing mkvclean to fix errors etc.


Andrew



Re: [gentoo-user] Vanishing tab bar in Firefox

2021-08-24 Thread Andrew Lowe

On 24/8/21 10:59 pm, Peter Humphrey wrote:

On Friday, 20 August 2021 17:26:15 BST Peter Humphrey wrote:

On Saturday, 7 August 2021 10:45:26 BST Peter Humphrey wrote:

Hello list,



[snip]



Spoke too soon. It's back again, and it's more stubborn this time. I really
don't want to keep zapping my Firefox directory and setting it up all over
again, especially as I don't understand what's going wrong. Any crumbs of
advice or experience, anyone?



	As the Firefox dir is all text files, I think, when you blow it away 
and rebuild and get the correct behaviour, grab a copy. When the dodgy 
behaviour returns diff the copy, with the good behaviour, against the 
current dir, with the dodgy behaviour, and see what's changed. That may 
lead to an indication of what's being naughty.


I have a recollection of doing this in the past to track down a problem.

Andrew



Re: [gentoo-user] I've got a pod of dolphins after start-up

2021-05-01 Thread Andrew Lowe

On 1/5/21 3:04 pm, Neil Bothwick wrote:

On Sat, 1 May 2021 01:24:23 +0200, Frank Steinmetzger wrote:


I also have experienced something like it. In my case it was Wireshark
coming up after I only launched it once. It is probably KDE’s session
management getting into your way. Unfortunately I haven’t found a place
where to configure the session. There’s probably a file in ~/.config or
~/.local about that. As a quick remedy I switched to empty session on
startup (open system settings and look for session).


Did you try adding Wireshark to the Don't restore these applications list
in System Settings->Startup and Shutdown->Desktop Session?




Ha, the problem is back, dolphins everywhere. The problem seems to be, 
for me at least, that when I close Dolphin after doing a bit of 
file/folder stuff that the GUI shuts down but some zombie part remains. 
Just now, when I fired the machine up, I had three instances of Dolphin 
running. I closed all three, little red button top right hand corner and 
did a:


ps -A | grep dolphin | wc -l

Sure enough 3 zombies. Open Dolphin, do some "stuff", close Dolphin, do 
the "ps" command above and I' ve now got 4 zombies. Do this a couple of 
more times and I now have 8 - 9 zombies.


	Clean out ~/.config/session, ie it's now empty, and shut the machine 
down. Restart machine and hey presto, 8 - 9 Dolphins up and running and 
~/.config/session contains 8 - 9 Dolphin "restart config", or whatever 
they are called, files.


I think it is time to head over to some KDE forum and ask questions 
there.

Andrew




[FIXED] Re: [gentoo-user] Multiple instances of Dolphin automagically appear upon login

2021-04-28 Thread Andrew Lowe

On 25/4/21 11:34 pm, Mark Knecht wrote:

On Sun, Apr 25, 2021 at 7:12 AM Andrew Lowe  wrote:


Hi all,
 A reworking of the subject line from my earlier post regarding

pods of

Dolphins...


[snip]
...
...
[snip]



To me it's suggestive of something messed up in a config file.

What does your .config/dolphinrc file look like?

At the level of KDE in general I have no idea what config file/files it
looks at when configuring the complete desktop environment but that would
be the next thing I'd go looking for.

I'm assuming (bad idea) that you've done a very simple experiment like
closing all the dolphin windows and immediately logging out of KDE?

- Mark


Mark,
	Thanks for the suggestion. It wasn't actually dolphinrc but the 
~/.config/session dir that contained the problem. It appears that just 
during my normal day to day usage of the machine, I would open Dolphin, 
use it, then close it, rinse, repeat. The GUI would close down but some 
part of Dolphin would remain running. This resulted in, the time I 
finally spotted this, 28 instances of this "zombie" running.


	When the machine was shutdown at the end of the day, these 20 odd 
zombies would write a file into "session" for start up next time - which 
they in turn did the next time the machine started up, but this time as 
the full GUI + zombie.


Cleaning out session and killing all of the zombies fixed the problem.

Regards,
Andrew



Re: [gentoo-user] Rusty problems

2021-04-28 Thread Andrew Lowe

On 28/4/21 3:04 pm, J. Roeleveld wrote:

On Tuesday, April 27, 2021 10:53:11 PM CEST Alan Mackenzie wrote:

Hello, Gentoo.

I'm having problems building rust.

[snip]
...
...
[snip]


Hope this helps,

Joost





	I fall into the same camp as Matt. My machine uses Rust only for the 
Mozilla family of stuff so the "-bin" is fine for me. A 30 sec. download 
Vs many hours compiling feels about right to me. Obviously, if you are 
actually doing development using Rust you may want to tweak things so a 
compile might be the way to go there.


Andrew



[gentoo-user] Multiple instances of Dolphin automagically appear upon login

2021-04-25 Thread Andrew Lowe

Hi all,
	A reworking of the subject line from my earlier post regarding pods of 
Dolphins...


	I've just started up and then logged into my up to date KDE machine. 
Once the machine is logged in and ready to go, I have, on the boot/login 
just now, 20 instances of Dolphin running. This is straight after login, 
I have done nothing to the machine after hitting "enter" when entering 
my login password.  This number also appears to be increasing each time 
I log in.


	Has anyone come across this "feature"? I use ~x86 and everything is up 
to date.


Any thoughts greatly appreciated,

Andrew



[gentoo-user] I've got a pod of dolphins after start-up

2021-04-24 Thread Andrew Lowe

Hi all,
	My desktop machine is up to date ~amd64 along with KDE. A few days ago 
I think I had, amongst others,  a Dolphin update. Now when I turn on the 
machine and log into KDE, I find that I have, for example the login I 
did to write this email, 15 instances, hence the pod pun, of Dolphin 
running. I have not tried to "customise" Dolphin or set anything to 
autostart in the last couple of days.


	Has any one got any ideas as to why this would be happening? I've done 
some Googling and will do some more but I can't find anything.


Thanks in advance for any thoughts,

Andrew



Re: [gentoo-user] Gentoo on rpi

2021-02-09 Thread Andrew Lowe

On 9/2/21 8:29 pm, Wols Lists wrote:

On 09/02/21 11:29, Andrew Lowe wrote:

On 8/2/21 11:36 pm, Peter Humphrey wrote:

Hello list,

I have a Pi 400, on which I'd like to install Gentoo if I can. I've
tried a
few approaches so far, but each one has fallen foul of some obstacle. For
instance, today I tried installing a small Gentoo system into a
chroot, to do
the compiling there. It seemed to be going well until time came to
upgrade
openssl. It stopped when it couldn't cope with the ARM platform. Zlib
also
failed, needing static compilation, I think.

I see references to using crossdev, wine and taking a prebuilt system
from
various sources, but I haven't found a way through yet.

What setup do people use for compiling for Raspberry Pi?



I'm about to try this:

https://github.com/sakaki-/gentoo-on-rpi-64bit

for a couple of 3's and then some 4's when they turn up. Have you tried
it and it fails?


Bear in mind apparently a normal pi boot setup doesn't work on the 400.
Don't know anything about it except apparently if you stick a card for
the pi 3 or 4 in a 400, it won't boot. It needs to be optimised for the 400.

Cheers,
Wol


Sorry, forgot about those thingies... Took the "400" to be a typo of 
"4", ie just the board


Andrew



Re: [gentoo-user] Gentoo on rpi

2021-02-09 Thread Andrew Lowe

On 8/2/21 11:36 pm, Peter Humphrey wrote:

Hello list,

I have a Pi 400, on which I'd like to install Gentoo if I can. I've tried a
few approaches so far, but each one has fallen foul of some obstacle. For
instance, today I tried installing a small Gentoo system into a chroot, to do
the compiling there. It seemed to be going well until time came to upgrade
openssl. It stopped when it couldn't cope with the ARM platform. Zlib also
failed, needing static compilation, I think.

I see references to using crossdev, wine and taking a prebuilt system from
various sources, but I haven't found a way through yet.

What setup do people use for compiling for Raspberry Pi?



I'm about to try this:

https://github.com/sakaki-/gentoo-on-rpi-64bit

for a couple of 3's and then some 4's when they turn up. Have you tried 
it and it fails?


Andrew



[gentoo-user] emerge world, Python, 3.7, 3.8, 3.9

2020-12-10 Thread Andrew Lowe

Hi all,
	Quick question - an "emerge world" produces heaps of work due to Python 
3.7 -> 3.8. Is 3.8 around for a while or are we kicking over to 3.9 in 
the next week or so? In other words, is it worth doing the 3.8 upgrade 
or waiting for 3.9?


Thoughts greatly appreciated,

Andrew



Re: [gentoo-user] Gentoo on Raspberry Pi 400?

2020-12-07 Thread Andrew Lowe

On 8/12/20 8:34 am, Neil Bothwick wrote:

On Tue, 8 Dec 2020 00:30:12 +0100, Teru Yuu wrote:


As long as you boot into any system, you will be able to install gentoo.
For rpi4 I used alpine linux (mainly because it already had write-up
on wiki for headless boot with sshd enabled)


You can do that with Raspbian too. Mount the boot partition of the SD
card on your computer and create a file called ssh. Then Raspbian will
boot with SSH enabled.



There is always this option:

https://github.com/sakaki-/gentoo-on-rpi-64bit

Andrew




Re: [gentoo-user] Updating LibreOffice and EPYTHON

2020-10-28 Thread Andrew Lowe

On 28/10/20 9:18 pm, Adam Carter wrote:
On Tue, Oct 27, 2020 at 1:23 AM Andrew Lowe <mailto:a...@wht.com.au>> wrote:


Evening all,
         I'm in the middle of doing an "-NuD world" and my 
Libreoffice build

has failed right at the finish line. I get:


* ERROR: app-office/libreoffice-6.4.7.2::gentoo failed (install phase):
   *   No Python implementation set (EPYTHON is null).
   *
   * Call stack:
   *     ebuild.sh, line  125:  Called src_install
   *   environment, line 5615:  Called python_optimize

'/var/tmp/portage/app-office/libreoffice-6.4.7.2/image/usr/lib64/libreoffice/program'
   *   environment, line 5287:  Called die
   * The specific snippet of code:
   *       [[ -n ${EPYTHON} ]] || die 'No Python implementation set
(EPYTHON is null).';
   *


Stab in the dark - what does 'eselect python list' say?

bluey /home/agl # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

	But it has all become a moot point. In the process of trying to track 
this down, I saw stuff in the bugs list where people were talking about 
7.* release. I've decided to not waste my time on the 6 series and just 
wait until 7 arrives in Portage then go from there.


Thanks for the suggestion anyway,

Andrew



Re: [gentoo-user] A How-to to keep Python on top of its game?

2020-10-26 Thread Andrew Lowe

Should have gone to the list, went to Dale directly

On 19/10/20 11:20 pm, Dale wrote:

Andrew Lowe wrote:

Hi all, I've just run emerge --pretend --depclean and it wants to
remove Python 3.6 - all good. But in turn it is leaving 2.7, 3.7,
3.8, 3.9.


[snip]


Given some more time, I think 3.6 may go away at some point in the
not so distant future.  There may even be a somewhat firm target date
for it.  I think either the date was on -dev or a link to it one.

May have to give it more time yet.

Dale





Apologies for not replying sooner. I had a sneaking suspicion this would 
be the case. Well, I'll just have to put up with it until "the day" when 
the higher ups get things sorts.


Thanks,
Andrew



[gentoo-user] Updating LibreOffice and EPYTHON

2020-10-26 Thread Andrew Lowe

Evening all,
	I'm in the middle of doing an "-NuD world" and my  Libreoffice build 
has failed right at the finish line. I get:



* ERROR: app-office/libreoffice-6.4.7.2::gentoo failed (install phase):
 *   No Python implementation set (EPYTHON is null).
 *
 * Call stack:
 * ebuild.sh, line  125:  Called src_install
 *   environment, line 5615:  Called python_optimize 
'/var/tmp/portage/app-office/libreoffice-6.4.7.2/image/usr/lib64/libreoffice/program'

 *   environment, line 5287:  Called die
 * The specific snippet of code:
 *   [[ -n ${EPYTHON} ]] || die 'No Python implementation set 
(EPYTHON is null).';

 *


I have no idea as to what this means - besides the obvious that EPYTHON 
isn't set. Libreoffice was about the 15th item to build in pmy update so 
I assume Portage is working correctly. There is no mention of EPYTHON in


emerge --info | grep EPYTHON

emerge --info lists:
PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8 -python3_9"
so I assume I have a version of Python set

I've had a look at the environment file that it references, line 5287 
and once again, makes no sense to me.


I've had a look on bugs.gentoo.org and only get one bug that lists the 
error string:


https://bugs.gentoo.org/721846

but once again, makes no sense.

	Any one else seen this error? Any one got a remedy? Thoughts greatly 
appreciated,


Andrew





[gentoo-user] A How-to to keep Python on top of its game?

2020-10-19 Thread Andrew Lowe

Hi all,
	I've just run emerge --pretend --depclean and it wants to remove Python 
3.6 - all good. But in turn it is leaving 2.7, 3.7, 3.8, 3.9.


	I'm fine with 2.7 as I have a specific use for that but three versions 
in the 3.* series? Is there somewhere a How-to or FAQ or hints & tips 
that can guide me on how to sort this out a bit and tidy things up?


Any thoughts, greatly appreciated.

Andrew



Re: [gentoo-user] ABI_RISCV -> emerge wants to do heaps of work...

2020-09-11 Thread Andrew Lowe

On 12/9/20 1:00 am, Matt Connell (Gmail) wrote:

On Sat, 2020-09-12 at 00:49 +0800, Andrew Lowe wrote:

emerge --ask -NuD world



Is there a simple way of stopping this?


Unless I'm mistaken, this is happening because of the -N flag to
emerge.  Since the ABI changes/additions add *new USE flags* for
packages, when you tell emerge to rebuild packages on finding new/added
USE flags, it wants to rebuild them.

I usually stick with -U (--changed-use) instead, when emerging world.
  This only rebuilds packages when the flags *change*.  Give that a go.




	Ahh, I see now what's going on. The problem is that if I do a "-uD" 
now, and get just the updates, it just "kicks the 290 further down the 
road" until I next do an "-NuD", which if memory serves has always been 
the recommended way of updating - according to the gentoo wiki/doco. I 
might as well get it over and done with now...


	Yes, just tested. "-uD" -> just updates. "-NuD" -> updates + 290 odd 
rebuilds.


	It's 02:30 Saturday morning in Perth Australia So I'll just kill it for 
now and kick it off tomorrow sometime.


Thanks for the reply Matt,

Andrew



[gentoo-user] ABI_RISCV -> emerge wants to do heaps of work...

2020-09-11 Thread Andrew Lowe

Good evening all,
	Just got home from an entertaining evening in the grogshop and decided 
to do update the Gentoo install whilst winding down. I've done an:


eix-sync

followed by an

emerge --ask -NuD world

and am now confronted with a huge list of thingies that need rebuilding. 
For example,


[ebuild   R] media-video/ffmpeg-4.3.1  ABI_RISCV="-ilp32% -ilp32d%"

is amongst the 249 items that want to rebuild. I do have some valid 
updates on top of these but 249 rebuilds that appear to be triggered by 
ABI_RISCV.


Is there a simple way of stopping this? Can I just place something such 
as:

ABI_RISCV=""

in the make.conf file and that will tell portage that even though I 
think the idea of RISCV is interesting, and all power to them, I don't 
need it on an AMD 64 bit machine hence don't rebuild all my stuff.


Any guidance anyone can provide would be greatly appreciated.

Andrew






[gentoo-user] Anyone willing to share a kernel .config file?

2020-06-18 Thread Andrew Lowe

Hi all,
	I have an AMD Ryzen 7 2700 CPU sitting in a Gigabyte X470 Aurus Ultra 
Gaming motherboard with 64GB of RAM and an nVidia graphics card. For 
some reason I've never been happy with the kernels config. Considering 
the grunt this thing should have, I am seeing nothing like what I would 
expect. By way of example, if I am running a vid through VLC on one 
screen and get Firefox to create a new tab within the browser on another 
screen, the video in VLC freezes for several seconds. Other things 
freeze when I think they shouldn't be.


	I know this problem could be related to Qt, KDE, VLC, Firefox etc, but 
I think I will take this opportunity to check that my foundations, the 
kernel, are solid in the first place before I start looking at other stuff.


	Does anyone have a physical configuration like mine, and that they 
think runs well, and are willing to share the .config file?


Regards,
Andrew



[gentoo-user] Updated world -> KDE colours have gone feral....

2020-05-31 Thread Andrew Lowe

Hi all,
	A few days ago I did an "emerge -NuD world" on my KDE based desktop 
machine. When I rebooted the machine, the colours had gone a bit weird. 
I use the Nordic scheme which is dark but now, for example, when I open 
Dolphin, the alternating horizontal stips/stripes that go from the 
dir/file name across through the Modified/Type/Size area have undergone 
a colour change with the lighter horizontal stripes now nearly the 
colour of the text hence I can't read every second row. Other 
applications also display this behaviour, it appears that the colour 
palette is being modified somehow!


	If I go into the "System Settings" and change the "Global Theme" to 
something else, say "Breeze Dark", apply, then change back to Nordic, 
hey presto the colours are back as they should be. Reboot and the dodgy 
colours are back, go to "System Settings".rinse, repeat..


	Anyone have experience with this sort of problem? Is there a way to 
reset the palette? Is there a way to refresh/reset the theme? I don't 
have a whole series of customised keystrokes etc so if it's a case of 
just blowing away a config file/dir and then the system will reset 
itself, that's not a problem.


Any thoughts are greatly appreciated,

Andrew



Re: [gentoo-user] zoom?

2020-03-25 Thread Andrew Lowe

On 25/3/20 8:16 pm, Alarig Le Lay wrote:

On mer. 25 mars 11:51:33 2020, Jorge Almeida wrote:

Did someone try to install zoom? (relevant to many people during the
current crisis)

https://support.zoom.us/hc/en-us/articles/204206269-Installing-Zoom-on-Linux

I downloaded an archive (cannot find the URL again; the site is that
bad) and the directory doesn't even contain a REDME...)

Jorge Almeida



Why didn’t you try net-im/zoom?



n.b. Another poster here, not Jorge
***

	Wasn't there yesterday morning, 24/3, if memory serves. It was in an 
overlay which I dragged local then installed. I subsequently went to the 
local 'puter shop and got laughed at when I asked for a webcam :) They 
wouldn't even sell me the display models. Have now installed it on a 
bare bones Win10 running lappy that has camera/mic built in. Appears to 
work as advertised - don't know about the sneaky stuff, reporting back 
to base, thought.


Andrew





Re: [gentoo-user] Gentoo on a cell?

2020-02-19 Thread Andrew Lowe

On 19/2/20 10:29 am, William Kenworthy wrote:


On 19/2/20 4:16 am, james wrote:

So,

[snip]



James




[snip]


Easier and more practical would be to install LibreOS. You can build ii
yourself and build/include your own software as needed - I did it many
times with its Cyanogenmod predecessor (I presume you still can).  There
are some other stacks suitable for phones such as sailfish and even
android can be built yourself (and you can defang/customise it while
doing it - google not needed and if you dont install GAPPS it still
works fine)


[snip]

This is the most painless way of doing this. I have been using Gentoo 
since the early naughties and love the customisation etc but on a phone, 
not worth the pain. Ride off someone else's coat tails and the one I use 
is LineageOS [1]. Except for the occasional blob for the wireless bits 
and pieces which need a bit of ferretting around for, it just runs.


Andrew





[1] https://lineageos.org/



Re: [gentoo-user] [SOLVED] The saga of the missing Logitech drivers

2020-02-11 Thread Andrew Lowe

On 1/2/20 1:42 am, Andrew Lowe wrote:

Hi all,
 I posted something a few days ago about middle click of a mouse not 
working. In investigating this, I think I have come across something a 
bit dodgy.



[snip]

	Well this problems is solved. As someone pointed out, Jack both times, 
it was related to things not being set. To expose the Logitech drivers 
you need INPUT, HID and LEDS_CLASS all set. If you don't then Logitech 
will disappear.


	I'm sure that in the past I've had to enable things and when I tried to 
select them, I couldn't and then a look in the help indicated something 
else needed to be enabled - enable it and I could subsequent select. In 
this case, the thing, LOGITECH was not even displayed. As to whether 
this is new behaviour or not, can't select Vs hidden, I don't know. 
Menuconfig is an absolute mess and, is it too much to ask for 
alphabetical order, and the less that I need to interact with it the better.


Thanks for those who offered help,

Andrew



Re: [gentoo-user] The saga of the missing Logitech drivers

2020-02-01 Thread Andrew Lowe

On 1/2/20 1:42 am, Andrew Lowe wrote:

Hi all,
 I posted something a few days ago about middle click of a mouse not 
working. In investigating this, I think I have come across something a 
bit dodgy.




	So first off, thanks for the comments/thoughts/pointers. Unfortunately 
I basically had tried all of them, diff'd this, checked that and it 
appears the only thing is to start from scratch, which is a really 
painful thought.


	Why is "menuconfig" so badly organised? A bit of alphabetical ordering 
wouldn't go astray, a la a dir structure as displayed in Dolphin/Win 
Explorer


	Anyway, 5.5.1 is out and I've tried that as well, hoping for a fix, but 
to no avail. Logitech still disappears. Does anyone know where I could 
look for bugs on menuconfig or a non intimidating place to ask about 
this - I don't want Linus "shouting" at me on the LKML.


Regards,



[gentoo-user] The saga of the missing Logitech drivers

2020-01-31 Thread Andrew Lowe

Hi all,
	I posted something a few days ago about middle click of a mouse not 
working. In investigating this, I think I have come across something a 
bit dodgy.


	I have just updated my kernel to 5.5.0. This has the dodgy behaviour of 
the middle button not working.   A bit of Googling led me to reboot my 
machine with an older kernel, 5.4.14. The middle button worked. The 
kernel is the problem I thought. I in turn diff'd the configs for the 
two kernels. 5.4.14 has 7 lines of Logitech stuff under CONFIG_HID_. 
5.5.0 has none. The Logitech stuff appears in the 5.5.0 kernel if I 
search within the kernel config thingy, "make menuconfig". It should be 
noted that I usually roll my old config file over into the new kernel 
then run "make oldconfig".


	"make menuconfig" under 5.5.0 shows, in my situation, Device 
Drivers->HID support->Special HID drivers:


...
...
Kensington...
LC-Power
Lenovo...
Apple Magic...
Maltron...
...
...

Under 5.4.14 there would have been a Logitech between Lenovo & Magic Mouse

	With this in mind, I deleted the current config file, the one based on 
5.4.14 with "make oldconfig" and missing Logitech and then reran "make 
menuconfig". Working my way down to the mouse drivers, lo & behold, 
there are entries for the Logitech mice. When I exit "make menuconfig" 
and look at the .config file, the Logitech stuff is there.


Now the big questions are:

1) Is "make oldconfig" broken?
2) Can I no longer take my old config across and update it?
3) Am I a dill and doing something obviously wrong?

	I don't want to have to start from a fresh config file and weed out all 
the %^&^$^#^# stuff I don't need, all of the weird network cards, the 
Intel CPU stuf, I run AMD, etc etc.


Any thoughts on how to rectify this situation would be greatly 
appreciated,

Andrew



Re: [gentoo-user] Lost "middle click opens links" in KDE/Firefox combo - anyone else?

2020-01-30 Thread Andrew Lowe

On 30/1/20 1:41 pm, Andrew Lowe wrote:

Hi all,
 Yesterday afternoon, and for the last ??? years, I could be using 
Firefox, within KDE and with a Logitech M560[1] mouse, middle click on a 
link and a new tab would open containing the link.


 I did an "emerge world", which included some KDE stuff, but not 
Firefox, last night and this morning, this functionality is now gone. 
Has anyone else got this problem or come across it being mentioning in 
their wanderings of the web?


 Any thoughts greatly appreciated,

     Andrew






[1] https://tinyurl.com/u9vxqdy



	Well it appears it's the kernel Boot into my environment with the 
5.4.14 kernel, bring up FF and then happily go "middle button clicking" 
on links. Tabs with the appropriate links start popping up everywhere, 
as expected.


	Shutdown then restart using the 5.5.0 kernel and try "middle button 
clicking" and it fails. I'll have to do some more checking but it looks 
like that is the problem.


Andrew



[gentoo-user] Lost "middle click opens links" in KDE/Firefox combo - anyone else?

2020-01-29 Thread Andrew Lowe

Hi all,
	Yesterday afternoon, and for the last ??? years, I could be using 
Firefox, within KDE and with a Logitech M560[1] mouse, middle click on a 
link and a new tab would open containing the link.


	I did an "emerge world", which included some KDE stuff, but not 
Firefox, last night and this morning, this functionality is now gone. 
Has anyone else got this problem or come across it being mentioning in 
their wanderings of the web?


Any thoughts greatly appreciated,

Andrew






[1] https://tinyurl.com/u9vxqdy



[gentoo-user] Dolphin problems...

2020-01-18 Thread Andrew Lowe

Hi all,
	I'm running an up to date KDE machine. In the last couple of weeks when 
I fire up Dolphin to browse the file system I get some weird behaviour.


	When the app first displays, I have "Places" on the LHS, the file 
system in the tree on the RHS and a shell across the bottom, in other 
words, nothing customised, basically "straight out of the box". The 
weird behaviour is that when the app first displays, if I click on any 
of the "Places" nothing happens. Normally there is a light "highlight", 
I'm using a theme that is dark in colour, that follows the mouse over 
the "Places" and a click on a "Place" will jump the tree view, and 
shell, to that part of the file system. Currently that does not happen. 
If I use the cursor keys I get movement in the tree view. I also just 
noticed that if I click in the shell it does not get focus as well.


	The interesting thing is that if I shrink/minimise the main window of 
Dolphin, it is back working as expected, the "highlight" follows the 
"Places" as I move the mouse over them, the shell can get focus if I 
click in it. Maximisings the window still has it working as expected. 
It's as though when the app first starts up, things are not getting 
mouse focus info and the shrinking/maximising then sets the focus correctly.


	Has anyone seen this behaviour before? As I said at the start this is a 
recent "feature" previously things were working as expected.


Any thoughts?

Andrew



[gentoo-user] [Sort of OT] Going old school - Doom

2019-11-23 Thread Andrew Lowe

Dear all,
	Does anyone have any suggestions as to the current "best" port of old 
school Doom? Spent ages playing this in the dim dark days and wouldn't 
mind doing a quick install and having a go again.


Andrew



Re: [gentoo-user] KDE machine -> Shutdown icons gone walkabout

2019-09-08 Thread Andrew Lowe

On 20/8/19 2:21 am, Andrew Lowe wrote:

Hi all,
 I recently, last week or so, did some updating of my KDE desktop 
and when I went to select "Shutdown" off the menu bar thingy, no icons 
for "Logout", "Shutdown" & "Some Other Thing" appeared as they used to. 
I in turn had to open up a shell, su and then "shutdown -t now" to bring 
the machine down. Have I missed something somewhere as to why I no 
longer get the icons? Has something been broken down into smaller bits 
and I now have to emerge something else to get the icons back?


 Thoughts greatly appreciated,

     Andrew




	A bit of a wait and a few more emerges and it appears to have fixed 
itself. Cause - unknown!!!


Thanks for the replies,
Andrew



[gentoo-user] KDE machine -> Shutdown icons gone walkabout

2019-08-19 Thread Andrew Lowe

Hi all,
	I recently, last week or so, did some updating of my KDE desktop and 
when I went to select "Shutdown" off the menu bar thingy, no icons for 
"Logout", "Shutdown" & "Some Other Thing" appeared as they used to. I in 
turn had to open up a shell, su and then "shutdown -t now" to bring the 
machine down. Have I missed something somewhere as to why I no longer 
get the icons? Has something been broken down into smaller bits and I 
now have to emerge something else to get the icons back?


Thoughts greatly appreciated,

Andrew



[gentoo-user] Music player being run from an emerge

2019-07-09 Thread Andrew Lowe

Hi all,
	This all happens on an up to date openrc machine with the profile 
default/linux/amd64/17.0/desktop/plasma


	I've added a few hooks to the emerge process via the bashrc that is in 
/etc/portage. One of the things I do upon emerge failure is kill vlc, 
which would have been playing a random song, and then attempt to start 
alsaplayer[1] with a specific song. This means that I can be pottering 
around the house/shed and if the "failure song" starts playing, I know 
something is up. The problem is getting the failure song to play.


	If I log in as my usual user, alsaplayer will run the song. If I then 
"su" into root, I'm in wheel, alsaplayer will play the song. The problem 
is that when the emerge runs, then fails, alsaplayer can't appear to 
fire up. When an emerge fails, I get the usual error listings then the 
following:


 * ACCESS DENIED:  open_wr:  /dev/snd/controlC0
 * ACCESS DENIED:  open_wr:  /dev/snd/controlC0
ALSA lib 
/var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/confmisc.c:674:(snd_determine_driver) 
could not open control for card 0
ALSA lib 
/var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/conf.c:3572:(snd_config_hooks_call) 
function snd_config_hook_load_for_all_cards returned error: Permission 
denied


...
..
.

Amongst this stuff is a line:

LOG FILE: "/var/log/sandbox/sandbox-20431.log"

which I think confirms my suspicions that something is wrong with my 
sandbox as I also get this error when the email fails and just before 
the failure hook, running alsaplayer, is run:


ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded 
(cannot open shared object file): ignored.


	Are there any emerge/sandbox gurus out there who might have an idea as 
to what's going on? Any thoughts are greatly apreciated,


Andrew


[1] vlc won't play as root hence I tried alsaplayer



Re: [gentoo-user] Anyone with experience viewing EXIF data in Dolphin?

2019-07-05 Thread Andrew Lowe

On 6/7/19 4:31 am, Mick wrote:

On Friday, 5 July 2019 21:22:31 BST Andrew Udvare wrote:

On 05/07/2019 15:37, Andrew Lowe wrote:

Hi all,
 I'm transferring my install from a spinning disk to an SSD and
decided to tidy up/customise/stuff up things as I go. I've recently
taken a lot of photo's whilst travelling and I have the Coords in the
EXIF data. What I would like is to be able to easily view this data.
There is a thingy called "ReImage"[1] which allows for a right click
within Dolphin and you can select an option to display the EXIF data in
a dialogue box.


I recall using an earlier version of this and it is a useful and easy submenu
option to apply ImageMagick on a file.



 I had to manually install this as I could find nothing on "Dolphin
Service Menus" within Portage, or the Gentoo wiki or basically on line
at all, so is there a Gentoo way of dealing with these in the first place?


Not really. You can submit a bug or PR though as some of these do make
into the tree sometimes.

$ eix --homepage store.kde.org


Shall do on this.




 Secondly, I then came across "kfilemetadata" in Portage. Without
installing this as well, does this give the same thing? If so, how do
you use this thing? Acutally, as I'm writing this, I'm still reserching
and api.kde.org[2] says it's a library, so what apps use it?


Not the same thing.

kfilemetadata is solely a library and should be pulled in by other
packages that need it.

You have to enable USE="semantic-desktop" to make Dolphin and others
pull it in and use it.


If a GUI is not necessary and a semantic database indexing is not required,
you can give exiftool a spin, which can be scripted with find to search your
files and store them according to any exif tag.



	I spent much time getting rid of the semantic desktop so that's that 
last thing I need. I've given exiftools a go before and it gave me all I 
needed so a combo of the right click and it will give me all I need.


Thanks for the comments,

Andrew




[gentoo-user] Anyone with experience viewing EXIF data in Dolphin?

2019-07-05 Thread Andrew Lowe

Hi all,
	I'm transferring my install from a spinning disk to an SSD and decided 
to tidy up/customise/stuff up things as I go. I've recently taken a lot 
of photo's whilst travelling and I have the Coords in the EXIF data. 
What I would like is to be able to easily view this data. There is a 
thingy called "ReImage"[1] which allows for a right click within Dolphin 
and you can select an option to display the EXIF data in a dialogue box.


	I had to manually install this as I could find nothing on "Dolphin 
Service Menus" within Portage, or the Gentoo wiki or basically on line 
at all, so is there a Gentoo way of dealing with these in the first place?


	Secondly, I then came across "kfilemetadata" in Portage. Without 
installing this as well, does this give the same thing? If so, how do 
you use this thing? Acutally, as I'm writing this, I'm still reserching 
and api.kde.org[2] says it's a library, so what apps use it?


	I hope this makes sense, it's 03:33 in Perth, Australia at the moment 
and I've knocked back a fair amount of chocolate, and one or two 
fermented beverages, whilst doing this work ;) Any thoughts are greatly 
appreciated,


Andrew

[1] https://store.kde.org/p/1231579/
[2]https://api.kde.org/frameworks/kfilemetadata/html/index.html



[gentoo-user] Turning off nVidia HDMI audio

2019-01-18 Thread Andrew Lowe
Hi all,
About  year ago I updated my nVidia graphics card. The sound stopped
working and it turns out the new card makes it's onboard, HDMI, audio
appear before the motherboard sound hence no sound via the 3.5mm jack. I
usually have all of my device drivers statically linked, no modules, so
to fix this problem, I had to make the sound driver a module and do some
blacklisting voodoo. Besides the dodgy workaround, problem fixed.

I'm now in the process of moving from spinning disks to ssd hence have
done a total reinstall of Gentoo. After the install, once again I have
no sound. Does any one know if in the last year, a nicer way has been
found to fix this "problem"?

Thoughts greatly appreciated,

Andrew





Re: [gentoo-user] A question regarding building Gentoo and UEFI vs Non UEFI

2018-11-20 Thread Andrew Lowe
On 20/11/18 17:16, Neil Bothwick wrote:
> On Tue, 20 Nov 2018 12:51:34 +0800, Andrew Lowe wrote:
> 
>>  I just have this little niggling doubt, probably baseless, in
>> the back of my mind that there maybe something that may cause a problem
>> for the newly built stuff due to it not being natively booted in UEFI or
>> something like that when it was built.
> 
> The only issue you're likely to face is setting up booting from the SSD.
> You need to be booted via UEFI to set up UEFI booting, but you can do
> that from your SysResCd stick.
> 
> 

The SSD is up and running. I get Gentoo booting to a console and I'm
now in the process of getting stuff installed, LibreOffice, Firefox,
Thunderird etc, stuff that takes ages to build. So now that I'm
confident that things will work, I can continue to work, from the old
disk, chroot into the new and continue to install there.

Thanks,
Andrew



Re: [gentoo-user] A question regarding building Gentoo and UEFI vs Non UEFI

2018-11-19 Thread Andrew Lowe
On 20/11/18 13:12, Canek Peláez Valdés wrote:
> On Mon, Nov 19, 2018 at 10:51 PM Andrew Lowe  <mailto:a...@wht.com.au>> wrote:
>>
>> Dear all,

...
...

> 
> I've done this exact same scenario two or three times by now. However, I
> don't recompile anything, I just rsync the old drive into the new one,
> and then I chroot (or, more often, I systemd-nspawn) into it and update
> the old configuration where necesary. Unless you change from Intel to
> AMD it should be fine (and even then it could be fine, depending on your
> CFLAGS).
> 
> Also, have a live USB around to boot into it for emergencies.
> 
> Regards.
> --
> Dr. Canek Peláez Valdés
> Profesor de Carrera Asociado C
> Departamento de Matemáticas
> Facultad de Ciencias
> Universidad Nacional Autónoma de México

Canek,
Thanks for the reply. I've fiddled & "optimised" the old install enough
that I want a fresh start so will be compiling. I'm going older AMD to
newer AMD and always have a stick with SysRescue on it within easy reach.

Hopefully all goes well,
Andrew



[gentoo-user] A question regarding building Gentoo and UEFI vs Non UEFI

2018-11-19 Thread Andrew Lowe
Dear all,
In the past I had a non UEFI motherboard setup for my Gentoo machine.
The motherboard started failing so I took the opportunity to replace the
motherboard & CPU and also to buy a new SSD thingy to become the home of
my Gentoo install.

I'm currently running, on a day to day  basis, the older hard disk, on
the new motherboard, but want to speed up the process of getting the new
SSD set up so I can swap over. Rather than booting into the SSD,
starting an emerge, and walking away, in other words, making my machine
useless for any number of hours, am I correct that there is no problem,
vis a vis, old hard disk built on non UEFI machine Vs new SSD built on
UEFI machine, of chrooting[1] from the old environment into new
environment and doing the building whilst I"m doing something productive
within the old environment?

I just have this little niggling doubt, probably baseless, in the back
of my mind that there maybe something that may cause a problem for the
newly built stuff due to it not being natively booted in UEFI or
something like that when it was built.

Anyone built their new machines like this who can allay my, probably
baseless, fears?

Thanks,
Andrew


[1] Just like in the "Installing the Gentoo base system" part of the
installation doco.



Re: [gentoo-user] Hard drive storage questions

2018-11-08 Thread Andrew Lowe
Firstly sorry about the top post, on the phone.

I've had the same sort of thing happen to me. I was lucky to have available 
sata ports so bought two WD 8TB video archive drives and attached them to the 
MB. The card idea from the previous post is basically the same thing. 

In turn the archive drives will spin down after about 10 minutes, you will 
hear this happen and is a bit disconcerting the first couple of times, and use 
hardly any power. In turn if you need anything from the drives it takes just a 
few seconds to spin up again.

In comparison to a small NAS thingy, I'm way ahead. No purchase of bare 
NAS, and much lower power consumption. Much higher data transfer rates as well. 
Having said that, I may have to buy a NAS in the long run as a backup for other 
purposes.

  Andrew

Sent from my phone

-Original Message-
From: Dale 
To: gentoo-user@lists.gentoo.org
Sent: Fri., 09 Nov. 2018 9:43
Subject: Re: [gentoo-user] Hard drive storage questions

Jack wrote:
> On 2018.11.08 20:16, Dale wrote:
>> Howdy to all,
>>
>> I have a interesting problem coming up.  Currently, I have two 3TB
>> drives for my /home mount point.  A lot of this is videos but some pdf
>> files and other documents as well plus a photo collection of family
>> stuff etc. 
>>
>> Filesystem   Size  Used Avail Use%
>> Mounted on
>> /dev/mapper/Home2-Home25.4T  3.7T  1.8T  68% /home
>>
>> I've got a little over 25% or so of usable space left.  At that point or
>> shortly thereafter, it could start causing some issues according to what
>> I've read anyway.  Either way, shortly after that, being full will
>> certainly be a issue.  I'm full up on my motherboard SATA ports.  Even
>> if I buy a larger drive or drives, I'd have to unplug one to move things
>> over and likely repeat that a few times.  I could do that and likely
>> will have to anyway but I'm trying to think a little farther ahead. 
>> Currently I have the more important stuff backed up to a external single
>> 6TB USB drive, previous thread on that.  I'm trying to come up with a
>> plan that allows me to grow easier and without having to worry about
>> running out of motherboard based ports. 
>>
>> I thought about a store bought enclosure with more than one hard drive
>> that connects by ethernet.  The ones I've found are fairly expensive. 
>> Doing it over USB concerns me for other reasons, USB isn't always that
>> stable.  So, internal isn't working out to well long term.  Ethernet
>> based is expensive, what I could find anyway.  USB isn't that stable. 
>>
>> I'm planning to upgrade my current system.  Upgrade the CPU, memory and
>> maybe even the video card as well.  I thought about using a older spare
>> motherboard, those removed components and building a mini system sort of
>> thing.  I could have one small drive for a OS and then add large drives
>> for storage.  Then I can access those from my main system, ethernet I
>> would guess.  Even then, I'd still be limited to the SATA ports on the
>> MOBO at some point but it would be a ways into the future.  So far tho,
>> this is one of the better ideas.  So far.  Does anyone else have other
>> ideas on how to do this?  Some method that I've never heard of but
>> doesn't cost a lot of money to do? 
>>
>> Thanks in advance for any ideas.  I can't think of anything else.  ;-) 
>> If you need more info, let me know. 
>>
>> Dale
>>
> If you have space on the mobo for another card, you should be able to
> get an additional SATA card.  I have no idea on prices, but I'd be
> surprised if it's prohibitive.
>
> Jack
>


I hadn't thought of adding a SATA card.  I have a ethernet card and the
video card and I don't think there are any others.  I should have some
open slots there.  Well, that is one idea that I hadn't thought of. 
lol  Since I have a LARGE case, Cooler Master HAF-932, I have space for
more drives.  I think this thing holds like nine or ten pretty easy. 

Thanks.  Another option to look into. 

Dale

:-)  :-) 



Re: [gentoo-user] [OFF-TOPIC] Best bios type thingy to boot a computer

2018-08-31 Thread Andrew Lowe
On 31/08/18 23:16, Andrew Udvare wrote:
> On 8/31/18 10:46 AM, Andrew Lowe wrote:
>> Hi all,
> 
>>  This is not to start a flame war, I just want to do some reading,
>> wikipedia pages, for self interest on how a BIOS could have/should have
>> been done. I'm thinking of how DECStations, Alpha's SPARCs etc etc
>> booted up.
> 
> Try
> 
> https://en.wikipedia.org/wiki/Booting#Boot_sequence
> https://github.com/coreos/grub/tree/2.02-coreos/grub-core/boot/i386/pc
> https://github.com/torvalds/linux/blob/master/arch/x86/boot/main.c#L135
> 


Thanks for the comment but I was more looking along the lines of "When
I used the early SPARC 1 the boot was controlled by  and it was
really good because.." hence my original comment about "been there,
done that", people who are old enough to know what a SPARC1 looked like
or even used a Personal Iris or a POWERstation.

Andrew



[gentoo-user] [OFF-TOPIC] Best bios type thingy to boot a computer

2018-08-31 Thread Andrew Lowe
Hi all,
A bit of an off topic question , mainly aimed at those who, shall we
say, been there and done that.

It is very common to find webpages stating that the BIOS that is in a
PC is a mess with respect to the way things boot, device discovery  etc.
Looking back through the fog of time, would anyone like to point me at
something that gets a computer from a not running state to a running
state and, in their opinion, does it the "right" way,  in an elegant,
extensible way.

This is not to start a flame war, I just want to do some reading,
wikipedia pages, for self interest on how a BIOS could have/should have
been done. I'm thinking of how DECStations, Alpha's SPARCs etc etc
booted up.

Any thoughts greatly appreciated,

Andrew



[gentoo-user] LibreOffice and openldap

2018-07-24 Thread Andrew Lowe
Hi all,
I'm in the process of installing LibreOffice. Doing:

emerge --ask libreoffice

gives a big list of dependencies, as I would expect. One of them is
openldap. I thought that that was a bit strange, as I am a home user,
not corporate so I tried to turn it off. I placed a "-ldap" in
make.conf, I don't want it anywhere, but it still appeared in the
dependency list. A google search turned up this bug:

https://bugs.documentfoundation.org/show_bug.cgi?id=57417

which says, if I've read it correctly, that LDAP is not in LibreOffice
anymore. If this is the case, why is there a dependency,

https://gitweb.gentoo.org/repo/gentoo.git/tree/app-office/libreoffice/libreoffice-6.0.5.2-r1.ebuild

line 136 - I may have misread this bit, I'm just starting to read the
whole ebuild doco.

Anyone got any insight?

Andrew



[SOLVED] Re: [gentoo-user] Computer keeps crashing during boot, need dmesg

2018-07-22 Thread Andrew Lowe
On 20/07/18 21:31, Andrew Lowe wrote:
> On 20/07/18 21:26, Andrew Lowe wrote:
>> Hi all,
>>  I'm having all sorts of trouble getting a new computer to boot. I have
> 
> [snip]
> 
>>
>> VFS: Mounted root (jfs filesystem) readonly on device 8:19.
>>
> 
>   Forgot to add, in the new nvme config, jfs is a built in driver. Has
> anyone heard of problems with jfs and nvme? I have a recollection
> reading someone, somewhere saying that something needed to be set in
> fstab if using jfs as root.
> 
>   Andrew
> 
> 

This is a fine example of getting, and keeping your number straight.
This was a simple case of getting UUID, PARTUUID and devices mixed up.
Once I had all that, after the initial problem of getting UEFI
happening, sorted out, things boot.

That's a few days of my life I'm not getting back

Andrew




[gentoo-user] Notification of ebuild status

2018-07-22 Thread Andrew Lowe
Hi all,
Yonks ago, literally four years ago, 14/7/14, I posted something here
about the whole emerge process being able to make a noise when the
emerge process either succeeded or failed. Success, play some decent
music, fail, play some crap music. I got some good relies and then
promptly put that task on to the "I'll have to get around to that" list.

I'm now in the process of building a machine from scratch and thought I
would revisit this. Last night I worked it out but before I tidy it up
and post what I did here, for everyones edification, I though I would
ask if anyone knows if the emerge system has implemented anything in the
last four years that automagically does this?

Any thoughts?

Andrew



Re: [gentoo-user] Computer keeps crashing during boot, need dmesg

2018-07-20 Thread Andrew Lowe
On 20/07/18 21:26, Andrew Lowe wrote:
> Hi all,
>   I'm having all sorts of trouble getting a new computer to boot. I have

[snip]

> 
> VFS: Mounted root (jfs filesystem) readonly on device 8:19.
>

Forgot to add, in the new nvme config, jfs is a built in driver. Has
anyone heard of problems with jfs and nvme? I have a recollection
reading someone, somewhere saying that something needed to be set in
fstab if using jfs as root.

Andrew



[gentoo-user] Computer keeps crashing during boot, need dmesg

2018-07-20 Thread Andrew Lowe
Hi all,
I'm having all sorts of trouble getting a new computer to boot. I have
two NVME thingies in it with one containing Win10 and the other,
eventually, Gentoo. I use Refind to control the booting with the machine
using UEFI.

The graphical front end to Refind boots fine and allows me to in turn
boot Windows. It also spots and then allows me to boot a copy of
SysrescueCD that I left plugged in. No joy with Linux. I get up to where
the kernel appears to be doing something with sata and then it crashes.
Now herein lies the problem.

Is there a way to get dmesg logged to a file so that I can see what's
actually failing? I need to be able to get back into the machine with
SysrescueCD, which is no problem, and then have a look at the dmesg
output to see what's going wrong.

Does anyone have any idea as to how to do this, or another way of doing
the debugging I'm trying to do? The stuff I've found on the web assumes
that some of the loggers are working and can do stuff, I'm not getting
to the stage where they have started up yet.

I'm in the process of transferring from a non EFI hard disk setup to
EFI & nvme. The hard disk based system boots with no problems. Assuming
that the hard disk system and the nvme system will give nearly the same
dmesg, looking at the hard disk dmesg, I see that if I go to where I
think is the same posi as the crash on the nvme, is where it attempts to
mount root:

VFS: Mounted root (jfs filesystem) readonly on device 8:19.

If I have managed to do something wrong with respect to this mounting,
would it cause the crash or just complain and freeze?

Any thoughts on this would be greatly appreciated,

Andrew




Re: [gentoo-user] Firefox & ALSA

2018-07-05 Thread Andrew Lowe
On 05/07/18 08:54, Adam Carter wrote:
>         Does anyone know of a reason why this would happen?
> 
> 
> Is firefox built with pulseaudio? If so, check the pavucontrol settings
> too (media-sound/pavucontrol)
> 
> Perhaps VLC is talking directly to ALSA, but firefox is talking to
> pulseaudio to get to ALSA, and there's an issue with pulse hence the
> discrepancy between VLC and firefox.

No PulseAudio on the machine, Lennart makes my skin crawl, and I think
you can infer from that that there has never been PulseAudio on the
machine. It basically boils down to:

Before holiday -> Firefox/Youtube makes noise.

Go away for a holiday

Come back from holiday

Turn on computer -> no boot, "dead in the water", "this is an ex-parrot".
...
...
...
etc

Whilst writing this I had a brain wave. Was Firefox
hardcoded/defaulting to "reading/writing/working" the first discovered
sound card? I subsequently removed the tricks that I had done to get VLC
working and rebooted. No sound as expected. "lspci -nn | grep -i audio"
and "aplayer -l" shows the nVidia chip to be first:

0a:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition
Audio Controller [10de:10f1] (rev a1)
0c:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Device
[1022:1457]

so can I disable the HDMI sound chip with an ebuild option in the nvidia
ebuild - it appears not. Next can I reorder the discovery/assignment
process?

More googling found:

https://www.linuxquestions.org/questions/linux-hardware-18/wrong-sound-card-order-in-alsa-4175544059/

and

http://docs.slackware.com/howtos:hardware:audio_and_snd-hda-intel

which resulted in me having to rebuild my kernel as I usually have
everything linked in, no modules, and updating the

/etc/modprobe.d/alsa.conf

file. I added the lines below. Note that the vid & pid values for the
AMD are now assigned first.

alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel
options snd-hda-intel index=0 vid=1022 pid=1457
options snd-hda-intel index=1 vid=10de pid=10f1

A reboot and I now have sound everywhere - YEAH!!

There is every chance that someone way more versed in the innards of
the boot process may indicate holes in the above but hey, it works.

Andrew



[gentoo-user] Firefox & ALSA

2018-07-04 Thread Andrew Lowe
Hi all,
As mentioned in a few emails in the last couple of days, I had a
machine fail so I've taken the disks and attempted to put them into a
new AMD Ryzen machine. After a fiddle around with the Sysrescue CD and a
kernel rebuild, I got the machine booting.

Sound was a bit of a problem but eventually I had VLC making noise
again. Firefox/youtube is another matter. Before the older machine
failed, Youtube, within Firefox, made noise. Now, in the new machine it
does not. I have not updated Firefox or ALSA since the rebuild. I
haven't updated this machine in ages, so Firefox is currently sitting at
V56, installed 27/10/17.

Does anyone know of a reason why this would happen?

Andrew



[gentoo-user] A config file for the magical combo of....

2018-07-01 Thread Andrew Lowe
Hi all,
I'm trying to get a new computer working. I've decided to go the UEFI
route but something is being a bit obstinate. Would anyone have the
combination of a Gigabyte motherboard, x470 Ultra, with an AMD Ryzen 7
2700 CPU? Set up to run UEFI?

I'm having all sorts of trouble trying to get things running and if
anyone would happen to have a working kernel config for the above combo,
and is willing to share, it would be greatly appreciated.

Regards,
Andrew



[gentoo-user] Installing on nvme - not all beer and skittles....

2018-06-29 Thread Andrew Lowe
Hi all,
I have an existing Gentoo install that I've "customised" a bit too much
and things are getting flaky. I've in turn taken the opportunity to
purchase an nvme, a Samsung 960 Pro, and do a fresh install. Instead of
using the install media I've just booted the existing install, mounted
the nvme and then treated the install as though it's coming from a boot
disk.

I've followed, I think, correctly the install process but when I
reboot, I get the following:

"Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key"

Overlooking the freaky capitalisation, the machine fires up and then
leaves me with the above on the screen and that's it. I need to hit the
power button to kill the machine and reboot, using the boot order, F12,
option to now boot the existing installation.

This is a new machine with a x470 Gigabyte motherboard, 64GB of memory
and a nearly top end Ryzen CPU. Does anyone know of any little "tips and
tricks" to ensure that the nvme will be seen and boot? As it is, Grub
isn't even being seen

Andrew

p.s. I'll also wait until the github situation has been resolved.



Re: [gentoo-user] what gives with -O[x] in cflags?

2017-12-16 Thread Andrew Lowe

On 16/12/2017 4:12 AM, Alan Grimes wrote:


So therefore webkit-gtk decides to be a prissy little cunt and throws an

>

	Masterful command of the English language there Alan. How about you 
just pull your head in and cut down on the swearing. It doesn't make you 
appear any more knowledgable or give greater importance to your 
comments. In fact it wouldn't surprise me if most people on this list 
would regard you the same way that you regard webkit-gtk due to your 
"potty mouth".


Regards,
Andrew



Re: [gentoo-user] Problems copmiling firefox 57.0 (linking phase)

2017-11-15 Thread Andrew Lowe
On 16/11/17 11:05, tu...@posteo.de wrote:
> Hi,
> 
> building firefox 57.0 failed on my system - it looks like
> the last stage (linking) fails.
> 
> I attached the build.log to this mail.
> 
> Is there a way around this?
> 
> Cheers
> Meino
> 


First thing I do when I have a problem with one of the larger apps,
Firefox, Thunderbird, LibreOffice is enable the make feature, in
make.conf, that keeps temp files around:

FEATURES="ccache keeptemp keepwork candy"

and then set the make options so that only one thread is doing stuff:

MAKEOPTS="-j1"

I just sometimes find that the build system gets a bit confused, with
multiple threads, and the one thread "straightens" things out.

But then again, this might be a bug and I have no idea as to what I'm
talking about.

Andrew



[gentoo-user] Any reason for "Missing digest" errors at the moment

2017-11-12 Thread Andrew Lowe
Hi all,
I've just done an "eix-sync" and upon doing "emerge -NuD world", get a
few screen fulls of:

Missing digest for '/usr/portage/.

where the packages are mostly from kde-frameworks, -5.40.0, and a few
from kde-apps, -17.08.3.

Has anyone else seen this? If memory serves me correctly, I've seen
this before and it's just a server/mirror/sync problem with Gentoo
itself and time will fix it.

Any need to panic yet?

Andrew





Re: [gentoo-user] Machine not booting properly: profile.env cannot execute binary file

2017-10-25 Thread Andrew Lowe
On 25/10/17 11:28, Andrew Lowe wrote:
> Hi all,
> My machine went feral which resulted in me having to kill the power
> to kill it. Upon reboot everything looked good, fsck did it's job,
> [ok]'s scrolled up the screen etc and then I got the login prompt. I
> entered my username & password and then the fun began.
> 
> I got:
> 
> -bash: .: /etc/profile.env: cannot execute binary file
> 
> If I tried any command, say ls, I got:
> 
> -bash: ls: no such file or dir
> 
> I've now rebooted the machine using a relatively recent sysrescueCD
> and had a look at profile.env and it's binary but I thought it should
> have been text In the top line or so it mentions "ld" for some
> reason. I checked the same file on the boot disk and it's text. One or
> two I found on line are also text.
> 
> Does anyone have any idea as to what's going on here? Should I just
> grab the profile.env from the boot disk and drop it into the /etc dir?
> Or should I go through the whole process of chroot off a gentoo disc and
> then run env-update as it says in the header of the text versions I'v seen?
> 
> Thoughts greatly appreciated,
> 
>     Andrew
> 
> 

Well, I managed to work this out. I grabbed profile.env from a laptop
running gentoo and using sysrescuecd booted the desktop and dropped
profile.env into it's /etc dir. Fiddled the permissions and rebooted.
This time after the reboot, it only told me that it couldn't find
commands, ls, cd etc. Obviously pathing wasn't working. I found out
where env-update lived, /usr/sbin/env-update, providing the full path to
it, ran it then kicked over into another terminal, logged in and hey
presto, things are good. A reboot and this was confirmed.

The cause - I have no idea. It now works so I'm happy. Thanks for the
suggestions people provided,

Andrew



[gentoo-user] Machine not booting properly: profile.env cannot execute binary file

2017-10-24 Thread Andrew Lowe

Hi all,
	My machine went feral which resulted in me having to kill the power to 
kill it. Upon reboot everything looked good, fsck did it's job, [ok]'s 
scrolled up the screen etc and then I got the login prompt. I entered my 
username & password and then the fun began.


I got:

-bash: .: /etc/profile.env: cannot execute binary file

If I tried any command, say ls, I got:

-bash: ls: no such file or dir

	I've now rebooted the machine using a relatively recent sysrescueCD and 
had a look at profile.env and it's binary but I thought it should have 
been text In the top line or so it mentions "ld" for some reason. I 
checked the same file on the boot disk and it's text. One or two I found 
on line are also text.


	Does anyone have any idea as to what's going on here? Should I just 
grab the profile.env from the boot disk and drop it into the /etc dir? 
Or should I go through the whole process of chroot off a gentoo disc and 
then run env-update as it says in the header of the text versions I'v seen?


Thoughts greatly appreciated,

Andrew



Re: [gentoo-user] thin-provisioning-tools - but I don't provision anything!!!!!

2017-09-19 Thread Andrew Lowe
On 16/09/17 06:57, Marc Joliet wrote:
> Am Freitag, 15. September 2017, 19:56:54 CEST schrieb Andrew Lowe:
>> Hi all,
>>  I posted about a nasty infection my machine had with three versions of
>> Ruby a few days ago. In the process of trying to fix that I noticed a
>> thingy called "thin-provisioning-tools". I don't have anything thin and
>> I don't provision anything so why I ask?
>>
>>  From what I've been able to understand, it's something to do with
>> Device Mapper, snapshots and "many virtual devices to be stored on the
>> same data volume". This is all just jibberish to me and I have no idea
>> as to why this has suddenly appeared in my world update. I haven't asked
>> for it. I don't use any of the "more advanced" thingies such as lvm2 etc
>> so does anyone have any idea as to why I've now go this to install?
>>
>>  Back to Ruby killing now,
>>  Andrew
> 
> Based on what I've researched for the other sub-thread, since you don't 
> actually use LVM, then -- unless you set the wrong USE flags -- you probably 
> have udisks:0 installed (it has an unconditional dependency on lvm2).  Use 
> "emerge --depclean -pv lvm2" to find out for sure.
> 
> If it is udisks:0, then AFAICT you can get rid of it with appropriate USE 
> flag 
> settings ("equery depends" is your friend here).
> 
> HTH
> 

I think I eventually tracked the problem down to installing
sys-fs/cryptsetup ages ago and subsequently doing nothing with it, hence
out of sight, out of mind. It brought in lvm2, which once again I don't
use, but out of sight, out of mind, which brought in
thin-provisioning-tools.

Just at the moment with my 3 versions of Ruby and KDE doing a large
upgrade, I was swamped with "info" so it took a bit to find my way
around this stuff and find the appropriate flags to set/unset.

Thanks to those who provided thoughts,

Andrew



[gentoo-user] thin-provisioning-tools - but I don't provision anything!!!!!

2017-09-15 Thread Andrew Lowe
Hi all,
I posted about a nasty infection my machine had with three versions of
Ruby a few days ago. In the process of trying to fix that I noticed a
thingy called "thin-provisioning-tools". I don't have anything thin and
I don't provision anything so why I ask?

From what I've been able to understand, it's something to do with
Device Mapper, snapshots and "many virtual devices to be stored on the
same data volume". This is all just jibberish to me and I have no idea
as to why this has suddenly appeared in my world update. I haven't asked
for it. I don't use any of the "more advanced" thingies such as lvm2 etc
so does anyone have any idea as to why I've now go this to install?

Back to Ruby killing now,
Andrew



[gentoo-user] Ruby - 3 versions - seriously????

2017-09-02 Thread Andrew Lowe
Hi all,
I'm in the process of doing a world update and due to a failed compile,
I have cause to look up through the list of stuff to compile/update.
Imagine my surprise when I saw there were three versions of Ruby wanting
to update:

[ebuild U  ] dev-lang/ruby-2.4.1-r4 [2.4.1-r3]
[ebuild U  ] dev-lang/ruby-2.3.4-r4 [2.3.4-r3]
[ebuild U  ] dev-lang/ruby-2.2.7-r4 [2.2.7-r3]

Have I managed to stuff up something on my machine or is this really the
case, there has to be three versions? And to make matters worse, they
are not big version jumps, + 0.1 -> 2.2, 2.3 & 2.4.

I would prefer to get rid of Ruby, but, if memory serves me correctly,
someone associated with the kernel decided it would be a good idea to
use yet another language for something, obviously Python wasn't good
enough

Thoughts on the magically multiplying Rubies would be greatly 
appreciated,

Andrew



[gentoo-user] ntp Vs openntp vis a vis Plasma desktop

2017-06-16 Thread Andrew Lowe
Good afternoon all,
Does anyone have any inside knowledge as to why 5.9.5 of KDE plasma
desktop did not require ntp whereas 5.10.5 does? I use Openntp and been
using KDE 5 for ages with the time being correct so was wondering why
now the requirement for net-misc/ntp specifically.

Any thoughts, greatly appreciated,

Andrew



Re: [gentoo-user] Clang has gone walkabout

2017-04-10 Thread Andrew Lowe

On 10/04/17 20:58, Simon Thelen wrote:

On 17-04-10 at 20:48, Andrew Lowe wrote:

On 10/04/17 18:57, J. Roeleveld wrote:

On April 10, 2017 12:41:54 PM GMT+02:00, Andrew Lowe <a...@wht.com.au> wrote:

On 10/04/17 18:08, Neil Bothwick wrote:

On Mon, 10 Apr 2017 17:13:28 +0800, Andrew Lowe wrote:


Do we have any clang users out there? I've had clang installed
on my machine for ages and a simple "clang test.c" will result in an
executable. I can even nearly build my whole machine using clang, so
its up and running. I've now just updated clang, from a working

3.9.1

to a 4.0.0-r1 and clang has now disappeared. If I type in "clang
--version", I get "command not found". "whereis clang" only gives me
the library dir. Doing "ls -la /usr/bin/cla*" gives me "No such file

or

directory"


Try "qlist clang" so see what is installed, "qlist clang | grep bin/"
should find the executables.

qlist is part of portage-utils, which you probably already have.




Done as requested. There are 41 files found with clang in their name
and they are all on the dir:

/usr/lib/llvm/4/bin/

I'm no whiz bang sys-admin but that doesn't seem right to me. There is

clang and clang++ and a whole lot of stuff sym linked to provide all
the
various permutations and combinations of names in there. But there is
nothing in my path that points to that dir. I'll have to have a look at

the ebuild to see if a symlink or something is not being applied.

Any other thoughts appreciated,

Andrew


Try those and see if they respond correctly.
If yes, add that dir to your PATH.

--
Joost



They work as expected and I can add the dir to the path with no
problems, I'm more concerned about why I have add the path - is the
ebuild screwed up in some way?

What is the portage/ebuild doco like? Is it well documented or are
there gaping holes that lead to frustration - my level of understanding
of coding is 25 years of C/C++ coding on CAD systems & engineering
applications and even though I run a Gentoo box as my default machine,
I've never had the need to get into bash scripting - but might.

Andrew



Try running `env-update && source /etc/profile'. Your path should be
extended by /etc/profile.env which is generated from /etc/env.d/10llvm-9995.



SUCCESS!!

Thanks



Re: [gentoo-user] Clang has gone walkabout

2017-04-10 Thread Andrew Lowe

On 10/04/17 18:57, J. Roeleveld wrote:

On April 10, 2017 12:41:54 PM GMT+02:00, Andrew Lowe <a...@wht.com.au> wrote:

On 10/04/17 18:08, Neil Bothwick wrote:

On Mon, 10 Apr 2017 17:13:28 +0800, Andrew Lowe wrote:


Do we have any clang users out there? I've had clang installed
on my machine for ages and a simple "clang test.c" will result in an
executable. I can even nearly build my whole machine using clang, so
its up and running. I've now just updated clang, from a working

3.9.1

to a 4.0.0-r1 and clang has now disappeared. If I type in "clang
--version", I get "command not found". "whereis clang" only gives me
the library dir. Doing "ls -la /usr/bin/cla*" gives me "No such file

or

directory"


Try "qlist clang" so see what is installed, "qlist clang | grep bin/"
should find the executables.

qlist is part of portage-utils, which you probably already have.




Done as requested. There are 41 files found with clang in their name
and they are all on the dir:

/usr/lib/llvm/4/bin/

I'm no whiz bang sys-admin but that doesn't seem right to me. There is

clang and clang++ and a whole lot of stuff sym linked to provide all
the
various permutations and combinations of names in there. But there is
nothing in my path that points to that dir. I'll have to have a look at

the ebuild to see if a symlink or something is not being applied.

Any other thoughts appreciated,

Andrew


Try those and see if they respond correctly.
If yes, add that dir to your PATH.

--
Joost



	They work as expected and I can add the dir to the path with no 
problems, I'm more concerned about why I have add the path - is the 
ebuild screwed up in some way?


	What is the portage/ebuild doco like? Is it well documented or are 
there gaping holes that lead to frustration - my level of understanding 
of coding is 25 years of C/C++ coding on CAD systems & engineering 
applications and even though I run a Gentoo box as my default machine, 
I've never had the need to get into bash scripting - but might.


Andrew



Re: [gentoo-user] Clang has gone walkabout

2017-04-10 Thread Andrew Lowe

On 10/04/17 18:08, Neil Bothwick wrote:

On Mon, 10 Apr 2017 17:13:28 +0800, Andrew Lowe wrote:


Do we have any clang users out there? I've had clang installed
on my machine for ages and a simple "clang test.c" will result in an
executable. I can even nearly build my whole machine using clang, so
its up and running. I've now just updated clang, from a working 3.9.1
to a 4.0.0-r1 and clang has now disappeared. If I type in "clang
--version", I get "command not found". "whereis clang" only gives me
the library dir. Doing "ls -la /usr/bin/cla*" gives me "No such file or
directory"


Try "qlist clang" so see what is installed, "qlist clang | grep bin/"
should find the executables.

qlist is part of portage-utils, which you probably already have.




	Done as requested. There are 41 files found with clang in their name 
and they are all on the dir:


/usr/lib/llvm/4/bin/

	I'm no whiz bang sys-admin but that doesn't seem right to me. There is 
clang and clang++ and a whole lot of stuff sym linked to provide all the 
various permutations and combinations of names in there. But there is 
nothing in my path that points to that dir. I'll have to have a look at 
the ebuild to see if a symlink or something is not being applied.


Any other thoughts appreciated,

Andrew





[gentoo-user] Clang has gone walkabout

2017-04-10 Thread Andrew Lowe

Hi all,
	Do we have any clang users out there? I've had clang installed on my 
machine for ages and a simple "clang test.c" will result in an 
executable. I can even nearly build my whole machine using clang, so its 
up and running. I've now just updated clang, from a working 3.9.1 to a 
4.0.0-r1 and clang has now disappeared. If I type in "clang --version", 
I get "command not found". "whereis clang" only gives me the library 
dir. Doing "ls -la /usr/bin/cla*" gives me "No such file or directory"


	I've run the install several times. I've even uninstalled both clang 
and llvm and then reinstalled and still the same. The only thing that I 
can think of is that whilst doing the original update, for some reason 
my machine crashed during the clang install. This may have screwed 
something up.


	Has anyone managed to do the install/update and have a working latest 
clang?


Thoughts/comments greatly appreciated,

Andrew

p.s. Looking in the /usr/lib64/clang/4.0.0 dir shows plenty of libraries 
in there.




[gentoo-user] Strangeness with Grub and Win7 partitions

2017-03-26 Thread Andrew Lowe

Hi all,
	Don't know if it's my machine or a bug somewhere in Grub, but I have a 
dual boot setup /dev/sda - Linux, /dev/sdb - Win7, that grub-mkconfig 
would find correctly and build the grub.cfg file for. Or it did in the past.


	I hadn't had call to boot into Win7 for a while but kept building Linux 
kernels and running grub-mkconfig. Linux always booted correctly but 
recently upon trying to boot Win7 it failed. Investigation shows that my 
Win7 partition isn't being found. Manually adding it to grub.cfg fixed 
the boot problem.


	I have not changed anything in the way I run grub-mkconfig, I have 
os-prober installed and when booted into Linux can see and use any of 
the partitions in the Win7 install, ie ntfs3g is installed and working. 
Does anyone have any ideas as to what's going wrong?


Thanks,

Andrew



Re: [gentoo-user] bashrc in console

2017-03-22 Thread Andrew Lowe

On 22/03/17 21:02, Hogren wrote:



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



Hogren,
	I've been playing around with .bash* stuff a bit due to setting up a 
Win based Linux like development environment for Uni students and, if 
I've understood your question correctly, these links might help. They 
outline what file is called in what context.



http://tinyurl.com/9hrrh53

http://tinyurl.com/hqemqzk

Andrew




[gentoo-user] Latest LLVM wants to pollute my machine with VIM stuff.....

2017-03-15 Thread Andrew Lowe

Hi all,
	I'm still trying to come to grips with understanding ebuilds so please 
bear with me if this is a simple question. I've just sync'd and then 
done an


emerge --ask -NuD world

I have LLVM/clang installed and upon browsing the updates saw 
app-vim/llvm-vim. This is some sort of syntax highlighting thingy for 
Vim. I don't have Vim installed so went into the llvm-4.0.0 ebuild and 
saw the line


PDEPEND="app-vim/llvm-vim

My understanding is that PDEPEND means that something, in this case 
llvm-vim, will be installed after the update of llvm - correct? If so, I 
can't see any way of "turning this off" as I don't want even more junk 
installed on my machine.


	Have I understood the ebuild correctly and it could do with a "fiddle" 
so that it doesn't force this install?


Regards,
Andrew




Re: [SOLVED] Re: [gentoo-user] dev-perl/IO-Socket-SSL is causing me angst

2017-02-01 Thread Andrew Lowe

On 01/02/17 16:40, Neil Bothwick wrote:

On Wed, 1 Feb 2017 11:06:30 +0800, Andrew Lowe wrote:


I masked this, when I originally asked the question, unmasked
this morning and now all is good. No idea what I/the system/portage
changed but it now compiled. Now it's busybox causing trouble.


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




That's the one, I'm comment 9...

Andrew



[SOLVED] Re: [gentoo-user] dev-perl/IO-Socket-SSL is causing me angst

2017-01-31 Thread Andrew Lowe

On 21/01/17 05:15, Andreas K. Huettel wrote:

Am Sonntag, 15. Januar 2017, 16:36:21 CET schrieb Andrew Lowe:

Dear all,
Just done an eix-sync -> emerge -NuD world and have a problem with the
above mentioned package. As a quick first pass before I put all the
error/debugging stuff together, does anyone know what the following
snippet would mean, I'm totally Perl ignorant?

  * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
DESTDIR=/var/tmp/portage/dev-perl/IO-Socket-SSL-2.43.0/image/
perl: symbol lookup error:
/usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/auto/Net/SSLeay/SSLeay.so:
undefined symbol: SSLeay_version
  * ERROR: dev-perl/IO-Socket-SSL-2.43.0::gentoo failed (configure phase):
  *   Unable to build!

According to packages.gentoo.org, I've got the latest version of
Net-SSLeay, 1.8


Please file a bug, and add your whole build log and the output of
"emerge --info" there. Then we can investigate more...





	I masked this, when I originally asked the question, unmasked this 
morning and now all is good. No idea what I/the system/portage changed 
but it now compiled. Now it's busybox causing trouble.


Andrew



Re: [gentoo-user] Which is the Gentoo default? Openssl or Libressl?

2017-01-24 Thread Andrew Lowe

On 24/01/17 23:47, Michael Orlitzky wrote:

On 01/24/2017 10:38 AM, Andrew Lowe wrote:

Hi all,
Title says it all. I think I've managed to screw things up, a USE flag
here, a USE flag there - what's a USE flag between fiends sort of thing.
I want to sort things out and I know at one time or another I think I've
dabbled in both openssl and libressl and now have some sort of mixed up
hybrid. What is the current Gentoo default so I can work on getting back
to "normal".



There is no default per se, but OpenSSL has better support because
that's what most upstream projects target. The way most ebuilds are
written, you will get OpenSSL unless you have USE=libressl set.






Thanks.



[gentoo-user] Which is the Gentoo default? Openssl or Libressl?

2017-01-24 Thread Andrew Lowe

Hi all,
	Title says it all. I think I've managed to screw things up, a USE flag 
here, a USE flag there - what's a USE flag between fiends sort of thing. 
I want to sort things out and I know at one time or another I think I've 
dabbled in both openssl and libressl and now have some sort of mixed up 
hybrid. What is the current Gentoo default so I can work on getting back 
to "normal".


Thoughts greatly appreciated,

Andrew



Re: [gentoo-user] Firefox tells me my "...connection is not secure"

2017-01-23 Thread Andrew Lowe

On 23/01/17 16:46, Alarig Le Lay wrote:

On Mon Jan 23 16:43:32 2017, Andrew Lowe wrote:

HI all,
Just wondering if anyone else has come across this problem. Via the 
search
box in Firefox, I attempt to search Google for, say, "distillation columns"
and I get a page saying:

 "Your connection is not secure"

some more stuff then

"Error code: NS_ERROR_NET_INADEQUATE_SECURITY"

I try the same thing with wikipedia and I get the same response. I then go
to the slashdot website, all is good. The local newspaper, all good. I can
log into my bank no problems. I've tried Youtube and it brings up the
problem, which is using https, but viewing a range of other sites, also
using https does not reveal the problem.

Any ideas as to what's making three of the biggest sites on the 'net
unsecure for me?

Any thoughts greatly appreciated,

Andrew



Hi,

Do you synchronise your clock with ntpd?



	Yes Anyway, whilst I was writing the original email, I was also 
building the latest, 50.1.0-r1, firefox and now, hey presto, after a 
restart, things are now working again. I have no idea...


Andrew



[gentoo-user] Firefox tells me my "...connection is not secure"

2017-01-23 Thread Andrew Lowe

HI all,
	Just wondering if anyone else has come across this problem. Via the 
search box in Firefox, I attempt to search Google for, say, 
"distillation columns" and I get a page saying:


 "Your connection is not secure"

some more stuff then

"Error code: NS_ERROR_NET_INADEQUATE_SECURITY"

I try the same thing with wikipedia and I get the same response. I then 
go to the slashdot website, all is good. The local newspaper, all good. 
I can log into my bank no problems. I've tried Youtube and it brings up 
the problem, which is using https, but viewing a range of other sites, 
also using https does not reveal the problem.


	Any ideas as to what's making three of the biggest sites on the 'net 
unsecure for me?


Any thoughts greatly appreciated,

Andrew



Re: [gentoo-user] dev-perl/IO-Socket-SSL is causing me angst

2017-01-15 Thread Andrew Lowe

On 16/01/17 01:07, Alexander Kapshuk wrote:

On Sun, Jan 15, 2017 at 5:42 PM, Alexander Kapshuk
<alexander.kaps...@gmail.com> wrote:

On Sun, Jan 15, 2017 at 5:07 PM, Andrew Lowe <a...@wht.com.au> wrote:

On 15/01/17 21:27, Alexander Kapshuk wrote:


On Sun, Jan 15, 2017 at 10:36 AM, Andrew Lowe <a...@wht.com.au> wrote:


Dear all,
Just done an eix-sync -> emerge -NuD world and have a problem
with
the above mentioned package. As a quick first pass before I put all the
error/debugging stuff together, does anyone know what the following
snippet
would mean, I'm totally Perl ignorant?

 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
DESTDIR=/var/tmp/portage/dev-perl/IO-Socket-SSL-2.43.0/image/
perl: symbol lookup error:

/usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/auto/Net/SSLeay/SSLeay.so:
undefined symbol: SSLeay_version
 * ERROR: dev-perl/IO-Socket-SSL-2.43.0::gentoo failed (configure phase):
 *   Unable to build!

According to packages.gentoo.org, I've got the latest version of
Net-SSLeay,
1.8

Any thoughts greatly appreciated,

Andrew



An undefined symbol is a reference to a function called SSLeay_version
not being defined in the SSLeay_version.so module.

Have you updated dev-lang/perl recently and perhaps forgot to run
perl-cleaner afterwards?

Just a thought.




Alexander,
I remember to do the python-updater but had forgotten about the perl
equivalent, perl-cleaner. Gave it a run but I still get the same error,
whilst the cleaner is running. Might be time to file a bug, unless anyone
else has updated this is the last day or so with no error's?

Regards,
Andrew



Based on the CPAN info on NET::SSLeay,
http://search.cpan.org/~mikem/Net-SSLeay-1.80/lib/Net/SSLeay.pod,
SSLeay_version has been available in this module in versions >
Net-SSLeay-1.42. So it should be available in 1.8, which is what you
say you have. Could be a bug, as you suggested.
What USE flags do you have NET::SSLeay compiled with, and what other
flag are available for it?


Do you have openssl or libressl installed on your system?




I've got openssl, but when eix lists it, the version installed, the 
latest, 1.1.0c, is in red, masked. I don't have libressl installed.


Andrew




Re: [gentoo-user] dev-perl/IO-Socket-SSL is causing me angst

2017-01-15 Thread Andrew Lowe

On 15/01/17 21:27, Alexander Kapshuk wrote:

On Sun, Jan 15, 2017 at 10:36 AM, Andrew Lowe <a...@wht.com.au> wrote:

Dear all,
Just done an eix-sync -> emerge -NuD world and have a problem with
the above mentioned package. As a quick first pass before I put all the
error/debugging stuff together, does anyone know what the following snippet
would mean, I'm totally Perl ignorant?

 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
DESTDIR=/var/tmp/portage/dev-perl/IO-Socket-SSL-2.43.0/image/
perl: symbol lookup error:
/usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/auto/Net/SSLeay/SSLeay.so:
undefined symbol: SSLeay_version
 * ERROR: dev-perl/IO-Socket-SSL-2.43.0::gentoo failed (configure phase):
 *   Unable to build!

According to packages.gentoo.org, I've got the latest version of Net-SSLeay,
1.8

Any thoughts greatly appreciated,

Andrew



An undefined symbol is a reference to a function called SSLeay_version
not being defined in the SSLeay_version.so module.

Have you updated dev-lang/perl recently and perhaps forgot to run
perl-cleaner afterwards?

Just a thought.




Alexander,
	I remember to do the python-updater but had forgotten about the perl 
equivalent, perl-cleaner. Gave it a run but I still get the same error, 
whilst the cleaner is running. Might be time to file a bug, unless 
anyone else has updated this is the last day or so with no error's?


Regards,
Andrew



[gentoo-user] dev-perl/IO-Socket-SSL is causing me angst

2017-01-15 Thread Andrew Lowe

Dear all,
	Just done an eix-sync -> emerge -NuD world and have a problem with the 
above mentioned package. As a quick first pass before I put all the 
error/debugging stuff together, does anyone know what the following 
snippet would mean, I'm totally Perl ignorant?


 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none 
DESTDIR=/var/tmp/portage/dev-perl/IO-Socket-SSL-2.43.0/image/
perl: symbol lookup error: 
/usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/auto/Net/SSLeay/SSLeay.so: 
undefined symbol: SSLeay_version

 * ERROR: dev-perl/IO-Socket-SSL-2.43.0::gentoo failed (configure phase):
 *   Unable to build!

According to packages.gentoo.org, I've got the latest version of 
Net-SSLeay, 1.8


Any thoughts greatly appreciated,

Andrew



[gentoo-user] Metalog & runscript

2016-12-03 Thread Andrew Lowe

Hi all,
	I'm still getting the warning during boot about metalog using runscript 
during the boot process. I decided to track things down and see what was 
going on. My first stop was bugs.gentoo.org where there is this one:


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

	Upon reading this, I would have thought that the ebuild had been 
updated with the supplied patch by the developers. I looked at the 
ebuild on my machine and it still is the "older" one. 
Packages.gentoo.org has the same ebuild as me.


	Has something just fallen through the cracks and things should have 
been "officially" updated or do I need to apply this patch myself?


Thoughts?

Andrew



Re: [gentoo-user] Very small email sender thingy

2016-11-22 Thread Andrew Lowe

On 22/11/16 19:09, J. Roeleveld wrote:

On Tuesday, November 22, 2016 07:01:36 PM Andrew Lowe wrote:

Hi all,
First up, I'm not an email admin or anything as snazzy so I'm not fully
buzzword compliant.

[snip]
...
...
...
[snip]


Thoughts greatly appreciated,

Andrew



Try:
* mail-client/mailx
 Available versions:  8.1.2.20050715-r6 ~8.1.2.20050715-r7
 Homepage:http://www.debian.org/
 Description: The /bin/mail program, which is used to send mail
via shell scripts

(Or any of the other ones in virtual/mailx)

--
Joost





Joost,
Just what I was looking for.

Thanks,

Andrew



[gentoo-user] Very small email sender thingy

2016-11-22 Thread Andrew Lowe

Hi all,
	First up, I'm not an email admin or anything as snazzy so I'm not fully 
buzzword compliant.


	What I'm after is a tiny app that will, when called from the prompt, 
send an email to any address. I have several apps that take a long time 
to run, think Finite Elemental Analysis and Computational Fluid 
Dynamics, and I want something that can send me an email upon success or 
failure. I can wrap everything up in a script, it's the actual email 
sending that I'm looking for advice on.


	Off the top of my head I'm looking for something that is small, think 
the sort of thing that someone would write in Python to show off to 
their work colleagues and is 79 lines in size. This is going to be 
running on a Gentoo machine so Python is there and if I have to add 
another small Python package that's fine.


	In turn the recipient address, the mail server, which is my ISP's, etc 
along with a text file for the message can be either command line 
variables or in a simple config file which is written on the fly by the 
original script that ran everything.


	Does anyone know of such a little beasty or is this the reason I've 
been looking for to learn Python?


Thoughts greatly appreciated,

Andrew



Re: [gentoo-user] Possible heads up: Digest verification failed

2016-10-29 Thread Andrew Lowe

On 29/10/16 14:53, Daniel Campbell wrote:

On 10/28/2016 09:56 PM, Andrew Lowe wrote:

Hi all,
Anyone seeing this again? I've just sync'd to two servers in
Australia, and then, for the hell of it, one in Canada and am getting it
for:

dev-libs/botan
app-arch/tar
media-video/libav
app-crypt/qca
net-print/cups-filters

I suppose time will sort it out.

Andrew


This shouldn't happen unless the distfiles aren't found, or someone (a
dev) didn't use repoman to commit, leaving an old Manifest around.

Which servers in question? Have you popped in IRC to ask about it? I'm
not involved with our mirrors, and I sync directly from git, so I can't
really help on that front, but it seems to me that it's a simple
oversight that is sure to be fixed once someone knows about it.



Servers: Swinburne, iiNet, terra-byte.com (Canada)

Sorry, wouldn't know IRC if I tripped over it

Time will heal all wounds :)

Andrew



[gentoo-user] Possible heads up: Digest verification failed

2016-10-28 Thread Andrew Lowe

Hi all,
	Anyone seeing this again? I've just sync'd to two servers in Australia, 
and then, for the hell of it, one in Canada and am getting it for:


dev-libs/botan
app-arch/tar
media-video/libav
app-crypt/qca
net-print/cups-filters

I suppose time will sort it out.

Andrew



Re: [gentoo-user] Re: KDE 5: Broken file protocol for KDE 4 apps

2016-10-13 Thread Andrew Lowe

On 13/10/16 20:39, Michael Mol wrote:

On Wednesday, October 12, 2016 11:54:48 PM Jörg Schaible wrote:

Anyone? After upgrading a second machine to KDE/Plasma 5, I have the same
behavior there. All KDE-4-based apps fail to interact with the file system.
Using KMail I can no longer add any attachment to an email nor save an
existing attachment to disk.


I'm running KMail (Gentoo doesn't have the KDE5 version in tree yet, so KDE4),
and I send file attachments all the time. So I can say it's at least not
*intrinsically* broken...

Much of KDE4 and KDE5 wind up installed side by side, FWIW. I'd suggest
cycling through emerge @preserved-rebuild, revdep-rebuild, depclean, and see
if that shakes something loose.

The KDE4->KDE5 transition was generally a royal PITA for me, too, though I
can't remember what all broke...



	Kwooty, an nzb downloaded, has the same problem. It's "4" as well. Hit 
the "Open" button, a file dialogue pops up, closely followed by "Error 
Kwooty" -> "The process for the file protocol died unexpectedly". File 
-> Open gets the same.


	Dragging and dropping into the main window works and once the nzb files 
have been parsed, kwooty behaves as expected.


	This failure corresponds with a big update of KDE 5 stuff. I've just 
has a quick browse through bugs for the last 36 hours and nothing jumps out.


Andrew



Re: [gentoo-user] Digest verification failed: Filesize does not match recorded size

2016-10-08 Thread Andrew Lowe

On 08/10/16 20:59, Alexander Kapshuk wrote:

On Sat, Oct 8, 2016 at 1:03 PM, Håkon Alstadheim
<ha...@alstadheim.priv.no> wrote:

Den 08. okt. 2016 11:24, skrev Bill Kenworthy:

On 08/10/16 16:49, Mick wrote:

On Saturday 08 Oct 2016 11:45:05 Alexander Kapshuk wrote:

On Sat, Oct 8, 2016 at 11:33 AM, Andrew Lowe <a...@wht.com.au> wrote:

On 08/10/16 15:59, Alexander Kapshuk wrote:

I've been getting this output since last night.

Calculating dependencies  ... ... done!
[ebuild U  ] app-shells/bash-4.3_p48 [4.3_p46-r1]

[snip]
...
...
[snip]


Or is there some other way to fix this, like running 'ebuild
/path/to/ebuild manifest', as suggested here:
https://forums.gentoo.org/viewtopic-p-7414010.html

Thanks.


Unless Alexander is in Perth, Australia, I can confirm the same

thing, exactly as Alexander described, is happening here - Perth that is.

Andrew

Ha, ha. I'm not that Down Under. Pun intended.

I used a European mirror.

I'm getting the same on a UK mirror this morning.


Worked for me - iinet mirror, Perth Australia.

Tried that one?

BillK




  Same here, from Norway. I did not want to force accept of potentially
bad .emerge by running "emerge .emerge digest". Rather I
deleted the Manifest in the affected directories, and ran emerge --sync
again. Fixed.






This solution did not work for me unfortunately.


	Me neither. I also tried Bill K's suggestion, changing to iinet instead 
of Swinburne but maybe because I'm south of the river, that didn't work 
either. I think I'm going to let it rest for another 24 hours. In the 
past these sort of things manage to sort themselves out given time.


Andrew



Re: [gentoo-user] Digest verification failed: Filesize does not match recorded size

2016-10-08 Thread Andrew Lowe

On 08/10/16 15:59, Alexander Kapshuk wrote:

I've been getting this output since last night.

Calculating dependencies  ... ... done!
[ebuild U  ] app-shells/bash-4.3_p48 [4.3_p46-r1]

[snip]
...
...
[snip]

Or is there some other way to fix this, like running 'ebuild
/path/to/ebuild manifest', as suggested here:
https://forums.gentoo.org/viewtopic-p-7414010.html

Thanks.




	Unless Alexander is in Perth, Australia, I can confirm the same thing, 
exactly as Alexander described, is happening here - Perth that is.


Andrew




Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?

2016-09-09 Thread Andrew Lowe

On 01/09/16 17:01, Alan McKinnon wrote:

On 01/09/2016 09:18, gevisz wrote:

2016-09-01 9:13 GMT+03:00 Alan McKinnon :

On 01/09/2016 08:04, gevisz wrote:


[snip]


[snip]
...
...
[snip]


That is the most stupid dumbass argument I've heard in weeks.
It doesn't even deserve a response.

Who the fuck is promoting this shit?




	I've just spent 7 hours in a bottleshop in an entertainment area, 
putting up with idiots swearing all night. Now I come home and catch up 
on what's happening on this list and what do I get? More drop kicks 
swearing their heads off. It's just an indication of the lack of your 
grasp of the English language when you start carrying on like this.


	Don't get me wrong, I can swear with the best of them, I spent my late 
teens working as a barman in a pub opposite one of the hardest gaols you 
will find anywhere. There is a time and a place for everything, a public 
technical email list is not one of them for swearing.


	How about you just pull your head in until you learn some "big boy" 
words and can contribute in a civil manner?


Just my 5c worth,
Andrew



Re: [gentoo-user] Wastebin or trash?

2016-09-07 Thread Andrew Lowe

On 07/09/16 23:45, Peter Humphrey wrote:

Hello list,

As I said in the "emerge @system" thread, I've built a fresh ~amd64 system
on this i7 box. I also created a new user directory for myself, copying in
only .bash*, .gkrellm2 and .mozilla.

After spending a good long time setting up KDE and friends just the way I
like them, the one remaining task was to set up KMail and import my 1000-or-
so messages. That worked all right, with just the one same exception as
before: KMail's recycle bin is call "trash" in the folder list, but the
right-click menu on it offers to "empty wastebin".

I'm sure I have all my linguas, l10ns i18ns and everything set up right, so
I think I'm just seeing an intermediate stage in KMail development.

Is anyone else seeing this?



	I'm reading this whilst sitting in Perth, Australia so both should read 
"Rubbish Bin" or possibly "Wheelie Bin"  ;)


Andrew



Re: [gentoo-user] NVidia drivers and vanilla kernel Linux 4.7.0 anyone?

2016-07-30 Thread Andrew Lowe

On 31/07/2016 1:54 AM, meino.cra...@gmx.de wrote:

David Haller  [16-07-30 13:24]:

Hello,

On Sat, 30 Jul 2016, meino.cra...@gmx.de wrote:

trying the new kernel linux-4.7 (vanilla, downloaded from


[snip]



Short qyestion: How can I apply it...I mean...as soon as I do an
emerge, either the original source will be unpacked or my package
will be rejected for being modified an different from the one, which
does not compile...

?

Best regards,
Meino


	It's currently 2am Perth time and I've been staring at a screen for too 
long trying to get a portable Win32 dev environmet for Uni students 
working. I've consumed a fair amount of chocolate so the usual grain of 
salt proviso applies. If I've understood the question correctly, this 
link may be of help:


http://tinyurl.com/jur3t8v

Andrew




Re: [gentoo-user] NVidia drivers and vanilla kernel Linux 4.7.0 anyone?

2016-07-30 Thread Andrew Lowe

On 30/07/16 14:09, meino.cra...@gmx.de wrote:

Hi,

thank you for your reply ! :)
I have to use the nvidia drivers, because I am using Blender, which
renders via CUDA on the GPU...

Best regards
Meino




Jigme Datse Yli-RAsku  [16-07-30 08:04]:

I have an earlier version of the x11-drivers/nvidia-drivers installed (361.28), 
but if I recall, I couldn't get x11 to use them.  Or maybe they are already 
using them, but I don't know it (but I believe I couldn't get the tools to 
recognize that they were being used).  My understanding is that using the 
correct framebuffer drivers is as good, if not better than using the official 
nvidia ones.  But as I don't believe I have had the opportunity to do so, I 
can't really say.

Jigme Datse Yli-Rasku

On 2016-07-29 22:36, meino.cra...@gmx.de wrote:

Hi,

trying the new kernel linux-4.7 (vanilla, downloaded from
ftp.kernel.org) with nvidia drivers
(Installed versions:  367.35-r1^md(03:00:46 07/30/16)(X driver kms
multilib uvm -acpi -compat -gtk3 -pax_kernel -static-libs -tools
-wayland KERNEL="linux -FreeBSD")).
The kernel compiled fine, the nvidia-drivers does not.

Anuone else with the same problem (read: This has to be
fixed by nvidia/Linus) or am I the only one (so it is
my problem...which does not neccessarily imply that I
know how to fix that ... ;) ???

Best regards
Meino


	There is a duplicate definition of a function[1], the kernel apparently 
has a function and a certain parameter list and then someone at nVidia 
managed to use the same name but a different parameter list - hence the 
duplicate definition.


	I hit this last night, went back one kernel but the latest nvidia 
driver only works with the 4.7 series kernel so had to go one back with 
the drivers as well. It's known so just hang tight a day or two and all 
should be well.


Andrew

[1] From memory at 2am and after a lot of chocolate so could be slightly 
wrong here




Re: [gentoo-user] Machine running before modem turned on - Network weirdness

2016-07-26 Thread Andrew Lowe

On 27/07/16 00:10, Alan McKinnon wrote:

On 26/07/2016 18:01, Andrew Lowe wrote:

Hi all,
I can remember in the distant past that I had to have my modem
turned on before the computer otherwise, I wouldn't get an IP address.
Then something changed. One day I forgot to turn on the modem first. I
turned the machine on then realised the modem wasn't on, I turned it,
the modem, on and prepared to reboot the machine only to see an IP
address appear.

It appeared that dhcp was now periodically attempting to get an
address whereas in the past, if on boot it didn't find one, that was it,
it just gave up. It appears that my machine has now, for some reason
reverted to "the olden days" of IP address allocation. No modem at boot,
no IP address. Reboot the machine, with the modem continuing to run, and
I get an IP address. When I have no IP address, I can run "dhcpcd
restart" and I'll get one.

Anyone got any idea as to what has changed? What should I be looking
for to fiddle to get my preferred behaviour, modem/machine startup in
any order and I'll get an IP address. Is there a dchp "polling time" or
something similar that I need to set to get this running nicely again?

Thoughts greatly appreciated,
Andrew



There's no single global default, that is set is whatever dhcp client
you are using. Which one is it?



dhcpcd



[gentoo-user] Machine running before modem turned on - Network weirdness

2016-07-26 Thread Andrew Lowe

Hi all,
	I can remember in the distant past that I had to have my modem turned 
on before the computer otherwise, I wouldn't get an IP address. Then 
something changed. One day I forgot to turn on the modem first. I turned 
the machine on then realised the modem wasn't on, I turned it, the 
modem, on and prepared to reboot the machine only to see an IP address 
appear.


	It appeared that dhcp was now periodically attempting to get an address 
whereas in the past, if on boot it didn't find one, that was it, it just 
gave up. It appears that my machine has now, for some reason reverted to 
"the olden days" of IP address allocation. No modem at boot, no IP 
address. Reboot the machine, with the modem continuing to run, and I get 
an IP address. When I have no IP address, I can run "dhcpcd restart" and 
I'll get one.


	Anyone got any idea as to what has changed? What should I be looking 
for to fiddle to get my preferred behaviour, modem/machine startup in 
any order and I'll get an IP address. Is there a dchp "polling time" or 
something similar that I need to set to get this running nicely again?


Thoughts greatly appreciated,
Andrew



Re: [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset

2016-07-18 Thread Andrew Lowe

On 18/07/16 21:18, Andrew Lowe wrote:

On 18/07/16 20:03, Fernando Rodriguez wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/18/2016 07:19 AM, Andrew Lowe wrote:

Hi all,
I'm attempting to update llvm & clang and am getting a failure.
Portage is reporting:

 * ERROR: sys-devel/llvm-3.8.1::gentoo failed (install phase):
 *   python_fix_shebang: EPYTHON unset (pkg_setup not called?)

I've looked in the ebuild and can't even find a mention of EPYTHON.
I've tried:

export EPYTHON=python3.5

and

export EPYTHON=python2.7

and still the fail persists. Anyone got any thoughts on what could be
going wrong?

Regards,
Andrew




It is set on python-single-r1.eclass. What is the output of these
commands?

# eselect python list
# emerge -vp sys-devel/llvm


Fernando,
Thanks for the reply. Output is as follows:



bluey agl # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.4
  [3]   python2.7 (fallback)
bluey agl #


Notice there is no asterisk indicating an "active" version as I would
expect, like if I list opengl, opencl, ruby, binutils and others.

When I noticed this, I ran python-updater and got:



bluey agl # python-updater
 * Starting Python Updater...
 * Main active version of Python:3.5
 * Active version of Python 2:   2.7
 * Active version of Python 3:   3.5
 * Globally supported Python ABIs in installed repositories:
 *   agl:2.4 2.5 2.6 2.7 3.1 3.2 3.3
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   nightmare:  2.4 2.5 2.6 2.7 3.1 3.2 3.3
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 * No packages need to be reinstalled.



Pretending to run the emerge gives me:


bluey agl # emerge -vp sys-devel/llvm
 * WARNING: The FEATURES variable contains one or more values that
 * should be disabled under normal circumstances: keeptemp keepwork

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

Calculating dependencies  ... done!
[ebuild U  ] sys-devel/llvm-3.8.1:0/3.8.0::gentoo
[3.8.0-r3:0/3.8.0::gentoo] USE="clang libffi lldb ncurses
static-analyzer xml -debug -doc -gold -libedit -multitarget -ocaml
-python {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7"
VIDEO_CARDS="-radeon" 0 KiB
[ebuild U  ] sys-devel/clang-3.8.1-r100:0/3.8::gentoo
[3.8.0-r100:0/3.8::gentoo] USE="static-analyzer -debug -multitarget
-python" ABI_X86="(64) -32 (-x32)" 0 KiB
[blocks b  ] <=sys-devel/clang-3.8.1-r99
("<=sys-devel/clang-3.8.1-r99" is blocking sys-devel/llvm-3.8.1)

Total: 2 packages (2 upgrades), Size of downloads: 0 KiB
Conflict: 1 block

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.



As the error happened during the install phase, I changed from
"emerge" to "ebuild llvm install". When this runs, the first line
that is output is the following:

python-exec: EPYTHON value invalid (/usr/bin/python2.7).

Anything else you need?

Regards,
Andrew


	I have no idea as to why, but I've just rerun the install and it now 
works, llvm is installed. Since my original post I reran "emerge 
eselect-python", as to whether that fixed the problem I have no idea.


Fernando, thanks for the feedback,

Andrew



Re: [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset

2016-07-18 Thread Andrew Lowe

On 18/07/16 20:03, Fernando Rodriguez wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/18/2016 07:19 AM, Andrew Lowe wrote:

Hi all,
I'm attempting to update llvm & clang and am getting a failure. Portage is 
reporting:

 * ERROR: sys-devel/llvm-3.8.1::gentoo failed (install phase):
 *   python_fix_shebang: EPYTHON unset (pkg_setup not called?)

I've looked in the ebuild and can't even find a mention of EPYTHON. I've tried:

export EPYTHON=python3.5

and

export EPYTHON=python2.7

and still the fail persists. Anyone got any thoughts on what could be going 
wrong?

Regards,
Andrew




It is set on python-single-r1.eclass. What is the output of these commands?

# eselect python list
# emerge -vp sys-devel/llvm


Fernando,
Thanks for the reply. Output is as follows:



bluey agl # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.4
  [3]   python2.7 (fallback)
bluey agl #


Notice there is no asterisk indicating an "active" version as I would 
expect, like if I list opengl, opencl, ruby, binutils and others.


When I noticed this, I ran python-updater and got:



bluey agl # python-updater
 * Starting Python Updater...
 * Main active version of Python:3.5
 * Active version of Python 2:   2.7
 * Active version of Python 3:   3.5
 * Globally supported Python ABIs in installed repositories:
 *   agl:2.4 2.5 2.6 2.7 3.1 3.2 3.3 
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   nightmare:  2.4 2.5 2.6 2.7 3.1 3.2 3.3 
2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0

 * No packages need to be reinstalled.



Pretending to run the emerge gives me:


bluey agl # emerge -vp sys-devel/llvm
 * WARNING: The FEATURES variable contains one or more values that
 * should be disabled under normal circumstances: keeptemp keepwork

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

Calculating dependencies  ... done!
[ebuild U  ] sys-devel/llvm-3.8.1:0/3.8.0::gentoo 
[3.8.0-r3:0/3.8.0::gentoo] USE="clang libffi lldb ncurses 
static-analyzer xml -debug -doc -gold -libedit -multitarget -ocaml 
-python {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 
VIDEO_CARDS="-radeon" 0 KiB
[ebuild U  ] sys-devel/clang-3.8.1-r100:0/3.8::gentoo 
[3.8.0-r100:0/3.8::gentoo] USE="static-analyzer -debug -multitarget 
-python" ABI_X86="(64) -32 (-x32)" 0 KiB
[blocks b  ] <=sys-devel/clang-3.8.1-r99 
("<=sys-devel/clang-3.8.1-r99" is blocking sys-devel/llvm-3.8.1)


Total: 2 packages (2 upgrades), Size of downloads: 0 KiB
Conflict: 1 block

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.



	As the error happened during the install phase, I changed from 
"emerge" to "ebuild llvm install". When this runs, the first line 
that is output is the following:


python-exec: EPYTHON value invalid (/usr/bin/python2.7).

Anything else you need?

Regards,
Andrew




[gentoo-user] llvm install and python_fix_shebang: EPYTHON unset

2016-07-18 Thread Andrew Lowe

Hi all,
	I'm attempting to update llvm & clang and am getting a failure. Portage 
is reporting:


 * ERROR: sys-devel/llvm-3.8.1::gentoo failed (install phase):
 *   python_fix_shebang: EPYTHON unset (pkg_setup not called?)

I've looked in the ebuild and can't even find a mention of EPYTHON. I've 
tried:


export EPYTHON=python3.5

and

export EPYTHON=python2.7

and still the fail persists. Anyone got any thoughts on what could be 
going wrong?


Regards,
Andrew




  1   2   3   >