Re: [gentoo-user] New install, a few problems (or not?)

2016-09-09 Thread J. Roeleveld
On September 9, 2016 5:25:13 PM GMT+02:00, Daniel Frey  
wrote:
>On 09/09/2016 08:17 AM, Daniel Frey wrote:
>>> 2) "uname -a" gives the following output...
>>>
>>> [i3][root][~] uname -a
>>> Linux i3 4.4.6-gentoo #4 SMP Wed Sep 7 17:12:27 Local time zone must
>be set--see zic m x86_64 Intel(R) Pentium(R) CPU N3700 @ 1.60GHz
>GenuineIntel GNU/Linux
>>>
>>>
>>> ...but I've already run...
>>>
>>> [i3][root][~] emerge --config sys-libs/timezone-data
>>>
>>> Configuring pkg...
>>>
>>>  * Updating /etc/localtime with /usr/share/zoneinfo/Canada/Eastern
>> 
>> The new link is /etc/timezone, not /etc/localtime. I would think if
>you
>> renamed it that problem will go away?
>
>Whoops, I replied a little too quickly on this one. I don't know why it
>thinks it's not updated. Someone else may have an idea.
>
>It is odd that it says it's updating. Have you checked to see that it
>is
>symlinked properly?
>
>Dan

Try rebuilding the kernel after setting it.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Not able to install ksh93

2016-09-09 Thread J. Roeleveld
On September 9, 2016 10:07:24 PM GMT+02:00, Harry Putnam  
wrote:
>I've been running ksh93 on this newish install of gentoo for a couple
>of months and have done several full emerge -vuD world successfully.
>
>But 2 days ago, attempting a full update (emerge -vuD world) I find
>ksh93 package fails... My unsophisticated look at the output which is
>posted in full here ( zeus.jtan.com/~reader/vutxt/disp.cgi ) seems to
>indicate that the package tries to install `nmake', but fails.  Then
>continues on with piles of output ending finally with a failure,
>(unsurprisingly) to find `nmake'. (That snippet of output is inlined at
>the end).
>
>I didn't have sense enough to capture the initial output that started
>this but moved right into what I thought might be a solution
>... unmerging ksh, then installing an older version. (Thinking the
>error was being caused by something new in the latest ksh)
>
>It still seems that something new or different must have happened
>since ksh was installed and running befor the update.
>
>So the output included here is from an attempt to install an older
>version (ksh-93.20110208). (again, full output is available here:
>zeus.jtan.com/~reader/vutxt/disp.cgi)
>
>Hopefully someone here will recognize what is happening and some idea
>what I should do about it.
>
>---   ---   ---=---   ---   ---
>
>root # emerge -vD =app-shells/ksh-93.20110208
>
>[...]
>+ /bin/cp ppcc
>/var/tmp/portage/app-shells/ksh-93.20110208/work/arch/linux.i386/lib/make/ppcc
>+ nmake --base --compile
>--file=/var/tmp/portage/app-shells/ksh-93.20110208/work/src/cmd/nmake/Makerules.mk
>/bin/sh: line 3: nmake: command not found
>mamake [cmd/nmake]: *** exit code 127 making Makerules.mo
>mamake: *** exit code 1 making cmd/nmake
>package: make: errors making
>/var/tmp/portage/app-shells/ksh-93.20110208/work/arch/linux.i386/bin/nmake
>package: make done  at Fri Sep  9 12:34:17 EDT 2016 in
>/var/tmp/portage/app-shells/ksh-93.20110208/work/arch/linux.i386
> * ERROR: app-shells/ksh-93.20110208::gentoo failed (compile phase):
> *   (no error message)
> * 
> * Call stack:
> * ebuild.sh, line 133:  Called src_compile
> *   environment, line 2049:  Called die
> * The specific snippet of code:
>*   sh bin/package only make ast-ksh SHELL=/bin/sh SHOPT_SYSRC=1 ||
>die

Please attach full build logs of current version. Linking to remote sites means 
several of us won't even bother to look.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Not able to install ksh93

2016-09-09 Thread Mike Gilbert
On Fri, Sep 9, 2016 at 4:07 PM, Harry Putnam  wrote:
> Hopefully someone here will recognize what is happening and some idea
> what I should do about it.

