Re: [gentoo-user] SSSD and nsupdate installation issue

2021-03-13 Thread Alex Luehm

Dave,

That did the trick! Adding the bug tracker to my list of resources for 
future troubleshooting. Another day wiser, I suppose.


Many thanks!

On 3/13/21 5:28 PM, David M. Fellows wrote:

Hey all,

I've been trying to install SSSD on my Gentoo laptop over the past week
and keep getting stuck at the same spot. I've tried 2.2.0-r1, 2.3.1-r2,
and even 2.4.2 - all are failing during initial configuration, claiming
that "nsupdate does not support 'realm'". I've manually run the Autoconf
script and it doesn't seem to find this issue with nsupdate, so I'm
really starting to scratch my head. Admittedly, my knowledge of the
Gentoo package build process is lacking and after exhausting my
google-foo I now climb the mountain in search of guidance.

The dependencies and flags for SSSD seem pretty straightforward, so not
sure what could be causing this. Any pointers (or commiseration) would
be much appreciated.

A few snippets below:

checking for executable nsupdate... yes
checking for nsupdate 'realm' support'... no
configure: error: nsupdate does not support 'realm'

environment, line 3426:  Called econf '--localstatedir=/var'
'--runstatedir=/run' '--with-pid-path=/run'
'--with-plugin-path=/usr/lib64/sssd'
'--enable-pammoddir=//lib64/security'
'--with-ldb-lib-dir=/usr/lib64/samba/ldb'
'--with-db-path=/var/lib/sss/db'
'--with-gpo-cache-path=/var/lib/sss/gpo_cache'
'--with-pubconf-path=/var/lib/sss/pubconf'
'--with-pipe-path=/var/lib/sss/pipes'
'--with-mcache-path=/var/lib/sss/mc'
'--with-secrets-db-path=/var/lib/sss/secrets'
'--with-log-path=/var/log/sssd' '--with-os=gentoo'
'--with-nscd=/usr/sbin/nscd' '--with-unicode-lib=glib2'
'--disable-rpath' '--sbindir=/usr/sbin' '--enable-local-provider'
'--without-kcm' '--without-secrets' '--with-samba'
'--with-smb-idmap-interface-version=6' '--enable-cifs-idmap-plugin'
'--without-selinux' '--without-semanage' '--enable-krb5-locator-plugin'
'--disable-pac-responder' '--with-nfsv4-idmapd-plugin' '--enable-nls'
'--with-libnl' '--with-manpages' '--with-sudo' '--with-autofs'
'--with-ssh' '--disable-valgrind' '--without-python2-bindings'
'--without-python3-bindings' '--with-initscript=sysv'

Best,

Alex

The problem seems to be described in this bug report:

https://bugs.gentoo.org/679838

It also describes a workaround  (set FEATURES=-network-sandbox).

DaveF



OpenPGP_0x866016D0C7D402E0.asc
Description: application/pgp-keys


OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-user] SSSD and nsupdate installation issue

2021-03-13 Thread Alex Luehm

Hey all,

I've been trying to install SSSD on my Gentoo laptop over the past week 
and keep getting stuck at the same spot. I've tried 2.2.0-r1, 2.3.1-r2, 
and even 2.4.2 - all are failing during initial configuration, claiming 
that "nsupdate does not support 'realm'". I've manually run the Autoconf 
script and it doesn't seem to find this issue with nsupdate, so I'm 
really starting to scratch my head. Admittedly, my knowledge of the 
Gentoo package build process is lacking and after exhausting my 
google-foo I now climb the mountain in search of guidance.


The dependencies and flags for SSSD seem pretty straightforward, so not 
sure what could be causing this. Any pointers (or commiseration) would 
be much appreciated.


A few snippets below:

checking for executable nsupdate... yes
checking for nsupdate 'realm' support'... no
configure: error: nsupdate does not support 'realm'

environment, line 3426:  Called econf '--localstatedir=/var' 
'--runstatedir=/run' '--with-pid-path=/run' 
'--with-plugin-path=/usr/lib64/sssd' 
'--enable-pammoddir=//lib64/security' 
'--with-ldb-lib-dir=/usr/lib64/samba/ldb' 
'--with-db-path=/var/lib/sss/db' 
'--with-gpo-cache-path=/var/lib/sss/gpo_cache' 
'--with-pubconf-path=/var/lib/sss/pubconf' 
'--with-pipe-path=/var/lib/sss/pipes' 
'--with-mcache-path=/var/lib/sss/mc' 
'--with-secrets-db-path=/var/lib/sss/secrets' 
'--with-log-path=/var/log/sssd' '--with-os=gentoo' 
'--with-nscd=/usr/sbin/nscd' '--with-unicode-lib=glib2' 
'--disable-rpath' '--sbindir=/usr/sbin' '--enable-local-provider' 
'--without-kcm' '--without-secrets' '--with-samba' 
'--with-smb-idmap-interface-version=6' '--enable-cifs-idmap-plugin' 
'--without-selinux' '--without-semanage' '--enable-krb5-locator-plugin' 
'--disable-pac-responder' '--with-nfsv4-idmapd-plugin' '--enable-nls' 
'--with-libnl' '--with-manpages' '--with-sudo' '--with-autofs' 
'--with-ssh' '--disable-valgrind' '--without-python2-bindings' 
'--without-python3-bindings' '--with-initscript=sysv'


Best,

Alex



OpenPGP_0x866016D0C7D402E0.asc
Description: application/pgp-keys


OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-user] Multiboot USB - GRUB2 loop device

2018-07-13 Thread Alex Luehm
Hello all

I've recently taken it upon myself to create a multiboot USB with isos
that I tend to frequently use. So far I've been successful in adding
Clonezilla and the Archlinux live ISOs. I've attempted to add the Gentoo
install ISO in a similar manner (helped with the grub config within the
iso itself but can't seem to get GRUB to recogonize the image. My
DuckDuckGo-foo has returned useless results (a near hit, yet useless 
inquiry being found here:
https://forums.gentoo.org/viewtopic-p-6527390.html).

My current GRUB menu entry is as follows:

menuentry '[loopback]gentoo amd64' {
set isofile='/isos/gentoo.iso'
echo "isofile set"
loopback loop $isofile
echo "loopback set"
linux (loop)/isolinux/gentoo64 root=/dev/ram0 init=/linuxrc
dokeymap looptype=squashfs loop=/image.squashfs cdroot cdboot
initrd=gentoo64.xz
initrd (loop)/isolinux/gentoo64.xz
}

When booting, I receive the following message:

isofile set
loopback set
error: attempt to read or write outside of disk 'loop'
error: you need to load the kernel first

Thanks in advance!

-- 
Best,

Alex Luehm


signature.asc
Description: PGP signature


Re: [gentoo-user] syncing via via git and signature failure

2018-07-04 Thread Alex Thorne
>
>
>> I use rsync and get the following for more than a day now;
>
> !!! Manifest verification failed:
> OpenPGP verification failed:
> gpg: Signature made Wed 04 Jul 2018 04:08:28 AM UTC
> gpg:using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
> gpg: Can't check signature: No public key
>
>
> I'm seeing this too. For me `app-crypt/gentoo-keys` is somehow no longer
installed and `/var/lib/gentoo/gkeys` is missing. I have no idea how this
happened. Perhaps it somehow got into `emerge --depclean` and I didn't
catch it.

Alex


Re: [gentoo-user] how best to encrypt a file

2018-07-03 Thread Alex Luehm
On July 3, 2018 7:33:27 AM CDT, Samuraiii  wrote:
>On 3.7.2018 13:27, Philip Webb wrote:
>> 180703 Alec Ten Harmsel wrote:
>>> On Tue, Jul 03, 2018 at 05:47:22AM -0400, Philip Webb wrote:
 I have a couple of small files which need to be encrypted :
 one is simple text ( .txt ), the other a spreadsheet ( .ods ).
 I haven't used encryption like this before : what do others use ?
>>> I have used `gpg' to do this before:
>>> # Encrypt with a passphrase
>>> gpg -c 
>>> # Decrypt
>>> gpg -d .gpg
>>> I do have some files I keep encrypted locally
>>> that I use `gpg' to encrypt/decrypt, but with my personal key pair.
>>> For that, I use a vim plugin [1] that transparently decrypts to
>`/tmp',
>>> lets me edit and then saves back to the original file.
>>> This prevents the decrypted contents from ever being on my hard
>drive,
>>> as I have `/tmp' mounted as tmpfs.
>> Thanks, that's very helpful except that you forgot to append [1]
>(smile).
>>
>> I don't need to encrypt the files locally,
>> but do need to when I create copies to up-load as off-site back-ups.
>>
>> Does anyone else have a useful suggestion ?
>>
>Hi,
>
>there is "reverse" encfs if there are more files to encrypt for backup.
>
>encfs --reverse ~/dir /tmp/dir
>
>It will encrypt original files on fly as you read /tmp/dir.
>
>I used this before (now I backup with duplicity).
>
>S
>
>PS: link to arch page with some more info
>
>https://wiki.archlinux.org/index.php/EncFS#Encrypted_backup
 
I'd recommend taking a look at borg backup. I've used it for remote backups 
over ssh and the deduplication and automatic encryption is aweaome. Maybe a bit 
overkill, but I believe in encryptes backups. 

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



Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-26 Thread Alex Thorne
You could also check out Scaleway, who offer a dedicated ARM server for 3
EUR/month. And DigitalOcean which offers simply priced VMs (starting at
$5/month) targeted at individuals/developers rather than big organisations
(in contrast to AWS). Haven't used Linode so not sure how these compare on
price.

On Sun, 26 Mar 2017 at 13:29 Todd Goodman  wrote:

> * Stroller  [170325 22:57]:
> > Hello,
> >
> > In the next few weeks I need to move my email server (a very old Gentoo
> installation) from the closet in my home, into the cloud so that I can go
> travelling and access my mail from anywhere.
> >
> > I've never used VM's before, but my understanding is that they look just
> like a normal machine to the users inside them, and there shouldn't be any
> problem with me getting used to them. My current mail server is an old
> 700mhz Pentium III (I think), so performance is unimportant. I guess VM's
> have some kind of web or VNC console I can log into for the initial install
> (and if I screw up remote access)?
> >
> > 1. Are these suppositions right?
> > 2. Any recommendations for cheap / reliable hosting providers, please?
> >
> > I expect to use Gentoo because I've hardly used any other distro for
> years, and find others less intuitive.
> >
> > Thanks,
> >
> > Stroller.
>
> Hi Stroller,
>
> I use Linode for my cloud web and email server.
>
> It was very easy to set up and has not had any downtime since it was set
> up (a year or so ago.)
>
> I don't use the web gui for access much (generally only for DNS
> management which they do well also.)
>
> Though I've used the lish console accessible from the GUI.
>
> I recommend them!
>
> Todd
>
>


Re: [gentoo-user] SOT (Slightlt OffTopic): Scriptable Documentation system (HTML/PDF) ?

2017-02-07 Thread Alex Thorne
> What can be choosen as "glue" between the
> "outside world" and TeX?
>

If you're looking for something to convert between different markups, e.g.
LaTeX and HTML, perhaps Pandoc would be appropriate

http://pandoc.org/

Alex

>


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

2017-02-05 Thread Alex Thorne
A wiki article would be great. I'd be happy to contribute my experiences
with my Surface Pro 4 if I eventually get round to installing Gentoo on it.

On Sat, 4 Feb 2017 at 22:30 Daniel Frey <djqf...@gmail.com> wrote:

> 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] Re: Gentoo on a Surface Pro 3?

2017-02-01 Thread Alex Thorne
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.

Alex

On Wed, 1 Feb 2017 at 20:59 Daniel Frey <djqf...@gmail.com> wrote:

> On 01/30/2017 12:24 PM, Daniel Frey wrote:
> > Subject says it all...
> >
> > I acquired (on the cheap) a used Surface Pro 3 with the keyboard cover
> > off of a relative who wasn't using it (they said the screen was too
> small.)
> >
> > I am considering putting Gentoo (or attempting to) and am wondering if
> > anyone has had success.
> >
> > It looks like newer kernels have some builtin support for the hardware.
> > Due to its form factor I will be setting up distcc to help with the
> > build process, and using -bin packages for monstrosities like firefox
> > and libreoffice.
> >
> > Dan
> >
>
> Well, so far, so good. I managed to configure an EFI stub kernel and
> booted it on the first try! I think I still need to compare some
> information on the kernel between the Mint boot USB and what I have, but
> other than that, it boots!
>
> It was then I found out that LABEL= and PARTLABEL= in fstab are two
> different things as I watched systemd fall flat on its face.
>
> Dan
>
>


Re: [gentoo-user] Audio - Module does not loaded

2016-07-16 Thread Alex Thorne
Is snd_hda_intel built as a module or is it part of the kernel itself?

On 17 Jul 2016 3:42 a.m., "Facundo Curti"  wrote:

> Hi there. I'm having troubles to get audio on gentoo :/
>
> aplay -l gave me 0 sound cards:
>  List of PLAYBACK Hardware Devices 
>
>
> lspci -v
> 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM
> Controller (rev 06)
> Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor DRAM Controller
> Flags: bus master, fast devsel, latency 0
> Capabilities: [e0] Vendor Specific Information: Len=0c 
> Kernel driver in use: hsw_uncore
>
> 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
> Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
> Flags: bus master, fast devsel, latency 0, IRQ 24
> Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
> Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th
> Gen Core Processor PCI Express x16 Controller
> Capabilities: [80] Power Management version 3
> Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
> Capabilities: [a0] Express Root Port (Slot+), MSI 00
> Capabilities: [100] Virtual Channel
> Capabilities: [140] Root Complex Link
> Capabilities: [d94] #19
> Kernel driver in use: pcieport
>
> 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th
> Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA
> controller])
> Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor
> Integrated Graphics Controller
> Flags: bus master, fast devsel, latency 0, IRQ 27
> Memory at f780 (64-bit, non-prefetchable) [size=4M]
> Memory at e000 (64-bit, prefetchable) [size=256M]
> I/O ports at f000 [size=64]
> Expansion ROM at  [disabled]
> Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
> Capabilities: [d0] Power Management version 2
> Capabilities: [a4] PCI Advanced Features
> Kernel driver in use: i915
>
> 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
> Processor HD Audio Controller (rev 06)
> Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD
> Audio Controller
> Flags: bus master, fast devsel, latency 0, IRQ 32
> Memory at f7c14000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [50] Power Management version 2
> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> Kernel driver in use: snd_hda_intel
>
> 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
> Family USB xHCI (rev 05) (prog-if 30 [XHCI])
> Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB
> xHCI
> Flags: bus master, medium devsel, latency 0, IRQ 30
> Memory at f7c0 (64-bit, non-prefetchable) [size=64K]
> Capabilities: [70] Power Management version 2
> Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
> Kernel driver in use: xhci_hcd
>
> 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series
> Chipset Family MEI Controller #1 (rev 04)
> Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family MEI
> Controller
> Flags: bus master, fast devsel, latency 0, IRQ 11
> Memory at f7c1f000 (64-bit, non-prefetchable) [size=16]
> Capabilities: [50] Power Management version 3
> Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+
>
> 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
> Family USB EHCI #2 (rev 05) (prog-if 20 [EHCI])
> Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB
> EHCI
> Flags: bus master, medium devsel, latency 0, IRQ 20
> Memory at f7c1c000 (32-bit, non-prefetchable) [size=1K]
> Capabilities: [50] Power Management version 2
> Capabilities: [58] Debug port: BAR=1 offset=00a0
> Capabilities: [98] PCI Advanced Features
> Kernel driver in use: ehci-pci
>
> 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High
> Definition Audio Controller (rev 05)
> Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High
> Definition Audio Controller
> Flags: bus master, fast devsel, latency 0, IRQ 31
> Memory at f7c1 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [50] Power Management version 2
> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> Capabilities: [100] Virtual Channel
> Kernel driver in use: snd_hda_intel
>
> 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family
> PCI Express Root Port #1 (rev d5) (prog-if 00 [Normal decode])
> Flags: bus master, fast devsel, latency 0, IRQ 25
> Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
> I/O behind bridge: 2000-2fff
> Memory behind bridge: de20-de3f
> Prefetchable memory behind bridge: de40-de5f
> Capabilities: [40] Express Root Port (Slot+), MSI 00
> Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 

Re: [gentoo-user] Emerge is teh FAIL ! ! ! ! !

2016-03-14 Thread Alex Corkwell
I encountered something similar to this myself a bit ago.
Apparently, GCC 5.3 has a bug in how it works with the stack alignment
in some cases, which causes compiling wine to fail halfway through [1].
I believe that that is the check for that bug.

If you have GCC 5.3, you may want to consider moving back to 5.2 until
the patch makes it into 5.4.
Or you can download the patch [1] and add it to /etc/portage/patches, if you
know how.

Alternatively, you can just mask the 1.9.* versions of wine for now.

That is, assuming that you are using GCC 5.3.
If not, ignore this.


