Re: [gentoo-user] New Installation

2017-02-04 Thread Dale
the...@sys-concept.com wrote:
>
> I change in make.conf to: 
> USE="bindist"
>
> and I was able to install basic system correctly, network is working and I 
> can proceed with castomazation but 
> my next question: What is the correct way to configure "USE=" in make.conf?
>
> When I use a below: (copied from my other systems):
>
> USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl 
> foomaticdb truetype kpathsea ppds mysql udev tiff png usb scanner gimp 
> gimpprint cgi fam nptl type1 opengl tetexspell consolkit dbus pam policykit 
> jpeg lock session startup-notification thunar cleartype corefonts -systemd 
> -DOPENSSL_NO_HEARTBEATS abi_x86_32"
>
> PS. I think "dbus" is no longer used, isn't it?
>  <<< SNIP >>>
> --
> Thelma
>
>


Ask anyone, I'm different on the way I do USE flags, or I feel that
way.  If I have a flag that I want enabled/disabled on basically
everything that uses that flag, it goes in make.conf.  If I have a USE
flag that I may need for just a few packages, or a single package, I put
it in package.use.  As a example.  The kde USE flag.  Since I run mostly
KDE and want any packages I build to work with KDE, it goes in
make.conf.  To go with the other direction on this.  qt4 and qt5.  Some
packages work or look better with one or the other.  For those
exceptions, I use package.use to set those.  Since emerge reads
package.use last, those setting apply. 

Basically, make.conf is the rule for USE flags.  Package.use is for
exceptions to that rule. 

As usual, do what makes the most sense to you.  I post this just in case
this way may make sense, not that much of anything I do makes sense to
anyone else.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] A new gentoo ... how to check before delete the old one?

2017-02-04 Thread J. Roeleveld
On February 5, 2017 6:26:27 AM GMT+01:00, meino.cra...@gmx.de wrote:
>Hi,
>
>since my old Gentoo installation seems to be screwed up (regarding
>the update process) beyond repair I decided to install a new one
>instead of waiting for help.
>
>I already made space at a certain of my harddisk and installed the
>stage3 there.
>Chrooting is one of the first steps to check, whether what I have
>done so is valid.
>
>But before deleting the old root and install the new one at its
>place I would like to do a atmost identical boot into the new
>root.
>
>As far as I know the kernel only allows to boot into a partition
>(instead of a directory on a partition containing the root
>installation) and I am still using devices to boot from instead
>of GPT.
>
>Is there any neat trick to do a real boot into the new root via
>the normal boot process (grub2) nevertheless ?
>
>Cheers
>Meino

If I understand correctly. The answer is no. (Unless you write some clever 
initramfs)

Afaik, the kernel takes the entire partition and mounts it at '/'. If you want 
it to use a directory (which would then be at '/newinstall') you need to get 
the kernel to chroot into that directory and run init in there.

Only option I see is to use an extra disk. Maybe a USB drive and use that.

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



Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 5, 2017 7:36:56 AM GMT+01:00, the...@sys-concept.com wrote:
>On 02/04/2017 12:20 PM, J. Roeleveld wrote:
>> On February 4, 2017 7:31:41 PM GMT+01:00, the...@sys-concept.com
>wrote:
>>>
>>> On 02/04/2017 04:28 AM, Neil Bothwick wrote:
 On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:

> emerge --sync gives me error:
> "/etc/portage/make.conf", line 11: Invalid variable name
> '-Wl,--hash-style'
>
> Line 11 in make.conf:
> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2
>>> ssl
> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb 
>>> scanner
> gimp gimpprint cgi fam nptl t$
>
> Here is complete make.conf
>
> CFLAGS="-march=native -O2 -pipe
>>>
>>> Yes, missing " at the end was the problem.
>>>
>>> However, I restarted from scratch and now even on a new installation
>>> I'm getting a lot of errors:
>>>
>>> Failed to emerge www-client/w3m-0.5.3-r9, Log file:
>>  '/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'
>>> *** Resuming merge...
>>> * emerge --keep-going: sys-auth/pambase-20150213 dropped because it
>>> requires
>>> * >=sys-auth/consolekit-0.4.6[pam]
>>> * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because
>it
>>> * requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3,
 =app-
>>> * text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)],
>>> sys-apps/dbus
>>> * emerge --keep-going: sys-auth/polkit-0.113 dropped because it
>>> requires
>>> * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
>>> * emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it
>>> requires
>>> *
>
>[snip]
>
>>> *  (gnome-extra/polkit-gnome-0.105-r1:0/0::gentoo, ebuild scheduled
>for
>>> merge)
>>> *  (x11-misc/xdg-utils-1.1.1-r1:0/0::gentoo, ebuild scheduled for
>>> merge)
>>> *  (app-text/ghostscript-gpl-9.15-r1:0/0::gentoo, ebuild scheduled
>for
>>> merge)
>>>
>>> This is new installation following gentoo hand-book on line :-/
>>>
>>> --
>>> Thelma
>> 
>> Please start with the default USE flags in your make.conf file.
>> Also use the standard/defauly profile. (If you want systemd, please
>select that the minimal systemd one)
>> 
>> Make sure you have an installation that can boot into a text console
>where you can login and have basic networking.
>> 
>> Then, change your profile if needed. If changed, do a rebuild using:
>> # emerge -auDN @world
>> 
>> After that, install anything else you need, keeping the list on the
>commandline managable.
>> 
>> Adjust USE flags as needed. Try to keep changing the global set (the
>one in your make.conf) to an absolute minimal. Mine only has 3 items. I
>kept the default, minus bindist.
>> 
>> --
>> Joost
>
>I change in make.conf to: 
>USE="bindist"
>
>and I was able to install basic system correctly, network is working
>and I can proceed with castomazation but 
>my next question: What is the correct way to configure "USE=" in
>make.conf?
>
>When I use a below: (copied from my other systems):
>
>USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl
>foomaticdb truetype kpathsea ppds mysql udev tiff png usb scanner gimp
>gimpprint cgi fam nptl type1 opengl tetexspell consolkit dbus pam
>policykit jpeg lock session startup-notification thunar cleartype
>corefonts -systemd -DOPENSSL_NO_HEARTBEATS abi_x86_32"
>
>PS. I think "dbus" is no longer used, isn't it?
> 
>I get a log of blockers and my file "package.use" starting to look like
>trash can with entries like:
>
># required by x11-libs/libxcb-1.12::gentoo
># required by x11-apps/xwininfo-1.1.3::gentoo
># required by x11-misc/xscreensaver-5.36::gentoo
># required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
># required by xfce-base/xfce4-meta-4.12::gentoo
># required by xfce-base/xfce4-meta (argument)
>>=x11-libs/libXau-1.0.8 abi_x86_32
># required by x11-libs/libxcb-1.12::gentoo
># required by x11-apps/xwininfo-1.1.3::gentoo
># required by x11-misc/xscreensaver-5.36::gentoo
># required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
># required by xfce-base/xfce4-meta-4.12::gentoo
># required by xfce-base/xfce4-meta (argument)
>>=dev-libs/libpthread-stubs-0.3-r1 abi_x86_32
>
>If I try to use my USE="-qt4 ... etc" and try to emerge:
>emerge --ask xfce-base/xfce4-meta
>
>I get tones of blockers and problem solving eg.:
>
>[blocks B  ] dev-util/pkgconf[pkg-config]
>("dev-util/pkgconf[pkg-config]" is blocking dev-util/pkgconfig-0.28-r2)
>[blocks B  ] media-libs/libjpeg-turbo:0
>("media-libs/libjpeg-turbo:0" is blocking media-libs/jpeg-8d-r1)
>[blocks B  ] media-libs/jpeg:0 ("media-libs/jpeg:0" is blocking
>media-libs/libjpeg-turbo-1.5.0)
>[blocks B  ] sys-fs/udev ("sys-fs/udev" is blocking
>sys-fs/eudev-3.1.5)
>[blocks B  ] dev-util/pkgconfig ("dev-util/pkgconfig" is blocking
>dev-util/pkgconf-0.9.12)
>
> * Error: The above package list contains packages which cannot be
> * installed at the same time on 

Re: [gentoo-user] New Installation

2017-02-04 Thread thelma
On 02/04/2017 12:20 PM, J. Roeleveld wrote:
> On February 4, 2017 7:31:41 PM GMT+01:00, the...@sys-concept.com wrote:
>>
>> On 02/04/2017 04:28 AM, Neil Bothwick wrote:
>>> On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:
>>>
 emerge --sync gives me error:
 "/etc/portage/make.conf", line 11: Invalid variable name
 '-Wl,--hash-style'

 Line 11 in make.conf:
 USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2
>> ssl
 foomaticdb truetype kpathsea ppds mysql udev java tiff png usb 
>> scanner
 gimp gimpprint cgi fam nptl t$

 Here is complete make.conf

 CFLAGS="-march=native -O2 -pipe
>>
>> Yes, missing " at the end was the problem.
>>
>> However, I restarted from scratch and now even on a new installation
>> I'm getting a lot of errors:
>>
>> Failed to emerge www-client/w3m-0.5.3-r9, Log file:
>  '/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'
>> *** Resuming merge...
>> * emerge --keep-going: sys-auth/pambase-20150213 dropped because it
>> requires
>> * >=sys-auth/consolekit-0.4.6[pam]
>> * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because it
>> * requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3,
>>> =app-
>> * text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)],
>> sys-apps/dbus
>> * emerge --keep-going: sys-auth/polkit-0.113 dropped because it
>> requires
>> * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
>> * emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it
>> requires
>> *

[snip]

>> *  (gnome-extra/polkit-gnome-0.105-r1:0/0::gentoo, ebuild scheduled for
>> merge)
>> *  (x11-misc/xdg-utils-1.1.1-r1:0/0::gentoo, ebuild scheduled for
>> merge)
>> *  (app-text/ghostscript-gpl-9.15-r1:0/0::gentoo, ebuild scheduled for
>> merge)
>>
>> This is new installation following gentoo hand-book on line :-/
>>
>> --
>> Thelma
> 
> Please start with the default USE flags in your make.conf file.
> Also use the standard/defauly profile. (If you want systemd, please select 
> that the minimal systemd one)
> 
> Make sure you have an installation that can boot into a text console where 
> you can login and have basic networking.
> 
> Then, change your profile if needed. If changed, do a rebuild using:
> # emerge -auDN @world
> 
> After that, install anything else you need, keeping the list on the 
> commandline managable.
> 
> Adjust USE flags as needed. Try to keep changing the global set (the one in 
> your make.conf) to an absolute minimal. Mine only has 3 items. I kept the 
> default, minus bindist.
> 
> --
> Joost

I change in make.conf to: 
USE="bindist"

and I was able to install basic system correctly, network is working and I can 
proceed with castomazation but 
my next question: What is the correct way to configure "USE=" in make.conf?

When I use a below: (copied from my other systems):

USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl foomaticdb 
truetype kpathsea ppds mysql udev tiff png usb scanner gimp gimpprint cgi fam 
nptl type1 opengl tetexspell consolkit dbus pam policykit jpeg lock session 
startup-notification thunar cleartype corefonts -systemd 
-DOPENSSL_NO_HEARTBEATS abi_x86_32"

PS. I think "dbus" is no longer used, isn't it?
 
I get a log of blockers and my file "package.use" starting to look like trash 
can with entries like:

# required by x11-libs/libxcb-1.12::gentoo
# required by x11-apps/xwininfo-1.1.3::gentoo
# required by x11-misc/xscreensaver-5.36::gentoo
# required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
# required by xfce-base/xfce4-meta-4.12::gentoo
# required by xfce-base/xfce4-meta (argument)
>=x11-libs/libXau-1.0.8 abi_x86_32
# required by x11-libs/libxcb-1.12::gentoo
# required by x11-apps/xwininfo-1.1.3::gentoo
# required by x11-misc/xscreensaver-5.36::gentoo
# required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
# required by xfce-base/xfce4-meta-4.12::gentoo
# required by xfce-base/xfce4-meta (argument)
>=dev-libs/libpthread-stubs-0.3-r1 abi_x86_32

If I try to use my USE="-qt4 ... etc" and try to emerge:
emerge --ask xfce-base/xfce4-meta

I get tones of blockers and problem solving eg.:

[blocks B  ] dev-util/pkgconf[pkg-config] ("dev-util/pkgconf[pkg-config]" 
is blocking dev-util/pkgconfig-0.28-r2)
[blocks B  ] media-libs/libjpeg-turbo:0 ("media-libs/libjpeg-turbo:0" is 
blocking media-libs/jpeg-8d-r1)
[blocks B  ] media-libs/jpeg:0 ("media-libs/jpeg:0" is blocking 
media-libs/libjpeg-turbo-1.5.0)
[blocks B  ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-3.1.5)
[blocks B  ] dev-util/pkgconfig ("dev-util/pkgconfig" is blocking 
dev-util/pkgconf-0.9.12)

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

  (dev-util/pkgconf-0.9.12:0/0::gentoo, ebuild scheduled for merge) pulled in by


Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Floyd Anderson

On Sat, 04 Feb 18:18:02 -0700
the...@sys-concept.com wrote:

I've tried to keep the asterisk-1.8.28.2 but the ebuild from "atic"
wouldn't even manifest. There was some security patch missing preventing
it from making manifest.
So more work for me upgrading to 11-ver.


Okay, I see your point.

Maybe FEATURES="buildpkg" and “emerge --usepkgonly ATOM” would help you 
in the future but not for packages living five years in the past because 
running eclean-pkg from time to time is recommended.


--
Best regards,
Floyd Anderson





Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Floyd Anderson

On Sat, 04 Feb 09:00:55 -0500
Fernando Rodriguez  wrote:
He needs to rebuild the package to get rid of the old library so he 
needs the old ebuild and mask newer versions.


I assumed that the OP just wanted to hold the status quo of that package 
for a while and no kind of rebuilds. But otherwise...


If you *must* keep this build try adding --exclude='net-misc/asterisk' 
to the emerge @preserved-rebuild command and […]


...it’s worth in conjunction with @preserved-rebuild in that case.

--
Best regards,
Floyd Anderson





[gentoo-user] A new gentoo ... how to check before delete the old one?

2017-02-04 Thread Meino . Cramer
Hi,

since my old Gentoo installation seems to be screwed up (regarding
the update process) beyond repair I decided to install a new one
instead of waiting for help.

I already made space at a certain of my harddisk and installed the
stage3 there.
Chrooting is one of the first steps to check, whether what I have
done so is valid.

But before deleting the old root and install the new one at its
place I would like to do a atmost identical boot into the new
root.

As far as I know the kernel only allows to boot into a partition
(instead of a directory on a partition containing the root
installation) and I am still using devices to boot from instead
of GPT.

Is there any neat trick to do a real boot into the new root via
the normal boot process (grub2) nevertheless ?

Cheers
Meino






Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread thelma
On 02/04/2017 07:00 AM, Fernando Rodriguez wrote:
> On Sat, Feb 04, 2017 at 07:12:01AM +0100, Floyd Anderson wrote:
>> On Fri, 03 Feb 18:34:22 -0700
>> the...@sys-concept.com wrote:
>>> I have an old version of asterisk-1.8.28.2 (it is no longer in portage).
>>> I want to keep this version, temporarily (till I have a chance to test a
>>> new one 11.25.1-ver.
>>
>> If you have the asterisk-ebuild (and all related files) still available, 
>> you could try to migrate it to a local overlay [1][2]. Otherwise, tell 
>> Portage you are handle this package yourself by adding it to:
>> /etc/portage/profile/package.provided
>>
>> This file can be used to hold a specific version — even the package is 
>> no longer in tree. But notice, this isn’t the whole truth as mentioned 
>> in [3]. Portage will not update listed packages unless another package 
>> requires a newer version of it.
> 
> I don't think package.provided will help in this case. He needs to
> rebuild the package to get rid of the old library so he needs the old
> ebuild and mask newer versions.
> 
> But linking against a new library version can also cause problems so he
> might as well update it. If you *must* keep this build try adding
> --exclude='net-misc/asterisk' to the emerge @preserved-rebuild command
> and the old libraries used by asterisk will be preserved until you get a
> chance to update it but all other packages will use the new versions.
> 
>>
>> Give it a try and invoke:
>> emerge --pretend --verbose net-misc/asterisk
>> to ensure if it’ll work as expected.
>>
>> References:
>>   [1] 
>> 
>>   [2] 
>>   [3] 
>>
>> -- 
>> Best regards,
>> Floyd Anderson

I've tried to keep the asterisk-1.8.28.2 but the ebuild from "atic"
wouldn't even manifest. There was some security patch missing preventing
it from making manifest.
So more work for me upgrading to 11-ver.

--
Thelma



Re: [gentoo-user] New Installation

2017-02-04 Thread Peter Humphrey
On Saturday 04 Feb 2017 23:28:37 Alan McKinnon wrote:
> On 04/02/2017 17:56, Peter Humphrey wrote:
> > On Saturday 04 Feb 2017 17:32:53 Alan McKinnon wrote:
> >> Modern kernels DO get nervous if they have no swap at all - it's used
> >> internally. So make a small amount of swap to make the kernel happy,
> >> say
> >> 64M or so. Yes, megs.
> >> 
> >> And if your machine sleeps to disk you will need swap large enough to
> >> store the memory image - it has to go somewhere and that is swap.
> >> 
> >> That's my advice. Now let the nay-sayers begin the argument
> > 
> > No argument from me, Alan. It isn't just the kernel that gets nervous -
> > I do too if I don't have any swap available. I have 32 GB and an 8 GB
> > swap, which I'm thinking of reducing (the swap, that is). My SSD is
> > only 256 GB and my boinc partition has filled up today, so I need to
> > recover some unused space.
> I'd be much more nervous about swap on SSD tbh.
> 
> I can't imagine that working well, by it's nature swap is write-heavy

Just as well that it's hardly ever used, then. :)

-- 
Regards
Peter




Re: [gentoo-user] New Installation

2017-02-04 Thread Dale
the...@sys-concept.com wrote:
>
> You might be correct, I'm reinstalling from fresh today so I'll put SWAP
> back.  Question, how much swap should I allocate?  Isn't the unwritten
> rule RAM * 2 so 32GB of swap partition? or RAM * 1.5
>
> --
> Thelma
>
>

This is like asking what brand of hard drive to buy.  Or what brand of
Mobo or even memory itself.  There is usually no right answer. 

I have 16GBs of memory.  I have 1GB of swap.  Sometimes I wish I had
more swap but for the most part, I wish I had more memory.  When it
starts using swap, this otherwise fast rig gets dead dog slow.  If I hit
ctrl F3 to switch to the desktop where Konsole is parked, it takes quite
a while to switch.  So, I don't like it using any swap at all but it is
better than it killing processes to keep it chugging along. 

The best advice, take past experience from how you use your system and
what you do with it and use that, maybe even add just a small amount to
be safe.  If you've never had a system use swap with the amount of
memory you have, have a small swap, for just in case.  If you have ran
into situations where you have had to use swap because you don't have
enough memory, may want to make swap bigger. 

On Alan's advice, keep in mind, Alan manages and deals with tons of
servers.  He's likely seen some strange setups that either are overdone
or underdone and learned from it.  One can learn a lot from overkill and
underkill.  As with anything, you don't want to waste space with to much
swap but if it comes to it, you want enough to keep you from crashing. 

How's that for advice?  lol 

Dale

:-)  :-) 