Sorry, but I'm not going to troubleshoot a 5 year old version. Please
post build logs from the latest version of ksh in the tree. Preferably
attached to a bug report.



Re: [gentoo-user] New install, a few problems (or not?)

2016-09-09 Thread Adam Carter
> Device Drivers  --->
>   Graphics support --->
> <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
> --->
> --- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
> [*]   Enable legacy fbdev support for your modesetting driver
> ...and also...
> <*> Intel 8xx/9xx/G3x/G4x/HD Graphics
> <*> DRM Support for bochs dispi vga interface (qemu stdvga)
>
>   Something has changed.  I did some minor tweaking, and rebuilt, which
> solved the timezonDo I need another magic setting somewhere else
> to enable the options it asks for?  I'm attaching the Xorg log (gzipped)
> in case it helps.
>

I just tried uninstalling xf86-video-vesa and xf86-video-fbdev to see if
they were required, and X still runs, so you can ignore those messages.

FWIW i'm kernel 4.7.2 with ~amd64 on a skylake i3.

You dont appear to have evdev setup;
 -> Device Drivers
 -> Input device support
-> Generic input layer (needed for keyboard, mouse, ...)

and emerge xf86-input-evdev


Re: [gentoo-user] New install, a few problems (or not?)

2016-09-09 Thread waltdnes
  1 down, 1 to go.  Apparently, I needed to rebuild the kernel after
redoing the timezone initialization.  I did...

[i3][root][~] rm -rf /etc/timezone /etc/localtime
[i3][root][~] echo "Canada/Eastern" > /etc/timezone
[i3][root][~] emerge --config sys-libs/timezone-data

...and rebuilt the kernel, attempting to fix the video.  Now I get...

[i3][root][~] uname -a
Linux i3 4.4.6-gentoo #5 SMP Sat Sep 10 00:48:23 UTC 2016 x86_64 Intel(R) 
Pentium(R) CPU N3700 @ 1.60GHz GenuineIntel GNU/Linux

On Fri, Sep 09, 2016 at 08:17:35AM -0700, Daniel Frey wrote
> On 09/08/2016 09:50 PM, waltd...@waltdnes.org wrote:
> >   64-bit no-multilib install on a relatively new Dell Inspiron...
> > 
> > 1) X works OK, but installing x11-drivers/xf86-video-intel finishes off
> > with the message...
> > 
> > ***
> > WARN: postinst
> > This driver requires KMS support in your kernel
> >   Device Drivers --->
> > Graphics support --->
> >   Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
> >   <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
> >   i915 driver
> >   [*]   Enable modesetting on intel by default
> > ***
> 
> You have built the Intel driver in the kernel correct? It is telling you
> you didn't build KMS support in your kernel and showing you what needs
> to be set in your kernel.

  I don't get those options.  Here's what I see (kernel 4.4.6-gentoo).

Device Drivers  --->
  Graphics support --->
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
--- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
[*]   Enable legacy fbdev support for your modesetting driver
...and also...
<*> Intel 8xx/9xx/G3x/G4x/HD Graphics
<*> DRM Support for bochs dispi vga interface (qemu stdvga) 

  Something has changed.  I did some minor tweaking, and rebuilt, which
solved the timezonDo I need another magic setting somewhere else
to enable the options it asks for?  I'm attaching the Xorg log (gzipped)
in case it helps.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications


Xorg.0.log.gz
Description: Binary data


[gentoo-user] Not able to install ksh93

2016-09-09 Thread Harry Putnam
I've been running ksh93 on this newish install of gentoo for a couple
of months and have done several full emerge -vuD world successfully.

But 2 days ago, attempting a full update (emerge -vuD world) I find
ksh93 package fails... My unsophisticated look at the output which is
posted in full here ( zeus.jtan.com/~reader/vutxt/disp.cgi ) seems to
indicate that the package tries to install `nmake', but fails.  Then
continues on with piles of output ending finally with a failure,
(unsurprisingly) to find `nmake'. (That snippet of output is inlined at
the end).

I didn't have sense enough to capture the initial output that started
this but moved right into what I thought might be a solution
... unmerging ksh, then installing an older version. (Thinking the
error was being caused by something new in the latest ksh)

It still seems that something new or different must have happened
since ksh was installed and running befor the update.