[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140


On Mon, Mar 14, 2016 at 01:53:44PM -0400, Alan Grimes wrote:
> No, skipfirst only works when it actually tries to compile something.
> Here it is failing in some strange pre-compile stage. I don't know why
> it has to be so anal about this, The normal solution would be to log the
> error, drop the two packages that were affected, and then compile the
> rest...
> 
> but no.
> 
> I had to uninstall wine and winetricks, now about 80% of my packages are
> compiling... I'm probably going to end up with another lengthy list of
> miserable fail
> 
> 
> Franz Fellner wrote:
> > man emerge
> > search for "skipfirst" and "keep-going"
> > It also seems you did not post the actual error or log. At least the
> > snipped you posted does not make any sense.
> >
> > 2016-03-14 16:12 GMT+01:00 Alan Grimes  > >:
> >
> > In order to press ahead, I had to drop ktorrent and digikam, both
> > packages that I consider high priority. =\
> >
> >
> > I thought that would finally get me going...
> >
> >
> > Oh what a fool I was...
> >
> > #
> >
> > >>> Running pre-merge checks for kde-plasma/plasma-workspace-5.5.5-r2
> > >>> Running pre-merge checks for kde-plasma/kdeplasma-addons-5.5.5
> > >>> Running pre-merge checks for kde-plasma/khotkeys-5.5.5
> > >>> Running pre-merge checks for kde-plasma/powerdevil-5.5.5
> > >>> Running pre-merge checks for kde-plasma/kmenuedit-5.5.5
> > >>> Running pre-merge checks for kde-plasma/plasma-desktop-5.5.5
> > >>> Running pre-merge checks for dev-lang/mono-4.2.2.30
> >  * Determining the location of the kernel source code
> >  * Found kernel source directory:
> >  * /usr/src/linux
> >  * Found kernel object directory:
> >  * /lib/modules/4.4.0/build
> >  * Found sources for kernel version:
> >  * 4.4.0
> >  * Checking for suitable kernel configuration
> > options...
> > [ ok ]
> >
> >  * Messages for package app-emulation/wine-1.9.5:
> >
> >  * ERROR: app-emulation/wine-1.9.5::gentoo failed (pretend phase):
> >  *   (no error message)
> >  *
> >  * Call stack:
> >  *   ebuild.sh, line 133:  Called pkg_pretend
> >  *   wine-1.9.5.ebuild, line 206:  Called wine_build_environment_check
> >  *   wine-1.9.5.ebuild, line 179:  Called die
> >  * The specific snippet of code:
> >  *  $(tc-getCC) -O2 "${FILESDIR}"/pr69140.c -o
> > "${T}"/pr69140 || die
> >  *
> >  * If you need support, post the output of `emerge --info
> > '=app-emulation/wine-1.9.5::gentoo'`,
> >  * the complete build log and the output of `emerge -pqv
> > '=app-emulation/wine-1.9.5::gentoo'`.
> >  * The complete build log is located at
> > '/var/tmp/portage/app-emulation/wine-1.9.5/temp/build.log'.
> >  * The ebuild environment file is located at
> > '/var/tmp/portage/app-emulation/wine-1.9.5/temp/die.env'.
> >  * Working directory: '/usr/lib64/python3.4/site-packages'
> >  * S: '/var/tmp/portage/app-emulation/wine-1.9.5/work/wine-1.9.5'
> > tortoise ~ #
> >
> > 
> >
> > So this one stupid leaf package is killing my ENTIRE update???
> >
> > I guess I'd better pray to Bill Gates that he won't fuck up my
> > Windows 7
> > HTPC by shoving win x down my throat or otherwise I won't be able to
> > even try to play the several games I have that are windows only. =\
> >
> > --
> > IQ is a measure of how stupid you feel.
> >
> > Powers are not rights.
> >
> >
> >
> 
> 
> -- 
> IQ is a measure of how stupid you feel.
> 
> Powers are not rights.
> 
> 


signature.asc
Description: PGP signature


Re: [gentoo-user] Full system encryption on Gentoo

2015-12-30 Thread Alex Corkwell
g goes wrong, and
the latter will print enough text to give you a hint as to what went
wrong.

Now, with all of the configuration done, it's time to install GRUB to
your boot partition.

First, generate your GRUB configuration with:

grub2-mkconfig -o /boot/grub/grub.cfg

Make sure it finds your kernel and initramfs.
(It should say when it finds each).

Now, for the final step, install GRUB to your disk with:

grub2-install /dev/sda

It should say that it installed everything successfully.
If it doesn't, or if you want to make sure, add the "-v" flag and scroll
back up through it to make sure it found all of the LUKS and LVM stuff.

You should be good to go now.

When you reboot, GRUB will immediately prompt you for the passphrase for
each of your LUKS partitions (or your one LUKS partition).
After you enter it, you should end up in GRUB 2, just as normal.

When GRUB loads the kernel (and dracut), dracut will prompt you for your
passphrase again for each LUKS partition (because it doesn't have the
keys that GRUB derived and used).
This is more of a minor inconvenience unless you reboot a lot (and the
page I linked to had some ideas on how to get around this).

Afterward, the initramfs should load up the rest of your system as
usual.
I don't use systemd, so I can't help you on that part, but if you read
around the Gentoo wiki (and other sources) about systemd and dracut, you
should be able to figure that part out.

(Also, if the initramfs has issues finding something, it should, again,
drop you into a shell.
You can then just mount the filesystem manually.)

I hope this helps.
It ended up a little longer than I planned, but it should be helpful at
least to me in a couple more years when I can't remember how I did this
in the first place.

Alex


signature.asc
Description: PGP signature


Re: [gentoo-user] CD ripper that generates song titles?

2015-08-26 Thread Alex Corkwell
On Wed, Aug 26, 2015 at 04:06:10PM -0400, Walter Dnes wrote:
   I went to the CNE (Canadian National Exhibition) yesterday and
 indulged in a buying spree of 18 CD sets of my fave music (basically
 anything pop/rock/country pre-Beatles).  I now have over 20 CDs that I
 want to rip to flac eventually.  I dread the gruntwork in renaming
 tracks like track01.cdda.wav, etc.  What Gentoo ebuilds are there for
 stuff that'll get ahold of track titles?  Is it in the form of metadata
 on the CD?

I personally like using morituri [1] for ripping my CDs.
It's a little bit slower than some, but very accurate (I believe it
compares several reads, just to make sure there were no errors).
It's not available in the main portage tree, but it's in the dev-zero
overlay as media-sound/morituri.

It can rip to flac (with optional cue files) and works from the
terminal, if you prefer that.
Additionally, it can adjust for drive read offsets when writing files,
and is one of the few Linux things I've found which check the rips
against AccurateRip.

What's particularly nice about it is that it uses what little metadata
and such it can get from the CD to look it up in MusicBrainz and add in
the title, artist, etc.
It also uses this to name the files according to album, artist, song
title, etc.
The template it uses to name the files and directories is relatively
configurable, as well.

If you need more configurable tagging, cover art downloading, and such,
then look into Picard [2], which is in the main portage tree as
media-sound/picard.
It uses MusicBrainz [3] to get a whole bunch of metadata, tags, cover
art, and other stuff, and can rename files much more flexibly than
morituri.

This is especially nice in combination with morituri, since morituri
saves the MusicBrainz ID into the metadata of the ripped files.
Normally, Picard looks files up by either the available metadata, or by
the acoustic fingerprint.
Since the MusicBrainz ID is already there, it immediately knows which
album it is (although it may have the wrong release if you want to be
that precise).

The only caveats with Picard that I know of are that it's GUI only, it
can't embed full size cover art if the image is above some large
resolution, and I think that submitting extra fingerprints requires you
to register with AcoustID [4].
Also, it's not an actual ripper.
It just works on the metadata and tags of flac, mp3, and maybe a few
other types.

I personally like to rip with morituri, then polish the tagging and get
the cover art with Picard.

[1] http://thomas.apestaart.org/morituri/trac/wiki
[2] https://picard.musicbrainz.org/
[3] https://musicbrainz.org/
[4] https://acoustid.org/


signature.asc
Description: PGP signature


Re: [gentoo-user] Anyone's kernel getting panicky????

2015-07-13 Thread Alex Thorne
I'm on 4.1.2 with no problems. Sorry to check the obvious, are you sure you
copied your config over from your previous kernel? The only time I got a
kernel panic after a minor kernel upgrade was when I forgot to do this and
as a result compiled the default kernel without support for LVM.

Alex

On 13 July 2015 at 06:11, Andrew Lowe a...@wht.com.au wrote:

 Hi all,
 Just did an eix-sync followed by an emerge -NuD world and then the
 manual kernel, nvidia drivers build and grub2 fixup. When I rebooted I
 got a kernel panic. It appears to be very early on in the process as I
 get minimal stuff flashing up the screen before the panic. Any thoughts
 on how to find out what's going wrong?

 The kernel in question is 4.1.2 and I've now rebooted back into
 4.0.5
 and things are fine. I've looked at dmesg for this boot, 4.0.5, and it
 doesn't mention anything about memory being on the way out. My thoughts
 are to try and boot again from 4.1.2 and let it panic. Then reboot using
 a sysrescude cd and see if dmesg has written anything. Whilst I've got
 the sysrescue cd happening, I'll also run a memory check.

 I've done the above, there is nothing in /var/log/dmesg for the
 panicked boot, it still contains the data from the previous 4.0.5 boot.
 The running of memtest, I let it run for about 3hrs, showed no errors as
 well. I'm about to give boot_delay a try to see if I can spot what's
 causing the problem and am currently in the process of fixing this up:

 https://wiki.gentoo.org/wiki/Kernel_Crash_Dumps

 Would anyone have any other thoughts?

 Thanks in advance,
 Andrew




Re: [gentoo-user] lvmetad Errors

2015-07-12 Thread Alex Thorne
I'm afraid I won't be testing it any time soon -- I don't have any drives
to pair at the moment. As for your comments about dmraid being 'fake', I'm
a little confused. From what you say it sounds like this is the hardware
RAID that comes with many motherboards. Why is hardware RAID undesirable
over software RAID? Presumably the mdraid software option has an associated
performance hit? Is it just that opaque proprietary firmware can't be
trusted with the important task of looking after our data?

On 6 July 2015 at 16:01, Peter Humphrey pe...@prh.myzen.co.uk wrote:

 On Monday 06 July 2015 10:19:36 Alex Thorne wrote:
  I guess I did mean mdraid, but would you mind explaining the difference
  (I've never used raid so don't know much about this)? Is dmraid
 deprecated
  in favour of mdadm?

 Dmraid is the fake RAID that's included on most motherboards these days;
 it's
 meant for use with Windows and is enabled (or not) in the BIOS. There are
 Linux drivers, but we're always advised to use mdraid instead. Mdraid is
 all
 in software spread over the kernel, udev and user space*; it's not
 influenced
 at all by Windows as far as I know. Mdadm is the user-space administration
 program that comes with mdraid.

 Mdadm creates /dev/mdX from one or more /dev/sdX or similar - e.g. my
 /dev/md1
 is built on /dev/sd[ab]1; /dev/md5 is on /dev/sd[ab]5 and /dev/md7 is on
 /dev/sd[ab]7. That last one also has LVM on it with a dozen or more logical
 volumes for segments of my overall file system.

 If you want to play with mdraid, the old Gentoo guide is succinct but
 useful:

 http://wwwold.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml

 Well, it was, but suddenly it isn't there - even Google's search results
 end
 up in an empty page.

 Ah, I've found the new version at https://wiki.gentoo.org/wiki/LVM . It
 must
 be very new - would you like to test it?  :-)

 *  Yes, I know that udev runs in user space (=User Device management)
 but I
 thought it was worth mentioning separately.

 --
 Rgds
 Peter





Re: [gentoo-user] Help with obscure syntax in gsignal.h?

2015-07-08 Thread Alex Thorne
In this context I believe it's a bit shift operator. So 1  0 is 1 and 1
 1 is 2.

As for the  operator in C++...

The operator appears in C++ as the bitshift operator too. However, C++
supports operator overloading. This means that for custom data types (I.e.
classes), one can define how certain operators (including arithmetic and
logical operators) behave. This is done in a similar way to defining member
functions of a class. For example, one could overload the multiplication
operator * for a class 'Matrix' to implement correct matrix multiplication.

One operator overload which pervades the C++ standard library is the
'stream insertion operator'. For input and output streams such as the
standard output cout, the bitshift operators (,) have been redefined to
allow you to pass data to/from the stream.

This is arguably an abuse of notation and in general such confusing use of
operator overloading would be discouraged. However, in this case it is
perhaps justified since it provides a very convenient and intuitive way of
passing large numbers of objects of varying types to a stream such as cout.

Hope this helps clear things up.