Re: [gentoo-user] New Installation

2017-02-04 Thread Bill Kenworthy
On 05/02/17 00:12, Rich Freeman wrote:
> On Sat, Feb 4, 2017 at 10:32 AM, Alan McKinnon  
> wrote:
>>
>> Size of swap is the classic cargo-cult question,
> 
> ++
> 
>>
>> Modern kernels DO get nervous if they have no swap at all - it's used
>> internally. So make a small amount of swap to make the kernel happy, say
>> 64M or so. Yes, megs.
>>
> 
> So, uh, I'd be interested in some kind of citation for this, mainly
> because it also sounds a bit like cargo cult advice.  :)
> 
> What exactly doesn't work without swap, because I've been running
> without it for years?
> 

The original 2x size was because very old unix systems when they crash
dumped use swap as the crash device.  Further a crash dump back then
included a 1 to 1 dump of ram, hence the size.  A Solaris web page I
just looked at mentions swap as the "dump device".  Not sure when if
ever this applied to Linux in that context.

Things where you need a lot of swap:
hibernate if you use the swap device to hibernate - you need enough room
for your normal swap content and the image

Graphics - holding very large images in ram

special cases

I am currently using SSD's for swap (MS surface 4, intel ssd's and
samsung ssd's) as well as an apple air for 2 years I no longer use.

My oldest was used for ceph for 12 months before re-purposing as a
server OS, swap and bcache - performance was average and best you could
say was it was faster than spinning rust.

Current I have two systems with a OS+swap on one ssd and a btrfs raid10
on bcache on ssd - one backed with 4xDW reds, and the other with 4x WD
greens.

No failures yet - the majority of the HDD drives were part of LVM
volumes in the past and the current systems have "evolved" rather than
being bought for a carefully planned system.

I dont think that SSD age is really relevant for modern uses (though in
bulk buys I seen quite high early failure rates but that settled down
quickly.

I currently use:
vm.swappiness=1
vm.vfs_cache_pressure=50

and

olympus ~ # free -h
  totalusedfree  shared  buff/cache
available
Mem:31G 30G549M216K285M
  609M
Swap:   23G 16G8.0G
olympus ~ #






Re: [gentoo-user] Re: Gentoo on a Surface Pro 3?

2017-02-04 Thread Daniel Frey
On 02/01/2017 01:34 PM, Alex Thorne wrote:
> While I haven't tried this I would be very interested to hear how it
> goes, what hardware you can get working etc. Do keep us updated.
> 

An update...

After a lot of experimenting, rebuilding kernels, figuring out what's
needed and not... this took a few days, I have it working somewhat.

I am using gentoo-sources-4.9.6-r1 for this test. I did a lot of
experimenting to see what's needed for the tablet only (not the dock,
for example.) I've managed to trim the kernel down a fair bit removing
drivers that are not needed.

This is what I have working so far without tweaks on plasma and systemd
(only installing userland packages and configuring the kernel. After two
days I found a starter .config with could've made things SO MUCH EASIER.
Oh well.):

-standard AHCI controller
-Displayport port on tablet
-Sound
  -Speakers work fine
  -Headphones work (speakers on tablet automute)
  -Microphone works (used audacity to record my voice)
-MicroSD slot (I didn't even know it HAD one until I read the specs!
  (it's well hidden under the kickstand)
-Power button (pops up plasma's logout/shutdown/restart dialog)
-Windows button on the front of the tablet (opens K menu)
-Volume buttons on the side of the tablet
-Both front and rear webcams (tested using Kamoso)
-USB3 port (a given, really...)
-Wifi (using mwifiex_pcie)
-Bluetooth
-Touch screen
  -Finger touch works, no multitouch though
  -Pen works on display, and taps will do a left-click
  -Buttons on pen do not seem to work. It will pair with Bluetooth
   but x11 doesn't seem to register an input device.
-Screen brightness is directly supported (intel_backlight), can change
 the display by using /sys/class/backlight/intel_backlight/brightness or
 by using KDE's brightness slider in the Power applet in the tray
-Battery is detected and showing power levels
-Type cover (this worked with no patches in 4.9.6-r1)
  -Keyboard section works normally
  -Trackpad works, but doesn't seem to recognize multitouch
-Closing the lid appears to put plasma to sleep. Opening the lid wakes
 the tablet and asks for password

Some things to maybe figure out:

-Type cover touchpad multitouch
-Touch screen multitouch
-Pen bluetooth pairing for the buttons
-Proper HiDPI detection (used /etc/sddm.conf but when using an external
 display it was all messed up. However, my monitor is very old and
 doesn't support EDID properly which may be the problem.) On occasion,
 when the lock screen comes on, it doesn't detect the display correctly
 when woken up and scales it incorrectly.

I must say, out of the box it actually works reasonably well. I skipped
the distcc setup - I knew that the i7 has overheat problems in these
tablets but I have the i5 version and it has been working fine with no
overheating problems.

I also borrowed a dock from work so I plan to tweak the kernel some more
to see if I can get the USB3 and USB2 ports working, as well as the
displayport and headphone jack.

Other things of note: I found out through the Mint kernel that it can
register the sensors in the device, under Industrial IO setup. However,
there doesn't seem to be anything in userland that can use this sensor
to automatically rotate the display.

I have taken tons of notes through this process. Maybe I should start a
wiki article...

Dan




Re: [gentoo-user] New Installation

2017-02-04 Thread Alan McKinnon
On 04/02/2017 17:56, Peter Humphrey wrote:
> On Saturday 04 Feb 2017 17:32:53 Alan McKinnon wrote:
> 
>> Modern kernels DO get nervous if they have no swap at all - it's used
>> internally. So make a small amount of swap to make the kernel happy, say
>> 64M or so. Yes, megs.
>>
>> And if your machine sleeps to disk you will need swap large enough to
>> store the memory image - it has to go somewhere and that is swap.
>>
>> That's my advice. Now let the nay-sayers begin the argument
> 
> No argument from me, Alan. It isn't just the kernel that gets nervous - I do 
> too if I don't have any swap available. I have 32 GB and an 8 GB swap, which 
> I'm thinking of reducing (the swap, that is). My SSD is only 256 GB and my 
> boinc partition has filled up today, so I need to recover some unused space.
> 


I'd be much more nervous about swap on SSD tbh.

I can't imagine that working well, by it's nature swap is write-heavy

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] xorg-server / apache

2017-02-04 Thread Alan McKinnon
On 04/02/2017 20:25, the...@sys-concept.com wrote:
> I'm having two problems:
> 
> 1.) x11-base/xorg-server:0
> 
>   (x11-base/xorg-server-1.18.4:0/1.18.4::gentoo, ebuild scheduled for
> merge) pulled in by
> >=x11-base/xorg-server-1.18[udev] required by
> (x11-drivers/xf86-input-evdev-2.10.3:0/0::gentoo, ebuild scheduled for
> merge)
> ^^ 
> 
> 
> 
>   (x11-base/xorg-server-1.17.4:0/1.17.4::gentoo, installed) pulled in by
>  (x11-drivers/nvidia-drivers-340.93-r1:0/340::gentoo, installed)
> 
> Do I need: 11-drivers/xf86-input-evdev?


Yes. See Neil's reply.
Even better, unmerge it and observe the proof that you need it.

The above is not an error, it's just portage telling you why it's not
upgrading the Xserver to the latest version - you also want
nvidia-drivers. Portage will select versions of xorg-server and the
drivers that satisfy nvidia-drivers' constraints

> 
> 
> 2.) I'm trying temporary block apache-2.4
> so in /etc/portage/package.mask I put:
>> =www-servers/apache-2.4
> 
> but I get:
> The following mask changes are necessary to proceed:
>  (see "package.unmask" in the portage(5) man page for more details)
> # required by app-eselect/eselect-php-0.9.1::gentoo
> # required by dev-lang/php-5.6.30::gentoo
> # required by net-analyzer/nagios-core-4.2.4::gentoo[apache2,web]
> # required by net-analyzer/nagios-4.2.4::gentoo
> # required by @selected
> # required by @world (argument)
> # /etc/portage/package.mask:
> =www-servers/apache-2.4.25
> 
> Do I need to block php-5.6.30  nagios-core-4.2.4  nagios-4.2.4 as well?
> 

You obviously want nagios as it seems to be in your world file.

Mask nagios-4.2.4 if you want, but that will cause a problem as it's the
only nagios version in the tree. Do you have an overlay enabled that
provides nagios-3?


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] New Installation

2017-02-04 Thread Alan McKinnon
On 04/02/2017 18:12, Rich Freeman wrote:
> On Sat, Feb 4, 2017 at 10:32 AM, Alan McKinnon  
> wrote:
>>
>> Size of swap is the classic cargo-cult question,
> 
> ++
> 
>>
>> Modern kernels DO get nervous if they have no swap at all - it's used
>> internally. So make a small amount of swap to make the kernel happy, say
>> 64M or so. Yes, megs.
>>
> 
> So, uh, I'd be interested in some kind of citation for this, mainly
> because it also sounds a bit like cargo cult advice.  :)

hehe, clever. I saw what you did there :-)

You can cite me, and my own observations on my and my employers'
machines - I routinely add a 64M swap partition as a first cut and have
no problems with it so far. If a machine runs out of memory, I add more
(most work servers are VMs so adding more is trivial).

If that is ideal, or a good value, I have no idea as I wasn't writing a
research paper, rather finding an empirical value that worked

> What exactly doesn't work without swap, because I've been running
> without it for years?

I really should revisit this topic with current kernels, my fiddling was
done some time ago and things may well have changed.

I recall getting some error that only having a small swap fixed. Lousy
answer, I know, so if anyone has real current facts, I'm all ears.

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] xorg-server / apache

2017-02-04 Thread Neil Bothwick
On Sat, 4 Feb 2017 12:31:03 -0700, the...@sys-concept.com wrote:

> and "x11-drivers/xf86-input-evdev" this is just a generic driver; might
> not need it either.

It's the generic keyboard and mouse driver. I'd make sure I had SSH
access before unmerging that one!


-- 
Neil Bothwick

NOTE: In order to control energy costs the light at the end
of the tunnel has been shut off until further notice...


pgpaEjHQ5sAjd.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] xorg-server / apache

2017-02-04 Thread thelma
On 02/04/2017 11:37 AM, Michael Orlitzky wrote:
> On 02/04/2017 01:25 PM, the...@sys-concept.com wrote:
>>
>> Do I need to block php-5.6.30  nagios-core-4.2.4  nagios-4.2.4 as well?
>>
> 
> You probably don't nee to mask PHP, but you will need to mask
> nagios-4.x. Be warned, though: as soon as some unrelated package gets a
> keyword update, nagios-3.x will be removed due to old security issues.
> Afterwards you'll need to update to nagios-4.x, which requires apache-2.4.x.

I think I've solved this one.
I unmerge "nagios" (don't need it).
and "x11-drivers/xf86-input-evdev" this is just a generic driver; might
not need it either.

--
Thelma



Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 4, 2017 7:31:41 PM GMT+01:00, the...@sys-concept.com wrote:
>
>On 02/04/2017 04:28 AM, Neil Bothwick wrote:
>> On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:
>> 
>>> emerge --sync gives me error:
>>> "/etc/portage/make.conf", line 11: Invalid variable name
>>> '-Wl,--hash-style'
>>>
>>> Line 11 in make.conf:
>>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2
>ssl
>>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb 
>scanner
>>> gimp gimpprint cgi fam nptl t$
>>>
>>> Here is complete make.conf
>>>
>>> CFLAGS="-march=native -O2 -pipe
>
>Yes, missing " at the end was the problem.
>
>However, I restarted from scratch and now even on a new installation
>I'm getting a lot of errors:
>
>Failed to emerge www-client/w3m-0.5.3-r9, Log file:
  '/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'
>*** Resuming merge...
>* emerge --keep-going: sys-auth/pambase-20150213 dropped because it
>requires
> * >=sys-auth/consolekit-0.4.6[pam]
> * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because it
>* requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3,
>>=app-
>* text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)],
>sys-apps/dbus
>* emerge --keep-going: sys-auth/polkit-0.113 dropped because it
>requires
> * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
>* emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it
>requires
>*
>~dev-qt/qtgui-4.8.6[accessibility,-aqua,-debug,qt3support,abi_x86_64(-)]
> * emerge --keep-going: sys-auth/consolekit-1.1.0-r1 dropped because it
> * requires >=sys-auth/polkit-0.110, sys-apps/dbus
>* emerge --keep-going: net-print/cups-2.1.4 dropped because it requires
> * x11-misc/xdg-utils, >=net-print/cups-filters-1.0.43, >=sys-
> * apps/dbus-1.6.18-r1[abi_x86_64(-)]
>* emerge --keep-going: app-text/poppler-0.45.0 dropped because it
>requires
> * dev-qt/qtgui:4
> * emerge --keep-going: virtual/w3m-0 dropped because it requires www-
> * client/w3m
>* emerge --keep-going: x11-libs/gtk+-3.20.9 dropped because it requires
> * >=net-print/cups-1.2[abi_x86_64(-)], >=app-accessibility/at-
> * spi2-atk-2.5.3[abi_x86_64(-)]
>* emerge --keep-going: dev-qt/qtgui-4.8.6-r4 dropped because it
>requires net-
> * print/cups[abi_x86_64(-)], ~dev-
> * qt/qt3support-4.8.6[-aqua,-debug,abi_x86_64(-)]
>* emerge --keep-going: sys-apps/dbus-1.10.12 dropped because it
>requires app-
> * text/xmlto
>* emerge --keep-going: app-accessibility/at-spi2-core-2.20.2 dropped
>because
> * it requires >=sys-apps/dbus-1[abi_x86_64(-)]
>* emerge --keep-going: app-text/xmlto-0.0.26-r1 dropped because it
>requires
> * virtual/w3m
>* emerge --keep-going: app-accessibility/at-spi2-atk-2.20.1 dropped
>because
>* it requires >=sys-apps/dbus-1.5[abi_x86_64(-)],
>>=app-accessibility/at-
> * spi2-core-2.17.90[abi_x86_64(-)]
>* emerge --keep-going: gnome-extra/polkit-gnome-0.105-r1 dropped
>because it
> * requires x11-libs/gtk+:3, >=sys-auth/polkit-0.102
> * emerge --keep-going: x11-misc/xdg-utils-1.1.1-r1 dropped because it
> * requires >=app-text/xmlto-0.0.26-r1[text(+)]
>* emerge --keep-going: app-text/ghostscript-gpl-9.15-r1 dropped because
>it
> * requires x11-libs/gtk+:3, >=net-print/cups-1.3.8, sys-apps/dbus
>
> * Messages for package www-client/w3m-0.5.3-r9:
>
> * ERROR: www-client/w3m-0.5.3-r9::gentoo failed (compile phase):
> *   emake failed
> * 
>* If you need support, post the output of `emerge --info
>'=www-client/w3m-0.5.3-r9::gentoo'`,
>* the complete build log and the output of `emerge -pqv
>'=www-client/w3m-0.5.3-r9::gentoo'`.
>* The complete build log is located at
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'.
>* The ebuild environment file is located at
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/environment'.
>* Working directory:
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/work/w3m-0.5.3.git20161120'
>* S:
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/work/w3m-0.5.3.git20161120'
>
> * Messages for package sys-auth/pambase-20150213:
>
>* emerge --keep-going: sys-auth/pambase-20150213 dropped because it
>requires
> * >=sys-auth/consolekit-0.4.6[pam]
>
> * Messages for package net-print/cups-filters-1.5.0:
>
> * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because it
>* requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3,
>>=app-
>* text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)],
>sys-apps/dbus
>
> * Messages for package sys-auth/polkit-0.113:
>
>* emerge --keep-going: sys-auth/polkit-0.113 dropped because it
>requires
> * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
>
> * Messages for package dev-qt/qt3support-4.8.6-r1:
>
>* emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it
>requires
>*
>~dev-qt/qtgui-4.8.6[accessibility,-aqua,-debug,qt3support,abi_x86_64(-)]
>
> * Messages for package sys-auth/consolekit-1.1.0-r1:
>
> * emerge --keep-going: sys-auth/consolekit-1.1.0-r1 dropped because it
> * requires 