So the output included here is from an attempt to install an older
version (ksh-93.20110208). (again, full output is available here:
zeus.jtan.com/~reader/vutxt/disp.cgi)

Hopefully someone here will recognize what is happening and some idea
what I should do about it.

---   ---   ---=---   ---   ---

root # emerge -vD =app-shells/ksh-93.20110208

[...]
+ /bin/cp ppcc 
/var/tmp/portage/app-shells/ksh-93.20110208/work/arch/linux.i386/lib/make/ppcc
+ nmake --base --compile 
--file=/var/tmp/portage/app-shells/ksh-93.20110208/work/src/cmd/nmake/Makerules.mk
/bin/sh: line 3: nmake: command not found
mamake [cmd/nmake]: *** exit code 127 making Makerules.mo
mamake: *** exit code 1 making cmd/nmake
package: make: errors making 
/var/tmp/portage/app-shells/ksh-93.20110208/work/arch/linux.i386/bin/nmake
package: make done  at Fri Sep  9 12:34:17 EDT 2016 in 
/var/tmp/portage/app-shells/ksh-93.20110208/work/arch/linux.i386
 * ERROR: app-shells/ksh-93.20110208::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 * ebuild.sh, line 133:  Called src_compile
 *   environment, line 2049:  Called die
 * The specific snippet of code:
 *   sh bin/package only make ast-ksh SHELL=/bin/sh SHOPT_SYSRC=1 || die










Re: [gentoo-user] New install, a few problems (or not?)

2016-09-09 Thread Daniel Frey
On 09/09/2016 08:17 AM, Daniel Frey wrote:
>> 2) "uname -a" gives the following output...
>>
>> [i3][root][~] uname -a
>> Linux i3 4.4.6-gentoo #4 SMP Wed Sep 7 17:12:27 Local time zone must be 
>> set--see zic m x86_64 Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GenuineIntel 
>> GNU/Linux
>>
>>
>> ...but I've already run...
>>
>> [i3][root][~] emerge --config sys-libs/timezone-data
>>
>> Configuring pkg...
>>
>>  * Updating /etc/localtime with /usr/share/zoneinfo/Canada/Eastern
> 
> The new link is /etc/timezone, not /etc/localtime. I would think if you
> renamed it that problem will go away?

Whoops, I replied a little too quickly on this one. I don't know why it
thinks it's not updated. Someone else may have an idea.

It is odd that it says it's updating. Have you checked to see that it is
symlinked properly?

Dan





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] New install, a few problems (or not?)

2016-09-09 Thread Daniel Frey
On 09/08/2016 09:50 PM, waltd...@waltdnes.org wrote:
>   64-bit no-multilib install on a relatively new Dell Inspiron...
> 
> 1) X works OK, but installing x11-drivers/xf86-video-intel finishes off
> with the message...
> 
> ***
> WARN: postinst
> This driver requires KMS support in your kernel
>   Device Drivers --->
> Graphics support --->
>   Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
>   <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
>   i915 driver
>   [*]   Enable modesetting on intel by default
> ***
> 
>   Note that make.conf contains...
> VIDEO_CARDS="intel i965"
> ...and X loads the i965 driver, and runs OK.  Why is i915 even mentioned?

You have built the Intel driver in the kernel correct? It is telling you
you didn't build KMS support in your kernel and showing you what needs
to be set in your kernel.

This will probably correct your problem #3, by the way.

> 
> 
> 2) "uname -a" gives the following output...
> 
> [i3][root][~] uname -a
> Linux i3 4.4.6-gentoo #4 SMP Wed Sep 7 17:12:27 Local time zone must be 
> set--see zic m x86_64 Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GenuineIntel 
> GNU/Linux
> 
> 
> ...but I've already run...
> 
> [i3][root][~] emerge --config sys-libs/timezone-data
> 
> Configuring pkg...
> 
>  * Updating /etc/localtime with /usr/share/zoneinfo/Canada/Eastern

The new link is /etc/timezone, not /etc/localtime. I would think if you
renamed it that problem will go away?