Alex
On 9 Jul 2015 1:27 am, walt w41...@gmail.com wrote:

 I'm trying to debug a gtk+ app so I'm trying to learn some basic gtk+
 and failing :(

 Can anyone splain to me what these lines mean:

 typedef enum
 {
   G_CONNECT_AFTER   = 1  0,
   G_CONNECT_SWAPPED = 1  1
 } GConnectFlags;

 In particular I don't understand what the  operator is doing.

 When I was young  meant bitwise shift to the left.  When I got old
 and tried to learn c++ it was a way to print a string to the terminal.

 Any clues would be welcome.  type slowly and use small words, please






Re: [gentoo-user] lvmetad Errors

2015-07-06 Thread Alex Thorne
I guess I did mean mdraid, but would you mind explaining the difference
(I've never used raid so don't know much about this)? Is dmraid deprecated
in favour of mdadm?

Yes, I think most Gentoo installs I've done have had some small
warnings/error messages somewhere which I've never quite managed to
eliminate...

On 6 July 2015 at 08:54, Peter Humphrey pe...@prh.myzen.co.uk wrote:

 On Sunday 05 July 2015 18:01:37 Alex Thorne wrote:
  Unfortunately dmraid is not in any runlevel. I think it is lvm that's
  starting lvmetad despite use_lvmetad=0 being set in the configuration
 file.
  Unfortunately I think I'm just going to have to learn to live with the
  error message.

 I hope you meant mdraid.

 I've rebuilt my system recently (to go back from ~amd64 to amd64) and now I
 can't find a combination that avoids all error messages, so I seem to be
 in the
 same boat as you now  :0

 --
 Rgds
 Peter





Re: [gentoo-user] Re: Anyone else having a problem with bash?

2015-07-06 Thread Alex Thorne
I have also experienced this intermittently with bash. Running *reset *returns
the shell to normal for me. Echo is also set on for me, but will check if
this has changed next time I experience the issue.

On 6 July 2015 at 20:07, »Q« boxc...@gmx.net wrote:

 On Mon, 6 Jul 2015 20:18:18 +0300
 Alexander Kapshuk alexander.kaps...@gmail.com wrote:

  On Mon, Jul 6, 2015 at 8:01 PM, walt w41...@gmail.com wrote:
   My bash problem started a few weeks ago but I can't remember when.
   This problem is intermittent and hard to reproduce.  I'm seeing it
   maybe less than ten times per day but often enough to be really
   annoying.
  
   This is the problem:  occasionally bash gets in a state where it
   stops echoing the characters I type.  The commands I type continue
   to work properly and I can see the output from them but I can't see
   the commands on the screen as I type them.
  
   So far I've seen this problem start *after* some bash command has
   finished executing, e.g. after doing 'git diff'.  It never happens
   when I open a new xterm, before I run a command.
  
   I emerged app-shells/sash and I don't see the problem there, so I
   think this is a bash problem, but I'm just guessing.
  
   Any ideas?
 
  What's the output of 'stty -a'? Is the 'echo' attribute on, 'echo', or
  off, '-echo'?

 I have the same symptoms as walt (except less often, probably because
 I'm typing in bash less often).  The echo attribute is on for me.

 I think (but am not certain) the problem started for me when I
 updated bash and readline following this stabilization:
 https://bugs.gentoo.org/show_bug.cgi?id=548756

 In case it matters (and since I am using USE=-*), here are my flags
 for those two packages.

 bash: nls readline -afs -bashlogger -examples -mem-scramble -net
  -plugins -vanilla

 sys-libs/readline: -static-libs ABI_MIPS=-n32 -n64 -o32
  ABI_PPC=-32 -64 ABI_S390=-32 -64 ABI_X86=64 -32 -x32









Re: [gentoo-user] lvmetad Errors

2015-07-05 Thread Alex Thorne
Unfortunately dmraid is not in any runlevel. I think it is lvm that's
starting lvmetad despite use_lvmetad=0 being set in the configuration file.
Unfortunately I think I'm just going to have to learn to live with the
error message.

Thanks,
Alex

On 25 June 2015 at 10:19, Peter Humphrey pe...@prh.myzen.co.uk wrote:

 On Wednesday 24 Jun 2015 12:13:06 Alex Thorne wrote:

  I used to get the following error in /var/log/rc.log
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  I am not sure why this was happening, but I read that one fix was to
  disable lvmetad entirely. And so I set
 use_lvmetad = 0
  in /etc/lvm/lvm.conf.
 
  However, now I get error messages of the following form (e.g. when
 running
  grub2-mkconfig):
WARNING: lvmetad is runing but disabled. Restart lvmetad before
 enabling
  it!

 I don't have an rc.log but I used to see this scroll by during boot and
 shutdown. The cure seems to be to remove mdraid from the boot run-level
 [1].

 I don't properly understand what's going on here: I needed mdraid in boot
 while building the system, but once it was up and running and udev was
 starting the RAID volumes it was better to remove it. I still have
 use_lvmetad
 = 1. Bug 521280 refers.

  I ran
 /etc/init.d/lvmetad needsme
  and got
 lvm-monitor lvm
  I don't understand why lvm is starting lvmetad even when I have disabled
  it. lvmetad is certainly not in any runlevel itself and I just don't know
  where to go from here.
 
  I would appreciate some advice on how to fix either problem (the socket
  connect issue when lvmetad is enabled, or the fact that lvmetad still
  starts when it's disabled...)

 [1] ...and have a rescue system ready to chroot from and put it back
 :-)

 --
 Rgds
 Peter





[gentoo-user] lvmetad Errors

2015-06-24 Thread Alex Thorne
I have been getting some lvmetad related errors, some of which can
certainly be found on Google, but I haven't had luck fixing them so far.

I used to get the following error in /var/log/rc.log
/run/lvm/lvmetad.socket: connect failed: No such file or directory
I am not sure why this was happening, but I read that one fix was to
disable lvmetad entirely. And so I set
   use_lvmetad = 0
in /etc/lvm/lvm.conf.

However, now I get error messages of the following form (e.g. when running
grub2-mkconfig):
  WARNING: lvmetad is runing but disabled. Restart lvmetad before enabling
it!

I ran
   /etc/init.d/lvmetad needsme
and got
   lvm-monitor lvm
I don't understand why lvm is starting lvmetad even when I have disabled
it. lvmetad is certainly not in any runlevel itself and I just don't know
where to go from here.

I would appreciate some advice on how to fix either problem (the socket
connect issue when lvmetad is enabled, or the fact that lvmetad still
starts when it's disabled...)

Thanks,
Alex


Re: [gentoo-user] Difficulties to acchieve a certain time period with fcron

2015-05-30 Thread Alex Brandt
On Friday, May 29, 2015 18:12:52 meino.cra...@gmx.de wrote:
 What I want is, that fcron executes a script every 14 days. It does
 not matter, when to execute the script, since I cannot guarantee that
 my PC is running exactly at that time.

I've got a similar cron I run for backups (daily rather than bi-weekly) but it 
looks like this:

%nightly,bootrun,random * 2-4 CMD

What this tells fcron is to run nightly (meaning only one run is allowed in an 
evening, run at boot if it hasn't run and I just booted in the period, and 
randomly select a time between 2:00 and 4:00.  Works great for my needs and if 
one is missed it gets picked up at boot as it should.

Hope that helps but if not there's more in the man page:

http://fcron.free.fr/doc/en/fcrontab.5.html

Regards,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com




Re: [gentoo-user] how to update spamassassin with sa-update

2015-04-26 Thread Alex Brandt
On Sunday, April 26, 2015 13:47:46 lee wrote:
 Hi,
 
 installation notes for spamassassin say you need to do the rule updates
 yourself by running 'sa-update'.
 
 Now I'd do that with a crontab entry, and I don't want to add it to
 root's crontab.  As what user should I run it, and where do I put the
 crontab entry for it?

I use a cronjob in /etc/cron.hourly so it runs as part of the system crontab.

Regards,

-- 
Alex Brandt
Software Architect for Rackspace and Developer for Gentoo
http://blog.alunduil.com




Re: [gentoo-user] portage summary logs not rotated any more

2015-04-05 Thread Alex Corkwell
On Sun, Apr 05, 2015 at 06:31:43PM +0300, Alexander Kapshuk wrote:
 On Sun, Apr 5, 2015 at 5:36 PM, Mick michaelkintz...@gmail.com wrote:
 
 On Sunday 05 Apr 2015 14:19:16 Alexander Kapshuk wrote:
  On Sun, Apr 5, 2015 at 10:50 AM, Mick michaelkintz...@gmail.com wrote:
  An observation I've made, is that my log rotation seems to have effected
  all other logs in /var/log as well. It seems to have stopped working
 around
  January this year.
 
  ls -lt /var/log/messages*
  -rw--- 1 root root 9986127 Apr  5 16:10 /var/log/messages
  -rw--- 1 root root  173843 Jan 12 10:20 
 /var/log/messages-20150112.gz
  -rw--- 1 root root  277867 Jan  4 22:00 
 /var/log/messages-20150104.gz
  -rw--- 1 root root  132157 Dec 28 20:30 
 /var/log/messages-20141228.gz
  -rw--- 1 root root  142911 Dec 22 19:30 
 /var/log/messages-20141222.gz
 
 It seems to me that logrotate stopped rotating your logs back in Jan.  Did
 you
 change something in its configuration back then?
 
 This is what I have in /etc/cron.daily/logrotate:
 
 #!/bin/sh
 
 /usr/sbin/logrotate /etc/logrotate.conf
 EXITVALUE=$?
 if [ $EXITVALUE != 0 ]; then
     /usr/bin/logger -t logrotate ALERT exited abnormally with 
 [$EXITVALUE]
 
 fi
 exit 0
 =
 I then went ahead and ran logrotate by hand, which resulted in the following
 output:
 
 /usr/sbin/logrotate /etc/logrotate.conf
 501 Not authorised --- Reply not authenticated
 501 Not authorised --- Reply not authenticated
 # echo $?
 0
 
 I guess I have to figure out what the error message shown below is all about:
 501 Not authorised --- Reply not authenticated
 
 

I don't know about the 501 Not authorised, but I remember having a
similar issue with logrotate not running beginning around the same time
(the last rotated log was the week of 20141221). I can't remember
exactly what I did, but I believe around then Gentoo (and my system)
switched from vixie-cron to cronie as default. If I remember correctly,
it was anacron that caused the problem.

Take a look at these lines from the default (at least, on my system) for
/etc/crontab:

# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
# if anacron is not present
59  *  * * *root[ ! -x /etc/cron.hourly/0anacron ]  rm -f
/var/spool/cron/lastrun/cron.hourly
9  3  * * * root[ ! -x /etc/cron.hourly/0anacron ]  rm -f
/var/spool/cron/lastrun/cron.daily
19 4  * * 6 root[ ! -x /etc/cron.hourly/0anacron ]  rm -f
/var/spool/cron/lastrun/cron.weekly
29 5  1 * * root[ ! -x /etc/cron.hourly/0anacron ]  rm -f
/var/spool/cron/lastrun/cron.monthly
*/10  *  * * *  root[ ! -x /etc/cron.hourly/0anacron ]  { test -x
/usr/sbin/run-crons  /usr/sbin/run-crons ; }

Essentially, cron.{hourly,daily,weekly,monthly} only get run if
/etc/cron.hourly/0anacron is not executable. On my system, if I remember
correctly, /etc/cron.hourly/0anacron had the executable bit set after I
emerged cronie, but I never set up anacron. I don't know if it properly
runs all the cron.* scripts regularly by default, but after a quick
chmod -x /etc/cron.hourly/0anacron logrotate returned to running
regularly.

I really don't know what's going on with the 501, but I hope that helps
with getting it to run regularly (at least, unless you actually know how
to use anacron, in which you probably know whether or not this makes
some sense).


signature.asc
Description: PGP signature


[gentoo-web-user] Administrativa: List closed

2015-02-13 Thread Alex Legler
This mailing list is closed now. You can no longer post or subscribe.

All subscribers are invited to participate in discussions on
gentoo-user, or any of our other community venues instead.



signature.asc
Description: OpenPGP digital signature


[gentoo-web-user] Administrativa: List scheduled to be retired

2015-02-09 Thread Alex Legler
Hello,

after reviewing the activity of our mailing lists, the Gentoo Infra team
is considering retiring less active lists in order to keep the amount of
different lists overseeable.

This mailing list is currently scheduled for closure by next week.
Subscribers of this are invited to instead participate in discussions on
gentoo-user or any of our other lists, or community and support venues.

Should any of the subscribers have concerns regarding this change,
please reply to this thread by the end of the week.

For Infrastructure,
Alex



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] automated code validation

2014-12-04 Thread Alex Brandt
Hey James,

I've removed the original content for length but I love the 
ideas you've put together for an overarching testing strategy.

I've begun work on a small ebuild testing framework, etest [1], 
that I believe fits into your model quite well.  It uses docker 
images for isolation and repeatability.  It allows developers to 
verify the install time and some run time behavior of ebuilds in 
an automated fashion.  It's also extremely alpha and I find new 
issues every time I use it.

That all being said I would love feedback and if anyone is brave 
enough to use it I would love to start cataloging issues that 
people find in github.

James, if this doesn't fit your vision then I apologize for the 
tangential reply to your thread.

[1] https://github.com/alunduil/etest

Thanks,

-- 
Alex Brandt
Cloud Evangelist for Rackspace and Developer for Gentoo
http://blog.alunduil.com




Re: [gentoo-user] May GMN Tips and Tricks

2014-05-22 Thread Alex Schuster
Alan McKinnon writes:

 This month has been a treasure trove of such things here on
 gentoo-user.

Oh my, an I have some 6500 unread e-mails... that's hard to catch up.
But I'll have a look into this month then :)

Wonko



[gentoo-user] Only 4 of 8 GB usable

2014-05-21 Thread Alex Schuster
Hi there!

So I installed another 4 GiB RAM into a Gentoo amd64 system that had 4 GiB
already. But it still sees only 4 GiB, not 8 GiB:

leela ~ # uname -a
Linux leela 3.6.11-gentoo #3 SMP Mon Feb 4 15:37:48 CET 2013 x86_64 AMD
A6-3500 APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux 

leela ~ #
free -m total   used   free sharedbuffers cached
Mem:  3688   3269419  0108   1050
-/+ buffers/cache:   2110   1577
Swap: 2047 54   1993

Huh? Any idea why this is? The BIOS shows the full 8GiB, and lshw finds
it. dmidecode shows that 8G should work:

leela ~ # dmidecode -t 16
# dmidecode 2.11
SMBIOS 2.7 present.

Handle 0x0008, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 2

In case this helps, I uploaded the outputs of dmesg [1], lshw -c memory
[2] and full dmidecode output [3]. The dmesg output is somewhat weird
though, it has several 'vmalloc: allocation failure: 0 bytes' entries. I
suspected those were causing the problem, but I found that I needed to
activate CONFIG_KALLSYMS=y, and they are gone. But still only 4 GiB RAM.
The system is using an old kernel right now, so I cannot get the current
dmesg, sorry for this.

Probably related: Since I inserted this 2nd RAM module, wakeup
from hibernate-ram does no longer work.

Does this ring any bells? I'm out of ideas. Except than pulling out the 4
GB, or trying another mainboard.

[1] http://www.wonkology.org/tmp/lshw.txt
[2] http://www.wonkology.org/tmp/dmesg.txt
[3] http://www.wonkology.org/tmp/dmidecode.txt

Wonko



[gentoo-user] Remove default 'gentoo' repo in repos.conf

2014-04-09 Thread Alex Crawford
Hello everyone,

I am attempting to remove the default 'gentoo' repository definition from
my list of repositories. Even though I am using a custom repos.conf in
/etc/portage, I see that portage is including the default 'gentoo' entry
from /usr/share/portage/config/repos.conf. Is there any way I can indicate
in /etc/portage/repos.conf to remove the 'gentoo' repository? Thanks.

-Alex


Re: [gentoo-user] Remove default 'gentoo' repo in repos.conf

2014-04-09 Thread Alex Crawford
Thanks for the suggestions. I'd rather not modify
/usr/share/portage/config/repos.conf if I can help it and /usr/portage is
completely empty in my installation. I've been toying around with adding a
'deleted' attribute to the repository section. I'll start a discussion in
the portage dev channel.

-Alex


On Wed, Apr 9, 2014 at 1:18 PM, Tom Wijsman tom...@gentoo.org wrote:

 On Wed, 9 Apr 2014 12:42:42 -0700
 Alex Crawford alex.crawf...@coreos.com wrote:

  I am attempting to remove the default 'gentoo' repository definition
  from my list of repositories. Even though I am using a custom
  repos.conf in /etc/portage, I see that portage is including the
  default 'gentoo' entry from /usr/share/portage/config/repos.conf. Is
  there any way I can indicate in /etc/portage/repos.conf to remove the
  'gentoo' repository? Thanks.

 For a temporary solution, make /usr/portage as empty as possible; for a
 more permanent solution, I'd suggest to look at how Gentoo forks do
 this. Though I think that most of the forks still use the Portage tree;
 so, it might be hard to find what you are looking for.

 You can also put /usr/share/portage/config/repos.conf in CONFIG_PROTECT
 and adjust it there; put a symlink in /etc for convenience, such that
 you won't forget about it when scanning through /etc config files.

 --
 With kind regards,

 Tom Wijsman (TomWij)
 Gentoo Developer

 E-mail address  : tom...@gentoo.org
 GPG Public Key  : 6D34E57D
 GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D




Re: [gentoo-user] Qt blocking @world update

2013-11-09 Thread Alex Schuster
Alan McKinnon writes:

 On 05/11/2013 15:37, Alex Schuster wrote:

[kde-misc/fsrunner pulls in QT 4.8.4]

  This does not make any sense, does it?
 
 Actually, it does make sense, in a weird kind of way
 
 kid3 and fsrunner are not part of KDE proper (i.e. they are not shipped
 in the huge KDE tarballs). So they may be inconsistent with the main
 release due to no QA checks beyond what the dev does. And I doubt the
 gentoo KDE team checks such packages before updating ebuilds.

But what exactly is it that pulls in the older Qt?

 I would use this approach:
 
 Remove from world every KDE package that is not in kde-base (quickpkg
 first to make restores easier), then update world and do a depclean.
 Chances are very good it will complete cleanly.

Well, I was at this point already, after excluding fsrunner and kid3. 

 Then emerge all those KDE packages back in using the -t option to emerge
 and see what is causing issues.

emerge fsrunner would happily just install fsrunner, but emerge -Dpu
fsrunner again wants to downgrade Qt to 4.8.4. The same goes for kid3.

No big deal, I don't really need those.


 I think the odds are very good you will find an out-of-sync package that
 directly DEPENDS on some old version of Qt (or something equally silly).
 That package might even already be in the emerge output, but buried in
 the voluminous output portage gives these days

But emerge -uD @world no longer complains.

Of course I have other problems now... but I will start a new thread for
that.

Alex



Re: [gentoo-user] Qt blocking @world update

2013-11-05 Thread Alex Schuster

Alan McKinnon writes:


Excuse the top-posting; if I try inter-post between all those blockers
you'll never find what I reply :-)


I would, but for everyone else it's a mess. E-mail with line breaks is
not suited for this kind of output.


First I recommend to sync your tree again, just in case you got yours
between two Qt commits and things are not consistent anymore.


Ah, I have this problem for weeks now, but did not care enough. And did
not have the time for this.


You seem to have at least two things happening:

python-exec
qt

To deal with the first, try remove python-exec and re-merge it (but
quickpkg a backup first)

quickpkg python-exec  emerge -avC python-exec  emerge -av1
python-exec

This is untested so I don't know if it will bork. If it does, you have a
quickpkg that you can untar and get things back.


Thanks, a simple upgrade just worked, as I wrote in the reply to Walt.


Onto Qt:

I've had similar things over the years and it always made little sense.
Eventually I removed all references to Qt from world, sets in use and
USE then let portage figure out what to do. Rationale: Qt is a basic
toolkit that stuff uses, so stuff should decide what it needs and not
me. I want the stuff and if that requires Qt then just let portage give
me what is required.

This will show all references to Qt to consider:

grep -ir /qt /etc/portage/ /var/lib/portage/world*


/etc/portage/sets.portage/qt-split:x11-libs/qt-assistant
/etc/portage/sets.portage/qt-split:x11-libs/qt-core
/etc/portage/sets.portage/qt-split:x11-libs/qt-dbus
/etc/portage/sets.portage/qt-split:x11-libs/qt-demo
/etc/portage/sets.portage/qt-split:x11-libs/qt-gui
/etc/portage/sets.portage/qt-split:x11-libs/qt-opengl
/etc/portage/sets.portage/qt-split:x11-libs/qt-phonon
/etc/portage/sets.portage/qt-split:x11-libs/qt-qt3support
/etc/portage/sets.portage/qt-split:x11-libs/qt-script
/etc/portage/sets.portage/qt-split:x11-libs/qt-sql
/etc/portage/sets.portage/qt-split:x11-libs/qt-svg
/etc/portage/sets.portage/qt-split:x11-libs/qt-test
/etc/portage/sets.portage/qt-split:x11-libs/qt-webkit
/etc/portage/sets.portage/qt-split:x11-libs/qt-xmlpatterns
/etc/portage/package.use/misc:dev-qt/qt-creator  doc examples perforce
qtscript
/etc/portage/package.use/misc:dev-qt/qt-meta:3   doc mysql
/etc/portage/package.use/misc:dev-qt/qthelp  doc
/etc/portage/package.use/misc:dev-qt/qtsql   mysql
/etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle
/etc/portage/package.use/misc:=dev-qt/qtsql-4.8.4mysql
/etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle
/etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle
/etc/portage/package.use/misc:=dev-qt/qtsql-4.8.4mysql
/etc/portage/package.use/misc:=dev-qt/qtgui-4.8.4-r1 gtkstyle
/var/lib/portage/world:dev-qt/qt-meta:3


In your case, I see portage wants to downgrade several Qt packages due
to fsrunner, but there's nothing in that ebuild or the kde4-base eclass
it inherits, which leads me to believe you might have a config setting
somewhere that wants to exclude latest Qt somehow.


I commented them all out, I still get the error about multiple Qt
versions.



Portage and the tree by itself isn't doing it, here's my output:

$ emerge -pvt fsrunner

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

Calculating dependencies... done!
[ebuild  N ] kde-misc/fsrunner-0.7.5:4  USE=(-aqua) -debug 18 kB

Total: 1 package (1 new), Size of downloads: 18 kB


Same here, except that it's emerged already.

OK, I have no clue how to further debug this. But what I did is:

for (( i=500; i  0; i-=20 ))
do
  emerge -DautvNj $( head -n $i /var/lib/portage/world )
done

This failed until $i was 260, so I tried a little more, and removed 
media-sound/kid3 from @world. Along with fsrunner of course. Now, it's 
building.


This does not make any sense, does it?

Wonko



Re: [gentoo-user] Qt blocking @world update

2013-11-03 Thread Alex Schuster
Walter Dnes writes:

 On Sat, Nov 02, 2013 at 11:02:27PM +0100, Alex Schuster wrote
 
   * One or more packages are either masked or have missing
  dependencies:
   * 
   *
  dev-lang/python-exec:=[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)]
  pulled in by:
   * (dev-java/java-config-2.2.0::gentoo, installed)
  [snipping LOTS of similar output again]
 
   Let's start at the top, as the python errors may cascade and cause
 other errors.  From that output, it looks like you do not have any
 version of python_single_targetX_Y enabled.  That could be your
 problem right there.  What python settings do you have in make.conf?  I
 have 3 lines.
 
 PYTHON_SINGLE_TARGET=python2_7
 PYTHON_TARGETS=python2_7
 USE_PYTHON=2.7

I only have PYTHON_TARGETS=python2_7, but commented. Don't remember
when or why I did this. Bit it is set per default, emerge --info gives:
  PYTHON_SINGLE_TARGET=python2_7
  PYTHON_TARGETS=python2_7 python3_2
  USE_PYTHON is unset

AFAIK PYTHON_TARGETS defines for which versions of python you build
packages. And in case a package only allows to be built for a single
version of portage, this is set with PYTHON_SINGLE_TARGET. But what does
USE_PYTHON do? Is it documented anywhere? I don't find it in the man
pages of make.conf, portage or emerge.

 Also what do you get when you type eselect python list?  In my case I
 get
 
 [i660][waltdnes][~] eselect python list
 Available Python interpreters:
   [1]   python2.7 *
   [2]   python3.2

weird ~ # eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python2.7 *
  [3]   python3.2
  [4]   python3.3

So, all looks fine to me. USE_PYTHON=2.7 emerge --resume gives the same
error.

But then I upgraded python-exec. This went without problems, and now the
python errors are gone, and I only get this:

 * One or more packages are either masked or have missing dependencies:
 * 
 *   =dev-libs/icu-3.8.1-r1:0/51.1= pulled in by:
 * (net-libs/webkit-gtk-1.10.2-r300::gentoo, installed)
 * 
 *   ~app-emulation/emul-linux-x86-medialibs-20130224 pulled in by:
 * (app-emulation/emul-linux-x86-qtlibs-20130224::gentoo, installed)

Hmm. I have icu-51.2 installed, and emerge -u icu would happily upgrade to
51.2-r1. But with -deep I get app-emulation/emul-linux-x86 blockers
(xlibs, baselibs, opengl). Well, I'd say let's skip this. The failed
emerge -e was days ago, the portage tree has changed, my interest is not
so much continuing this failed emerge, but being able to update @world
again.

Thanks for responding Walt!

Alex



[gentoo-user] Qt blocking @world update

2013-11-02 Thread Alex Schuster
)

dev-qt/qt3support:4

  (dev-qt/qt3support-4.8.4::gentoo, ebuild scheduled for merge) pulled in by
~dev-qt/qt3support-4.8.4[aqua=,debug=] required by
(dev-qt/qtgui-4.8.4-r1::gentoo, ebuild scheduled for merge)

  (dev-qt/qt3support-4.8.5::gentoo, installed) pulled in by
~dev-qt/qt3support-4.8.5[aqua=,debug=] required by 
(dev-qt/qtgui-4.8.5-r1::gentoo, installed)
(and 2 more with the same problem)

dev-qt/qtsql:4

  (dev-qt/qtsql-4.8.4::gentoo, ebuild scheduled for merge) pulled in by
~dev-qt/qtsql-4.8.4[aqua=,debug=,qt3support] required by 
(dev-qt/qt3support-4.8.4::gentoo, ebuild scheduled for merge)

  (dev-qt/qtsql-4.8.5::gentoo, installed) pulled in by
~dev-qt/qtsql-4.8.5[aqua=,debug=,qt3support] required by 
(dev-qt/qt3support-4.8.5::gentoo, installed)
=dev-qt/qtsql-4.8.5:4[mysql?,postgres?] required by 
(app-office/akonadi-server-1.10.3::gentoo, installed)
(and 1 more with the same problems)

So, 4.8.4 and 4.8.5 are somehow both needed. Let's start at the top: fsrunner
and kdid3 need =dev-qt/qtgui-4.7.4, which 4.8.5 also would satisfy, but one
needs ~dev-qt/qtgui-4.8.4, and that is dev-qt/qt3support-4.8.4. What needs that?

The 2nd entry from the bottom states that ~dev-qt/qt3support-4.8.4 is required
by dev-qt/qtgui-4.8.4-r1.

The output also says 'and 1 more with the same problems' - might this be the
real reason? How would I find out what package this is? The --tree output only
shows fsrunner pulling in qtgui-4.8.4:

[nomerge   ] kde-misc/fsrunner-0.7.5:4::kde  USE=(-aqua) -debug 
[nomerge   ]  dev-qt/qtgui-4.8.4-r1:4 [4.8.5-r1:4] USE=accessibility cups 
dbus%* exceptions gif%* glib gtkstyle mng nas pch qt3support tiff xinerama xv 
(-aqua) -c++0x% -debug -egl -nis -trace 
[ebuild UD ]   dev-qt/qt3support-4.8.4:4 [4.8.5:4] USE=accessibility 
exceptions pch (-aqua) -c++0x% -debug 0 kB
[ebuild UD ]dev-qt/qtgui-4.8.4-r1:4 [4.8.5-r1:4] USE=accessibility 
cups dbus%* exceptions gif%* glib gtkstyle mng nas pch qt3support tiff xinerama 
xv (-aqua) -c++0x% -debug -egl -nis -trace 0 kB
[ebuild UD ] dev-qt/qtdbus-4.8.4:4 [4.8.5:4] USE=exceptions pch
(-aqua) -c++0x% -debug 0 kB

The ebuilds for fsrunner and kdid3 only have the 'interit kde4-base' line, no
special dependencies.

Any enlightenment would be very much appreciated. I just don't know how to get
my system back working. ATM, KDE is mostly at version 4.11.2-r1, but some KDE
packages still need to be updated. So, it does not work right now, unknown
protocol file and such errors.

Alex



Re: [gentoo-user] Multiple package instances within a single package slot

2013-10-06 Thread Alex Schuster
Helmut Jarausch writes:

 You are not alone, Alex, please see
 
 https://bugs.gentoo.org/show_bug.cgi?id=486438

Thanks!


Alan McKinnon writes:

 On 05/10/2013 20:30, Alex Schuster wrote:
  Neil Bothwick writes:

  And whatever package I try to update, emerge wants to remerge
  libreoffice. Happens with all the packages I tried, which are
  adobe-flash, python, zsh, xterm.
 
  If portage believes LO needs to be rebuilt, it will try to do so
  whichever packages you are emerging, just let it happen. 
  
  I already did that, twice, when updating portage and chromium. emerge
  still wants to remerge libreoffice whenever I upgrade a package.
  
  With a suitable
  --jobs setting, portage will emerge all the other packages before LO
  is done.
  
  No, at least with portage, the installation happened after
  libreoffice was installed.
  
  weird ~ # emerge -1uaj portage
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild  r  U  ] app-office/libreoffice-4.1.2.2-r1 [4.1.2.2]
  [ebuild U  ] sys-apps/portage-2.2.7 [2.2.0_alpha188]
  [...]
  Emerging (1 of 2) app-office/libreoffice-4.1.2.2-r1
  Emerging (2 of 2) sys-apps/portage-2.2.7
  Installing (1 of 2) app-office/libreoffice-4.1.2.2-r1
  Installing (2 of 2) sys-apps/portage-2.2.7
  Jobs: 2 of 2 completeLoad avg: 3.06, 2.76, 2.63

 Now that you have upgraded portage, does this behaviour (always wanting
 to rebuild LO) still happen?