Re: [gentoo-user] xorg-server / apache

2017-02-04 Thread Michael Orlitzky
On 02/04/2017 01:25 PM, the...@sys-concept.com wrote:
> 
> Do I need to block php-5.6.30  nagios-core-4.2.4  nagios-4.2.4 as well?
> 

You probably don't nee to mask PHP, but you will need to mask
nagios-4.x. Be warned, though: as soon as some unrelated package gets a
keyword update, nagios-3.x will be removed due to old security issues.
Afterwards you'll need to update to nagios-4.x, which requires apache-2.4.x.





Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Stefano Crocco
On Saturday, 4 February 2017 09:10:22 CET Daniel Frey wrote:
> On 02/02/2017 12:28 AM, Stefano Crocco wrote:
> > Hello to everyone,
> > I need to buy a new laptop and I'd like some advice. Currently, I'm
> > thinking of buying an ASUS UX310UA-GL547T. Has anyone tried running
> > Gentoo on it? If so, how did it go? A Google search only lead me to a
> > page hinting it should work with linux, but didn't give any detail.
> > 
> > Alternatively, which other model would you suggest with similar
> > specifications? The ASUS UX310UA-GL547T has the following characteristics:
> > 
> > Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> > CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> > RAM: 4 GB DDR4
> > Max RAM: 16 GB
> > Video Card: Intel® HD Graphics 620
> > Video OUT: HDMI
> > Hard Disk: 500 GB SATA 5400 rpm
> > Wireless: WiFi 802.11n (a/c)
> > Intel® Wireless Display (WiDi)
> > Bluetooth: Bluetooth 4.1
> > USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> > Card Reader: SD/MMC
> > Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> > 
> > The price should be less than 800€/$.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> If they have it in store you can ask if you can boot linux on a USB-key.
> I asked my local store and they let me try it on the display model. Your
> mileage may vary though.
> 
> Dan

A good suggestion which didn't occur to me. Unfortunately, they didn't have 
any in store so I couldn't have asked them in any case.

Stefano



Re: [gentoo-user] New Installation

2017-02-04 Thread thelma

On 02/04/2017 04:28 AM, Neil Bothwick wrote:
> On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:
> 
>> emerge --sync gives me error:
>> "/etc/portage/make.conf", line 11: Invalid variable name
>> '-Wl,--hash-style'
>>
>> Line 11 in make.conf:
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>> gimp gimpprint cgi fam nptl t$
>>
>> Here is complete make.conf
>>
>> CFLAGS="-march=native -O2 -pipe

Yes, missing " at the end was the problem.

However, I restarted from scratch and now even on a new installation I'm 
getting a lot of errors:

Failed to emerge www-client/w3m-0.5.3-r9, Log file:
>>>  '/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'
*** Resuming merge...
 * emerge --keep-going: sys-auth/pambase-20150213 dropped because it requires
 * >=sys-auth/consolekit-0.4.6[pam]
 * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because it
 * requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3, >=app-
 * text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)], sys-apps/dbus
 * emerge --keep-going: sys-auth/polkit-0.113 dropped because it requires
 * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
 * emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it requires
 * ~dev-qt/qtgui-4.8.6[accessibility,-aqua,-debug,qt3support,abi_x86_64(-)]
 * emerge --keep-going: sys-auth/consolekit-1.1.0-r1 dropped because it
 * requires >=sys-auth/polkit-0.110, sys-apps/dbus
 * emerge --keep-going: net-print/cups-2.1.4 dropped because it requires
 * x11-misc/xdg-utils, >=net-print/cups-filters-1.0.43, >=sys-
 * apps/dbus-1.6.18-r1[abi_x86_64(-)]
 * emerge --keep-going: app-text/poppler-0.45.0 dropped because it requires
 * dev-qt/qtgui:4
 * emerge --keep-going: virtual/w3m-0 dropped because it requires www-
 * client/w3m
 * emerge --keep-going: x11-libs/gtk+-3.20.9 dropped because it requires
 * >=net-print/cups-1.2[abi_x86_64(-)], >=app-accessibility/at-
 * spi2-atk-2.5.3[abi_x86_64(-)]
 * emerge --keep-going: dev-qt/qtgui-4.8.6-r4 dropped because it requires net-
 * print/cups[abi_x86_64(-)], ~dev-
 * qt/qt3support-4.8.6[-aqua,-debug,abi_x86_64(-)]
 * emerge --keep-going: sys-apps/dbus-1.10.12 dropped because it requires app-
 * text/xmlto
 * emerge --keep-going: app-accessibility/at-spi2-core-2.20.2 dropped because
 * it requires >=sys-apps/dbus-1[abi_x86_64(-)]
 * emerge --keep-going: app-text/xmlto-0.0.26-r1 dropped because it requires
 * virtual/w3m
 * emerge --keep-going: app-accessibility/at-spi2-atk-2.20.1 dropped because
 * it requires >=sys-apps/dbus-1.5[abi_x86_64(-)], >=app-accessibility/at-
 * spi2-core-2.17.90[abi_x86_64(-)]
 * emerge --keep-going: gnome-extra/polkit-gnome-0.105-r1 dropped because it
 * requires x11-libs/gtk+:3, >=sys-auth/polkit-0.102
 * emerge --keep-going: x11-misc/xdg-utils-1.1.1-r1 dropped because it
 * requires >=app-text/xmlto-0.0.26-r1[text(+)]
 * emerge --keep-going: app-text/ghostscript-gpl-9.15-r1 dropped because it
 * requires x11-libs/gtk+:3, >=net-print/cups-1.3.8, sys-apps/dbus

 * Messages for package www-client/w3m-0.5.3-r9:

 * ERROR: www-client/w3m-0.5.3-r9::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info 
'=www-client/w3m-0.5.3-r9::gentoo'`,
 * the complete build log and the output of `emerge -pqv 