> 
> 3) The new machine is not co-operating with my hardware KVM switch.  If
> I select the machine while it's booting up, it works fine.  But if I
> switch away and come back, the VGA video does not work.  I've confirmed
> that the keyboard part of KVM still works...
> * boot up with new machine selected
> * log in as root in text console mode
> * switch away
> * switch back, and there's no video
> * but if I blindly type "poweroff", it shuts down, so keyboard works
> 
>   Ugly hack...  The new machine has VGA and HDMI ports.  My monitor has
> VGA (which the KVM switch uses) and HDMI (and DVI and Displayport?).  I
> can add one more cable to the "rat's nest" under the table.  But
> switching between machines will also require toggling the monitor as
> well as the KVM.

Try building KMS support (and the Intel driver if you haven't) in the
kernel and report back.

> 
> 4) media-libs/x265 took 68 minutes to build on a relatively new 4-core
> Intel Silvermont with 8 gigs of RAM, and X was not running!  Time output
> 
> real68m48.122s
> user87m52.139s
> sys 0m25.027s
> 
>   It got stuck at a few times building "deblock"...
> 
> [ 98%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.o cd 
> /var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source-abi_x86_64.amd64-main10/common
>  && /usr/bin/x86_64-pc-linux-gnu-g++  -DEXPORT_C_API=0 -DHAVE_INT_TYPES_H=1 
> -DHIGH_BIT_DEPTH=1 -DX265_ARCH_X86=1 -DX265_DEPTH=10 -DX265_NS=x265_10bit 
> -DX86_64=1 -D__STDC_LIMIT_MACROS=1 
> -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/.  
> -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/common 
> -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/encoder 
> -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source-abi_x86_64.amd64-main10
>  -DNDEBUG -O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe 
> -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC-Wall -Wextra 
> -Wshadow -fPIC -Wno-array-bounds -ffast-math -mstackrealign -fno-exceptions 
> -o CMakeFiles/common.dir/deblock.cpp.o -c 
> /var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/common/deblock.cpp
> 
>   When I say "stuck", I mean that "top" shows yasm pegging one core at 100%
> 
>   PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
>  3520 portage   20   0  178920 171848   2032 R 100.0  2.1  24:48.70 yasm
>  3749 waltdnes  20   0   21808   2824   2340 R   0.7  0.0   0:03.54 top
> 1 root  20   04188   1564   1460 S   0.0  0.0   0:00.37 init
> 2 root  20   0   0  0  0 S   0.0  0.0   0:00.00 kthreadd
> 
> 

I haven't tried compiling this one so I can't comment on it.


Dan




Re: [gentoo-user] Wastebin or trash?

2016-09-09 Thread Peter Humphrey
On Thursday 08 Sep 2016 21:52:19 Mick wrote:
> On Thursday 08 Sep 2016 09:07:50 Peter Humphrey wrote:
> > Sorry gents, but this has nothing to do with IMAP: the phenomenon is
> > purely internal to KMail. Besides, I only have POP3 accounts (which I
> > suppose I could have said before but it didn't seem significant).
> 
> Ahh!  POP3 is just a bucket of messages.  It does not have a concept of
> mailboxes/folders (not on the server anyway).  Local folders and messages
> being dropped into them is a manual exercise by the user, or achieved by
> client filters.  None of this is duplicated on the server.
> 
> When you download a message and mark it for deletion, it is not not
> deleted until the server enters the UPDATE stage, when the client quits. 
> The POP3 server does not move the deleted message anywhere, in another
> mailbox and it will not mirror any moves of messages into local folders
> on the client.

Yes, of course I know all that. It's why I see the problem lying at KMail's 
door.

> > Alan is closest: it's a matter of string contents somewhere in the KMail
> > code. I just don't know whereabouts - nor do I want to fiddle around in
> > the guts of the program, which is quite fragile enough already. One
> > thing is being defined twice, or else it's defined once and only called
> > in one of the two places where it should be, the other being hard
> > coded.
> > 
> > I've noticed both "trash" and "Wastebin" being used at different times
> > over the last year, which hints at instability of program design and
> > development management systems.
> 
> Interestingly, my "Local Folders" contains a "trash" folder.  I don't use
> local folders (all my accounts are IMAP4) so I haven't paid attention to
> this trash folder, or its name.  I recall though that sometimes deleted
> messages end up there, if the IMAP account is offline when I happened to
> delete the message.  From my failing memory I can attest this local
> folder has been always called "trash", but I could well be mistaken.

I wonder now whether it was worth starting this thread at all.  :P

-- 
Rgds
Peter