Yes. As I wrote, I upgraded portage (and LO), then claws (excluding LO
this time), then chromium (along with LO). No more packages yet, but
every upgrade would remerge LO.
Downgrading to portage 2.2.6 does not help.


Neil Bothwick writes:

 On Sat, 5 Oct 2013 20:30:36 +0200, Alex Schuster wrote:
 
   If portage believes LO needs to be rebuilt, it will try to do so
   whichever packages you are emerging, just let it happen.   
  
  I already did that, twice, when updating portage and chromium. emerge
  still wants to remerge libreoffice whenever I upgrade a package.
 
 As a workround, you could remove LO from your world file, do your
 updates but don't depclean, then put it back with
 
 emerge -n libreoffice
 
 It may be quicker than trying to track down the cause.

I don't worry about this. I will add --exclude app-office/libreoffice to
EMERGE_DEFAULTS_OPTS, and wait for the bug to be fixed by someone.

Alex



Re: [gentoo-user] Multiple package instances within a single package slot

2013-10-05 Thread Alex Schuster
Alan McKinnon writes:

 On 04/10/2013 17:40, Alex Schuster wrote:
  Well. Sort of. Emerge also wanted to re-merge libreoffice, I have no
  idea why. The same happened yesterday when I upgraded portage.
  Whatever :) This time, I used --exclude app-office/libreoffice to
  avoid this.
 
 probably a poppler or icu or java update, or any one of the many things
 libreoffice uses that changes ABI at the drop of a hat.
 
 Recent portage with subslot support triggers a libreoffice rebuild when
 that happens, it is seldom an error. You can leave it out of the world
 emerge to speed things up, but revdep-rebuild is probably going to also
 find it and want to do the same

No, there is something wrong here. When I updated portage, it also
remerged libreoffice. Upgrading claws-mail updated dev-libs/libdbusmenu
and dev-libs/libindicate, and wanted to remerge libreoffice, which I
avoided.
Next, I updated chromium, which also remerged libreoffice. Again.

And whatever package I try to update, emerge wants to remerge
libreoffice. Happens with all the packages I tried, which are
adobe-flash, python, zsh, xterm.

Alex



Re: [gentoo-user] Multiple package instances within a single package slot

2013-10-05 Thread Alex Schuster
Neil Bothwick writes:

 On Sat, 5 Oct 2013 17:59:52 +0200, Alex Schuster wrote:
 
  No, there is something wrong here. When I updated portage, it also
  remerged libreoffice. Upgrading claws-mail updated
  dev-libs/libdbusmenu and dev-libs/libindicate, and wanted to remerge
  libreoffice, which I avoided.
  Next, I updated chromium, which also remerged libreoffice. Again.
  
  And whatever package I try to update, emerge wants to remerge
  libreoffice. Happens with all the packages I tried, which are
  adobe-flash, python, zsh, xterm.
 
 If portage believes LO needs to be rebuilt, it will try to do so
 whichever packages you are emerging, just let it happen. 

I already did that, twice, when updating portage and chromium. emerge
still wants to remerge libreoffice whenever I upgrade a package.

 With a suitable
 --jobs setting, portage will emerge all the other packages before LO is
 done.

No, at least with portage, the installation happened after libreoffice was
installed.

weird ~ # emerge -1uaj portage

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

Calculating dependencies... done!
[ebuild  r  U  ] app-office/libreoffice-4.1.2.2-r1 [4.1.2.2]
[ebuild U  ] sys-apps/portage-2.2.7 [2.2.0_alpha188]
[...]
 Emerging (1 of 2) app-office/libreoffice-4.1.2.2-r1
 Emerging (2 of 2) sys-apps/portage-2.2.7
 Installing (1 of 2) app-office/libreoffice-4.1.2.2-r1
 Installing (2 of 2) sys-apps/portage-2.2.7
 Jobs: 2 of 2 completeLoad avg: 3.06, 2.76, 2.63

Alex



[gentoo-user] Multiple package instances within a single package slot

2013-10-04 Thread Alex Schuster

Hi there!

Some may remember me from posting here often. But since a year, I have a
new life, and much less time for sitting at my computer. Sigh. And my
beloved Gentoo got a little outdated.

So, a @world update does not work. I thought I give emerge -e @world a
try, this should sort out the problems, but this also does not go well.

I don't want to bother you with the whole lot of output emerge gives me,
and just ask a specific question at the moment. I get the 'Multiple
package instances within a single package slot have been pulled into the
dependency graph, resulting in a slot conflict' message, and several
affected packages. One example is claws:

mail-client/claws-mail:0

  (mail-client/claws-mail-3.9.0-r1::gentoo, ebuild scheduled for merge)
  pulled in by ~mail-client/claws-mail-3.9.0 required by
  (mail-client/claws-mail-address_keeper-1.0.7::gentoo, ebuild scheduled
  for merge)

  (mail-client/claws-mail-3.9.2::gentoo, ebuild scheduled for merge)
  pulled in by (no parents that aren't satisfied by other packages in
  this slot)

Looking at the ebuild, I see that claws-mail-address_keeper rdepends on
claws-mail-3.9.0. But being on ~amd86, 3.9.2 would be current.

I can solve this by masking versions greater than 3.9.0. Two questions:

Why can't portage deal with this itself, and simply install the highest
version that fulfills all requirements?

And how do I notice an update to claws-mail-address_keeper that would
allow a newer version of claws-mail? Other than remembering those masks
and go through them once in a while?

Similar problems happen with sys-boot/syslinux, pulled in by
sys-boot/unetbootin, media-sound/jack-audio-connection-kit, pulled in by
app-emulation/emul-linux-x86-soundlibs, and all dev-qt packages, where I
did not yet figure out what to do.

I am running portage 2.2.7.

Alex



Re: [gentoo-user] Multiple package instances within a single package slot

2013-10-04 Thread Alex Schuster
Kerin Millar writes:

 On 04/10/2013 11:50, Alex Schuster wrote:

[...]

 (mail-client/claws-mail-3.9.0-r1::gentoo, ebuild scheduled for
  merge) pulled in by ~mail-client/claws-mail-3.9.0 required by
 (mail-client/claws-mail-address_keeper-1.0.7::gentoo, ebuild
  scheduled for merge)
 
 (mail-client/claws-mail-3.9.2::gentoo, ebuild scheduled for merge)
 pulled in by (no parents that aren't satisfied by other packages in
 this slot)
 
  Looking at the ebuild, I see that claws-mail-address_keeper rdepends
  on claws-mail-3.9.0. But being on ~amd86, 3.9.2 would be current.
 
  I can solve this by masking versions greater than 3.9.0. Two
  questions:
 
  Why can't portage deal with this itself, and simply install the
  highest version that fulfills all requirements?
 
 Your use of --emptytree makes it slightly harder to determine from the 
 above output, because the conflict messages will not correctly 
 distinguish merged (installed) packages from those that are yet to be 
 merged.

I get some more errors without --emptytree (media-libs/x264,
dev-libs/icu, dev-libs/boost, app-text/poppler, dev-util/boost-build,
dev-lang/ocaml, x11-base/xorg-server), so I gave -e a try.

 Do you have mail-client/claws-mail-address_keeper in your world file?

Sure.

 If so, that would mandate its installation as part of the @world set
 (no if or buts). In turn, that would exhibit a hard dependency on 
 claws-mail-3.9.0, which obviously cannot co-exist with 3.9.2, even if 
 you have unmasked it.

Right. 

 Try removing the entry from the world file if it's there, then seeing 
 whether the conflict is handled any differently.

I guess this would install 3.9.2, as there's no reason not to do this.

  And how do I notice an update to claws-mail-address_keeper that would
  allow a newer version of claws-mail? Other than remembering those
  masks and go through them once in a while?
 
 As of the 3.9.1 ebuild, there is a comment above the collection of 
 blocks that states:
 
 Plugins are all integrated or dropped since 3.9.1
 
 Further, from the 3.9.1 release notes:
 
 All plugins previously packaged as 'Extra Plugins' are now contained 
 within the Claws Mail package.
 
 Thus, it's possible that the address_keeper plugin has been folded into 
 the core. In turn, that would explain why it must block the plugin as a 
 separate package.

Good catch! Thanks, also to Neil. I unmerged this plugin, and claws
updates just fine.

Well. Sort of. Emerge also wanted to re-merge libreoffice, I have no idea
why. The same happened yesterday when I upgraded portage. Whatever :) This
time, I used --exclude app-office/libreoffice to avoid this.

Alex



Re: [gentoo-user] Openssl 1.0.1c/d have serious issues?

2013-05-23 Thread Alex
Hi,

On Wed, May 22, 2013 at 01:49:47PM -0400, Tanstaafl wrote:
 On 2013-05-22 12:38 PM, Quanah Gibson-Mount qua...@zimbra.com wrote:
   Both 1.0.1c and 1.0.1d had *serious* problems.  

and what are these *serious* problems? Are there any links, CVEs?
From the ebuild, these patches are applied to the vanilla sources:

# Make sure we only ever touch Makefile.org and avoid patching a file
epatch ${FILESDIR}/${PN}-1.0.0a-ldflags.patch #327421
epatch ${FILESDIR}/${PN}-1.0.0d-fbsd-amd64.patch #363089
epatch ${FILESDIR}/${PN}-1.0.0d-windres.patch #373743
epatch ${FILESDIR}/${PN}-1.0.0h-pkg-config.patch
epatch ${FILESDIR}/${PN}-1.0.1-parallel-build.patch
epatch ${FILESDIR}/${PN}-1.0.1-x32.patch
epatch ${FILESDIR}/${PN}-1.0.1-ipv6.patch
epatch_user #332661

-- 
regards
 alex



Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Alex
Hi,

On Wed, May 22, 2013 at 09:35:30PM +0200, Samuraiii wrote:
 Script was just checking (by sftp with public ssh keys for unprivileged
 account) if LAN (eth or wifi) address is up and if not it just assigned
 address to hostname from vpn range (it did not accounted if machine is
 up or down). And the just write new /etc/hosts.

I'm using something similar but more sophisticated. On my machines I have
two hosts files, one for vpn, one for lan. Everytime I activate vpn on my
machine, a symlink to the vpn hosts is created. Upon deactivation of my vpn
the symlink points to the normal hosts. It looks like this:

lrwxrwxrwx 1 root root   17 Feb  3 23:24 /etc/hosts - /etc/hosts.normal
-rw-r--r-- 1 root root 1354 Feb 19 04:49 /etc/hosts.normal
-rw-r--r-- 1 root root 1420 Feb  3 16:09 /etc/hosts.vpn

I use OpenVPN for my vpn, which calls the scripts up.sh and down.sh during
de/activation. I simply put a appropriate ln command at the end of these 
scripts.

Sure not the best solution, but if you only have a few machines it is good
and simple enough.

-- 
regards
 alex



Re: [gentoo-user] Removing pulseaudio

2013-05-13 Thread Alex Schuster
Walter Dnes wrote:

 On Wed, Apr 24, 2013 at 12:12:56AM +0200, Michael Hampicke wrote

   Im not a gnome user as of yet, but I can tell you that the day is
   coming (Gnome 3.8 I believe) when gnome will not work without PA,
   so you will have to install it if you want newer Gnome.
  
  That's true, gnome3.8 will require you to install pulseaudio-2
 
   From a logic chapter in a highschool math text, the contrapositive
 version of this is that removing pulseaudio will require removing gnome.

I don't use it much, but I have Gnome installed, so I can play around
with it if I like. Whenever PulseAudio gets updated, I manually
rename /usr/bin/pulseaudio. I was never able to configure it, despite
some help from this list in the past, I think my problem is that my
internal sound card has two devices, and the HDMI one is default. For
ALSA I was able to switch them, with PulseAudio I had no success.

Sound behaviour is very erratic, and killing the pulseaudio process (or
not enabling it to start at all) seems to help. Although it still happens
that Amarok or Flash do not play sound, even though the test sound works
fine in the Phonon setup.

Quite annoying, but these days I have no time for that any more :-(

Alex



Re: [gentoo-user] Emerge problems

2013-03-18 Thread Alex Schuster

meino.cra...@gmx.de writes:

 FIXED!

The problem seemed to be *~-file in package.use left from my last vim
session...sigh


Huh? I once filed a request that *.bck files should be ignored, because 
NEdit creates such files per default, and was told that they already 
ignore those.


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

Alex



Re: [gentoo-user] Restart frozen X

2013-02-27 Thread Alex Schuster

Helmut Jarausch writes:


On 02/27/2013 04:18:51 AM, Joseph wrote:



I can login to the system over ssh.  I've tried to restart/zap
xdm it doesn't help. What else can I do to restart X?


You can use the SysRq Key (I use CtrlAltPrtSc) and then RE


R is okay, this resets the keyboard, and often helped me in the past to 
get my keyboard back.


But E would kills all processes except init. Use K instead, this only 
kills processes on the current virtual console.


Alex



Re: [gentoo-user] No space left on device ?

2013-02-23 Thread Alex Schuster
Florian Philipp writes:

 tmpfs uses as much memory as necessary and nothing more. In theory, it
 doesn't hurt to add all your memory to it as tmpfs will start to swap
 when you run out of memory. However, it is usually a better idea to
 unmount the tmpfs and use a regular file system whenever you need more
 space.
 
 As Volker noted, it is probably best to use 2GB tmpfs and when you
 emerge libreoffice, (and maybe firefox and co.) to switch back to using
 a regular fs. You could also expand tmpfs so that it can eat all memory
 not used by your applications under normal circumstances.

In order to avoid manual intervention when building large packages, I do
it that way: In /etc/portage/package.env I have entries like these:

app-emulation/virtualboxsafecflags.conf j1.conf
app-office/libreoffice  notmpfs.conf j1.conf
dev-java/icedteanotmpfs.conf
dev-lang/R  j1.conf
games-fps/alienarenanotmpfs.conf
games-fps/worldofpadman notmpfs.conf
kde-base/kdmj1.conf
kde-base/plasma-workspace   j1.conf
kde-base/systemsettings j1.conf
mail-client/thunderbird notmpfs.conf
media-sound/amarok  debug.conf
~net-mail/dovecot-2.1.15j1.conf
net-misc/nx j1.conf
sys-boot/grub   grub.conf
www-client/firefox  notmpfs.conf

Which means that for those packages the .conf scripts
in /etc/portage/env.d/ are sourced.

j1.conf has the line 'MAKEOPTS=-j1' in it, so those packages are not
being compiled in parallel. I happen to have problems with many packages
due to my MAKEOPTS being '--jobs --lod 5', somehow this make much more
trouble than MAKEOPTS=-somelarge number.

notmpfs.conf has 'PORTAGE_TMPDIR=/var/portage/tmp', while my normal
PORTAGE_TMPDIR is /var/portage/tmpfs. It is 4G in size, still this is not
enough for many packages. Firefox and Thunrbird are fine with the size,
but they tend to be compiled both at once, and then it is not enough.

safecflags.conf is:
  CFLAGS=-pipe -march=amdfam10 -O2
CXXFLAGS=$CFLAGS

debug.conf:
  CFLAGS=$CFLAGS -O2 -ggdb
CXXFLAGS=$CFLAGS
FEATURES=-buildpkg splitdebug

And grub.conf is 'export DONT_MOUNT_BOOT=blabla', this avoids Grub
messing around with my /boot directory.

Isn't portage just cool?

Wonko


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: udev-197: what to do -- S0LVED

2013-02-15 Thread Alex Schuster
Stefan G. Weichinger writes:

  # cat /proc/version
 Linux version 3.6.11-gentoo
 # zgrep -i devtm /proc/config.gz
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 
 # mount | grep tmpfs
 udev on /dev type devtmpfs
 (rw,nosuid,relatime,size=10240k,nr_inodes=493463,mode=755)
 tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
 shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
 cgroup_root on /sys/fs/cgroup type tmpfs
 (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
 
 I should edit /etc/fstab, I assume:
 
 # grep tmpfs /etc/fstab
 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
 shm   /dev/shmtmpfs nodev,nosuid,noexec   0 0

I still have this line in my fstab on one host...

 Same mistake as I mentioned a few days before ... the syntax seems to
 have changed to:
 
 tmpfs /dev/shmtmpfs   nodev,nosuid,noexec 0 0
 
 Right?

... but I don't have it at all on another. /dev/shm is mounted just fine
though.
CONFIG_DEVTMPFS_MOUNT seems to be responsible for that, although the help
text says that it does not work when using an initramfs, which I do:

CONFIG_DEVTMPFS_MOUNT:

This will instruct the kernel to automatically mount the devtmpfs
filesystem at /dev, directly after the kernel has mounted the root
filesystem. The behavior can be overridden with the commandline parameter:
devtmpfs.mount=0|1.
This option does not affect initramfs based booting, here the devtmpfs
filesystem always needs to be mounted manually after the roots is mounted.
With this option enabled, it allows to bring up a system in rescue mode
with init=/bin/sh, even when the /dev directory on the rootfs is
completely empty.

Alex



Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-03 Thread Alex Schuster
Alan McKinnon writes:

 On Sat, 2 Feb 2013 16:21:10 +0100
 Alex Schuster wo...@wonkology.org wrote:
 
  Michael Mol writes:

[system does not boot after UDEV upgrade]

  Ran into the same problem, with my sister's PC. Which I had updated
  from remote, so I did not see the elogs. I do not think it is correct
  behaviour to continue building udev although the system wouldn't boot
  with that kernel option missing. I would expect the udev ebuild to
  check the running kernel for that option, and refuse to build until
  it has it set. Or until building is forced by some USE flag or an
  environment variable.
  
  Had these things not been handled better in the past?
 
 There's a furious debate going on in -dev about this very thing, and
 the bottom line is that your statements above are way too simplistic.
 
 - there is no guarantee that /proc/config.gz represents the kernel the
   binary will actually run on (this emerge might well be the last
   process you ever run on that kernel)
 - there is no guarantee that /usr/src/linux corresponds to anything at
   all (it's a symlink and can point to anything, even invalid stuff)
 - there is no guarantee that the build host will run the code (think
   build farms, crossdev etc, so every available config cannot possibly
   be valid)
 - and a couple more

Sure, all this is not guaranteed. But IF there is a /proc/config.gz and
a /usr/src/linux/.config without the DEVTMPFS entry, it is quite probable
that the system will not boot. And I think a single line 'DEVTMPFS is not
set in this kernel. Udev will not run.' along many others is not enough.

 Basically, the only thing left for the ebuild devs is to notify the
 user with the important information.

That's okay with my PC I am sitting at. But on my sister's PC, I just
logged in and started a world update, not monitoring the process all the
time. She turned the thing off before I was able to read the elog, and
she was surprised when it did not boot the next day. How should I have
known what would happen?


 The question is not whether to halt the build or not (that cannot and
 will not be done) but how to do the communication:
 
 - news item

There is one, from 2013-01-23, ending with 'Apologies if this news came
too late for you.'

Okay, if that one came a little earlier, I would have been fine.

 - elog
 - README
 - some arb notice on a web site somewhere
 .
 
 This is gentoo, the distro that does not hold your hand and gives you
 every opportunity to keep both pieces. This is a good example of such. 

I'm using Gentoo for  10 years now, and this is the first time such
a thing has happened to me. Normally, the devs do quite a good job
informing people about such changes that need to be dealt with, but this
time I was not pleased.

But I'll stop complaining. This incident just seems a little odd to me,
unusual for Gentoo.

Alex



Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-02 Thread Alex Schuster
Michael Mol writes:

 So, I botched the upgrade to udev-191. I thought I'd followed the
 steps, but I apparently only covered them for one machine, not both.

[...]

 Udev also complained about DEVTMPFS not being enabled in the
 kernel.[2]  I couldn't get into X, but I could log in via getty and a
 plain old vt, so I enabled it, rebuilt the kernel, installed it and
 rebooted...and now that's presumably covered.

Ran into the same problem, with my sister's PC. Which I had updated from
remote, so I did not see the elogs. I do not think it is correct
behaviour to continue building udev although the system wouldn't boot
with that kernel option missing. I would expect the udev ebuild to check
the running kernel for that option, and refuse to build until it has it
set. Or until building is forced by some USE flag or an environment
variable.

Had these things not been handled better in the past?

Alex



Re: [gentoo-user] continue an installation

2012-12-17 Thread Alex Schuster

Willie WY Wong writes:


Suppose that I tried to emerge a package, and the compilation phase
went through without problems, but it got stopped in the installation
phase. Is there a way to (after I fixed the problem) to tell portage
to install the (now all already compiled binaries sitting in
/var/tmp/portage) directly without having to redo the compiling phase?

Case in point:

I just tried to update dev-lib/boost to 1.52. The compilation went
without a hitch, but the installation died because of file collision
against (I think) boost-1.49.0-r1000. Now that the colliding files are
no longer there, is there a way to tell portage to go ahead an install
boost-1.52 from the compiled sources in /var/tmp/portage ?


FEATURES=keepwork emerge -1ua boost

If you also want to avoid collisions:

FEATURES=keepwork -collision-protect -protect-owned emerge -1ua boost

Wonko



Re: [gentoo-user] python 3.1 removed

2012-12-10 Thread Alex Schuster

James wrote:


Python 2.7 is my default setting.
I also had python 3.1 and 3.2 both installed.
I read about how I should get rid of 3.1 and
force those apps that need/want python 3 to use
python 3.2. (makes sense but I did not fully
research it).


So I did these steps:

emerge -C python:3.1

eselect python update --python2
eselect python update --python3
eselect python list

Available Python interpreters:
   [1]   python2.7 *
   [2]   python3.2

python-updater (cleaned up)

All is OK?


Yes.


Miss anything?


Nope.


Foolish?


No, why?

Wonko



Re: [gentoo-user] SSD configuration

2012-11-26 Thread Alex Schuster

Luis Gustavo Vilela de Oliveira writes:


Well, with 8Gb RAM, i recommend use tmpfs on PORTAGE_TMPDIR, just while
u are compiling anything.
Or even with 6Gb too.


I have 16 GB, with 8GB for $PORTAGE_TMPDIR on tmpfs. There were issues 
with some packages having not enough space, so I have this in 
/etc/portage/package.env:


app-office/libreoffice  notmpfs.conf
dev-java/icedteanotmpfs.conf
games-fps/alienarenanotmpfs.conf
games-fps/worldofpadman notmpfs.conf
games-sports/vdrift notmpfs.conf
mail-client/thunderbird notmpfs.conf
www-client/firefox  notmpfs.conf

/etc/portage/env.d/notmpfs.conf has this entry, changing PORTAGE_TMPDIR 
to real HDD space:


PORTAGE_TMPDIR=/var/portage/tmp

Most of these packages compile with 8 GB of space, but not with parallel 
merges, like when Thunderbird and Firefox are both being built at the 
same time.


Alex



Re: [gentoo-user] SSD configuration

2012-11-25 Thread Alex Schuster

Jacques Montier writes:


I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation
and installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go RAM).

1- Everything seems to work perfectly, but i would like to know if my
configuration is ok or could be optimized.

/tmp and /var/log are on tmpfs


Like Volker said. Yikes! Or is that just a typo and you meant /var/tmp? 
Still, I would prefer to have that on the HDD.



/boot, / and /var are on SSD (sda),
swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)


I would put the portage tree on the SDD.

Wonko



Re: [gentoo-user] gentoo install problem

2012-11-04 Thread Alex Schuster
刘焕杰 writes:

 Hi guys, I try to install Gentoo this morning.
 I follow the instructions in the official website.
 But after I reboot, it appears like below:
 
   this is (none).
   unknown_domain Gentoo Linux 3.5.7
   (none) login:

Put the host name in /etc/conf.d/hostname, and the fully qualified
domainname in /etc/hosts, like 127.0.0.1 localhost myhost.mydomain.

 And I can log in as root, but it says it
 is a read-only file system. I can't modify
 any file.

Any messages about this while booting? Like having an unclean file
system, but /sbin/fsck.ext3 from sys-fs/e2fspropgs missing? You can halt
the output by pressing Ctrl-S, and enable it again with Ctrl-Q.

 Before I reboot, I can't umount /mnt/gentoo
 and /mnt/gentoo/dev, it says those devices
 are busy. But /mnt/gentoo/proc and /mnt/gen-
 too/boot umount succeed.

As Cr0k said.

Wonko



Re: [gentoo-user] genlop and tab completion acts weird

2012-10-22 Thread Alex Schuster
Dale writes:

 I been noticing something weird.  If I try to use tab completion with
 the genlop command, I get things like this:
 
 root@fireball / # genlop -t -f /var/-su: /etc/make.globals: No such file
 or directory
 hp-toolbox.lock ^C

Similar here, with missing /etc/make.conf. It's working when I create it,
as symlink to /etc/portage/make.conf. I do have /etc/make.globals, it
points to ../usr/share/portage/config/make.globals.

The problem lies in /usr/share/bash-completion/genlop,
where /etc/make.{conf,globals} are being referenced.

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

Wonko



Re: [gentoo-user] emerge --sync

2012-10-15 Thread Alex Schuster
Silvio Siefke writes:

 i try to install a Gentoo Vserver by Hosteurope. Im have take the last
 stage archive, because the vserver Archiv is old i think. When i want
 run emerge --sync it gives only this message:

[...]
 ERROR: out of memory in flist_expand [receiver]
 rsync error: error allocating core memory buffers (code 22) at
 util.c(117) [receiver=3.0.9] rsync: connection unexpectedly closed
 (2861 bytes received so far) [generator] rsync error: error in rsync
 protocol data stream (code 12) at io.c(605) [generator=3.0.9]
  Retrying...
 
 Can me someone tell what is it?

As it says, you're out of memory. It seems you are low on RAM, what does
free -m say? Maybe you need to add some swap space?

Wonko



Re: [gentoo-user] emerge --sync

2012-10-15 Thread Alex Schuster
Alan McKinnon writes:

 On Mon, 15 Oct 2012 21:03:59 +0200
 Silvio Siefke siefke_lis...@web.de wrote:
 
  On Mon, 15 Oct 2012 19:50:07 +0200
  Alex Schuster wo...@wonkology.org wrote:
  
   As it says, you're out of memory. It seems you are low on RAM, what
   does free -m say? Maybe you need to add some swap space?
  
  lvps5-35-240-192 / # free -m
   total   used   free sharedbuffers
  cached Mem:164600 11 164589  0
  0  0 -/+ buffers/cache: 11 164589
  Swap:0  0  0
 
 You have 164M of RAM, that is not enough. Packages like gcc and glibc

free -m outputs megabytes, so this would mean he has 164 G of RAM, with
only 11 M being used... something is wrong here. Not sure what.

Wonko



Re: [gentoo-user] Understand Portage not

2012-09-30 Thread Alex Schuster
Silvio Siefke writes:

 i try to build freecad from source, in Portage is mask. I try to build
 the requirements, but i understand really
 not what portage me say with this message.
 
 !!! Multiple package instances within a single package slot have been
 pulled !!! into the dependency graph, resulting in a slot conflict:
 
 The complete message found here  http://nopaste.info/c7ead120ee.html

I think attaching that is considered to be more appropriate, as we
don't know whether nopaste.info will be available for as long as the mail
archives.

I don't really understand the problem, as the multiple package instances
seem to have the same version. But maybe it helps to add --tree to the
options, this shows which stuff gets pulled in why.
And maybe adding --update --deep may sort things out. I also had success
sometimes with doing what the output says, adding --backtrack=30.

Wonko



Re: [gentoo-user] virtualbox - serial port

2012-09-18 Thread Alex Schuster

J. Roeleveld writes:


Joseph syscon...@gmail.com wrote:



ls -l /dev/ttyS0 crw-rw 1 root tty 4, 64 Sep 17 20:56
/dev/ttyS0

Is the above correct permission?



Those are default permissions. However those normally won't give a
normal user access. You can change the permissions of that
file/device to enable your user to have access.

I am typing this on my mobile and can't quickly tell you how to do
that on a permanent basis. But for a quick change you can use 'chown'
to change the owner to your own user.


What about 'gpasswd -a user tty' to add the tty group to the user? 
Needs a re-login to make use of the changes.


Wonko



Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Alex Schuster
Nikos Chantziaras writes:

 What the other posters said, except that you shouldn't add splitdebug 
 in your make.conf.  If you do that, it will affect all packages.
 
 What you do instead is put this text into 
 /etc/portage/env/sys-libs/glibc (yes, it must be a text file, not a 
 directory):
 
 CFLAGS=${CFLAGS} -g
 CXXFLAGS=${CXXFLAGS} -g
 FEATURES=${FEATURES} splitdebug

Or put sys-libs/glibc splitdebug.conf in /etc/portage/package.env, and
FEATURES=splitdebug in /etc/portage/env/splitdebug.conf. The CFLAGS
change should not be necessary. And I also think that you can simply use
FEATURES=... instead of FEATURES=$FEATURES ... and hope someone will
correct me if not.

Wonko



Re: [gentoo-user] Gentoo is the best linux distro

2012-09-12 Thread Alex Schuster

Alan McKinnon writes:


On Mon, 10 Sep 2012 17:33:05 -0700
Mark Knecht markkne...@gmail.com wrote:


Like Paul and many others I've never looked back. I'm no power user,
and contrary to a lot of the press out there I don't think you need to
be to use this distro.


That's actually quite perceptive and correct.

You don't need to be a genius wise-ass to use Gentoo. You just need to
have some brain-smarts and a willingness to look after your own stuff
yourself.


It takes some more time though to maintain it, compared to the other 
distros. And the installation is much more complicated of course.


But unless you need very basic stuff only, it pays off later I think. 
When you get into trouble, there are decent howtos that usually do not 
simply explain _what_ to do, but _why_. When you installed your own 
Gentoo, you already know a lot about Linux. And where to look in case of 
problems. Other distros often hide what's going on deeper, and that's 
nice when all works, but when not, you're screwed.


It's also much more fun to actually _solve_ problems on Gentoo, than 
just googling how some other Ubuntu user 'solved' his problem by trying 
various commands that you do not understand what they do, but that might 
also work in your case. Or not.


Wonko



Re: [gentoo-user] Gentoo is the best linux distro

2012-09-12 Thread Alex Schuster

Michael Mol writes:


On Wed, Sep 12, 2012 at 9:33 AM, Neil Bothwick n...@digimed.co.uk
mailto:n...@digimed.co.uk wrote:



Instead we get, try USE=-* :P

Try MAKEOPTS='-j1'


Which in fact often helps... especially for me, I am using MAKEOPTS=-j 
--load=4, and I often experience build problems that are not 
reproducible with a fixed number of jobs, regardless how large.



Turn off distcc


revdep-rebuild

And emerge -e world  perl-cleaner --all  python-updater  
lafilefixer --justfixit.


Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-29 Thread Alex Schuster

Peter Humphrey writes:


On Tuesday 28 August 2012 21:57:43 Alex Schuster wrote:

I wrote:

Well, all I can do now is to get a new board and see if things will
be okay then.

[...]
So I had to wait. And when it became available, I wondered if it
might be the processor instead that has the problem, so I let the PC
shop diagnose CPU and board. This took until today, and they
confirmed it was the board indeed, not the CPU.


Let me get this straight. The shop ran tests and concluded that the
motherboard was faulty, not the CPU?


Yes.


Fine, I bought the board


...it having been tested and found faulty!


Well, obviously not the defective board I already owned, but a new one 
of the same type. Yes. Defects happen, and because one specific board 
suddenly has a problem after working fine for half a year, I do not 
assume that all of these boards will likely fail. And it seems to be the 
only board having the features I want, at least in the price range of 
about 100€. Most have two memory banks only, so I would either have to 
use only 8GB out of 16 GB, or buy new RAM. And I want on-board graphics, 
I do not want to buy an extra graphics adapter that needs power or has a 
noisy fan. There were NVidia boards I think, but I prefer Radeon, that 
finally seems to work just fine, after having lots of trouble in the 
past with both NVidia and an older Radeon system.


Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-29 Thread Alex Schuster

Dale writes:


Alan McKinnon wrote:

Rule #1 in dealing with odd weird strange computer faults is ALWAYS
test with another PSU of at least twice the capacity you think you need.


+1  I always start with the P/S.  Well, unless I see something else
unrelated letting the smoke out.  Even then tho, a bad P/S can cause the
smoke to get out of something else too.  It's good advice all the way
around.

Why not let the computer shop test the P/S?  If it blows up something of
theirs, it's bad.  ;-)


I would have preferred to give them the whole PC, but I cannot carry 
that around easily when going to work by bus and tram, so I could drop 
it of the store when I leave work in the evening. It was easier to just 
carry mainboard and CPU in a small bag.


Well, not really true, I gave them the hardware on Friday, and on 
Saturday I could have used the car to transport the PC, but I was 
somewhat busy that day, and just didn't think about the PSU frying the 
board. And I had hoped that they would test the board right when I was 
there on Friday, so I could leave with the new one. Or with the new CPU, 
if that had turned out to be defective.


Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-29 Thread Alex Schuster

Volker Armin Hemmann writes:


Am Dienstag, 28. August 2012, 22:57:43 schrieb Alex Schuster:



This sucks. Is it a faulty board again? Is something (the PSU?) killing
the board once I turn the thing on? What will happen when I have the
next board and try again? Argh.


so - instead of changing the PSU, the obvious culprit, you got a new board AND
USED THE SAME PSU?


YEAH :) Thinking about this now, yes, it would have made sense to test 
with another PSU first. But it wasn't so obvious to me, I simply thought 
I had bad luck with a bad board, that died. Happens.