'=www-client/w3m-0.5.3-r9::gentoo'`.
 * The complete build log is located at 
'/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/environment'.
 * Working directory: 
'/var/tmp/portage/www-client/w3m-0.5.3-r9/work/w3m-0.5.3.git20161120'
 * S: '/var/tmp/portage/www-client/w3m-0.5.3-r9/work/w3m-0.5.3.git20161120'

 * Messages for package sys-auth/pambase-20150213:

 * emerge --keep-going: sys-auth/pambase-20150213 dropped because it requires
 * >=sys-auth/consolekit-0.4.6[pam]

 * Messages for package net-print/cups-filters-1.5.0:

 * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because it
 * requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3, >=app-
 * text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)], sys-apps/dbus

 * Messages for package sys-auth/polkit-0.113:

 * emerge --keep-going: sys-auth/polkit-0.113 dropped because it requires
 * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]

 * Messages for package dev-qt/qt3support-4.8.6-r1:

 * emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it requires
 * ~dev-qt/qtgui-4.8.6[accessibility,-aqua,-debug,qt3support,abi_x86_64(-)]

 * Messages for package sys-auth/consolekit-1.1.0-r1:

 * emerge --keep-going: sys-auth/consolekit-1.1.0-r1 dropped because it
 * requires >=sys-auth/polkit-0.110, sys-apps/dbus

 * Messages for package net-print/cups-2.1.4:

 * emerge --keep-going: net-print/cups-2.1.4 dropped because it requires
 * 

[gentoo-user] xorg-server / apache

2017-02-04 Thread thelma
I'm having two problems:

1.) x11-base/xorg-server:0

  (x11-base/xorg-server-1.18.4:0/1.18.4::gentoo, ebuild scheduled for
merge) pulled in by
>=x11-base/xorg-server-1.18[udev] required by
(x11-drivers/xf86-input-evdev-2.10.3:0/0::gentoo, ebuild scheduled for
merge)
^^ 



  (x11-base/xorg-server-1.17.4:0/1.17.4::gentoo, installed) pulled in by
=www-servers/apache-2.4

but I get:
The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by app-eselect/eselect-php-0.9.1::gentoo
# required by dev-lang/php-5.6.30::gentoo
# required by net-analyzer/nagios-core-4.2.4::gentoo[apache2,web]
# required by net-analyzer/nagios-4.2.4::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
=www-servers/apache-2.4.25

Do I need to block php-5.6.30  nagios-core-4.2.4  nagios-4.2.4 as well?

-- 
Thelma



Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Daniel Frey
On 02/04/2017 06:25 AM, Fernando Rodriguez wrote:
> On Fri, Feb 03, 2017 at 05:38:59PM -0800, Daniel Frey wrote:
>> On 02/03/2017 05:34 PM, the...@sys-concept.com wrote:
>>> I have an old version of asterisk-1.8.28.2 (it is no longer in portage).
>>> I want to keep this version, temporarily (till I have a chance to test a
>>> new one 11.25.1-ver.
>>>
>>> I've removed (commented out) "net-misc/asterisk" from world file.
>>> But "emerge -a @preserved-rebuild" still wants to pull:
>>>
>>> net-misc/asterisk-11.25.1
>>>
>>> How do I prevent it?
>>>
>>
>> I don't think you can. It's telling you something that asterisk is
>> depending on has been upgraded and asterisk needs to be rebuilt in order
>> to work again. asterisk itself is in an inconsistent state and will most
>> likely not work at all.
> 
> No, it is telling you that a library that asterisk depends on was
> updated and portage preserved the old version to try to keep asterisk
> working until you rebuild it. It's possible that it's broken (if some
> files that the old library depends on where removed or changed) but
> that's unlikely.

Ugh, that's what I get for posting after a long day, thanks for the
correction.

Dan




Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Daniel Frey
On 02/02/2017 12:28 AM, Stefano Crocco wrote:
> Hello to everyone,
> I need to buy a new laptop and I'd like some advice. Currently, I'm thinking 
> of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If 
> so, how did it go? A Google search only lead me to a page hinting it should 
> work with linux, but didn't give any detail.
> 
> Alternatively, which other model would you suggest with similar 
> specifications? The ASUS UX310UA-GL547T has the following characteristics:
> 
> Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> RAM: 4 GB DDR4
> Max RAM: 16 GB
> Video Card: Intel® HD Graphics 620
> Video OUT: HDMI
> Hard Disk: 500 GB SATA 5400 rpm
> Wireless: WiFi 802.11n (a/c)
> Intel® Wireless Display (WiDi)
> Bluetooth: Bluetooth 4.1
> USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> Card Reader: SD/MMC
> Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> 
> The price should be less than 800€/$.
> 
> Thanks in advance
> 
> Stefano
> 
> 

If they have it in store you can ask if you can boot linux on a USB-key.
I asked my local store and they let me try it on the display model. Your
mileage may vary though.

Dan





Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread taii...@gmx.com

On 02/04/2017 06:20 AM, Stefano Crocco wrote:


On Thursday, 2 February 2017 09:28:05 CET Stefano Crocco wrote:

Hello to everyone,
I need to buy a new laptop and I'd like some advice. Currently, I'm thinking
of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If
so, how did it go? A Google search only lead me to a page hinting it should
work with linux, but didn't give any detail.

Alternatively, which other model would you suggest with similar
specifications? The ASUS UX310UA-GL547T has the following characteristics:

Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
RAM: 4 GB DDR4
Max RAM: 16 GB
Video Card: Intel® HD Graphics 620
Video OUT: HDMI
Hard Disk: 500 GB SATA 5400 rpm
Wireless: WiFi 802.11n (a/c)
Intel® Wireless Display (WiDi)
Bluetooth: Bluetooth 4.1
USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
Card Reader: SD/MMC
Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg

The price should be less than 800€/$.

Thanks in advance

Stefano


Thanks to everyone who answered. I've ordered the laptop and it should arrive
next week. I'll let you know how it goes.

Stefano
I am a little bit late but for future reference there are no wireless ac 
devices that have libre firmware, they all require blobs so do the USB 3 
ports on that laptop.

The intel wi-fi chips will never be freed either.

4GB RAM and a crappy 5.4K 500gb drive was pathetic - in 2010.

The best laptop choice is the lenovo G505S, which supports (real) 
coreboot, 16gb ram and is pre-AMD PSP (amds version of ME).




Re: [gentoo-user] New Installation

2017-02-04 Thread Rich Freeman
On Sat, Feb 4, 2017 at 10:32 AM, Alan McKinnon  wrote:
>
> Size of swap is the classic cargo-cult question,

++

>
> Modern kernels DO get nervous if they have no swap at all - it's used
> internally. So make a small amount of swap to make the kernel happy, say
> 64M or so. Yes, megs.
>

So, uh, I'd be interested in some kind of citation for this, mainly
because it also sounds a bit like cargo cult advice.  :)

What exactly doesn't work without swap, because I've been running
without it for years?

-- 
Rich



Re: [gentoo-user] New Installation

2017-02-04 Thread Peter Humphrey
On Saturday 04 Feb 2017 17:32:53 Alan McKinnon wrote:

> Modern kernels DO get nervous if they have no swap at all - it's used
> internally. So make a small amount of swap to make the kernel happy, say
> 64M or so. Yes, megs.
> 
> And if your machine sleeps to disk you will need swap large enough to
> store the memory image - it has to go somewhere and that is swap.
> 
> That's my advice. Now let the nay-sayers begin the argument

No argument from me, Alan. It isn't just the kernel that gets nervous - I do 
too if I don't have any swap available. I have 32 GB and an 8 GB swap, which 
I'm thinking of reducing (the swap, that is). My SSD is only 256 GB and my 
boinc partition has filled up today, so I need to recover some unused space.

-- 
Regards
Peter




Re: [gentoo-user] New Installation

2017-02-04 Thread Walter Dnes
On Sat, Feb 04, 2017 at 08:18:50AM -0700, the...@sys-concept.com wrote

> Question, how much swap should I allocate?  Isn't the unwritten
> rule RAM * 2 so 32GB of swap partition? or RAM * 1.5

  As others have pointed out, that's probably too much in today's
scenarios.  One minimum... if you ever intend to use suspend-to-disk,
you obviously need enough swap space to store the contents of RAM.  In
that case, RAM + 4 gigabytes should suffice.  Otherwise, 8 gigabytes
looks OK, unless it's a server that gets pounded on.

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



Re: [gentoo-user] New Installation

2017-02-04 Thread Alan McKinnon
On 04/02/2017 17:18, the...@sys-concept.com wrote:
> On 02/04/2017 01:20 AM, J. Roeleveld wrote:
>> On February 4, 2017 8:22:45 AM GMT+01:00, the...@sys-concept.com wrote:
>>> On 02/03/2017 11:19 PM, Dale wrote:
 the...@sys-concept.com wrote:
> I've not install Gentoo for some time and have some questions.
>
> It is Solid State Disk 1TB
> I'm using Minimal CD (Bootable USB)
> Created three partition (I did not create SWAP as I have 16GB or
>>> RAM)
> I used "fdisk" and follow the instruction from:
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
>
> Though, I'm a bit confused. I did not see the change root command in
> those instructions.
> Right now I have a prompt: "livecd ~ #"
>
> and all instruction on the installation page showing: "root #"
>
> I've created a user: "livecd ~ #useradd -m -G users john"
> Will it take effect I'm still inside "livecd" environment.
>
> I'm confused a bit.


 It's been a while since I did a install as well plus I'm old as well.
>>> I
 skimmed your link and don't think you should be creating a user at
>>> that
 point.  If I recall correctly, creating users is done shortly before
 rebooting into the new install or even after rebooting.  Usually, I
>>> do
 it after rebooting.  Generally, I'm more concerned with my new kernel
 booting etc rather than having a user account, besides root of
>>> course. 
 Do set the root password BEFORE booting into the new install.  It
>>> makes
 life easier.  ;-) 

 The chroot command usually comes shortly after downloading and
>>> unpacking
 the stage3 tarball.  Until you have that, you don't have anything to
 chroot into yet. 

 I might add, I like a all in one page guide.  For me, it seems easier
>>> to
 scroll down, do what is there, scroll down some more etc.  It being
>>> in
 sections may be easier for you tho.  Use what works.  Also, I read
>>> over
 the guide at least twice before I start.  The first time I did a
>>> Gentoo
 install, I read it half a dozen times in some spots. 

 Hope that helps.

 Dale

 :-)  :-) 
>>>
>>> Thanks Dale, that new installation is not going well.
>>> I've change the environment and my prompt is still: "(chroot) livecd
>>> /#"
>>>
>>> emerge --sync gives me error:
>>> "/etc/portage/make.conf", line 11: Invalid variable name
>>> '-Wl,--hash-style'
>>>
>>> Line 11 in make.conf:
>>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>>> gimp gimpprint cgi fam nptl t$
>>>
>>> Here is complete make.conf
>>>
>>> CFLAGS="-march=native -O2 -pipe
>>> CXXFLAGS="${CFLAGS}"
>>> #LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
>>> MAKEOPTS="-j9"
>>>
>>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>>> gimp gimpprint cgi fam nptl t$
>>>
>>> CHOST="x86_64-pc-linux-gnu"
>>> CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a "
>>>
>>> PORTDIR="/usr/portage"
>>> DISTDIR="${PORTDIR}/distfiles"
>>> PKGDIR="${PORTDIR}/packages"
>>>
>>> INPUT_DEVICES="evdev"
>>> LINGUAS="en"
>>> L10N="en"
>>> FEATURES="parallel-fetch strict fixlafiles"
>>> #VIDEO_CARDS="fglrx radeon"
>>> #VIDEO_CARDS="nvidia nouveau"
>>> #SANE_BACKENDS="epson2"
>>> #PHP_TARGETS="php5-5 php5-6"
>>> #PHP_INI_VERSION="production"
>>> ACCEPT_LICENSE="${ACCEPT_LICENSE} googleearth PUEL dlj-1.1
>>> Oracle-BCLA-JavaSE"
>>>
>>> EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y
>>> --jobs 3"
>>>
>>> GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>>> http://gentoo.osuosl.org/
>>> ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>>> http://linux.rz.ruhr-uni-b$
>>>
>>> PORTAGE_TMPDIR="/var/tmp"
>>> PORTAGE_TMPFS="/dev/shm"
>>> PORTAGE_NICENESS=3
>>> AUTOCLEAN="yes"
>>>
>>> Why isn't "emerge --sync" working?
>>> It seems to me the chroot did not work correctly.
>>>
>>> This new manual is not compete and/or accurate :-/
>>>
>>> --
>>> Thelma
>>
>> Please sanitize your make.conf file.
>> I am seeing some lines ending with $.
>> Not all lines have the closing quotes.
>>
>> Your global USE flags contain some that no longer exist (Dale's favourite 
>> "hal" being one of them :)  )
>>
>> Also, I have 32GB ram in my desktop and I do have a swap partition. When I 
>> am working, it does get used.
>> Software keeps using more memory. So do 27 cc jobs (jobs 9 for make and jobs 
>> 3 for emerge).
>>
>> I would re-condiser not using swap unless you are certain you will never 
>> need more than 16gb. (Eg. No graphical desktop running a few webbrowsers)
>>
>> --
>> Joost
> 
> You might be correct, I'm reinstalling from fresh today so I'll put SWAP
> back.  Question, how much swap should I allocate?  Isn't the unwritten
> rule RAM * 2 so 32GB of swap 

Re: [gentoo-user] New Installation

2017-02-04 Thread thelma
On 02/04/2017 04:28 AM, Neil Bothwick wrote:
> On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:
> 
>> emerge --sync gives me error:
>> "/etc/portage/make.conf", line 11: Invalid variable name
>> '-Wl,--hash-style'
>>
>> Line 11 in make.conf:
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>> gimp gimpprint cgi fam nptl t$
>>
>> Here is complete make.conf
>>
>> CFLAGS="-march=native -O2 -pipe
>> CXXFLAGS="${CFLAGS}"
>> #LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
>> MAKEOPTS="-j9"
>>
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>> gimp gimpprint cgi fam nptl t$
> 
> It reports line 11 because that's the end of the file, when the error
> becomes apparent. The actual error is the missing closing quote on
> CFLAGS.

Thanks Neil, yes somebody pointed out to me yesterday.  I guess I was
too in a rush yesterday trying to make it to work and during cut/past I
had missed this one.

--
Thelma




Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On Saturday, February 4, 2017 8:18:50 AM CET the...@sys-concept.com wrote:

> You might be correct, I'm reinstalling from fresh today so I'll put SWAP
> back.  Question, how much swap should I allocate?  Isn't the unwritten
> rule RAM * 2 so 32GB of swap partition? or RAM * 1.5

I wouldn't do that much. Immagine how much you need on a higher end server 
with 512MB :)

I have 32GB of ram.
8GB as swap.

--
Joost



Re: [gentoo-user] New Installation

2017-02-04 Thread thelma
On 02/04/2017 01:20 AM, J. Roeleveld wrote:
> On February 4, 2017 8:22:45 AM GMT+01:00, the...@sys-concept.com wrote:
>> On 02/03/2017 11:19 PM, Dale wrote:
>>> the...@sys-concept.com wrote:
 I've not install Gentoo for some time and have some questions.

 It is Solid State Disk 1TB
 I'm using Minimal CD (Bootable USB)
 Created three partition (I did not create SWAP as I have 16GB or
>> RAM)
 I used "fdisk" and follow the instruction from:
 https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks

 Though, I'm a bit confused. I did not see the change root command in
 those instructions.
 Right now I have a prompt: "livecd ~ #"

 and all instruction on the installation page showing: "root #"

 I've created a user: "livecd ~ #useradd -m -G users john"
 Will it take effect I'm still inside "livecd" environment.

 I'm confused a bit.
>>>
>>>
>>> It's been a while since I did a install as well plus I'm old as well.
>> I
>>> skimmed your link and don't think you should be creating a user at
>> that
>>> point.  If I recall correctly, creating users is done shortly before
>>> rebooting into the new install or even after rebooting.  Usually, I
>> do
>>> it after rebooting.  Generally, I'm more concerned with my new kernel
>>> booting etc rather than having a user account, besides root of
>> course. 
>>> Do set the root password BEFORE booting into the new install.  It
>> makes
>>> life easier.  ;-) 
>>>
>>> The chroot command usually comes shortly after downloading and
>> unpacking
>>> the stage3 tarball.  Until you have that, you don't have anything to
>>> chroot into yet. 
>>>
>>> I might add, I like a all in one page guide.  For me, it seems easier
>> to
>>> scroll down, do what is there, scroll down some more etc.  It being
>> in
>>> sections may be easier for you tho.  Use what works.  Also, I read
>> over
>>> the guide at least twice before I start.  The first time I did a
>> Gentoo
>>> install, I read it half a dozen times in some spots. 
>>>
>>> Hope that helps.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>
>> Thanks Dale, that new installation is not going well.
>> I've change the environment and my prompt is still: "(chroot) livecd
>> /#"
>>
>> emerge --sync gives me error:
>> "/etc/portage/make.conf", line 11: Invalid variable name
>> '-Wl,--hash-style'
>>
>> Line 11 in make.conf:
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>> gimp gimpprint cgi fam nptl t$
>>
>> Here is complete make.conf
>>
>> CFLAGS="-march=native -O2 -pipe
>> CXXFLAGS="${CFLAGS}"
>> #LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
>> MAKEOPTS="-j9"
>>
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>> gimp gimpprint cgi fam nptl t$
>>
>> CHOST="x86_64-pc-linux-gnu"
>> CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a "
>>
>> PORTDIR="/usr/portage"
>> DISTDIR="${PORTDIR}/distfiles"
>> PKGDIR="${PORTDIR}/packages"
>>
>> INPUT_DEVICES="evdev"
>> LINGUAS="en"
>> L10N="en"
>> FEATURES="parallel-fetch strict fixlafiles"
>> #VIDEO_CARDS="fglrx radeon"
>> #VIDEO_CARDS="nvidia nouveau"
>> #SANE_BACKENDS="epson2"
>> #PHP_TARGETS="php5-5 php5-6"
>> #PHP_INI_VERSION="production"
>> ACCEPT_LICENSE="${ACCEPT_LICENSE} googleearth PUEL dlj-1.1
>> Oracle-BCLA-JavaSE"
>>
>> EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y
>> --jobs 3"
>>
>> GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>> http://gentoo.osuosl.org/
>> ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>> http://linux.rz.ruhr-uni-b$
>>
>> PORTAGE_TMPDIR="/var/tmp"
>> PORTAGE_TMPFS="/dev/shm"
>> PORTAGE_NICENESS=3
>> AUTOCLEAN="yes"
>>
>> Why isn't "emerge --sync" working?
>> It seems to me the chroot did not work correctly.
>>
>> This new manual is not compete and/or accurate :-/
>>
>> --
>> Thelma
> 
> Please sanitize your make.conf file.
> I am seeing some lines ending with $.
> Not all lines have the closing quotes.
> 
> Your global USE flags contain some that no longer exist (Dale's favourite 
> "hal" being one of them :)  )
> 
> Also, I have 32GB ram in my desktop and I do have a swap partition. When I am 
> working, it does get used.
> Software keeps using more memory. So do 27 cc jobs (jobs 9 for make and jobs 
> 3 for emerge).
> 
> I would re-condiser not using swap unless you are certain you will never need 
> more than 16gb. (Eg. No graphical desktop running a few webbrowsers)
> 
> --
> Joost

You might be correct, I'm reinstalling from fresh today so I'll put SWAP
back.  Question, how much swap should I allocate?  Isn't the unwritten
rule RAM * 2 so 32GB of swap partition? or RAM * 1.5

--
Thelma



Re: [gentoo-user] New Installation

2017-02-04 Thread thelma
On 02/04/2017 01:33 AM, J. Roeleveld wrote:
[snip]
>> [snip]
>>
>> This is my make.conf
>> # These settings were set by the catalyst build script that
>> automatically
>> # built this stage.
>> # Please consult /usr/share/portage/config/make.conf.example for a more
>> # detailed example.
>>
>> CFLAGS="-march=native -O2 -pipe
>> CXXFLAGS="${CFLAGS}"
>> MAKEOPTS="-j9"
>>

[snip]
> 
> Check your CFLAGS line.
> 
> I am missing the quotation at the end there.
> 
> --
> Joost

Thank you for pointer, yes that might have been it.
As Mick suggested in next post. It was late; I'm upgrading old boxes
installing a Gentoo on a new one.  A bit too much in one day :-)

Need some rest.

--
Thelma




Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Fernando Rodriguez
On Fri, Feb 03, 2017 at 05:38:59PM -0800, Daniel Frey wrote:
> On 02/03/2017 05:34 PM, the...@sys-concept.com wrote:
> > I have an old version of asterisk-1.8.28.2 (it is no longer in portage).
> > I want to keep this version, temporarily (till I have a chance to test a
> > new one 11.25.1-ver.
> > 
> > I've removed (commented out) "net-misc/asterisk" from world file.
> > But "emerge -a @preserved-rebuild" still wants to pull:
> > 
> > net-misc/asterisk-11.25.1
> > 
> > How do I prevent it?
> > 
> 
> I don't think you can. It's telling you something that asterisk is
> depending on has been upgraded and asterisk needs to be rebuilt in order
> to work again. asterisk itself is in an inconsistent state and will most
> likely not work at all.

No, it is telling you that a library that asterisk depends on was
updated and portage preserved the old version to try to keep asterisk
working until you rebuild it. It's possible that it's broken (if some
files that the old library depends on where removed or changed) but
that's unlikely.

> 
> Dan
> 



Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Fernando Rodriguez
On Sat, Feb 04, 2017 at 07:12:01AM +0100, Floyd Anderson wrote:
> On Fri, 03 Feb 18:34:22 -0700
> the...@sys-concept.com wrote:
> >I have an old version of asterisk-1.8.28.2 (it is no longer in portage).
> >I want to keep this version, temporarily (till I have a chance to test a
> >new one 11.25.1-ver.
> 
> If you have the asterisk-ebuild (and all related files) still available, 
> you could try to migrate it to a local overlay [1][2]. Otherwise, tell 
> Portage you are handle this package yourself by adding it to:
> /etc/portage/profile/package.provided
> 
> This file can be used to hold a specific version — even the package is 
> no longer in tree. But notice, this isn’t the whole truth as mentioned 
> in [3]. Portage will not update listed packages unless another package 
> requires a newer version of it.

I don't think package.provided will help in this case. He needs to
rebuild the package to get rid of the old library so he needs the old
ebuild and mask newer versions.

But linking against a new library version can also cause problems so he
might as well update it. If you *must* keep this build try adding
--exclude='net-misc/asterisk' to the emerge @preserved-rebuild command
and the old libraries used by asterisk will be preserved until you get a
chance to update it but all other packages will use the new versions.

> 
> Give it a try and invoke:
> emerge --pretend --verbose net-misc/asterisk
> to ensure if it’ll work as expected.
> 
> References:
>   [1] 
> 
>   [2] 
>   [3] 
> 
> -- 
> Best regards,
> Floyd Anderson
> 
> 
> 



Re: [gentoo-user] Any fix yet for PTE Read access is not set error?

2017-02-04 Thread Peter Humphrey
On Saturday 04 Feb 2017 11:11:43 Mick wrote:
> On Saturday 04 Feb 2017 10:17:13 Peter Humphrey wrote:
> > On Friday 03 Feb 2017 19:40:53 Mick wrote:
> > > Peter, I recall a similar problem shown in the logs of an i7.   and
> > > all I
> > > did was to enable IOMMU in the kernel, just as a message in the logs
> > > recommended. From memory I built in the kernel something like
> > > CONFIG_INTEL_IOMMU_DEFAULT_ON as well as some Intel related 
IOMMU
> > > options. I did not pass any options on the kernel line at boot time. 
> > > The
> > > error messages stopped as a result.
> > 
> > $ grep -i iommu /usr/src/linux/.config
> > # CONFIG_GART_IOMMU is not set
> > CONFIG_CALGARY_IOMMU=y
> > CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
> > CONFIG_IOMMU_HELPER=y
> > CONFIG_IOMMU_API=y
> > CONFIG_IOMMU_SUPPORT=y
> > CONFIG_IOMMU_IOVA=y
> > # CONFIG_AMD_IOMMU is not set
> > CONFIG_INTEL_IOMMU=y
> > CONFIG_INTEL_IOMMU_SVM=y
> > CONFIG_INTEL_IOMMU_DEFAULT_ON=y
> > CONFIG_INTEL_IOMMU_FLOPPY_WA=y
> > # CONFIG_IOMMU_STRESS is not set
> > $
> > 
> > That looks all right to me, no?
> 
> The only difference is I have not set CONFIG_INTEL_IOMMU_SVM on my 
system.

Now I've just passed intel_iommu=off on the kernel command line. I'll see how 
that behaves; at least I don't get all those errors (warnings?) in dmesg.

-- 
Regards
Peter




Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Floyd Anderson

On Sat, 04 Feb 10:28:00 +
Neil Bothwick  wrote:

On Sat, 4 Feb 2017 07:12:01 +0100, Floyd Anderson wrote:


>I have an old version of asterisk-1.8.28.2 (it is no longer in
>portage). I want to keep this version, temporarily (till I have a
>chance to test a new one 11.25.1-ver.

If you have the asterisk-ebuild (and all related files) still
available, you could try to migrate it to a local overlay [1][2].
Otherwise, tell Portage you are handle this package yourself by adding
it to: /etc/portage/profile/package.provided


You should also add all newer versions to package.mask.

Yes, for sure. I forgot about that. Thanks to complete my suggestion. 
Something like: >net-misc/asterisk-1.8.28.2 in package.mask helps.


--
Best regards,
Floyd Anderson




Re: [gentoo-user] New Installation

2017-02-04 Thread Dale
Mick wrote:
> On Saturday 04 Feb 2017 10:25:14 Mick wrote:
>> On Saturday 04 Feb 2017 03:43:16 Dale wrote:
>>> J. Roeleveld wrote:
 Please sanitize your make.conf file.
 I am seeing some lines ending with $.
 Not all lines have the closing quotes.

 Your global USE flags contain some that no longer exist (Dale's
 favourite
 "hal" being one of them :)  )

 Also, I have 32GB ram in my desktop and I do have a swap partition. When
 I
 am working, it does get used. Software keeps using more memory. So do 27
 cc jobs (jobs 9 for make and jobs 3 for emerge).

 I would re-condiser not using swap unless you are certain you will never
 need more than 16gb. (Eg. No graphical desktop running a few
 webbrowsers)

 --
 Joost
>>> I have 16GBs here and it uses swap more than I like.  I set swapiness to
>>> like 10, 5 or some really low number and it still runs low and has to
>>> use it.  It's usually during updates too.  If LOo and a web browser like
>>> Seamonkey or Firefox updates at the same time, it gets ugly, quick.  I'm
>>> wanting to upgrade to 32GBs now.  I suspect before long, that won't be
>>> enough either.  Then comes a new mobo, new ram, new CPU etc etc.  Oh
>>> crap, new install, bad wiki.  o_O
>>>
>>> Even if I upgrade to 32GBs, I'd still have swap.  It may only be a few
>>> GBs but I'll still have some.
>>>
>>> Dale
>>>
>>> :-)  :-)
>> If the OP does not want to create a partition just for swap, a swap file
>> will do the same job.
> I forgot to mention, btrfs will not support swap files ... yet.  A different 
> fs type will be required in this case.


Yea, I've used that at times myself.  The biggest thing, don't run out
of memory and not have any swap.  Using swap is slow but it's better
than crashing.  I only have 1GB here.  At times, the swap file gets
added.  I should have made it bigger.  Live and learn.

Dale

:-)  :-) 



Re: [gentoo-user] [FAQ] How to recover from an unsuccessful build

2017-02-04 Thread Dale
Peter Humphrey wrote:
> On Saturday 04 Feb 2017 10:24:12 Neil Bothwick wrote:
>> On Sat, 04 Feb 2017 10:41:14 +0100, Helmut Jarausch wrote:
 emerge -n is the correct solution, although emerge -u may also work
 for
 you.
>>> Many thanks, Neil.
>>>
>>> Still, I don't see how this can help me in my situation.
>>>
>>> I'm trying to re-emerge packages which are already installed and where
>>> there isn't a new version in the tree (in most cases).
>>> So neither -u nor -n will do the job.
>> I see, you do want to rebuild everything, but only once. I have a script
>> that I use to rebuild everything only once, you could modify it to use
>> your list of files.
>>
>> #!/bin/bash
>>
>> EMERGE_ARGS="--oneshot --keep-going"
>>
>> usage() {
>>  echo -e "\nUsage: $(basename $0) [-f file] [-r category/package[-
> version]
>> [-h]" echo "-f re-emerge all packages older than this file"
>>  echo "-r re-emerge all packages older than this package"
>>  echo "-h Show this text"
>>  echo -e "\nAll other options are passed to the emerge command"
>>  echo -e "$*"
>>  exit
>>  }
>>
>> while getopts f:r:pvh ARG; do
>>  case "${ARG}" in
>>  f) REFFILE=${OPTARG} ;;
>>  r) REFFILE=$(ls -1 /var/db/pkg/${OPTARG}*/environment.bz2 | 
>> head -
> n 1)
>> ;; p) EMERGE_ARGS="${EMERGE_ARGS} --pretend" ;;
>>  v) EMERGE_ARGS="${EMERGE_ARGS} --verbose" ;;
>>  h) usage ;;
>>  esac
>>  done
>> shift $(expr ${OPTIND} - 1)
>>
>> [[ "${REFFILE}" ]] || usage "\nYou must specify a reference with -f or
>> -r\n" [[ -f ${REFFILE} ]] || usage "\n${REFFILE} not found\n"
>>
>> PKGLIST=$(mktemp -t mergeolderthan.)
>>
>>
>> find /var/db/pkg -name environment.bz2 ! -newer ${REFFILE} | sed -e
>> 's:/var/db/pkg/:=:' -e 's:/environment.bz2::' >|$PKGLIST
>>
>> cat ${PKGLIST} | xargs --no-run-if-empty emerge ${EMERGE_ARGS} && rm -i
>> ${PKGLIST}
> Not being much of a programmer nowadays, I just do this:
>
> $ alias emerj='sudo emerge --jobs=24 --load-average=48 --keep-going'
> $ emerj gcc && emerj glibc libtool
> $ emerj --exclude="gcc glibc libtool" system
> $ emerj --exclude="$(cat system.pkgs)" -e world
>
> ...in which I've previously listed the 43 packages installed by emerj system 
> in system.pkgs.
>


What I am about to mention is OLD.  Really OLD.  I used this script AGES
ago and it worked like a charm.  Others also used it.  I don't know if
it works or not with the current emerge.  I found the forum post on fgo. 

https://forums.gentoo.org/viewtopic-t-494331.html 

I'm posting in case it has some code that might interest you and be neat
to add to what you are currently doing.  It may be that one of you wants
to test this on something and see if it still works as is.  I'd be
cautious even tho it shouldn't do anything but rebuild stuff.   I don't
think it has any rm -rfv /* stuff in it.  :/ 

Y'all enjoy.  :-D

Dale

:-)  :-) 



Re: [gentoo-user] New Installation

2017-02-04 Thread Neil Bothwick
On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:

> emerge --sync gives me error:
> "/etc/portage/make.conf", line 11: Invalid variable name
> '-Wl,--hash-style'
> 
> Line 11 in make.conf:
> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
> gimp gimpprint cgi fam nptl t$
> 
> Here is complete make.conf
> 
> CFLAGS="-march=native -O2 -pipe
> CXXFLAGS="${CFLAGS}"
> #LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
> MAKEOPTS="-j9"
> 
> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
> gimp gimpprint cgi fam nptl t$

It reports line 11 because that's the end of the file, when the error
becomes apparent. The actual error is the missing closing quote on
CFLAGS.


-- 
Neil Bothwick

Vital papers will demonstrate their vitality by moving to where you
can't find them.


pgpRAf8fhjqUY.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Stefano Crocco
On Thursday, 2 February 2017 09:28:05 CET Stefano Crocco wrote:
> Hello to everyone,
> I need to buy a new laptop and I'd like some advice. Currently, I'm thinking
> of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If
> so, how did it go? A Google search only lead me to a page hinting it should
> work with linux, but didn't give any detail.
> 
> Alternatively, which other model would you suggest with similar
> specifications? The ASUS UX310UA-GL547T has the following characteristics:
> 
> Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> RAM: 4 GB DDR4
> Max RAM: 16 GB
> Video Card: Intel® HD Graphics 620
> Video OUT: HDMI
> Hard Disk: 500 GB SATA 5400 rpm
> Wireless: WiFi 802.11n (a/c)
> Intel® Wireless Display (WiDi)
> Bluetooth: Bluetooth 4.1
> USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> Card Reader: SD/MMC
> Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> 
> The price should be less than 800€/$.
> 
> Thanks in advance
> 
> Stefano


Thanks to everyone who answered. I've ordered the laptop and it should arrive 
next week. I'll let you know how it goes.

Stefano



Re: [gentoo-user] Any fix yet for PTE Read access is not set error?

2017-02-04 Thread Mick
On Saturday 04 Feb 2017 10:17:13 Peter Humphrey wrote:
> On Friday 03 Feb 2017 19:40:53 Mick wrote:
> > Peter, I recall a similar problem shown in the logs of an i7.   and all I
> > did was to enable IOMMU in the kernel, just as a message in the logs
> > recommended. From memory I built in the kernel something like
> > CONFIG_INTEL_IOMMU_DEFAULT_ON as well as some Intel related IOMMU
> > options. I did not pass any options on the kernel line at boot time.  The
> > error messages stopped as a result.
> 
> $ grep -i iommu /usr/src/linux/.config
> # CONFIG_GART_IOMMU is not set
> CONFIG_CALGARY_IOMMU=y
> CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
> CONFIG_IOMMU_HELPER=y
> CONFIG_IOMMU_API=y
> CONFIG_IOMMU_SUPPORT=y
> CONFIG_IOMMU_IOVA=y
> # CONFIG_AMD_IOMMU is not set
> CONFIG_INTEL_IOMMU=y
> CONFIG_INTEL_IOMMU_SVM=y
> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
> # CONFIG_IOMMU_STRESS is not set
> $
> 
> That looks all right to me, no?

The only difference is I have not set CONFIG_INTEL_IOMMU_SVM on my system.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] New Installation

2017-02-04 Thread Mick
On Saturday 04 Feb 2017 10:25:14 Mick wrote:
> On Saturday 04 Feb 2017 03:43:16 Dale wrote:
> > J. Roeleveld wrote:
> > > Please sanitize your make.conf file.
> > > I am seeing some lines ending with $.
> > > Not all lines have the closing quotes.
> > > 
> > > Your global USE flags contain some that no longer exist (Dale's
> > > favourite
> > > "hal" being one of them :)  )
> > > 
> > > Also, I have 32GB ram in my desktop and I do have a swap partition. When
> > > I
> > > am working, it does get used. Software keeps using more memory. So do 27
> > > cc jobs (jobs 9 for make and jobs 3 for emerge).
> > > 
> > > I would re-condiser not using swap unless you are certain you will never
> > > need more than 16gb. (Eg. No graphical desktop running a few
> > > webbrowsers)
> > > 
> > > --
> > > Joost
> > 
> > I have 16GBs here and it uses swap more than I like.  I set swapiness to
> > like 10, 5 or some really low number and it still runs low and has to
> > use it.  It's usually during updates too.  If LOo and a web browser like
> > Seamonkey or Firefox updates at the same time, it gets ugly, quick.  I'm
> > wanting to upgrade to 32GBs now.  I suspect before long, that won't be
> > enough either.  Then comes a new mobo, new ram, new CPU etc etc.  Oh
> > crap, new install, bad wiki.  o_O
> > 
> > Even if I upgrade to 32GBs, I'd still have swap.  It may only be a few
> > GBs but I'll still have some.
> > 
> > Dale
> > 
> > :-)  :-)
> 
> If the OP does not want to create a partition just for swap, a swap file
> will do the same job.

I forgot to mention, btrfs will not support swap files ... yet.  A different 
fs type will be required in this case.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [FAQ] How to recover from an unsuccessful build

2017-02-04 Thread Peter Humphrey
On Saturday 04 Feb 2017 10:24:12 Neil Bothwick wrote:
> On Sat, 04 Feb 2017 10:41:14 +0100, Helmut Jarausch wrote:
> > > emerge -n is the correct solution, although emerge -u may also work
> > > for
> > > you.
> > 
> > Many thanks, Neil.
> > 
> > Still, I don't see how this can help me in my situation.
> > 
> > I'm trying to re-emerge packages which are already installed and where
> > there isn't a new version in the tree (in most cases).
> > So neither -u nor -n will do the job.
> 
> I see, you do want to rebuild everything, but only once. I have a script
> that I use to rebuild everything only once, you could modify it to use
> your list of files.
> 
> #!/bin/bash
> 
> EMERGE_ARGS="--oneshot --keep-going"
> 
> usage() {
>   echo -e "\nUsage: $(basename $0) [-f file] [-r category/package[-
version]
> [-h]" echo "-f re-emerge all packages older than this file"
>   echo "-r re-emerge all packages older than this package"
>   echo "-h Show this text"
>   echo -e "\nAll other options are passed to the emerge command"
>   echo -e "$*"
>   exit
>   }
> 
> while getopts f:r:pvh ARG; do
>   case "${ARG}" in
>   f) REFFILE=${OPTARG} ;;
>   r) REFFILE=$(ls -1 /var/db/pkg/${OPTARG}*/environment.bz2 | 
> head -
n 1)
> ;; p) EMERGE_ARGS="${EMERGE_ARGS} --pretend" ;;
>   v) EMERGE_ARGS="${EMERGE_ARGS} --verbose" ;;
>   h) usage ;;
>   esac
>   done
> shift $(expr ${OPTIND} - 1)
> 
> [[ "${REFFILE}" ]] || usage "\nYou must specify a reference with -f or
> -r\n" [[ -f ${REFFILE} ]] || usage "\n${REFFILE} not found\n"
> 
> PKGLIST=$(mktemp -t mergeolderthan.)
> 
> 
> find /var/db/pkg -name environment.bz2 ! -newer ${REFFILE} | sed -e
> 's:/var/db/pkg/:=:' -e 's:/environment.bz2::' >|$PKGLIST
> 
> cat ${PKGLIST} | xargs --no-run-if-empty emerge ${EMERGE_ARGS} && rm -i
> ${PKGLIST}

Not being much of a programmer nowadays, I just do this:

$ alias emerj='sudo emerge --jobs=24 --load-average=48 --keep-going'
$ emerj gcc && emerj glibc libtool
$ emerj --exclude="gcc glibc libtool" system
$ emerj --exclude="$(cat system.pkgs)" -e world

...in which I've previously listed the 43 packages installed by emerj system 
in system.pkgs.

-- 
Regards
Peter




Re: [gentoo-user] [FAQ] How to recover from an unsuccessful build

2017-02-04 Thread Helmut Jarausch

On 02/04/2017 09:09:03 AM, J. Roeleveld wrote:
On February 3, 2017 9:32:53 PM GMT+01:00, Helmut Jarausch  
 wrote:

>On 02/03/2017 07:06:51 PM, J. Roeleveld wrote:
>> On February 3, 2017 6:30:52 PM GMT+01:00, Helmut Jarausch
>>  wrote:
>>
>> How come you are installing 3000 packages in 1 go?
>> Is this a new install? Or are you updating?
>>
>> My update command doesn't even cover more than 1 line on my mobile.
>>
>
>I had strange errors with some programs (e.g. gimp) and I suspect
>something is broken
>after I have switched to gcc-6.3.0 and glibc-2.24.
>Therefore I try to rebuild all packages which have been installed
>before that change.
>
>Helmut

There is a GCC upgrade guide in the gentoo pages. It starts with  
upgrading the toolchain. Then doing an 'emerge -e @world'.


If you want to make sure everything is installed using that. This  
would be the safest method.


Specifying all these packages manually makes the dependency checks  
for portage difficult. Even RPM based distros have left rpm-hell  
behind since yum got usable.


Thanks Joost!

Unfortunately such a simple method doesn't work for me.
My hobby is to maintain an unusual Gentoo system.

I have a large local overlay and several other overlays here.

I have packages which are not in the tree,
I have (had to generate) duplicates of packages which (all) do run  
under Python-3.5 but have only python3_4 in PYTHON_COMPAT.
There is a similar problem  with Ruby packages which are still not  
specified for Ruby-2.4.

And more problems which are caused by gcc-6.3.0 and glibc-2.24.

Helmut




Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Neil Bothwick
On Sat, 4 Feb 2017 07:12:01 +0100, Floyd Anderson wrote:

> >I have an old version of asterisk-1.8.28.2 (it is no longer in
> >portage). I want to keep this version, temporarily (till I have a
> >chance to test a new one 11.25.1-ver.  
> 
> If you have the asterisk-ebuild (and all related files) still
> available, you could try to migrate it to a local overlay [1][2].
> Otherwise, tell Portage you are handle this package yourself by adding
> it to: /etc/portage/profile/package.provided

You should also add all newer versions to package.mask.


-- 
Neil Bothwick

I'll never forget the 1st time I ran Windows, but I'm trying...


pgp_5GjCf3RIp.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] New Installation

2017-02-04 Thread Mick
On Saturday 04 Feb 2017 03:43:16 Dale wrote:
> J. Roeleveld wrote:
> > Please sanitize your make.conf file.
> > I am seeing some lines ending with $.
> > Not all lines have the closing quotes.
> > 
> > Your global USE flags contain some that no longer exist (Dale's favourite
> > "hal" being one of them :)  )
> > 
> > Also, I have 32GB ram in my desktop and I do have a swap partition. When I
> > am working, it does get used. Software keeps using more memory. So do 27
> > cc jobs (jobs 9 for make and jobs 3 for emerge).
> > 
> > I would re-condiser not using swap unless you are certain you will never
> > need more than 16gb. (Eg. No graphical desktop running a few webbrowsers)
> > 
> > --
> > Joost
> 
> I have 16GBs here and it uses swap more than I like.  I set swapiness to
> like 10, 5 or some really low number and it still runs low and has to
> use it.  It's usually during updates too.  If LOo and a web browser like
> Seamonkey or Firefox updates at the same time, it gets ugly, quick.  I'm
> wanting to upgrade to 32GBs now.  I suspect before long, that won't be
> enough either.  Then comes a new mobo, new ram, new CPU etc etc.  Oh
> crap, new install, bad wiki.  o_O
> 
> Even if I upgrade to 32GBs, I'd still have swap.  It may only be a few
> GBs but I'll still have some.
> 
> Dale
> 
> :-)  :-)

If the OP does not want to create a partition just for swap, a swap file will 
do the same job.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [FAQ] How to recover from an unsuccessful build

2017-02-04 Thread Neil Bothwick
On Sat, 04 Feb 2017 10:41:14 +0100, Helmut Jarausch wrote:

> > emerge -n is the correct solution, although emerge -u may also work  
> > for
> > you.  
> 
> 
> Many thanks, Neil.
> 
> Still, I don't see how this can help me in my situation.
> 
> I'm trying to re-emerge packages which are already installed and where  
> there isn't a new version in the tree (in most cases).
> So neither -u nor -n will do the job.

I see, you do want to rebuild everything, but only once. I have a script
that I use to rebuild everything only once, you could modify it to use
your list of files.

#!/bin/bash

EMERGE_ARGS="--oneshot --keep-going"

usage() {
echo -e "\nUsage: $(basename $0) [-f file] [-r 
category/package[-version] [-h]"
echo "-f re-emerge all packages older than this file"
echo "-r re-emerge all packages older than this package"
echo "-h Show this text"
echo -e "\nAll other options are passed to the emerge command"
echo -e "$*"
exit
}

while getopts f:r:pvh ARG; do
case "${ARG}" in
f) REFFILE=${OPTARG} ;;
r) REFFILE=$(ls -1 /var/db/pkg/${OPTARG}*/environment.bz2 | 
head -n 1) ;;
p) EMERGE_ARGS="${EMERGE_ARGS} --pretend" ;;
v) EMERGE_ARGS="${EMERGE_ARGS} --verbose" ;;
h) usage ;;
esac
done
shift $(expr ${OPTIND} - 1)

[[ "${REFFILE}" ]] || usage "\nYou must specify a reference with -f or -r\n"
[[ -f ${REFFILE} ]] || usage "\n${REFFILE} not found\n"

PKGLIST=$(mktemp -t mergeolderthan.)


find /var/db/pkg -name environment.bz2 ! -newer ${REFFILE} | sed -e 
's:/var/db/pkg/:=:' -e 's:/environment.bz2::' >|$PKGLIST

cat ${PKGLIST} | xargs --no-run-if-empty emerge ${EMERGE_ARGS} && rm -i 
${PKGLIST}


-- 
Neil Bothwick

RAM = Rarely Adequate Memory


pgpays5c32bPV.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] upgrading 1-year old system

2017-02-04 Thread Neil Bothwick
On Sat, 4 Feb 2017 00:47:24 -0700, the...@sys-concept.com wrote:

> !!! existing preserved libs:
> >>> package: sys-libs/ncurses-5.9-r5  
>  *  - /usr/lib64/libpanelw.so.5
>  *  - /usr/lib64/libpanelw.so.5.9
>  *  used
> by 
> /usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/_curses_panel.so
> (app-office/openoffice-bin-4.1.2)
>  *  - /lib64/libncursesw.so.5
>  *  - /lib64/libncursesw.so.5.9
>  *  used
> by /usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/_curses.so
> (app-office/openoffice-bin-4.1.2)
>  *  used
> by 
> /usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/_curses_panel.so
> (app-office/openoffice-bin-4.1.2)
>  *  used
> by /usr/lib64/openoffice/program/python-core-2.7.6/lib/lib-dynload/readline.so
> (app-office/openoffice-bin-4.1.2) Use emerge @preserved-rebuild to
> rebuild packages using these libraries
> 
> Every time I run: "emerge @preserved-rebuild" it keeps rebuilding
> OpenOffice and displays that message. I don't have any more on my
> system "sys-libs/ncurses-5.9-r5"

It's not rebuilding anything, you're using a -bin package, it's simply
unpacking and installing the same files each time.

> system is only showing: sys-libs/ncurses-6.0-r1

Yes, but the files you have installed were built against an older
ncurses. Libreoffice-bin is more up to date, so try either that or
openoffice.


-- 
Neil Bothwick

"There's more to life than sex, beer and computers.
Not a lot more admittedly..."


pgpIzNJTChZUA.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Any fix yet for PTE Read access is not set error?

2017-02-04 Thread Peter Humphrey
On Friday 03 Feb 2017 19:40:53 Mick wrote:

> Peter, I recall a similar problem shown in the logs of an i7.   and all I
> did was to enable IOMMU in the kernel, just as a message in the logs
> recommended. From memory I built in the kernel something like
> CONFIG_INTEL_IOMMU_DEFAULT_ON as well as some Intel related IOMMU
> options. I did not pass any options on the kernel line at boot time.  The
> error messages stopped as a result.

$ grep -i iommu /usr/src/linux/.config
# CONFIG_GART_IOMMU is not set
CONFIG_CALGARY_IOMMU=y
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
CONFIG_IOMMU_HELPER=y
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_IOMMU_IOVA=y
# CONFIG_AMD_IOMMU is not set
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_SVM=y
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
# CONFIG_IOMMU_STRESS is not set
$

That looks all right to me, no?

-- 
Regards
Peter




Re: [gentoo-user] Installing Gentoo from Gentoo...

2017-02-04 Thread Meino . Cramer
Mick  [17-02-04 10:34]:
> On Saturday 04 Feb 2017 10:07:26 meino.cra...@gmx.de wrote:
> > Hi,
> > 
> > since I have enough space on my harddisc and because there seems no
> > solution for my dev-python/six-problem I want to install a new gentoo.
> > 
> > I searched through different pages on the Gentoo site but only can
> > find those, which will install via "and now boot the iso
> > image" which I dont want.
> > 
> > Is it possible to install a bare system from a tar-ball, chroot into
> > that and do the installation work then?
> > 
> > And: Where can I find such a tar-bar (I only find *.iso files) ?
> > 
> > Cheers
> > Meino
> 
> Boot your existing Gentoo installation.
> Create the partition(s) in which you intend to install your new OS.
> 
> Continue with the handbook from here:
> 
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
> 
> NOTE:  You may not need to install a boot manager, since you have already one 
> installed on your current system.  However, you can install a boot manager on 
> the *partition* of the new OS, rather than the MBR/UEFI of the disk and 
> chainload the new OS boot loader from your main OS boot manager.
> 
> For chrooting, into the new OS, downloading a stage-3, etc. continue with the 
> handbook as you would with a normal installation.
> 
> HTH
> -- 
> Regards,
> Mick

Thanks for the link! Thats help!

Cheers
Meino





Re: [gentoo-user] Re: Re: boost-1.62.0-r1 blocked by nothing ??

2017-02-04 Thread Dale
Mick wrote:
> On Saturday 04 Feb 2017 01:33:24 Dale wrote:
>> Mick wrote:
>>> On Friday 03 Feb 2017 22:00:11 Dale wrote:
 Jörg Schaible wrote:
> Dale wrote:
>
> [snip]
>
>> Portage lock?  Sometimes, my brain does that too.  lol
> Hehe.
>
>> I thought about it after I hit send but figured you would get the
>> thought, maybe you had one or the other in a mask/unmask file or
>> something that resulted in a conflict?  I was sort of thinking it but
>> didn't type it in for some reason.  Still, if you did the same command
>> I
>> posted, you would have seen the difference and thought on it. 
>> Generally
>> if there is a difference like that, it's because of a local setting, or
>> a change in the tree due to different sync time, which would give the
>> idea of syncing again.
> Again the same issue on another box:
>
> === %< ==
> $ equery l -p boost boost-build
>
>  * Searching for boost ...
>
> [-P-] [  ] dev-libs/boost-1.55.0-r2:0/1.55.0
> [IP-] [  ] dev-libs/boost-1.56.0-r1:0/1.56.0
> [-P-] [ ~] dev-libs/boost-1.58.0-r1:0/1.58.0
> [-P-] [ ~] dev-libs/boost-1.59.0:0/1.59.0
> [-P-] [ ~] dev-libs/boost-1.60.0:0/1.60.0
> [-P-] [ ~] dev-libs/boost-1.61.0:0/1.61.0
> [-P-] [ ~] dev-libs/boost-1.61.0-r1:0/1.61.0
> [-P-] [  ] dev-libs/boost-1.62.0-r1:0/1.62.0
> [-P-] [ ~] dev-libs/boost-1.63.0:0/1.63.0
>
>  * Searching for boost-build ...
>
> [-P-] [  ] dev-util/boost-build-1.55.0:0
> [-P-] [ ~] dev-util/boost-build-1.55.0-r1:0
> [IP-] [  ] dev-util/boost-build-1.56.0:0
> [-P-] [ ~] dev-util/boost-build-1.58.0:0
> [-P-] [ ~] dev-util/boost-build-1.59.0:0
> [-P-] [ ~] dev-util/boost-build-1.60.0:0
> [-P-] [ ~] dev-util/boost-build-1.61.0:0
> [-P-] [  ] dev-util/boost-build-1.62.0-r1:0
> [-P-] [ ~] dev-util/boost-build-1.63.0:0
> === %< ==
>
> Portage should be capable of an update.
>
>> Anyway, glad it is going.  That's what matters.
> Yep, glad that I have a solution for it now.
>
> - Jörg
 That is really weird.  That looks like exactly the same output I have
 and mine updated just fine.  At least, I don't recall having issues.  I
 read a couple other posts where people were having to run the same
 command more than once to get portage to find a upgrade path.  I wonder,
 does emerge/portage/tree have a hiccup somewhere?  Is this a bug that
 hasn't quite had a finger put on it??

 Weird.

 Dale

 :-)  :-)
>>> From what I have seen when there are two stable versions of the same
>>> package, portage needs to be told which one to install.
>> It should just update them.  At least that is what it has always done
>> for me.  Once they remove the keyword/mask for the packages, they should
>> be put in the upgrade list and portage just figure out which goes first,
>> if it can't go in parallel.
> There should be no keyword/mask to remove.  I am talking about a package 
> which 
> at this point in time has two unkeyworded and unmasked stable versions, like 
> boost and boost-build above.


I was talking about when the devs do it.  Once they remove the
keyword/mask and portage sees a update is available, it should just
update. 


>
>> I don't recall having to tell emerge to do this other than my usual
>> emerge -uvaDN world command.
> I'll post an example next time I come across this (assuming I don't forget), 
> as it happens every now and then here.  The solution is to emerge -1av 
>  as Neil has already posted.
>

I'd be interested in that.  Given some posts by others, it seems
something odd is going on at times. 

Dale

:-)  :-) 



Re: [gentoo-user] [FAQ] How to recover from an unsuccessful build

2017-02-04 Thread Helmut Jarausch

On 02/03/2017 09:53:52 PM, Frank Steinmetzger wrote:

On Fri, Feb 03, 2017 at 09:32:53PM +0100, Helmut Jarausch wrote:
> On 02/03/2017 07:06:51 PM, J. Roeleveld wrote:
> > On February 3, 2017 6:30:52 PM GMT+01:00, Helmut Jarausch
> >  wrote:
> >
> > How come you are installing 3000 packages in 1 go?
> > Is this a new install? Or are you updating?
> >
> > My update command doesn't even cover more than 1 line on my  
mobile.

> >
>
> I had strange errors with some programs (e.g. gimp) and I suspect
> something is broken
> after I have switched to gcc-6.3.0 and glibc-2.24.
> Therefore I try to rebuild all packages which have been installed
> before that change.

When I am in such a situation, I let emerge print out the package  
list to be
built (in the order it intends to merge them), put that list into a  
file and

edit it a bit so I can use it in the following command:

emerge -1O $(sed -n '1,100p' packagelist)


Thanks Frank for that hint.
It would make using a large command file obsolete IFF all wents through.
But in my experience emerge fails again and again with some package.
Now, I have to remove these package and those which have been  
successfully emerged from my list.


Helmut.




Re: [gentoo-user] New Installation

2017-02-04 Thread Dale
J. Roeleveld wrote:
>
> Please sanitize your make.conf file.
> I am seeing some lines ending with $.
> Not all lines have the closing quotes.
>
> Your global USE flags contain some that no longer exist (Dale's favourite 
> "hal" being one of them :)  )
>
> Also, I have 32GB ram in my desktop and I do have a swap partition. When I am 
> working, it does get used.
> Software keeps using more memory. So do 27 cc jobs (jobs 9 for make and jobs 
> 3 for emerge).
>
> I would re-condiser not using swap unless you are certain you will never need 
> more than 16gb. (Eg. No graphical desktop running a few webbrowsers)
>
> --
> Joost

I have 16GBs here and it uses swap more than I like.  I set swapiness to
like 10, 5 or some really low number and it still runs low and has to
use it.  It's usually during updates too.  If LOo and a web browser like
Seamonkey or Firefox updates at the same time, it gets ugly, quick.  I'm
wanting to upgrade to 32GBs now.  I suspect before long, that won't be
enough either.  Then comes a new mobo, new ram, new CPU etc etc.  Oh
crap, new install, bad wiki.  o_O 

Even if I upgrade to 32GBs, I'd still have swap.  It may only be a few
GBs but I'll still have some. 

Dale

:-)  :-) 



Re: [gentoo-user] [FAQ] How to recover from an unsuccessful build

2017-02-04 Thread Helmut Jarausch

On 02/03/2017 10:49:47 PM, Neil Bothwick wrote:

On Fri, 03 Feb 2017 18:30:52 +0100, Helmut Jarausch wrote:

> when I emerge many packages (currently more than 3000), emerge  
nearly

> never succeeds.
> Yes, I'm using the option --keep-going but this doesn't help most of
> the time.
>
> I have the complete emerge command in one file which has lots of  
lines.

> Now I have the problem to remove those packages from this file which
> have been successfully emerged.
>
> Currently I have written a Python program to scan  
/var/log/emerge.log

> to extract packages which have been
> emerged and which then removes these from my original file.
> This still needs some manual tweaking in the case when a packages  
has

> to be installed more than once (into different slots).
>
> Is there a more elegant solution to this probably most common  
problem?


emerge -n is the correct solution, although emerge -u may also work  
for

you.



Many thanks, Neil.

Still, I don't see how this can help me in my situation.

I'm trying to re-emerge packages which are already installed and where  
there isn't a new version in the tree (in most cases).

So neither -u nor -n will do the job.
Helmut.



Re: [gentoo-user] Installing Gentoo from Gentoo...

2017-02-04 Thread Meino . Cramer
J. Roeleveld  [17-02-04 10:34]:
> On February 4, 2017 10:07:26 AM GMT+01:00, meino.cra...@gmx.de wrote:
> >Hi,
> >
> >since I have enough space on my harddisc and because there seems no
> >solution for my dev-python/six-problem I want to install a new gentoo.
> >
> >I searched through different pages on the Gentoo site but only can
> >find those, which will install via "and now boot the iso
> >image" which I dont want.
> >
> >Is it possible to install a bare system from a tar-ball, chroot into
> >that and do the installation work then?
> >
> >And: Where can I find such a tar-bar (I only find *.iso files) ?
> >
> >Cheers
> >Meino
> 
> Download the stage3 file. Link is in the handbook.
> 
> You can always unpack a stage3 and chroot into it. That is how I build gentoo 
> VMs.
> 
> --
> Joost
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> 

That's what I had missed! YEAH! Thanks a lot!

:)

Cheers
Meino




Re: [gentoo-user] Setting up Gnome's Online Accounts with Microsoft Exchange

2017-02-04 Thread Mick
On Thursday 02 Feb 2017 10:41:46 lukash wrote:
> On Wed, 2017-02-01 at 22:46 +, Mick wrote:
> > Has anyone been able to connect to a MS Exchange server using Gnome's
> > Online 
> > Accounts wizard, or Evolution with the gnome-extra/evolution-ews
> > plugin?
> > 
> > I've tried various settings and it fails to connect with 'Code 10 -
> > Unexpected 
> > response from the server', or an error about no webdav available.
> 
> I've got evolution-ews working. From what I remember setting it up, it
> was moderately painful, the details I forgot - your error doesn't ring
> a bell.
> 
> Looking at the account configuration, there's not much special. The
> only configuration that stands out is these under 'Receiving Email':
> 
> Host URL: https://YOUR_SERVER/EWS/Exchange.asmx
> OAB URL: https://YOUR_SERVER/OAB/SOME_LONG_HASH/oab.xml
> 
> And there's a 'Fetch URL' button next to the 'Host URL' input, and I
> think it did fill in these URLs automatically when setting up the
> account.
> 
> HTH,
> Lukas

Thanks Lukas,

I'm afraid it doesn't work.  :-(

Looking at a MacOS which works fine here, I noticed it uses 
https://webmail.DOMAIN.com to connect to OWA and fetch mail 
folders/calendar/address book and whatever the Outlook Web Access API 
provides.  It seems to me the Online Accounts on Gnome and Evolution do not 
work with OWA, or at least they do not work with my company's implementation 
of it.  :-(
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Installing Gentoo from Gentoo...

2017-02-04 Thread J. Roeleveld
On February 4, 2017 10:07:26 AM GMT+01:00, meino.cra...@gmx.de wrote:
>Hi,
>
>since I have enough space on my harddisc and because there seems no
>solution for my dev-python/six-problem I want to install a new gentoo.
>
>I searched through different pages on the Gentoo site but only can
>find those, which will install via "and now boot the iso
>image" which I dont want.
>
>Is it possible to install a bare system from a tar-ball, chroot into
>that and do the installation work then?
>
>And: Where can I find such a tar-bar (I only find *.iso files) ?
>
>Cheers
>Meino

Download the stage3 file. Link is in the handbook.

You can always unpack a stage3 and chroot into it. That is how I build gentoo 
VMs.

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



Re: [gentoo-user] Installing Gentoo from Gentoo...

2017-02-04 Thread Mick
On Saturday 04 Feb 2017 10:07:26 meino.cra...@gmx.de wrote:
> Hi,
> 
> since I have enough space on my harddisc and because there seems no
> solution for my dev-python/six-problem I want to install a new gentoo.
> 
> I searched through different pages on the Gentoo site but only can
> find those, which will install via "and now boot the iso
> image" which I dont want.
> 
> Is it possible to install a bare system from a tar-ball, chroot into
> that and do the installation work then?
> 
> And: Where can I find such a tar-bar (I only find *.iso files) ?
> 
> Cheers
> Meino

Boot your existing Gentoo installation.
Create the partition(s) in which you intend to install your new OS.

Continue with the handbook from here:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks

NOTE:  You may not need to install a boot manager, since you have already one 
installed on your current system.  However, you can install a boot manager on 
the *partition* of the new OS, rather than the MBR/UEFI of the disk and 
chainload the new OS boot loader from your main OS boot manager.

For chrooting, into the new OS, downloading a stage-3, etc. continue with the 
handbook as you would with a normal installation.

HTH
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Installing Gentoo from Gentoo...

2017-02-04 Thread Meino . Cramer
Hi,

since I have enough space on my harddisc and because there seems no
solution for my dev-python/six-problem I want to install a new gentoo.

I searched through different pages on the Gentoo site but only can
find those, which will install via "and now boot the iso
image" which I dont want.

Is it possible to install a bare system from a tar-ball, chroot into
that and do the installation work then?

And: Where can I find such a tar-bar (I only find *.iso files) ?

Cheers
Meino




Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld

>Thelma, you may be too tired or rushing through this exercise to pay
>enough 
>attention to important details.  Perhaps you need to take a break and
>revisit 
>it afresh later? 

This is one of the best advise ever :)

Never do an installation when tired or in a hurry.

--
Joost


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



Re: [gentoo-user] New Installation

2017-02-04 Thread Mick
On Saturday 04 Feb 2017 01:24:05 the...@sys-concept.com wrote:
> On 02/04/2017 12:48 AM, Dale wrote:
> > the...@sys-concept.com wrote:
> >> On 02/03/2017 11:19 PM, Dale wrote:
> >>> the...@sys-concept.com wrote:
>  I've not install Gentoo for some time and have some questions.
>  
>  It is Solid State Disk 1TB
>  I'm using Minimal CD (Bootable USB)
>  Created three partition (I did not create SWAP as I have 16GB or RAM)
>  I used "fdisk" and follow the instruction from:
>  https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
>  
>  Though, I'm a bit confused. I did not see the change root command in
>  those instructions.
>  Right now I have a prompt: "livecd ~ #"
> 
> [snip]
> 
> This is my make.conf
> # These settings were set by the catalyst build script that automatically
> # built this stage.
> # Please consult /usr/share/portage/config/make.conf.example for a more
> # detailed example.
> 
> CFLAGS="-march=native -O2 -pipe

There is a double quotation mark " missing at the end of the above line.


> CXXFLAGS="${CFLAGS}"
> MAKEOPTS="-j9"
> 
> USE="bindist"
> 
> # WARNING: Changing your CHOST is not something that should be done lightly.
> # Please consult http://www.gentoo.org/doc/en/change-chost.xml before
> changing. CHOST="x86_64-pc-linux-gnu"
> # These are the USE and USE_EXPAND flags that were used for
> # buidling in addition to what is provided by the profile.
> 
> USE="bindist"

The above is a duplicate entry.


> PORTDIR="/usr/portage"
> DISTDIR="${PORTDIR}/distfiles"
> PKGDIR="${PORTDIR}/packages"
> 
> GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
> http://gentoo.osuosl.org/;
> 
> INPUT_DEVICES="evdev"
> LINGUAS="en"
> L10N="en"
> 
> PORTAGE_TMPDIR="/var/tmp"
> PORTAGE_TMPFS="/dev/shm"
> PORTAGE_NICENESS=3
> AUTOCLEAN="yes"
> 
> and emerge --sync is giving me an error:
> 
> "/etc/portage/make.conf", line 34: No closing quotation

Yes, I've noted the same above.


> Traceback (most recent call last):
>   File "/usr/lib/python-exec/python3.4/emerge", line 50, in 
> retval = emerge_main()
>   File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1196, in
> emerge_main action=myaction, args=myfiles, opts=myopts)
>   File "/usr/lib64/python3.4/site-packages/portage/proxy/objectproxy.py",
> line 31, in __call__ return result(*args, **kwargs)
>   File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 2403,
> in load_emerge_config **kwargs)
>   File "/usr/lib64/python3.4/site-packages/portage/__init__.py", line 585,
> in create_trees env=env, eprefix=eprefix)
>   File
> "/usr/lib64/python3.4/site-packages/portage/package/ebuild/config.py", line
> 358, in __init__ expand=make_conf, recursive=True)
>   File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py", line
> 659, in getconfig recursive=False) or {})
>   File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py", line
> 718, in getconfig key = _unicode_decode(lex.get_token())
>   File "/usr/lib64/python3.4/shlex.py", line 93, in get_token
> raw = self.read_token()
>   File "/usr/lib64/python3.4/shlex.py", line 169, in read_token
> raise ValueError("No closing quotation")
> ValueError: No closing quotation
> 
> There is nothing on line 34
> 
> --
> Thelma

Thelma, you may be too tired or rushing through this exercise to pay enough 
attention to important details.  Perhaps you need to take a break and revisit 
it afresh later? 
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 4, 2017 9:24:05 AM GMT+01:00, the...@sys-concept.com wrote:
>On 02/04/2017 12:48 AM, Dale wrote:
>> the...@sys-concept.com wrote:
>>> On 02/03/2017 11:19 PM, Dale wrote:
 the...@sys-concept.com wrote:
> I've not install Gentoo for some time and have some questions.
>
> It is Solid State Disk 1TB
> I'm using Minimal CD (Bootable USB)
> Created three partition (I did not create SWAP as I have 16GB or
>RAM)
> I used "fdisk" and follow the instruction from:
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
>
> Though, I'm a bit confused. I did not see the change root command
>in
> those instructions.
> Right now I have a prompt: "livecd ~ #"
>
>[snip]
>
>This is my make.conf
># These settings were set by the catalyst build script that
>automatically
># built this stage.
># Please consult /usr/share/portage/config/make.conf.example for a more
># detailed example.
>
>CFLAGS="-march=native -O2 -pipe
>CXXFLAGS="${CFLAGS}"
>MAKEOPTS="-j9"
>
>USE="bindist"
>
># WARNING: Changing your CHOST is not something that should be done
>lightly.
># Please consult http://www.gentoo.org/doc/en/change-chost.xml before
>changing.
>CHOST="x86_64-pc-linux-gnu"
># These are the USE and USE_EXPAND flags that were used for
># buidling in addition to what is provided by the profile.
>
>USE="bindist"
>
>PORTDIR="/usr/portage"
>DISTDIR="${PORTDIR}/distfiles"
>PKGDIR="${PORTDIR}/packages"
>
>GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>http://gentoo.osuosl.org/;
>
>INPUT_DEVICES="evdev"
>LINGUAS="en"
>L10N="en"
>
>PORTAGE_TMPDIR="/var/tmp"
>PORTAGE_TMPFS="/dev/shm"
>PORTAGE_NICENESS=3
>AUTOCLEAN="yes"
>
>and emerge --sync is giving me an error:
>
>"/etc/portage/make.conf", line 34: No closing quotation
>Traceback (most recent call last):
>  File "/usr/lib/python-exec/python3.4/emerge", line 50, in 
>retval = emerge_main()
>File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1196,
>in emerge_main
>action=myaction, args=myfiles, opts=myopts)
>File "/usr/lib64/python3.4/site-packages/portage/proxy/objectproxy.py",
>line 31, in __call__
>return result(*args, **kwargs)
>File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line
>2403, in load_emerge_config
>**kwargs)
>File "/usr/lib64/python3.4/site-packages/portage/__init__.py", line
>585, in create_trees
>env=env, eprefix=eprefix)
>File
>"/usr/lib64/python3.4/site-packages/portage/package/ebuild/config.py",
>line 358, in __init__
>expand=make_conf, recursive=True)
>File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py",
>line 659, in getconfig
>recursive=False) or {})
>File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py",
>line 718, in getconfig
>key = _unicode_decode(lex.get_token())
>  File "/usr/lib64/python3.4/shlex.py", line 93, in get_token
>raw = self.read_token()
>  File "/usr/lib64/python3.4/shlex.py", line 169, in read_token
>raise ValueError("No closing quotation")
>ValueError: No closing quotation
>
>There is nothing on line 34
>
>--
>Thelma

Check your CFLAGS line.

I am missing the quotation at the end there.

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



Re: [gentoo-user] Re: Re: boost-1.62.0-r1 blocked by nothing ??

2017-02-04 Thread Mick
On Saturday 04 Feb 2017 01:33:24 Dale wrote:
> Mick wrote:
> > On Friday 03 Feb 2017 22:00:11 Dale wrote:
> >> Jörg Schaible wrote:
> >>> Dale wrote:
> >>> 
> >>> [snip]
> >>> 
>  Portage lock?  Sometimes, my brain does that too.  lol
> >>> 
> >>> Hehe.
> >>> 
>  I thought about it after I hit send but figured you would get the
>  thought, maybe you had one or the other in a mask/unmask file or
>  something that resulted in a conflict?  I was sort of thinking it but
>  didn't type it in for some reason.  Still, if you did the same command
>  I
>  posted, you would have seen the difference and thought on it. 
>  Generally
>  if there is a difference like that, it's because of a local setting, or
>  a change in the tree due to different sync time, which would give the
>  idea of syncing again.
> >>> 
> >>> Again the same issue on another box:
> >>> 
> >>> === %< ==
> >>> $ equery l -p boost boost-build
> >>> 
> >>>  * Searching for boost ...
> >>> 
> >>> [-P-] [  ] dev-libs/boost-1.55.0-r2:0/1.55.0
> >>> [IP-] [  ] dev-libs/boost-1.56.0-r1:0/1.56.0
> >>> [-P-] [ ~] dev-libs/boost-1.58.0-r1:0/1.58.0
> >>> [-P-] [ ~] dev-libs/boost-1.59.0:0/1.59.0
> >>> [-P-] [ ~] dev-libs/boost-1.60.0:0/1.60.0
> >>> [-P-] [ ~] dev-libs/boost-1.61.0:0/1.61.0
> >>> [-P-] [ ~] dev-libs/boost-1.61.0-r1:0/1.61.0
> >>> [-P-] [  ] dev-libs/boost-1.62.0-r1:0/1.62.0
> >>> [-P-] [ ~] dev-libs/boost-1.63.0:0/1.63.0
> >>> 
> >>>  * Searching for boost-build ...
> >>> 
> >>> [-P-] [  ] dev-util/boost-build-1.55.0:0
> >>> [-P-] [ ~] dev-util/boost-build-1.55.0-r1:0
> >>> [IP-] [  ] dev-util/boost-build-1.56.0:0
> >>> [-P-] [ ~] dev-util/boost-build-1.58.0:0
> >>> [-P-] [ ~] dev-util/boost-build-1.59.0:0
> >>> [-P-] [ ~] dev-util/boost-build-1.60.0:0
> >>> [-P-] [ ~] dev-util/boost-build-1.61.0:0
> >>> [-P-] [  ] dev-util/boost-build-1.62.0-r1:0
> >>> [-P-] [ ~] dev-util/boost-build-1.63.0:0
> >>> === %< ==
> >>> 
> >>> Portage should be capable of an update.
> >>> 
>  Anyway, glad it is going.  That's what matters.
> >>> 
> >>> Yep, glad that I have a solution for it now.
> >>> 
> >>> - Jörg
> >> 
> >> That is really weird.  That looks like exactly the same output I have
> >> and mine updated just fine.  At least, I don't recall having issues.  I
> >> read a couple other posts where people were having to run the same
> >> command more than once to get portage to find a upgrade path.  I wonder,
> >> does emerge/portage/tree have a hiccup somewhere?  Is this a bug that
> >> hasn't quite had a finger put on it??
> >> 
> >> Weird.
> >> 
> >> Dale
> >> 
> >> :-)  :-)
> > 
> > From what I have seen when there are two stable versions of the same
> > package, portage needs to be told which one to install.
> 
> It should just update them.  At least that is what it has always done
> for me.  Once they remove the keyword/mask for the packages, they should
> be put in the upgrade list and portage just figure out which goes first,
> if it can't go in parallel.

There should be no keyword/mask to remove.  I am talking about a package which 
at this point in time has two unkeyworded and unmasked stable versions, like 
boost and boost-build above.


> I don't recall having to tell emerge to do this other than my usual
> emerge -uvaDN world command.

I'll post an example next time I come across this (assuming I don't forget), 
as it happens every now and then here.  The solution is to emerge -1av 
 as Neil has already posted.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] New Installation

2017-02-04 Thread thelma
On 02/04/2017 01:20 AM, J. Roeleveld wrote:
> On February 4, 2017 8:22:45 AM GMT+01:00, the...@sys-concept.com wrote:
>> On 02/03/2017 11:19 PM, Dale wrote:
>>> the...@sys-concept.com wrote:
 I've not install Gentoo for some time and have some questions.

 It is Solid State Disk 1TB
 I'm using Minimal CD (Bootable USB)
 Created three partition (I did not create SWAP as I have 16GB or
>> RAM)
 I used "fdisk" and follow the instruction from:
 https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks

 Though, I'm a bit confused. I did not see the change root command in
 those instructions.
 Right now I have a prompt: "livecd ~ #"

 and all instruction on the installation page showing: "root #"

 I've created a user: "livecd ~ #useradd -m -G users john"
 Will it take effect I'm still inside "livecd" environment.

 I'm confused a bit.
>>>
>>>
>>> It's been a while since I did a install as well plus I'm old as well.
>> I
>>> skimmed your link and don't think you should be creating a user at
>> that
>>> point.  If I recall correctly, creating users is done shortly before
>>> rebooting into the new install or even after rebooting.  Usually, I
>> do
>>> it after rebooting.  Generally, I'm more concerned with my new kernel
>>> booting etc rather than having a user account, besides root of
>> course. 
>>> Do set the root password BEFORE booting into the new install.  It
>> makes
>>> life easier.  ;-) 
>>>
>>> The chroot command usually comes shortly after downloading and
>> unpacking
>>> the stage3 tarball.  Until you have that, you don't have anything to
>>> chroot into yet. 
>>>
>>> I might add, I like a all in one page guide.  For me, it seems easier
>> to
>>> scroll down, do what is there, scroll down some more etc.  It being
>> in
>>> sections may be easier for you tho.  Use what works.  Also, I read
>> over
>>> the guide at least twice before I start.  The first time I did a
>> Gentoo
>>> install, I read it half a dozen times in some spots. 
>>>
>>> Hope that helps.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>
>> Thanks Dale, that new installation is not going well.
>> I've change the environment and my prompt is still: "(chroot) livecd
>> /#"
>>
>> emerge --sync gives me error:
>> "/etc/portage/make.conf", line 11: Invalid variable name
>> '-Wl,--hash-style'
>>
>> Line 11 in make.conf:
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>> gimp gimpprint cgi fam nptl t$
>>
>> Here is complete make.conf
>>
>> CFLAGS="-march=native -O2 -pipe
>> CXXFLAGS="${CFLAGS}"
>> #LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
>> MAKEOPTS="-j9"
>>
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>> gimp gimpprint cgi fam nptl t$
>>
>> CHOST="x86_64-pc-linux-gnu"
>> CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a "
>>
>> PORTDIR="/usr/portage"
>> DISTDIR="${PORTDIR}/distfiles"
>> PKGDIR="${PORTDIR}/packages"
>>
>> INPUT_DEVICES="evdev"
>> LINGUAS="en"
>> L10N="en"
>> FEATURES="parallel-fetch strict fixlafiles"
>> #VIDEO_CARDS="fglrx radeon"
>> #VIDEO_CARDS="nvidia nouveau"
>> #SANE_BACKENDS="epson2"
>> #PHP_TARGETS="php5-5 php5-6"
>> #PHP_INI_VERSION="production"
>> ACCEPT_LICENSE="${ACCEPT_LICENSE} googleearth PUEL dlj-1.1
>> Oracle-BCLA-JavaSE"
>>
>> EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y
>> --jobs 3"
>>
>> GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>> http://gentoo.osuosl.org/
>> ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>> http://linux.rz.ruhr-uni-b$
>>
>> PORTAGE_TMPDIR="/var/tmp"
>> PORTAGE_TMPFS="/dev/shm"
>> PORTAGE_NICENESS=3
>> AUTOCLEAN="yes"
>>
>> Why isn't "emerge --sync" working?
>> It seems to me the chroot did not work correctly.
>>
>> This new manual is not compete and/or accurate :-/
>>
>> --
>> Thelma
> 
> Please sanitize your make.conf file.
> I am seeing some lines ending with $.
> Not all lines have the closing quotes.
> 
> Your global USE flags contain some that no longer exist (Dale's favourite 
> "hal" being one of them :)  )
> 
> Also, I have 32GB ram in my desktop and I do have a swap partition. When I am 
> working, it does get used.
> Software keeps using more memory. So do 27 cc jobs (jobs 9 for make and jobs 
> 3 for emerge).
> 
> I would re-condiser not using swap unless you are certain you will never need 
> more than 16gb. (Eg. No graphical desktop running a few webbrowsers)
> 
> --
> Joost

Good suggestion. I'll start from scratch tomorrow.
Most of the make.conf I just copied from my old working system :-/

--
Thelma



Re: [gentoo-user] New Installation

2017-02-04 Thread thelma
On 02/04/2017 12:48 AM, Dale wrote:
> the...@sys-concept.com wrote:
>> On 02/03/2017 11:19 PM, Dale wrote:
>>> the...@sys-concept.com wrote:
 I've not install Gentoo for some time and have some questions.

 It is Solid State Disk 1TB
 I'm using Minimal CD (Bootable USB)
 Created three partition (I did not create SWAP as I have 16GB or RAM)
 I used "fdisk" and follow the instruction from:
 https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks

 Though, I'm a bit confused. I did not see the change root command in
 those instructions.
 Right now I have a prompt: "livecd ~ #"

[snip]

This is my make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.

CFLAGS="-march=native -O2 -pipe
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j9"

USE="bindist"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.

USE="bindist"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 
http://gentoo.osuosl.org/;

INPUT_DEVICES="evdev"
LINGUAS="en"
L10N="en"

PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"

and emerge --sync is giving me an error:

"/etc/portage/make.conf", line 34: No closing quotation
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/emerge", line 50, in 
retval = emerge_main()
  File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1196, in 
emerge_main
action=myaction, args=myfiles, opts=myopts)
  File "/usr/lib64/python3.4/site-packages/portage/proxy/objectproxy.py", line 
31, in __call__
return result(*args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 2403, in 
load_emerge_config
**kwargs)
  File "/usr/lib64/python3.4/site-packages/portage/__init__.py", line 585, in 
create_trees
env=env, eprefix=eprefix)
  File "/usr/lib64/python3.4/site-packages/portage/package/ebuild/config.py", 
line 358, in __init__
expand=make_conf, recursive=True)
  File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py", line 659, 
in getconfig
recursive=False) or {})
  File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py", line 718, 
in getconfig
key = _unicode_decode(lex.get_token())
  File "/usr/lib64/python3.4/shlex.py", line 93, in get_token
raw = self.read_token()
  File "/usr/lib64/python3.4/shlex.py", line 169, in read_token
raise ValueError("No closing quotation")
ValueError: No closing quotation

There is nothing on line 34

--
Thelma



Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 4, 2017 8:22:45 AM GMT+01:00, the...@sys-concept.com wrote:
>On 02/03/2017 11:19 PM, Dale wrote:
>> the...@sys-concept.com wrote:
>>> I've not install Gentoo for some time and have some questions.
>>>
>>> It is Solid State Disk 1TB
>>> I'm using Minimal CD (Bootable USB)
>>> Created three partition (I did not create SWAP as I have 16GB or
>RAM)
>>> I used "fdisk" and follow the instruction from:
>>> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
>>>
>>> Though, I'm a bit confused. I did not see the change root command in
>>> those instructions.
>>> Right now I have a prompt: "livecd ~ #"
>>>
>>> and all instruction on the installation page showing: "root #"
>>>
>>> I've created a user: "livecd ~ #useradd -m -G users john"
>>> Will it take effect I'm still inside "livecd" environment.
>>>
>>> I'm confused a bit.
>> 
>> 
>> It's been a while since I did a install as well plus I'm old as well.
> I
>> skimmed your link and don't think you should be creating a user at
>that
>> point.  If I recall correctly, creating users is done shortly before
>> rebooting into the new install or even after rebooting.  Usually, I
>do
>> it after rebooting.  Generally, I'm more concerned with my new kernel
>> booting etc rather than having a user account, besides root of
>course. 
>> Do set the root password BEFORE booting into the new install.  It
>makes
>> life easier.  ;-) 
>> 
>> The chroot command usually comes shortly after downloading and
>unpacking
>> the stage3 tarball.  Until you have that, you don't have anything to
>> chroot into yet. 
>> 
>> I might add, I like a all in one page guide.  For me, it seems easier
>to
>> scroll down, do what is there, scroll down some more etc.  It being
>in
>> sections may be easier for you tho.  Use what works.  Also, I read
>over
>> the guide at least twice before I start.  The first time I did a
>Gentoo
>> install, I read it half a dozen times in some spots. 
>> 
>> Hope that helps.
>> 
>> Dale
>> 
>> :-)  :-) 
>
>Thanks Dale, that new installation is not going well.
>I've change the environment and my prompt is still: "(chroot) livecd
>/#"
> 
>emerge --sync gives me error:
>"/etc/portage/make.conf", line 11: Invalid variable name
>'-Wl,--hash-style'
>
>Line 11 in make.conf:
>USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>gimp gimpprint cgi fam nptl t$
>
>Here is complete make.conf
>
>CFLAGS="-march=native -O2 -pipe
>CXXFLAGS="${CFLAGS}"
>#LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
>MAKEOPTS="-j9"
>
>USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>gimp gimpprint cgi fam nptl t$
>
>CHOST="x86_64-pc-linux-gnu"
>CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a "
>
>PORTDIR="/usr/portage"
>DISTDIR="${PORTDIR}/distfiles"
>PKGDIR="${PORTDIR}/packages"
>
>INPUT_DEVICES="evdev"
>LINGUAS="en"
>L10N="en"
>FEATURES="parallel-fetch strict fixlafiles"
>#VIDEO_CARDS="fglrx radeon"
>#VIDEO_CARDS="nvidia nouveau"
>#SANE_BACKENDS="epson2"
>#PHP_TARGETS="php5-5 php5-6"
>#PHP_INI_VERSION="production"
>ACCEPT_LICENSE="${ACCEPT_LICENSE} googleearth PUEL dlj-1.1
>Oracle-BCLA-JavaSE"
>
>EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y
>--jobs 3"
>
>GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>http://gentoo.osuosl.org/
>ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>http://linux.rz.ruhr-uni-b$
>
>PORTAGE_TMPDIR="/var/tmp"
>PORTAGE_TMPFS="/dev/shm"
>PORTAGE_NICENESS=3
>AUTOCLEAN="yes"
>
>Why isn't "emerge --sync" working?
>It seems to me the chroot did not work correctly.
>
>This new manual is not compete and/or accurate :-/
>
>--
>Thelma

Please sanitize your make.conf file.
I am seeing some lines ending with $.
Not all lines have the closing quotes.

Your global USE flags contain some that no longer exist (Dale's favourite "hal" 
being one of them :)  )

Also, I have 32GB ram in my desktop and I do have a swap partition. When I am 
working, it does get used.
Software keeps using more memory. So do 27 cc jobs (jobs 9 for make and jobs 3 
for emerge).

I would re-condiser not using swap unless you are certain you will never need 
more than 16gb. (Eg. No graphical desktop running a few webbrowsers)

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



Re: [gentoo-user] New Installation

2017-02-04 Thread Mick
On Saturday 04 Feb 2017 01:12:43 the...@sys-concept.com wrote:
> On 02/04/2017 12:48 AM, Dale wrote:
> > the...@sys-concept.com wrote:
> >> On 02/03/2017 11:19 PM, Dale wrote:
> >>> the...@sys-concept.com wrote:
>  I've not install Gentoo for some time and have some questions.
>  
>  It is Solid State Disk 1TB
>  I'm using Minimal CD (Bootable USB)
>  Created three partition (I did not create SWAP as I have 16GB or RAM)
>  I used "fdisk" and follow the instruction from:
>  https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
>  
>  Though, I'm a bit confused. I did not see the change root command in
>  those instructions.
>  Right now I have a prompt: "livecd ~ #"
>  
>  and all instruction on the installation page showing: "root #"
>  
>  I've created a user: "livecd ~ #useradd -m -G users john"
>  Will it take effect I'm still inside "livecd" environment.
>  
>  I'm confused a bit.
> >>> 
> >>> It's been a while since I did a install as well plus I'm old as well.  I
> >>> skimmed your link and don't think you should be creating a user at that
> >>> point.  If I recall correctly, creating users is done shortly before
> >>> rebooting into the new install or even after rebooting.  Usually, I do
> >>> it after rebooting.  Generally, I'm more concerned with my new kernel
> >>> booting etc rather than having a user account, besides root of course.
> >>> Do set the root password BEFORE booting into the new install.  It makes
> >>> life easier.  ;-)
> >>> 
> >>> The chroot command usually comes shortly after downloading and unpacking
> >>> the stage3 tarball.  Until you have that, you don't have anything to
> >>> chroot into yet.
> >>> 
> >>> I might add, I like a all in one page guide.  For me, it seems easier to
> >>> scroll down, do what is there, scroll down some more etc.  It being in
> >>> sections may be easier for you tho.  Use what works.  Also, I read over
> >>> the guide at least twice before I start.  The first time I did a Gentoo
> >>> install, I read it half a dozen times in some spots.
> >>> 
> >>> Hope that helps.
> >>> 
> >>> Dale
> >>> 
> >>> :-)  :-)
> >> 
> >> Thanks Dale, that new installation is not going well.
> >> I've change the environment and my prompt is still: "(chroot) livecd /#"
> >> 
> >> emerge --sync gives me error:
> >> "/etc/portage/make.conf", line 11: Invalid variable name
> >> '-Wl,--hash-style'
> >> 
> >> Line 11 in make.conf:
> >> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
> >> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
> >> gimp gimpprint cgi fam nptl t$
> >> 
> >> Here is complete make.conf
> >> 
> >> CFLAGS="-march=native -O2 -pipe
> >> CXXFLAGS="${CFLAGS}"
> >> #LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
> >> MAKEOPTS="-j9"
> >> 
> >> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
> >> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
> >> gimp gimpprint cgi fam nptl t$
> >> 
> >> CHOST="x86_64-pc-linux-gnu"
> >> CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a "
> >> 
> >> PORTDIR="/usr/portage"
> >> DISTDIR="${PORTDIR}/distfiles"
> >> PKGDIR="${PORTDIR}/packages"
> >> 
> >> INPUT_DEVICES="evdev"
> >> LINGUAS="en"
> >> L10N="en"
> >> FEATURES="parallel-fetch strict fixlafiles"
> >> #VIDEO_CARDS="fglrx radeon"
> >> #VIDEO_CARDS="nvidia nouveau"
> >> #SANE_BACKENDS="epson2"
> >> #PHP_TARGETS="php5-5 php5-6"
> >> #PHP_INI_VERSION="production"
> >> ACCEPT_LICENSE="${ACCEPT_LICENSE} googleearth PUEL dlj-1.1
> >> Oracle-BCLA-JavaSE"
> >> 
> >> EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y
> >> --jobs 3"
> >> 
> >> GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
> >> http://gentoo.osuosl.org/
> >> ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
> >> http://linux.rz.ruhr-uni-b$
> >> 
> >> PORTAGE_TMPDIR="/var/tmp"
> >> PORTAGE_TMPFS="/dev/shm"
> >> PORTAGE_NICENESS=3
> >> AUTOCLEAN="yes"
> >> 
> >> Why isn't "emerge --sync" working?
> >> It seems to me the chroot did not work correctly.
> >> 
> >> This new manual is not compete and/or accurate :-/
> >> 
> >> --
> >> Thelma
> > 
> > On the USE line, what is that t$ on the end?  Never seen that before.
> > Don't forget to do the close quote on the end too.  I don't see that
> > there.  That could cause issues.  I'm not familiar with the hash part it
> > is complaining about.  I do know this.  The number 1 and the letter l
> > look a awful lot alike on some fonts.  Make sure you get the right one
> > on that.  Same for the number 0 and the letter O as well.  It will get
> > the best of us all at times.  I've been known to cheat and use copy and
> > paste.  That takes out the person in the chair error.  :-D
> > 
> > I did the last install a few years ago which I think was before the move
> > to the wiki thing.  I went digging around.  I hope I don't have to do a
> > install anytime soon. 

Re: [gentoo-user] New Installation

2017-02-04 Thread thelma
On 02/04/2017 12:48 AM, Dale wrote:
> the...@sys-concept.com wrote:
>> On 02/03/2017 11:19 PM, Dale wrote:
>>> the...@sys-concept.com wrote:
 I've not install Gentoo for some time and have some questions.

 It is Solid State Disk 1TB
 I'm using Minimal CD (Bootable USB)
 Created three partition (I did not create SWAP as I have 16GB or RAM)
 I used "fdisk" and follow the instruction from:
 https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks

 Though, I'm a bit confused. I did not see the change root command in
 those instructions.
 Right now I have a prompt: "livecd ~ #"

 and all instruction on the installation page showing: "root #"

 I've created a user: "livecd ~ #useradd -m -G users john"
 Will it take effect I'm still inside "livecd" environment.

 I'm confused a bit.
>>>
>>> It's been a while since I did a install as well plus I'm old as well.  I
>>> skimmed your link and don't think you should be creating a user at that
>>> point.  If I recall correctly, creating users is done shortly before
>>> rebooting into the new install or even after rebooting.  Usually, I do
>>> it after rebooting.  Generally, I'm more concerned with my new kernel
>>> booting etc rather than having a user account, besides root of course. 
>>> Do set the root password BEFORE booting into the new install.  It makes
>>> life easier.  ;-) 
>>>
>>> The chroot command usually comes shortly after downloading and unpacking
>>> the stage3 tarball.  Until you have that, you don't have anything to
>>> chroot into yet. 
>>>
>>> I might add, I like a all in one page guide.  For me, it seems easier to
>>> scroll down, do what is there, scroll down some more etc.  It being in
>>> sections may be easier for you tho.  Use what works.  Also, I read over
>>> the guide at least twice before I start.  The first time I did a Gentoo
>>> install, I read it half a dozen times in some spots. 
>>>
>>> Hope that helps.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>> Thanks Dale, that new installation is not going well.
>> I've change the environment and my prompt is still: "(chroot) livecd /#"
>>  
>> emerge --sync gives me error:
>> "/etc/portage/make.conf", line 11: Invalid variable name '-Wl,--hash-style'
>>
>> Line 11 in make.conf:
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl 
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner gimp 
>> gimpprint cgi fam nptl t$
>>
>> Here is complete make.conf
>>
>> CFLAGS="-march=native -O2 -pipe
>> CXXFLAGS="${CFLAGS}"
>> #LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
>> MAKEOPTS="-j9"
>>
>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl 
>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner gimp 
>> gimpprint cgi fam nptl t$
>>
>> CHOST="x86_64-pc-linux-gnu"
>> CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a "
>>
>> PORTDIR="/usr/portage"
>> DISTDIR="${PORTDIR}/distfiles"
>> PKGDIR="${PORTDIR}/packages"
>>
>> INPUT_DEVICES="evdev"
>> LINGUAS="en"
>> L10N="en"
>> FEATURES="parallel-fetch strict fixlafiles"
>> #VIDEO_CARDS="fglrx radeon"
>> #VIDEO_CARDS="nvidia nouveau"
>> #SANE_BACKENDS="epson2"
>> #PHP_TARGETS="php5-5 php5-6"
>> #PHP_INI_VERSION="production"
>> ACCEPT_LICENSE="${ACCEPT_LICENSE} googleearth PUEL dlj-1.1 
>> Oracle-BCLA-JavaSE"
>>
>> EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y --jobs 
>> 3"
>>
>> GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 
>> http://gentoo.osuosl.org/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 
>> http://linux.rz.ruhr-uni-b$
>>
>> PORTAGE_TMPDIR="/var/tmp"
>> PORTAGE_TMPFS="/dev/shm"
>> PORTAGE_NICENESS=3
>> AUTOCLEAN="yes"
>>
>> Why isn't "emerge --sync" working?
>> It seems to me the chroot did not work correctly.
>>
>> This new manual is not compete and/or accurate :-/
>>
>> --
>> Thelma
>>
> 
> On the USE line, what is that t$ on the end?  Never seen that before. 
> Don't forget to do the close quote on the end too.  I don't see that
> there.  That could cause issues.  I'm not familiar with the hash part it
> is complaining about.  I do know this.  The number 1 and the letter l
> look a awful lot alike on some fonts.  Make sure you get the right one
> on that.  Same for the number 0 and the letter O as well.  It will get
> the best of us all at times.  I've been known to cheat and use copy and
> paste.  That takes out the person in the chair error.  :-D 
> 
> I did the last install a few years ago which I think was before the move
> to the wiki thing.  I went digging around.  I hope I don't have to do a
> install anytime soon.  I may refer back to my old printout in the shed. 
> I'm not a big fan of the new thing either.  I did find this tho.
> 
> https://wiki.gentoo.org/wiki/Complete_Handbook
> 
> If you scroll down to the installing section, you may can find something
> better there.  I hope you do because so far, I'm liking my old printout
> 

Re: [gentoo-user] [FAQ] How to recover from an unsuccessful build

2017-02-04 Thread J. Roeleveld
On February 3, 2017 9:32:53 PM GMT+01:00, Helmut Jarausch  
wrote:
>On 02/03/2017 07:06:51 PM, J. Roeleveld wrote:
>> On February 3, 2017 6:30:52 PM GMT+01:00, Helmut Jarausch  
>>  wrote:
>> 
>> How come you are installing 3000 packages in 1 go?
>> Is this a new install? Or are you updating?
>> 
>> My update command doesn't even cover more than 1 line on my mobile.
>> 
>
>I had strange errors with some programs (e.g. gimp) and I suspect  
>something is broken
>after I have switched to gcc-6.3.0 and glibc-2.24.
>Therefore I try to rebuild all packages which have been installed  
>before that change.
>
>Helmut

There is a GCC upgrade guide in the gentoo pages. It starts with upgrading the 
toolchain. Then doing an 'emerge -e @world'.

If you want to make sure everything is installed using that. This would be the 
safest method.

Specifying all these packages manually makes the dependency checks for portage 
difficult. Even RPM based distros have left rpm-hell behind since yum got 
usable.

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