I am just saying - one faulty PSU fried three of my boards. Enermax... will
never buy again.


So - instead of changing the PSU, the obvious culprit, you let it fry 
another board, and then... yet another one? Just saying :)


I once had the opposite problem, a mainboard seemed to kill PSUs. That 
was weird.



The fans spin, so not all hope is lost. Keyboard, ps/2? usb?


It's a PS/2 keyboard.


But before you do anything else, change the PSU.


I tried another one this morning, same problems. I guess the board is 
fried. So I'll order another one, and this time use another PSU.


Wow, they say it will take 2-3 weeks. So I'll see if there's another 
board that will fulfill my needs... and there is. Radeon 3000 instead of 
4250, and I remember having big trouble with my last Radeon 3250 
system... and no eSATA which I probably wouldn't miss anyway, but it 
also has no PATA at all. I can (and have to) live with this it seems, 
but it's somewhat inconvenient.


Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-28 Thread Alex Schuster

I wrote:


Well, all I can do now is to get a new board and see if things will be
okay then.


This took longer than expected. The board I wanted (the same I already 
have) was not available, I had to order it. Strange, there is only one 
that has the features I want - AMD3+ chipset, four memory banks, USB 3, 
and on-board graphics.


So I had to wait. And when it became available, I wondered if it might 
be the processor instead that has the problem, so I let the PC shop 
diagnose CPU and board. This took until today, and they confirmed it was 
the board indeed, not the CPU. Fine, I bought the board, installed it in 
the PC, and guess what - it doesn't work. On the first boot I saw some 
BIOS status messages, hard drives and such, but the keyboard did not 
react, and then it did not boot, I got a black screen only. And on 
subsequent tries, with everything (2 ISDN cards, 4 hard drives) except 
for the DVD drive removed, the screen does not even turn on. All fans 
spin, and the DVD-ROM tray opens when I press the eject button. That's 
all. No keyboard LEDs.


This sucks. Is it a faulty board again? Is something (the PSU?) killing 
the board once I turn the thing on? What will happen when I have the 
next board and try again? Argh.


Wonko



Re: [gentoo-user] SSD performance tweaking

2012-08-26 Thread Alex Schuster

Frank Steinmetzger writes:

 On Thu, Aug 23, 2012 at 12:15:20PM +0200, Alex Schuster wrote:


The size of an erasable block of SSDs is even larger, usually 512K, it
would be best to align to that, too. A partition offset of 512K or 1M
would avoid this.


Unless the filesystem knows this and starts bigger files at those 512 k
boundaries (so really only one erase cycle is needed for files =512 k),
isn't this fairly superfluous?


Yes, I think it is. When you search for SSD alignment, you read about 
this alignment all the time, even on the German Wikipedia, and many 
resources say that this can have a big impact on performance. But I 
could not find a real explanation at all.


Besides that, it's not so easy to do the alignment, at least when using 
LVM. I read that LVM adds 192K header information, so even if you align 
the partition start to an erasable block size of 512K, the actual 
content is not aligned. See [*] for information how to overcome this. 
That is, if you believe the alignment to erasable blocks is important, 
personally I do not know what to think now. It wouldn't hurt, so why not 
apply it, but it seems like snake oil to me now.


Wonko

http://tytso.livejournal.com/2009/02/20/



Re: [gentoo-user] SSD performance tweaking

2012-08-26 Thread Alex Schuster

Volker Armin Hemmann writes:


Am Sonntag, 26. August 2012, 13:41:09 schrieb Alex Schuster:

Frank Steinmetzger writes:



Unless the filesystem knows this and starts bigger files at those 512 k
boundaries (so really only one erase cycle is needed for files =512 k),
isn't this fairly superfluous?


Yes, I think it is. When you search for SSD alignment, you read about
this alignment all the time, even on the German Wikipedia, and many
resources say that this can have a big impact on performance. But I
could not find a real explanation at all.

Besides that, it's not so easy to do the alignment, at least when using
LVM. I read that LVM adds 192K header information, so even if you align
the partition start to an erasable block size of 512K, the actual
content is not aligned. See [*] for information how to overcome this.
That is, if you believe the alignment to erasable blocks is important,
personally I do not know what to think now. It wouldn't hurt, so why not
apply it, but it seems like snake oil to me now.

Wonko

http://tytso.livejournal.com/2009/02/20/


because erasing is slow. You can not overwrite data on a ssd. you have to
erase first, then reprogramm. Also, erasing shortens lifetime.


Yes, I know that. But why exactly does it help to align a partition to 
the erasable block size? I don't get it. Why isn't it sufficient to 
align to the usual 4K block size, so that a block never spans over two 
erasable blocks?


Wonko



Re: [gentoo-user] SSD performance tweaking

2012-08-26 Thread Alex Schuster

Am 26.08.2012 16:21, schrieb Volker Armin Hemmann:

Am Sonntag, 26. August 2012, 14:49:08 schrieb Alex Schuster:

Volker Armin Hemmann writes:

Am Sonntag, 26. August 2012, 13:41:09 schrieb Alex Schuster:



Yes, I know that. But why exactly does it help to align a partition to
the erasable block size? I don't get it. Why isn't it sufficient to
align to the usual 4K block size, so that a block never spans over two
erasable blocks?


well, for one, there are lots of ssd which have 8k pages. Not 4k.


Whatever. Then align to 8K instead. But what does this have to do with 
the erasable page size?


Wonko



Re: [gentoo-user] NFS mounts and uid/gid/user names

2012-08-25 Thread Alex Schuster

meino.cra...@gmx.de writes:


to not to stress the SD-card of my single board computer too much I
mounted a directory of my PC via NFS at my single board computer, so
that compilations and other task which need to be done while
installing will access the hd and not the SD-card.
(The singleboard computer is a Cortex A8/OMAP based one: 32 bit. The
PC is 64 bit AMD based.)

So far so nice...everything works fine: I can see the directory
on both ends.

In /etc/exports on the PC I entered this:
/tmp/NFS 192.168.178.25(async,rw,no_subtree_check)

When setting chmod 700 /tmp/NFS, chown root:root /tmp/NFS
on the server side (PC) I cannot write to the directory
as root on the client side (single board computer).
On both sides root is 0:0.

When setting chmod 777 /tmp/NFS on the server side, I am able to write
at the client side to the that directory, bit listing that files shows
me that they become owned by nobody:nobody which is
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh on the server side.

How can I acchieve, that files written on one side remain the same
uid/gid assignment on the other side?


Add 'root_no_squash' to your options in /etc/exports.


Have a nice weekend!


Will do!

Wonko



Re: [gentoo-user] SSD performance tweaking

2012-08-23 Thread Alex Schuster

Mark Knecht writes:


I'm currently just using a single large partition  ext3. I didn't
do anything special in fdisk so the partition might not be aligned as
best it could be. I don't know.


See if the partition's starting block is 63 as it used to be in the 
past. In this case the alignment is wrong, as SSDs have 4K (or even 8K) 
sectors consisting of 8 (or 16) 512 byte blocks. The starting block 
should be divisible by 8 (or 16) because of the large sector size, if 
not, a file system sector spans over two drive sectors, and both heed to 
be accessed when reading a file system sector.


The size of an erasable block of SSDs is even larger, usually 512K, it 
would be best to align to that, too. A partition offset of 512K or 1M 
would avoid this.


Wonko



Re: [gentoo-user] Invalid module format

2012-08-21 Thread Alex Schuster

Tamer Higazi writes:


I did what you say, now the magic issue comes, the kernel drivers ARE
BUILT for this kernel, here the modinfo output:

tamer@office ~ $ sudo modinfo
/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko
+filename:   /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko
license:GPL
description:Sangoma WANPIPE: WAN Multi-Protocol Driver
author: Nenad Corbic ncor...@sangoma.com
depends:sdladrv,wanrouter
vermagic:   3.3.8-gentoo SMP mod_unload modversions


Does modinfo say exactly the same for another, regular kernel module you 
compiled when building the kernel?



I am running the 3.3.8 SMP kernel, and I don't know why he doesn't load
the modules. This is what droves me crazy about it

any other ideas?!


Did you use the same compiler version for building the kernel and for 
wanpipe?


Maybe enabling CONFIG_MODVERSIONS in your kernel will help (Enable 
loadable module support -- Module versioning support), but I doubt it.


Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-19 Thread Alex Schuster

Dale spent two cents:


Just my two cents here.  Problems like this are usually the power
supply.  Could it be the mobo, yes it could but the power supply is more
likely, usually cheaper to replace and easier to.  I had a friends puter
that was acting weird, random reboots and such, it was the power
supply.   A bad power supply can cause all sorts of weird problems.


Indeed. Well, so can bad capacitors or a hair crack on a motherboard, 
but those are rare I tink.



If you can, unplug everything including the CD/DVD drive.  No hard
drives either.  Just play with the BIOS.  Basically, don't try to boot
anything, just look at the BIOS itself.  If it acts weird, start with
the power supply.  If you have to, go to a local place and pick up a
cheap power supply.


I got three from a friend that once were mine, and I know that at least 
one of them is definitely working. But the effect was the same.




Random problems are hard to fix sometimes.  You just have to swap things
until you find the bad part.  I would put the odds at 80% that it is the
power supply tho.


I hoped so, as I do not have board or CPU to swap.


While at it, do you know what brand and the wattage of your power
supply?  It could be that someone on here as experience with that
particular brand or even that exact model.


I could look it up, but then, it's not new, and was one of the few parts 
that survived a major hardware failure half a year ago. Maybe it got 
damaged a little aready then. It seemed to work fine, so I kept using 
it. These things are not cheap, as I tend to buy quality ones that are 
silend and efficient.


I'll get a new board tomorrow, and hope I will have all back working 
soon. I'm very used to my desktop PC. I have a notebook that is way 
faster, but it's new and I don't have all my stuff on it yet. Oh, and it 
runs Windows 7... I'm not sure yet if I will a Gentoo VM, or if I will 
install Gentoo natively and run Windows in the VM. The best would be the 
option to have both, I think I read an article on how this could be 
accomplished. With Gentoo it's not much of a problem, I did that 
already, but Windows will need some tweaking. And I do not have much 
time for this these days.


Wonko



[gentoo-user] My PC died. What should I try?

2012-08-17 Thread Alex Schuster

Hi there!

Two days ago, my PC suddenly died, after working fine for half a year. I 
used myrtcwake as usual to suspend to RAM, and it woke up in the 
morning. But after two minutes, the screen went blank and nothing, even 
SysRq, gave a reaction. I tried booting a couple of times again, and 
sometimes it did not even reach KDM. Now, I cannot even run Grub (from 
my USB stick) any more, I only see a GRUB string at the top right, 
then nothing happens.


Booting with SystemRescueCD also freezes sometimes. If not, I can make 
it freeze after seconds by running 'memtester'.


Booting good old memtest86 ran for an hour and only found one error, 
then I aborted, removed three of my four memory modules (4GB each), and 
tried different ones in the first bank. Memtest86 again did not find 
much errors, but froze once. Running memtester after booting from 
SystemrescueCD again makes the thing freeze in seconds. It once also 
froze while being in the BIOs setup.


What could be the problem? CPU, board, or even the PSU? I do not think 
it has to do with bad memory. I removed most of the other stuff (hard 
drives, PCI cards). I have no similar hardware so I cannot simply 
exchange things, the question is what to buy and try. How would you proceed?


The fan is still working, the cooler does not become hot, and in the 
BIOS there are not high temperatures begin reported. But one thing was 
strange: I updated Calligra from 2.4 to 2.5 (I think), and it took ages, 
at least 8 hours. I thought there may b something strange with the build 
process of this new version, forcing MAKEOPTS=-j1 and such, but still 
this is very long. But when working with it, I did not notice anything 
strange like sluggish reactions, and videos played fine. But I did not 
use it as much as I normally do, and maybe even when overheated and 
throttled down it would have been fast enough for me to not notice this. 
I watch the syslog normally, but maybe I just did not look closely that 
day, I was busy doing other stuff.


CPUs don't just die, do they? Even when overheating, I think these days 
throttle down, so no permanent harm should be done? So maybe it's the 
board? It looks okay, no bent or leaking capacitors.


This is really annoying. Of course most of my passwords are in my KDE 
wallet I cannot access. There's also Wiki, CVS and Git repositories, not 
needed every day, but still important. And the timinig is very bad, I 
just started my new job the day the problem happened, and I do not have 
much time for this now. Before, I was working at home, so I would have 
had all day to diagnose and try things.


It's an AMD FX-4100 Quad-Core CPU, and an ASRock 880GMH/U3S3 board.

Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-17 Thread Alex Schuster

meino.cra...@gmx.de writes:


...shot in the dark:
Remove as much as possible of the cards, addons, connections etc
from the PC ... make in as much bare bone as possible.


Done already.


Check All coolers (the little ones also) for dust. Remove all
dust even if it is not completly covered with it.


They are clean.


Dont forget the internals of the power supply. Detach all cables.
Remove the power supply. Go outside ;) and blow the dust inside away.


I did not remove it yet... but if it's a temperature problem, it should 
not happen right after 30 seconds, when Grub already fails.
The voltages reported in the BIOS are okay, but I don't know it this 
information is accurate and reliable.



Put the power supply back into the PC again an attach the cables.


If I only could find a spare one... I have it, but I don't know where.


Remove all RAM, carefully clean the contacts, insert as less RAM as
possible.


Did that, using only 4 of 16 GB, and I switched the modules.


Remove even the HD if it is possible to get into the BIOS
without any HD attached.


I also did that, only the CD-ROM is attached.


Remove the BIOS battery, wait at least a day and insert it again.


That's worth a try. My old PC had a jumper which I could short circuit 
to instantly drain it, not sure if this was normal.



Start the PC and go directly into the BIOS. Check the date/time.
If it shows the current date/time, the battery wasn't removed
long enough. Check the battery voltage. Reinsert the battery.
If your board has a BIOS reset: Reset the BIOS.

Then: In the BIOS enter a page which does something
(reports continously temperatures for example).

If this is possible, let the PC run for a
while that BIOS page and see, whether it
hangs again or not.


Okay, I will do this.


If all went fine, add ONE component and try it again.
Add the HD at last to sort out hardware from software bugs...


Nah, I cannot even boot from my USB stick any more. I don't have a boot 
partition on my hard drive, so it is not involved there.



May be one of the components and not the CPU or motherboard
causes the problem and you will be able to identify it by
this procedure...


I hope it's the power supply, this would mean the least effort. I'd 
simply buy a new one, and I would not have to think about what board or 
which CPU I would like to get.



HTH!

GOOD LUCK!


Thanks! I can need it.

Wonko



Re: [gentoo-user] My PC died. What should I try?q

2012-08-17 Thread Alex Schuster

Randolph Maaßen writes:


Aaa aAaa aaa a
Am 17.08.2012 10:31 schrieb meino.cra...@gmx.de
mailto:meino.cra...@gmx.de:
 
  Hi Alex,
 
  ...shot in the dark:
  Remove as much as possible of the cards,aadwqqqaaa www wpa www a
weißes www aa Array www www www a aaa aa aadwqqqaaa aaa w
aadwqqqaaa www aa aaa a aaa www Awaa aaa aa quattro
Aquarellw aaa aa aa Webauftritt aaa a aaa aA aaa
aAaAaAaq aaawa addons, connections etcwo
  from the PC ... make ian as much bare bone aaa stwww wwwaaa www
qaaa wwwas a.
  www www waslittle ones also) for dust. Removeaa wwwaa all
  dust even if it is not completly covered with ait.


Woow! What is going on here?

Wonko



Re: [gentoo-user] My PC died. What should I try?q

2012-08-17 Thread Alex Schuster

Randolph Maaßen writes:


2012/8/17 Alex Schuster wo...@wonkology.org mailto:wo...@wonkology.org



Woow! What is going on here?



Damn!!
Sorry for this bad post, somehow my phone unlocked in my pocket.


I'm happy for every reply, and this was a very special one :)


--
Mit freundlichen Grüßen / Best regards
Randolph Maaßen


The signature seems to be separated correctly by --  instead of --, 
yet my Thunderbird does not recognize it as such. Maybe it has a problem 
with quoted-printable format?


Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-17 Thread Alex Schuster

v...@ukr.net writes:


   If the system behaves in such an unpredictable way (freezing at a
random point), I usually check the following things:
- RAM;
- bloated capacitors on the Motherboard;
- bloated or dried capacitors in the power supply unit;

   If your PC is only half a year old, it is unlikely that the
capacitors dried. But they could easily bloat, especially if they were
of bad quality or situated near some hot surface like heat sinks.
   Testing the power supply needs not only visual analysis. It would be
good to attach the oscilloscope to the output and see the voltage
level. It should not have large peaks (voltage jumps). But this is
usually true for the old units with dried capacitors, as I said.


The power supply is older, I re-used it from the PC I had before this 
one. I hope it causes the trouble, and will try another one this 
evening. Thanks for this information, this strengthens my confidence 
that I do not have to buy a new board or CPU. Now I am driving home with 
a bag of three PSUs I had lent to a friend (and already forgotten).



   If I were you, I'd tried to temporarily replace the memory with a 100%
working module, and if it does not help - replace the power  supply
unit (if you do not have the necessary equipment to test it thoroughly).


I wish I had :)  The RAM is okay, I think, I cannot imagine different 
memory modules to suddenly go bad all at once. And memtest86 found one 
error only after an hour, while the crashes happen after a few minutes 
already.



   And one more simple test: turn on the PC, enter the BIOS setup
utility and keep it running in this state. If it runs ok for some time
(like a couple of hours), I'd say the problem is in RAM.


It once crashed after ten minutes. That was not reproducable, but I did 
not try that often.


Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-17 Thread Alex Schuster

Volker Armin Hemmann writes:


sounds like a power problem.

Either psu is gone bad (get a new one)


Well, I got three old ones instead :)


or your mainboard's power circuitry gone bad (if replacement of psu does not
help, get a new one).


It did not help :(  Too bad, I probably need a new mainboard. And I 
cannot get one before monday evening, I have to go to a wedding tomorrow 
(not mine) and I doubt I will have time to find a hardware store there.



But first thing first: disconnect your hdds! No reason to risk them.


I did that soon. I already had trouble with one two weeks ago, it had 
bad blocks on the home partition. The replacement drive also had bad 
blocks, I had to get yet another one. It's a good thing to have recent 
backups :)


And there, it just crashed while in the BIOS setup.

Wonko



Re: [gentoo-user] My PC died. What should I try?

2012-08-17 Thread Alex Schuster
Paul Hartman writes:

 If you are using a video card (instead of built-in/on-board video) I
 would try a different video card, if you have an old or spare one. I
 have had lots of video cards die from overheating and power spikes.

Sorry, I did not mention that I do not have a video card, it's onboard
video. I do not need great video power, and I wanted to have a quiet PC
that also saves power.

 I only had one motherboard ever die, a computer I gave to my father
 died after a few months... it was ASRock brand but I'm sure that is a
 coincidence. :) It had blown/cracked capacitors all over the
 motherboard. It did not die completely at once. It would kind of
 work, but started to crash randomly and became worse and worse until
 finally it wouldn't boot at all. I replaced the MB, but kept the same
 CPU, RAM everything else, and it has been working ever since. That was
 after we bought a new power supply that didn't make any difference.

I'd also say this is unusual. I had a board die, but that was my own
error :)

Well, all I can do now is to get a new board and see if things will be
okay then.

Thanks for all your responses! I know this is not really related to
Gentoo, but that's what I love this list for, people are very helpful
and competent here.

Wonko



Re: [gentoo-user] emerge dev-python/python-dateutil-2.1 failed (compile phase)

2012-08-14 Thread Alex
On 08/14/2012 02:49 AM, Cinder wrote:
 I'm at a loss, as to how to solve this problem. Any advice would be 
 greatly appreciated

 # emerge --info '=dev-python/python-dateutil-2.1' 
 Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, 
 glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
 =
  System Settings
 =
 System uname: 
 Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1
 Timestamp of tree: Fri, 20 Jul 2012 16:15:01 +
 app-shells/bash:  4.2_p20
 dev-java/java-config: 2.1.11-r3
 dev-lang/python:  2.7.3-r2, 3.2.3
 dev-util/cmake:   2.8.7-r5
 dev-util/pkgconfig:   0.26
 sys-apps/baselayout:  2.1-r1
 sys-apps/openrc:  0.9.8.4
 sys-apps/sandbox: 2.5
 sys-devel/autoconf:   2.13, 2.68
 sys-devel/automake:   1.11.1
 sys-devel/binutils:   2.21.1-r1
 sys-devel/gcc:4.5.3-r2
 sys-devel/gcc-config: 1.6
 sys-devel/libtool:2.4-r1
 sys-devel/make:   3.82-r1
 sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
 sys-libs/glibc:   2.14.1-r3
 Repositories: gentoo
 ACCEPT_KEYWORDS=amd64
 ACCEPT_LICENSE=* -@EULA
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=core2 -O2 -pipe -msse4.1
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
 /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d 
 /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
 CXXFLAGS=-march=core2 -O2 -pipe -msse4.1
 DISTDIR=/usr/portage/distfiles
 FCFLAGS=-O2 -pipe
 FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
 ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head 
 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
 unmerge-orphans userfetch userpriv
 FFLAGS=-O2 -pipe
 GENTOO_MIRRORS=http://ftp.swin.edu.au/gentoo http://gentoo.channelx.biz/ 
 http://gentoo.gg3.net/ http://ftp.iij.ad.jp/pub/linux/gentoo/ 
 http://ftp.jaist.ac.jp/pub/Linux/Gentoo/;
 LANG=en_US.UTF-8
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 LINGUAS=en
 MAKEOPTS=-j3
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
 --compress --force --whole-file --delete --stats --human-readable 
 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=
 SYNC=rsync://rsync.au.gentoo.org/gentoo-portage
 USE=X a52 aac acl acpi alsa amd64 audiofile berkdb bluetooth branding bzip2 
 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus dga 
 directfb djvu dri dts dvd dvdr emboss encode enscript exif fam fbcon ffmpeg 
 fftw firefox flac fortran gdbm gif gpm gtk hddtemp iconv ipv6 jack joystick 
 jpeg ladspa lame lash lcms ldap libnotify libsamplerate lm_sensors mad 
 matroska mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz 
 ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png 
 policykit ppds pppd qt3support qt4 readline sasl scanner sdl session smp 
 sound spell sse sse2 sse3 ssl startup-notification svg tcpd theora tiff 
 truetype udev udisks unicode upower usb v4l vim vorbis wifi wxwidgets x264 
 xcb xcomposite xml xorg xscreensaver xv xvid xvmc zlib 
 ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare 
 dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 
 mmap_emul mulaw multi null plug rate route share shm softvol 
 APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm 
 authn_default authn_file authz_dbm authz_default authz_groupfile authz_host 
 authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate 
 dir disk_cache env expires ext_filter file_cache filter headers include info 
 log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
 speling status unique_id userdir usertrack vhost_alias 
 CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon 
 braindump CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory 
 rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate 
 evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom 
 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip 
 tripmate tnt ubx GRUB_PLATFORMS=efi-64 INPUT_DEVICES=keyboard mouse 
 synaptics evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk 
 hd44780 lb216 lcdm001 mtxorb ncurses text 
 LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer LINGUAS=en 
 PHP_TARGETS=php5-3 PYTHON_TARGETS=python3_2 python2_7 
 RUBY_TARGETS=ruby18 ruby19 USERLAND=GNU VIDEO_CARDS=nouveau v4l 
 XTABLES_ADDONS=quota2 psd pknock lscan 

Re: [gentoo-user] Cannot see Grub menu

2012-08-12 Thread Alex Schuster
Frank Steinmetzger writes:

 So after the recent thread here about 32bit/64bit and some arguments
 from a friend, I made the switch from 32 bit to 64 bit (with a clean
 install from scratch of course).  There’s one big problem I’m having: I
 cannot see the Grub (legacy) boot menu.  It still functions alright,
 but I don’t see it.

Weird, I have no idea. Just want to say that I am using legacy Grub on
~amd64 just fine. Not grub-static, and the static USE flag is not set.
Never had a problem with that.

Do you use a splashimage in your grub.conf? Maybe without you will get a
working text mode Grub. Not that this should matter, but anyway.

Wonko



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-09 Thread Alex Schuster
Dale writes:

 I have seen where people use dd to do this sort of thing to.  I read
 somewhere that if you do a dd and put in all 1's, then all 0's then back
 again that it is very hard to get any data back off the drive.  I think
 if you do it like over a dozen times, it is deemed impossible to get
 anything back.  I think that is the Government standard of it's gone. 

There's no need for multiple passes of dd with different values.

http://www.h-online.com/security/news/item/Secure-deletion-a-single-overwrite-will-do-it-739699.html

Wonko



Re: [gentoo-user] Anyone compiled libreoffice-3.6.0.4 yet?

2012-08-09 Thread Alex Schuster
walt writes:

 This has been slow and painful so far.
 
 First, the build stops repeatedly because of zero-length library files.
 I can restart the ebuild manually and each iteration builds one more
 (real) library.  I've been doing this iterating for hours and I think
 I may have gotten past that part, but the build is far from done...
 
 Second, the ebuild is using only one CPU out of four, so this is taking
 much longer than before.  Ugh.
 
 Anyone else seeing these problems?

No, I just built it today, in the usual time of about 2.5 hours.

Wonko



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-05 Thread Alex Schuster
Dale writes:

 I finally got me a 3Tb drive on the way.  Should be here Wednesday.  I
 have seen some reviews where it would not work right.  I think some of
 it may be BIOS related since some BIOS's don't like drives that large. 
 Anyway, I want to test this thing real good to really make sure it is up
 to the task before putting my data on it.  It's going to be so much
 data, there is really no way to do back-ups at this point.  Come on, 2
 to 3Tbs on 4Gb DVDs.  Really?  lol  Maybe a external drive later on but
 for now, well. 
 
 I have heard of bonnie and friends.  I also think dd could do some
 testing too.  Is there any other way to give this a good work and see if
 it holds up?  Oh, helpful hints with Bonnie would be great too.  I have
 never used it before.  Maybe someone has some test that is really
 brutal. 

smartctl -t long /dev/sdb will make the drive start a selftest. This
will take a while, and even more if the drive is being used otherwise, as
this test should not impact its performance. Use smartctl -l selftest to
view the results. As long as there is no number in the
'LBA_of_first_error' column, it should be okay.

That is a reading test only, badblocks -sw /dev/sdb will make it perform
a write-mode test. It uses four different patterns, I would be okay with
only one test, so I'd either stop it when it is done writing and
comparing the first pattern, or supply a test pattern with option -t.

Wonko



Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Canek Peláez Valdés writes:

 On Wed, Aug 1, 2012 at 7:42 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Canek Peláez Valdés writes:
 [ snip ]
  Oh, and I forgot; doesn't the links in /dev/disk/by-id,
  /dev/disk/by-label, /dev/disk/by-uuid do what you want to?
 
  Those seem to list partitions only, not whole drives. A label for a
  drive would be nice to have.
 
 I'm pretty sure whole drives are there also:
 
 $ ll /dev/disk/by-id
 ...
 ata-SAMSUNG_HD160JJ_S08HJ10YC13279 - ../../sda
 ...
 
 That's a whole drive right there.

Wow, now I feel really stupid :) You are so right, they are there, and I
don't why I overlooked them... too many entries there maybe, I have 140.
But still. Stuuupid!

Thanks, Canek!

Wonko



Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Alex Schuster writes:

 Canek Peláez Valdés writes:

  $ ll /dev/disk/by-id
  ...
  ata-SAMSUNG_HD160JJ_S08HJ10YC13279 - ../../sda
  ...
  
  That's a whole drive right there.
 
 Wow, now I feel really stupid :) You are so right, they are there, and I
 don't why I overlooked them... too many entries there maybe, I have 140.
 But still. Stuuupid!

I looked again in the terminal at what I did this night, and at least
feel a little less stupid now. I had searched for my /dev/sdd drive, and
this one just has no label. Only its partitions do, they appear twice, as
ata-SAMSUNG_SP1614N_0735J1FW815459-part[15678] and
wwn-0x50f0-part[15678].

This drive is an older PATA drive, maybe that's the difference?

Wonko



Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Mark Knecht writes:

 Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a
 copy of the output for bad times.
 
 https://github.com/pturmel/lsdrv

That doesn't work here, and I do not understand why. In line 305 it tries
and fails to create /dev/block, which is already existing.

if not os.path.exists('/dev/block'):
os.mkdir('/dev/block', 0755)

Uh, is this a python bug? It works fine with python 2.7, but not with
3.2. But os.path.exists() is quite a basic function, if that wouldn't
work, I'd expect all things to break, including emerge.

Nice script. Much similar to lshw I think, but it shows more stuff, like
LVM names and UUIDS. Thanks!

Wonko



Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Walter Dnes writes:

   You can get the ATTRS{serial} (i.e. serial number).  See the printer
 example at http://www.reactivated.net/writing_udev_rules.html and adapt
 to your hard drive.  Serial numbers should be unique, even amongst
 otherwise identical drives...
 
 ==
 I power on my printer, and it is assigned device node /dev/lp0. Not
 satisfied with such a bland name, I decide to use udevinfo to aid me in
 writing a rule which will provide an alternative name:
 
 # udevinfo -a -p $(udevinfo -q path -n /dev/lp0)
   looking at device '/class/usb/lp0':
 KERNEL==lp0
 SUBSYSTEM==usb
 DRIVER==
 ATTR{dev}==180:0
 
   looking at parent device
 '/devices/pci:00/:00:1d.0/usb1/1-1':
 SUBSYSTEMS==usb
 ATTRS{manufacturer}==EPSON
 ATTRS{product}==USB Printer
 ATTRS{serial}==L72010011070626380
 
 My rule becomes:
 
 SUBSYSTEM==usb, ATTRS{serial}==L72010011070626380,
 SYMLINK+=epson_680

That's exactly what I would like to have! I have a working solution, but
using UDEV would seem more adequate.

But: I cannot find a serial number for my hard drives in the output. And
shouldn't there be a file named 'serial' in /sys? I have some, but not
for my block devices, only for USB and in /sys/{bus,pci}/drivers/.

BTW, sys-fs/udev-187 does not have the 'udevinfo' command, it seems to be
'udevadm info' now. 

Wonko



Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Dale writes:

 Alex Schuster wrote:
  Mark Knecht writes:
 
  Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a
  copy of the output for bad times.
 
  https://github.com/pturmel/lsdrv
  That doesn't work here, and I do not understand why. In line 305 it
  tries and fails to create /dev/block, which is already existing.
 
  if not os.path.exists('/dev/block'):
  os.mkdir('/dev/block', 0755)
 
  Uh, is this a python bug? It works fine with python 2.7, but not with
  3.2. But os.path.exists() is quite a basic function, if that wouldn't
  work, I'd expect all things to break, including emerge.
[...]
 I'm amd64 and it works here. 
 
 root@fireball / # equery l python
  * Searching for python ...
 [IP-] [  ] dev-lang/python-2.7.3-r2:2.7
 [IP-] [  ] dev-lang/python-3.2.3:3.2

Um, but did you use eselect to make 3.2 the current version?

Wonko



Re: [gentoo-user] Udev rules for identical hard drives

2012-08-02 Thread Alex Schuster
Mark Knecht writes:

 On Thu, Aug 2, 2012 at 8:02 AM, Alex Schuster wo...@wonkology.org
 wrote:
  Mark Knecht writes:
 
  Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a
  copy of the output for bad times.
 
  https://github.com/pturmel/lsdrv
 
  That doesn't work here, and I do not understand why. In line 305 it
  tries and fails to create /dev/block, which is already existing.
 
  if not os.path.exists('/dev/block'):
  os.mkdir('/dev/block', 0755)
 
  Uh, is this a python bug? It works fine with python 2.7, but not with
  3.2. But os.path.exists() is quite a basic function, if that wouldn't
  work, I'd expect all things to break, including emerge.
 
  Nice script. Much similar to lshw I think, but it shows more stuff,
  like LVM names and UUIDS. Thanks!

 Dunno about the python-3.2 thing. Are you set to use 3.2 by default?
 (How aggressive of you!) ;-) I'm set to use 2.7 as default which I
 think is the overall recommendation of dummies like me:

Portage should work well with 3.2 now, but I wouldn't wonder much if
something would break. I don't mind much about this, when it happens I
file a bug report, and use 2.7 again. But the problem with
os.path.exists() seems weird to me.

 c2stable ~ # eselect python list
 Available Python interpreters:
   [1]   python2.7 *
   [2]   python3.2
 c2stable ~ #
 
 The script has been around awhile and updated now and again. Possibly
 it's just not tested with python-3.2?

I guess so. Hmm, does anybody want to provide an ebuild on
bugs.gentoo.org for it? It would be nice to have it in portage.

Wonko



[gentoo-user] Udev rules for identical hard drives

2012-08-01 Thread Alex Schuster
Hi there!

I do not understand the numbering of my hard drives. There may be some
inherent logic, but whenever I make some changes, like replacing drives,
or changing BIOS settings, the order changes. Maybe it's even more random.

So I made some udev rules like this, and my drives are called /dev/hd1,
hd2 and hd3:

SUBSYSTEMS==scsi, KERNEL==sd?, ATTRS{model}==SAMSUNG HD154UI,
SYMLINK=hd1

This works fine, and this way I can address them in scripts, smartd and
hdparm config files and such. But now I have two identical drives. I had
this before with the drive above, but while being identical models, the
two drives differed a little in size, so I just had to add ATTR{size}.
This does not help with my current drives, and I find nothing
in /sys/block/sd?/device/ that differs. Could there be another way to
distinguish the drives, like looking at the partition scheme or something?

Wonko



Re: [gentoo-user] Udev rules for identical hard drives

2012-08-01 Thread Alex Schuster
Canek Peláez Valdés writes:

 On Wed, Aug 1, 2012 at 6:59 PM, Canek Peláez Valdés can...@gmail.com
 wrote:
  On Wed, Aug 1, 2012 at 6:34 PM, Alex Schuster wo...@wonkology.org
  wrote:
[...]
  Could there be another way to distinguish the drives, like looking
  at the partition scheme or something?
 
  If you want to distinguish partitions, I would recommend using labels
  (in fstab too); those never change unless you specifically change
  them. Then, no matter how you put them in your machine, they will get
  mounted correctly, and then you don't need to fuzz with udev rules.
  Also, as a superficial bonus, they get mounted using the label and it
  looks nice in your file browser.

I'm aware of that, and I would use this, if I weren't using LVM and
encryption on top of that. So I do not deal with raw partitions at all,
but with partitions like /dev/mapper/root or /dev/weird/portage.

Oh, this gives me an idea of what to use as workaround: If what I would
like to have is not possible, I will add a little start script
in /etc/local.d/ which calls pvscan to check which volume groups belong
to which drives, and creates the symlinks.

  The drives themselves I see no reason to recognize them, why do you
  need to do that?

Well, I don't really *need* this. But it's convenient.

- I have a monitoring plasmoid on my desktop that shows whether a drive
  is active or on standby, and also gives the temperature of my always
  running system drive. If there were a mixup, calling hddtemp on a
  sleeping drive would wake it up.

- I have different idle time settings in /etc/conf.d/hdparm, and I spin
  down two drives immediately after I have booted.

- Same goes for a little script I use for suspend-to-ram. It makes use of
  the rtcwake command to make the PC wake up in the morning (before I get
  up), and along other stuff spins down drives.

- And I have different settings in /etc/smartd.conf.

 Oh, and I forgot; doesn't the links in /dev/disk/by-id,
 /dev/disk/by-label, /dev/disk/by-uuid do what you want to?

Those seem to list partitions only, not whole drives. A label for a drive
would be nice to have.

Uh, and here's the little start script I just wrote. No idea why I call
my drives hd1 to hd4 instead of using the name of the only volume group
they have, but I'll keep it like that for now.

str=$( pvscan )

hd()
{
hd=$( echo $str | grep $1 | head -n 1 | awk '{print $2}' )
echo ${hd//[0-9]/}
}

ln -s $( hd weird  ) /dev/hd1
ln -s $( hd weird2 ) /dev/hd2
ln -s $( hd weird3 ) /dev/hd3
ln -s $( hd pata1  ) /dev/hd4


Wonko



[gentoo-user] Gentoo Website Survey 2012

2012-07-27 Thread Alex Legler
Hey guys,

the Gentoo PR team is currently conducting a survey on our website.
If you are interested in helping us make the gentoo.org experience
better, please take a look at the survey:

http://www.gentoo.org/news/20120727-website-survey.xml

It shouldn't take more than 5 minutes.

Thanks a lot!

-- 
Alex Legler a...@gentoo.org
Gentoo Security/Ruby/Infrastructure




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Python TK

2012-07-26 Thread Alex Schuster
Silvio Siefke writes:

 on my Netbook i use Sabayon, because all compile from source need much 
 time and it was not so really run. Can i ask here a question, because
 i has problems with emerge.

Sure, and there doesn't even seem to be a Sabayon mailing list anyway.

 I has Install the Game PySolFC, a python solitaire Game. It want not
 run, because it miss imagingtk. So i try to rebuilt Python and Imaging
 with the normal Gentoo Way. 
 
 Mistake in Game  http://nopaste.info/c04fddda9d.html
 Recompile Python and Imaging  http://nopaste.info/090baf194d.html
 
 I follow the advice what says emerge, but emerge do nothing.

Did you put tk in your USE flags for python? Like, having

dev-lang/python tk

in /etc/portage/package.use, if you want to have it for all versions of
python. If you only want that for 2.7, use this line:

dev-lang/python:2.7 tk

 gentoo-mobile siefke # emerge --newuse --update
 =dev-lang/python-2.7.2-r3 Calculating dependencies... done!
  Auto-cleaning packages...

Should work, when the tk USE flag is set now, but wasn't set when python
2.7 was compiled. You can use emerge -pv dev-lang/python:2.7 to see which
USE flags are set.

Wonko



Re: [gentoo-user] Python TK

2012-07-26 Thread Alex Schuster
Neil Bothwick writes:

 On Thu, 26 Jul 2012 12:50:09 +0200, Silvio Siefke wrote:

  gentoo-mobile siefke # emerge --newuse --update
  =dev-lang/python-2.7.2-r3 Calculating dependencies... done!
   Auto-cleaning packages...  
  
   No outdated packages were found on your system.  
  gentoo-mobile siefke #
 
 That's correct, because you used --update, so the package is only built
 if a newer version is available. Drop --update and it will build the
 package.

It would build it, but with the same USE flags, so this would make no
change. If Silvia had changed the USE flag for python,  --newuse would
make emerge rebuild it, with or without --update.

BTW, also add --oneshot / -1 to the emerge options, so the packages you
build manually do not end up in your world file. Unless you
explicitly want that, but when rebuilding existing things, they either
are already in world, or they are dependencies that do not need to be in
world.

Wonko



Re: [gentoo-user] How can I rewrite all empty sectors with zeros?

2012-07-22 Thread Alex Schuster
Jarry writes:

 I want to backup my whole hard-drive (8 partitions) with:
 # dd if=/dev/sda | gzip  /path/image.gz
 
 In order to achieve good compression level I'd like to wipe
 out all empty space with zeros. How can I do that?

You can create files containing only zeros on all partitions until
they are full. Like this:

for i in 5 6 7 8 9 10 11 12
do
mount /dev/sda$i /mnt
dd if=/dev/zero of=/mnt/zero
rm /mnt/zero
umount /mnt
done

Wonko



Re: [gentoo-user] Need a clue about merging logical volumes/groups with lvm2

2012-07-21 Thread Alex Schuster
walt writes:

 I know there are a few lvm2 experts lurking here :)
 
 I have a 500gig disk that is split roughly in half between two volume
 groups, each containing four physical volumes, and each vg is formatted
 into an ext4 filesystem of roughly 250GB.
 
 What I plan to do is merge the two volume groups into one, containing
 one big ext4 filesystem, which will contain all of the files currently
 on the disk.
 
 Can this be done without copying one of the existing ext4 filesystems
 to a separate drive first, and then copying it back after extending
 the remaining vg/filesystem? (One filesystem has 24GB free and the
 other has 25GB free.)
 
 I'm expecting a no but I'd like to be wrong :)

I think you are right.

But if you had more free space, it might be possible. So your physical
volumes are about 63 G each. If you free that much space on one
filesystem, reduce the file system, then reduce the LV, you can use
pvmove to move stuff from one PV you want to empty to the others. When
done, you can remove the now empty PV from the VG with vgreduce. Then use
vgextend to add the PV to the other VG. Extend the LV of that VG and
enlarge the file system, copy stuff from the other FS over until you can
free another PV. And so on.

But copying all stuff of one VG to another location would be much easier.
And less error-prone.

Wonko



Re: [gentoo-user] Re: The system's font display problem

2012-07-15 Thread Alex Schuster
Mark Knecht writes:

 On Sun, Jul 15, 2012 at 8:09 AM, Nikos Chantziaras rea...@gmail.com
 wrote:

  Do not set anything other than LANG and LC_COLLATE.  Then only set
  vars that differ from LANG.  Your /etc/env.d/02locale should look
  like this:
 
LANG=en_US.UTF-8
LC_COLLATE=C
LC_CTYPE=zh_CN.UTF-8
[...]
 Just double checking here. Is the file /etc/locale.gen now totally
 depreciated or is it still required? The install guide still has it in
 chapter 8 where the file /etc/locale.gen ends up looking pretty much
 identical to the 02locale file.
 
 Or maybe they serve different purposes somehow?

/etc/locale.gen defines which locales are supported on your system.

/etc/env.d/02locale defines which of these locale you are actually using
by setting LANG and LC_* environment variables. Files in /etc/env.d/ end
up in /etc/profile.env (by running the env-update command), which is
evaluated from /etc/profile and as such by every shell. If you want
different settings for your user, override that stuff in your
~/.bash_profile.

Wonko



Re: [gentoo-user] Everything disappeared from world list

2012-07-12 Thread Alex Schuster
Doug Hunley writes:

 On Wed, Jul 11, 2012 at 12:17 PM, Alex Schuster wo...@wonkology.org
 wrote:
  How would you do that? I'm currently using ~amd64 and can't yet use
  sets for some reason.
 
  Then you probably need portage 2.2 for this. Which will never ever
  become stable it seems, but I'm using it just fine for three years
  now.
 
 Yes, 2.2 is needed. And same here. Using it forever and no issues

Well, I _had_ some issues with that when the preserved-libs feature was
new, a few times after an emerge @preserved-rebuild nothing changed, and
emerge @preserved-libs would emerge the same stuff over and over again. I
had to delete /var/lib/portage/preserved_libs_registry manually. That
was in 2009, all was fine since then. But I fear that one day one of the
many many portage updates might introduce a nasty
bug, and portage will be broken. The chance may be small, but then
there already were over 150 portage updates in my case.

  Is emerge @preserved-rebuild (with FEATURES=preserve-libs) also a 2.2
  feature? I like this most, I no longer need to use revdep-rebuild. I
  always considered having to use it a bug, fixing broken things after
  breaking them, instead of preventing breakage.
 
 Indeed, also a 2.2 thing and the biggest reason I use it honestly

Me too. revdep-rebuild reports stuff that is broken, and I do not want to
have anything like that on my systems. What if I need such a broken
application before revdep-rebuild has fixed it? For a large package this
might take hours. And what if I run into a build problem?

Using the preserved-libs feature I feel much safer.

Wonko



Re: [gentoo-user] Everything disappeared from world list

2012-07-11 Thread Alex Schuster
Claudio Roberto França Pereira writes:

 On Fri, Jul 6, 2012 at 11:13 AM, Doug Hunley doug.hun...@gmail.com
 wrote:

  This is why I keep an empty world file and use /etc/portage/sets/
  exclusively. I'm backing up /etc/portage anyway (package.use and
  friends), so it just makes sense to have 'world' in there ;)
 
 How would you do that? I'm currently using ~amd64 and can't yet use
 sets for some reason.

Then you probably need portage 2.2 for this. Which will never ever become
stable it seems, but I'm using it just fine for three years now. You have
to put this into /etc/portage/package.accept_keywords:

sys-apps/portage- ~*

Or just enable a specific version, and put that in your local overlay, if
you don't trust the updates which happen every few days.

Is emerge @preserved-rebuild (with FEATURES=preserve-libs) also a 2.2
feature? I like this most, I no longer need to use revdep-rebuild. I
always considered having to use it a bug, fixing broken things after
breaking them, instead of preventing breakage.

Wonko



  1   2   3   4   5   6   7   8   9   10   >