Re: [gentoo-user] gtk+ emerge fails

2017-10-06 Thread R0b0t1
On Fri, Oct 6, 2017 at 9:28 PM,   wrote:
> On Fri, Oct 06, 2017 at 05:30:06PM +, Perry S Glenn wrote:
>>
>> Hi,
>>
>> gtk+ 2 and 3 both fail to emerge
>> glib-compile-resources gtk.gresource.xml \
>> --target=gtkresources.c 
>> --sourcedir=/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk 
>> --c-name _gtk --generate-source --manual-register
>> failed to load 
>> "/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png":
>>  Couldn't recognize the image file format for file 
>> '/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png
>>
>> Anyone else seen this?
>
> Nm shortly after I sent this first mail about this my boxes were unusable so 
> much for updating through unencrypted protocol.
>
> gl
>

Do you care to explain?



Re: [gentoo-user] Linode discontinuing Xen, migrating to KVM

2017-10-06 Thread Stroller

> On 6 Oct 2017, at 15:31, Tanstaafl  wrote:
> 
>>> Second, do you have rc_sys defined, or are you using auto-detect (is it
>>> just commented out)?
>> 
>> Just commented out.
> 
> This is the one I'm worried about - how to change it back if it totally
> breaks the ability to even boot.

Detach the drive from the VM, and attach it as /dev/sd[cdefgh] on another VM?

See: Linodes »  » Edit Configuration Profile » Block Device 
Assignment

Also in the dropdowns there is an option for "Recovery -Finnix (iso)".

Stroller.




Re: [gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread tuxic
On 10/06 11:06, Randolph Maaßen wrote:
> You might be interested in got hooks [1], especially the post-checkout hook.
> 
> I would try to automatically recompile the md-> HTML on every checkout, so
> the HTML is up to date after pulling
> 
> [1] https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks
> 
> Am Sa., 7. Okt. 2017, 00:58 schrieb Anton Molyboha <
> anton.stay.connec...@gmail.com>:
> 
> > On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1  wrote:
> >
> >> On Fri, Oct 6, 2017 at 5:41 PM,   wrote:
> >> > On 10/06 05:49, Andrew Tselischev wrote:
> >> >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote:
> >> >> > Hi,
> >> >> >
> >> >> > The u8g8lib, which contains libraries to drive a great amount of
> >> >> > displays for mainly embedded electronics has a wiki on github, which
> >> >> > can be oficially git-pulled as a local copy...which I did.
> >> >> >
> >> >> > Now I have tons of *.md (markdown) -files instead of html and I
> >> >> > dont know of any handy viewer for these.
> >> >> >
> >> >> >  Since I want to update the repo from time to time
> >> >> > I dont want to convert them.
> >> >> >
> >> >> > Is there any recommended quick and clean way to view these files on
> >> the fly as
> >> >> > they would be html?
> >> >> >
> >> >> > Thanks a lot for any help in advance!
> >> >> > Cheers
> >> >> > Meino
> >> >> >
> >> >>
> >> >> Markdown is a markup language that was specifically designed to be
> >> readable in the source.
> >> >>
> >> >> However, if you still find it hard to read, perhaps syntax
> >> highlighting in a fancy
> >> >> text editor can help approximate the intended effects of the markup.
> >> >>
> >> >> Also, there are markdown-to-HTML translators. Some are even included
> >> in portage tree.
> >> >>
> >> >
> >> >
> >> > I dont want to convert the md-files to html, since I want to update
> >> > the repo later (see above).
> >> > The problem are files referencing other files. Reading the md-files
> >> > via vim (for example) would imply to grab all references by hand.
> >> > Fortheremore, tne docs are filled with graphics (for example images
> >> > of the fonts, which can be used), which cannot be displayed with an
> >> > ASCII-editor.
> >> > Formatting is necassary with this docs...
> >> >
> >>
> >> Typically what is done is you render the whole Wiki to HTML, and then
> >> view it in a browser. You don't edit the HTML directly. It should be
> >> possible to generate it incrementally.
> >>
> >> The one catch is that they might be relying on GitHub's integrated
> >> Wiki system. If they are, you might need to install Gollum to process
> >> the markdown files to HTML.
> >>
> >> Cheers,
> >>  R0b0t1
> >>
> >>
> > This is a definite overkill, but I'm using JetBrains' IntelliJ Idea
> > (actually PyCharm) with the markdown plugin. It shows markdown and html
> > side-to-side in the editor.
> >
> > Anton
> >
> >


Hello all,

thanks a lot for all the reponses to my question.

I found a Firefox-Plugin, which is able to render
markdown on the fly. It is here:
https://addons.mozilla.org/en-US/firefox/addon/markdown-viewer-webext/?src=search

Despite the comment of one user, it DOES display local markdown
formatted files...just with a small little delay...

Cheers
Meino





Re: [gentoo-user] gtk+ emerge fails

2017-10-06 Thread kamakiri
On Fri, Oct 06, 2017 at 05:30:06PM +, Perry S Glenn wrote:
> 
> Hi,
> 
> gtk+ 2 and 3 both fail to emerge
> glib-compile-resources gtk.gresource.xml \
> --target=gtkresources.c 
> --sourcedir=/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk 
> --c-name _gtk --generate-source --manual-register
> failed to load 
> "/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png":
>  Couldn't recognize the image file format for file 
> '/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png
> 
> Anyone else seen this?

Nm shortly after I sent this first mail about this my boxes were unusable so 
much for updating through unencrypted protocol.

gl 



Re: [gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread Randolph Maaßen
You might be interested in got hooks [1], especially the post-checkout hook.

I would try to automatically recompile the md-> HTML on every checkout, so
the HTML is up to date after pulling

[1] https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks

Am Sa., 7. Okt. 2017, 00:58 schrieb Anton Molyboha <
anton.stay.connec...@gmail.com>:

> On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1  wrote:
>
>> On Fri, Oct 6, 2017 at 5:41 PM,   wrote:
>> > On 10/06 05:49, Andrew Tselischev wrote:
>> >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote:
>> >> > Hi,
>> >> >
>> >> > The u8g8lib, which contains libraries to drive a great amount of
>> >> > displays for mainly embedded electronics has a wiki on github, which
>> >> > can be oficially git-pulled as a local copy...which I did.
>> >> >
>> >> > Now I have tons of *.md (markdown) -files instead of html and I
>> >> > dont know of any handy viewer for these.
>> >> >
>> >> >  Since I want to update the repo from time to time
>> >> > I dont want to convert them.
>> >> >
>> >> > Is there any recommended quick and clean way to view these files on
>> the fly as
>> >> > they would be html?
>> >> >
>> >> > Thanks a lot for any help in advance!
>> >> > Cheers
>> >> > Meino
>> >> >
>> >>
>> >> Markdown is a markup language that was specifically designed to be
>> readable in the source.
>> >>
>> >> However, if you still find it hard to read, perhaps syntax
>> highlighting in a fancy
>> >> text editor can help approximate the intended effects of the markup.
>> >>
>> >> Also, there are markdown-to-HTML translators. Some are even included
>> in portage tree.
>> >>
>> >
>> >
>> > I dont want to convert the md-files to html, since I want to update
>> > the repo later (see above).
>> > The problem are files referencing other files. Reading the md-files
>> > via vim (for example) would imply to grab all references by hand.
>> > Fortheremore, tne docs are filled with graphics (for example images
>> > of the fonts, which can be used), which cannot be displayed with an
>> > ASCII-editor.
>> > Formatting is necassary with this docs...
>> >
>>
>> Typically what is done is you render the whole Wiki to HTML, and then
>> view it in a browser. You don't edit the HTML directly. It should be
>> possible to generate it incrementally.
>>
>> The one catch is that they might be relying on GitHub's integrated
>> Wiki system. If they are, you might need to install Gollum to process
>> the markdown files to HTML.
>>
>> Cheers,
>>  R0b0t1
>>
>>
> This is a definite overkill, but I'm using JetBrains' IntelliJ Idea
> (actually PyCharm) with the markdown plugin. It shows markdown and html
> side-to-side in the editor.
>
> Anton
>
>


Re: [gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread Anton Molyboha
On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1  wrote:

> On Fri, Oct 6, 2017 at 5:41 PM,   wrote:
> > On 10/06 05:49, Andrew Tselischev wrote:
> >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote:
> >> > Hi,
> >> >
> >> > The u8g8lib, which contains libraries to drive a great amount of
> >> > displays for mainly embedded electronics has a wiki on github, which
> >> > can be oficially git-pulled as a local copy...which I did.
> >> >
> >> > Now I have tons of *.md (markdown) -files instead of html and I
> >> > dont know of any handy viewer for these.
> >> >
> >> >  Since I want to update the repo from time to time
> >> > I dont want to convert them.
> >> >
> >> > Is there any recommended quick and clean way to view these files on
> the fly as
> >> > they would be html?
> >> >
> >> > Thanks a lot for any help in advance!
> >> > Cheers
> >> > Meino
> >> >
> >>
> >> Markdown is a markup language that was specifically designed to be
> readable in the source.
> >>
> >> However, if you still find it hard to read, perhaps syntax highlighting
> in a fancy
> >> text editor can help approximate the intended effects of the markup.
> >>
> >> Also, there are markdown-to-HTML translators. Some are even included in
> portage tree.
> >>
> >
> >
> > I dont want to convert the md-files to html, since I want to update
> > the repo later (see above).
> > The problem are files referencing other files. Reading the md-files
> > via vim (for example) would imply to grab all references by hand.
> > Fortheremore, tne docs are filled with graphics (for example images
> > of the fonts, which can be used), which cannot be displayed with an
> > ASCII-editor.
> > Formatting is necassary with this docs...
> >
>
> Typically what is done is you render the whole Wiki to HTML, and then
> view it in a browser. You don't edit the HTML directly. It should be
> possible to generate it incrementally.
>
> The one catch is that they might be relying on GitHub's integrated
> Wiki system. If they are, you might need to install Gollum to process
> the markdown files to HTML.
>
> Cheers,
>  R0b0t1
>
>
This is a definite overkill, but I'm using JetBrains' IntelliJ Idea
(actually PyCharm) with the markdown plugin. It shows markdown and html
side-to-side in the editor.

Anton


Re: [gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread R0b0t1
On Fri, Oct 6, 2017 at 5:41 PM,   wrote:
> On 10/06 05:49, Andrew Tselischev wrote:
>> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote:
>> > Hi,
>> >
>> > The u8g8lib, which contains libraries to drive a great amount of
>> > displays for mainly embedded electronics has a wiki on github, which
>> > can be oficially git-pulled as a local copy...which I did.
>> >
>> > Now I have tons of *.md (markdown) -files instead of html and I
>> > dont know of any handy viewer for these.
>> >
>> >  Since I want to update the repo from time to time
>> > I dont want to convert them.
>> >
>> > Is there any recommended quick and clean way to view these files on the 
>> > fly as
>> > they would be html?
>> >
>> > Thanks a lot for any help in advance!
>> > Cheers
>> > Meino
>> >
>>
>> Markdown is a markup language that was specifically designed to be readable 
>> in the source.
>>
>> However, if you still find it hard to read, perhaps syntax highlighting in a 
>> fancy
>> text editor can help approximate the intended effects of the markup.
>>
>> Also, there are markdown-to-HTML translators. Some are even included in 
>> portage tree.
>>
>
>
> I dont want to convert the md-files to html, since I want to update
> the repo later (see above).
> The problem are files referencing other files. Reading the md-files
> via vim (for example) would imply to grab all references by hand.
> Fortheremore, tne docs are filled with graphics (for example images
> of the fonts, which can be used), which cannot be displayed with an
> ASCII-editor.
> Formatting is necassary with this docs...
>

Typically what is done is you render the whole Wiki to HTML, and then
view it in a browser. You don't edit the HTML directly. It should be
possible to generate it incrementally.

The one catch is that they might be relying on GitHub's integrated
Wiki system. If they are, you might need to install Gollum to process
the markdown files to HTML.

Cheers,
 R0b0t1



Re: [gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread tuxic
On 10/06 05:49, Andrew Tselischev wrote:
> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote:
> > Hi,
> > 
> > The u8g8lib, which contains libraries to drive a great amount of
> > displays for mainly embedded electronics has a wiki on github, which
> > can be oficially git-pulled as a local copy...which I did.
> > 
> > Now I have tons of *.md (markdown) -files instead of html and I 
> > dont know of any handy viewer for these.
> > 
> >  Since I want to update the repo from time to time
> > I dont want to convert them.
> > 
> > Is there any recommended quick and clean way to view these files on the fly 
> > as
> > they would be html?
> > 
> > Thanks a lot for any help in advance!
> > Cheers
> > Meino
> > 
> 
> Markdown is a markup language that was specifically designed to be readable 
> in the source.
> 
> However, if you still find it hard to read, perhaps syntax highlighting in a 
> fancy
> text editor can help approximate the intended effects of the markup.
> 
> Also, there are markdown-to-HTML translators. Some are even included in 
> portage tree.
> 


I dont want to convert the md-files to html, since I want to update
the repo later (see above).
The problem are files referencing other files. Reading the md-files
via vim (for example) would imply to grab all references by hand.
Fortheremore, tne docs are filled with graphics (for example images
of the fonts, which can be used), which cannot be displayed with an 
ASCII-editor.
Formatting is necassary with this docs...




Re: [gentoo-user] Re: {OT?} which fs on 1.8TB partition

2017-10-06 Thread Matthias Hanft
Grant Edwards wrote:
> 
> This was probably 10ish years ago, but I switched my multimedia
> filesystems from ext* to xfs because deleting a large file (several
> GB) on an ext filesystem would basically lock up my machine for tens
> of seconds.  The seemed to be a known problem in the MythTv world and
> the standard solution was to use xfs instead.  Sure enough, deleting
> large files on xfs didn't cause problems.

Same here, with a *really* big xfs filesystem:

Filesystem  Size  Used Avail Use% Mounted on
/dev/sda417T   17T   65G 100% /

'round 30,000 video files, no problems at all!

-Matt




Re: [gentoo-user] {OT?} which fs on 1.8TB partition

2017-10-06 Thread Dale
Mick wrote:
> On Friday, 6 October 2017 19:12:00 BST J. Roeleveld wrote:
>
>> I had a large partition with reiserfs.
>> Running fsck always failed due to running out of memory.
>>
>> Partition was quite a bit larger than 2TB (around 6TB) and contained a huge
>> (millions) amount of files, but having an fsck become impossible with 16GB
>> memory available was rather annoying.
>>
>> --
>> Joost
> It should also be noted that reiserfs may be getting some bitrot over the 
> years.  I haven't used it for a while now, but when I converted an old PC 
> from 
> reiserfs to ext4 it acquired a new lease of life in terms of performance.  
> For 
> every day personal use I tend to prefer it, although I also use btrfs on a 
> trial basis.


Same here.  When I built my current rig several years ago, I switched to
ext4 from reiserfs myself.  At the time, there was very little
development and its future was uncertain since the guy that came up with
it was shall we say, no longer available.  I haven't looked into it but
is it even maintained like it should be or just sitting out there with
the occasional patch up by whoever has a few minutes? 

If I were building a new rig today, I don't think I'd even consider
reiserfs. 

Dale

:-)  :-) 



Re: [gentoo-user] {OT?} which fs on 1.8TB partition

2017-10-06 Thread Mick
On Friday, 6 October 2017 19:12:00 BST J. Roeleveld wrote:

> I had a large partition with reiserfs.
> Running fsck always failed due to running out of memory.
> 
> Partition was quite a bit larger than 2TB (around 6TB) and contained a huge
> (millions) amount of files, but having an fsck become impossible with 16GB
> memory available was rather annoying.
> 
> --
> Joost

It should also be noted that reiserfs may be getting some bitrot over the 
years.  I haven't used it for a while now, but when I converted an old PC from 
reiserfs to ext4 it acquired a new lease of life in terms of performance.  For 
every day personal use I tend to prefer it, although I also use btrfs on a 
trial basis.
-- 
Regards,
Mick

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


Re: [gentoo-user] {OT?} which fs on 1.8TB partition

2017-10-06 Thread pat

On 2017-10-06 20:12, J. Roeleveld wrote:

On 5 October 2017 22:45:50 GMT+02:00, christos kotsis
 wrote:

I just noticed that ReiserFS has significant performance over ext3, 4
when
dealing with small files.

On 5 Oct 2017 11:32 pm, "christos kotsis" 
wrote:

If the big data are used often,and I/O performance is desirable, then 
I

would go for two partitions.
One would be either ext3 or ext4, with huge block size, while the
second
could be one of two with small block size(minimum 1024).


On 5 Oct 2017 10:46 pm,  wrote:

Hi,

Installing gentoo on new laptop and it has 2TB disk. I want to use
1.8TB
for data where will be big files and also huge amount of small files,
thus
I want to ask which FS is best for this. Until now I've used reiserfs
on
cca 0.5TB partition, but I don't know if it's also good choice for 
that

big
partition.

I've thought about zfs, but I don't need snapshots and such stuff
mostly
scaling is requirement.

Thanks

Pat


Freehosting PIPNI - http://www.pipni.cz/


I had a large partition with reiserfs.
Running fsck always failed due to running out of memory.

Partition was quite a bit larger than 2TB (around 6TB) and contained a
huge (millions) amount of files, but having an fsck become impossible
with 16GB memory available was rather annoying.

--
Joost


Hi,

Thanks to all, it will be dev env, so sources and big DB. I'll try 
reiserfs first (I have long time experiences with this one and have 32GB 
RAM :-D) and if this fails then xfs.


Thanks again.

Pat




Freehosting PIPNI - http://www.pipni.cz/




Re: [gentoo-user] {OT?} which fs on 1.8TB partition

2017-10-06 Thread J. Roeleveld
On 5 October 2017 22:45:50 GMT+02:00, christos kotsis  
wrote:
>I just noticed that ReiserFS has significant performance over ext3, 4
>when
>dealing with small files.
>
>On 5 Oct 2017 11:32 pm, "christos kotsis" 
>wrote:
>
>If the big data are used often,and I/O performance is desirable, then I
>would go for two partitions.
>One would be either ext3 or ext4, with huge block size, while the
>second
>could be one of two with small block size(minimum 1024).
>
>
>On 5 Oct 2017 10:46 pm,  wrote:
>
>Hi,
>
>Installing gentoo on new laptop and it has 2TB disk. I want to use
>1.8TB
>for data where will be big files and also huge amount of small files,
>thus
>I want to ask which FS is best for this. Until now I've used reiserfs
>on
>cca 0.5TB partition, but I don't know if it's also good choice for that
>big
>partition.
>
>I've thought about zfs, but I don't need snapshots and such stuff
>mostly
>scaling is requirement.
>
>Thanks
>
>Pat
>
>
>Freehosting PIPNI - http://www.pipni.cz/

I had a large partition with reiserfs.
Running fsck always failed due to running out of memory.

Partition was quite a bit larger than 2TB (around 6TB) and contained a huge 
(millions) amount of files, but having an fsck become impossible with 16GB 
memory available was rather annoying.

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



Re: [gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread Andrew Tselischev
On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote:
> Hi,
> 
> The u8g8lib, which contains libraries to drive a great amount of
> displays for mainly embedded electronics has a wiki on github, which
> can be oficially git-pulled as a local copy...which I did.
> 
> Now I have tons of *.md (markdown) -files instead of html and I 
> dont know of any handy viewer for these.
> 
>  Since I want to update the repo from time to time
> I dont want to convert them.
> 
> Is there any recommended quick and clean way to view these files on the fly as
> they would be html?
> 
> Thanks a lot for any help in advance!
> Cheers
> Meino
> 

Markdown is a markup language that was specifically designed to be readable in 
the source.

However, if you still find it hard to read, perhaps syntax highlighting in a 
fancy
text editor can help approximate the intended effects of the markup.

Also, there are markdown-to-HTML translators. Some are even included in portage 
tree.



Re: [gentoo-user] Re: {OT?} which fs on 1.8TB partition

2017-10-06 Thread Rich Freeman
On Fri, Oct 6, 2017 at 10:12 AM, Grant Edwards
 wrote:
> On 2017-10-06, Rich Freeman  wrote:
>
>> 2.  Xfs: If you absolutely have to mess with a filesystem (especially
>> for multimedia) this isn't a bad alternative.  You won't be able to
>> shrink it, but for the most part it behaves a lot like ext4.
>
> This was probably 10ish years ago, but I switched my multimedia
> filesystems from ext* to xfs because deleting a large file (several
> GB) on an ext filesystem would basically lock up my machine for tens
> of seconds.  The seemed to be a known problem in the MythTv world and
> the standard solution was to use xfs instead.  Sure enough, deleting
> large files on xfs didn't cause problems.
>
> * It was probably ext3 back then, so it's possible none of this
>   applies to ext4.
>

Oh, that definitely impacts ext4 in the same way, but it doesn't
change my recommendation.  In normal use it really doesn't have that
much impact.

The poster wasn't asking for a recommendation for mythtv storage
specifically.  I believe that back when I was running mythtv I still
used ext4 because the deletion issue wasn't actually that large in
impact in practice, but I did modify the sources to increase the
buffer sizes (otherwise I'd sometimes lose frames whether I was
deleting stuff or otherwise, as linux io queuing still has a lot of
room to improve even with ionice).

If you do have a situation where you do a lot of large file deletions
then I'd definitely consider that a reason to steer away from ext4
specifically.  Xfs does handle this fine.  I'm not sure about zfs or
the other options - I suspect some will work and some won't.  Again,
zfs isn't really something I'd just use "by default."

Really to get more specific you'd need to know exactly how the system
will be used, and how willing to deal with issues the admin is.  There
is a lot to be said for "just works."

-- 
Rich



[gentoo-user] gtk+ emerge fails

2017-10-06 Thread Perry S Glenn

Hi,

gtk+ 2 and 3 both fail to emerge
glib-compile-resources gtk.gresource.xml \
--target=gtkresources.c 
--sourcedir=/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk 
--c-name _gtk --generate-source --manual-register
failed to load 
"/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png":
 Couldn't recognize the image file format for file 
'/var/tmp/portage/x11-libs/gtk+-3.22.16/work/gtk+-3.22.16/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png

Anyone else seen this?

-- 
kamak...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



[gentoo-user] How can I recover Ruby 2.2?

2017-10-06 Thread Hubert Hauser
Unfortunaly, I set in /etc/portage/make.conf variable RUBY_TARGETS to
"ruby22 ruby24" and I executed command eselect profile set 2. Now I need
to recovering these changes. I want to have Ruby 2.2. File
/etc/portage/make.conf:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
VIDEO_CARDS="nvidia"
#INPUT_DEVICES="libinput synaptics"
INPUT_DEVICES="libinput synaptics evdev mouse keyboard"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before
changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
#USE="bindist"
USE="userlocales unicode nls tools X a52 aac acl acpi alsa amd64 berkdb \
 -bindist bluetooth branding bzip2 cairo cdda cdr cli colord \
 consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds \
 emboss encode evo exif fam firefox flac fortran gdbm gif glamor \
 -gnome -gnome-keyring -gnome-online-accounts gpm gstreamer \
 gtk iconv introspection ipv6 jpeg lcms ldap libnotify \
 libsecret mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nptl \
 ogg opengl openmp pam pango pcre pdf png policykit ppds \
 -pulseaudio qt3support qt4 readline sdl seccomp session spell ssl \
 startup-notification svg -systemd tcpd tiff tracker truetype \
 udev udisks upower usb vorbis wxwidgets x264 xattr xcb xml \
 xv xvid zlib savedconfig xinerama python cjk wifi hardened jack \
 startup-notification custom-cflags java postgres curl lzma socks5 \
 perl v4l fontconfig gphoto2 gsm nls odbc openal scanner threads \
 vaapi xcomposite -ruby_targets_ruby24"
#USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding
bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus
dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran
gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer
gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng
modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl
openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4
readline sdl seccomp session spell ssl startup-notification svg tcpd
tiff tools tracker truetype udev udisks unicode upower usb userlocales
vorbis wxwidgets x264 xattr xcb xml xv xvid zlib"
CPU_FLAGS_X86="mmx mmxext sse sse2"
RUBY_TARGETS="ruby22"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
FEATURES="userfetch webrsync-gpg clean-logs binpkg-logs split-log"
PORT_LOGDIR="/var/log/portage"
PORTAGE_GPG_DIR="/var/lib/gentoo/gkeys/keyrings/gentoo/release"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl
rsync://gentoo.prz.rzeszow.pl/gentoo rsync://ftp.vectranet.pl/gentoo/
http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/";
CONFIG_PROTECT_MASK="/usr/bin/startx"
#FETCHCOMMAND="curl --socks5-hostname 127.0.0.1:9050 --retry 3
--connect-timeout 60 -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
#RESUMECOMMAND="curl -C - --socks5-hostname 127.0.0.1:9050 --retry 3
--connect-timeout 60 -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\""

Result of sudo -i emerge --ask --update --deep --newuse @world:

pecan@tux ~ $ sudo -i emerge --ask --update --deep --newuse @world

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


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

Calculating dependencies... done!
[ebuild  NS    ] dev-ruby/json-1.8.6-r1 [2.1.0] USE="-doc {-test}"
RUBY_TARGETS="ruby22 (-ruby23) (-ruby24)"

WARNING: One or more updates/rebuilds have been skipped due to a
dependency conflict:

dev-ruby/rubygems:0

  (dev-ruby/rubygems-2.6.13:0/0::gentoo, ebuild scheduled for merge)
conflicts with
    >=dev-ruby/rubygems-2.6.11[ruby_targets_ruby24] required by
(virtual/rubygems-13:0/0::gentoo, installed)
   ^^^


Would you like to merge these packages? [Yes/No] No

Quitting.

Result of emerge -pvO virtual/rubygems:

pecan@tux ~ $  emerge -pvO virtual/rubygems

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

[ebuild UD ] virtual/rubygems-11::gentoo [13::gentoo]
RUBY_TARGETS="ruby22 (-rbx) (-ruby23) (-ruby24%*)" 0 KiB

Total: 1 package (1 downgrade), Size of downloads: 0 KiB

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.[/code]
[b]sudo eselect ruby list[/b]:
[code]pecan@tux ~ $ sudo eselect ruby list
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
  [2]   ruby24 (with Rubygems)

How can I recover Ruby 2.2 and completely remove Ruby 2.4?

I'm counting for help.




[gentoo-user] Re: {OT?} which fs on 1.8TB partition

2017-10-06 Thread Grant Edwards
On 2017-10-06, Rich Freeman  wrote:

> 2.  Xfs: If you absolutely have to mess with a filesystem (especially
> for multimedia) this isn't a bad alternative.  You won't be able to
> shrink it, but for the most part it behaves a lot like ext4.

This was probably 10ish years ago, but I switched my multimedia
filesystems from ext* to xfs because deleting a large file (several
GB) on an ext filesystem would basically lock up my machine for tens
of seconds.  The seemed to be a known problem in the MythTv world and
the standard solution was to use xfs instead.  Sure enough, deleting
large files on xfs didn't cause problems.

* It was probably ext3 back then, so it's possible none of this
  applies to ext4.

-- 
Grant Edwards   grant.b.edwardsYow! It's OKAY -- I'm an
  at   INTELLECTUAL, too.
  gmail.com




[gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread tuxic
Hi,

The u8g8lib, which contains libraries to drive a great amount of
displays for mainly embedded electronics has a wiki on github, which
can be oficially git-pulled as a local copy...which I did.

Now I have tons of *.md (markdown) -files instead of html and I 
dont know of any handy viewer for these.

 Since I want to update the repo from time to time
I dont want to convert them.

Is there any recommended quick and clean way to view these files on the fly as
they would be html?

Thanks a lot for any help in advance!
Cheers
Meino




Re: [gentoo-user] {OT?} which fs on 1.8TB partition

2017-10-06 Thread Rich Freeman
On Fri, Oct 6, 2017 at 5:53 AM, Philip Webb  wrote:
> 171005 christos kotsis wrote:
>> I just noticed that ReiserFS has significant performance
>> over ext3, 4 when dealing with small files.
>
> I've long relied on ReiserFS for everything except  /boot
> & have never had any problems with my files or drives.
> I have many small files + a few big PDFs -- perhaps  c 20 MB ea  --
> & the big ones simply stay where I put them, so no changes to handle.
>

Unless your needs are fairly specialized (in which case you probably
wouldn't be looking for advice on this list), I'd probably stick with
the more mainstream filesystems.

I doubt reiserfs will eat your data, but it has been generally falling
out of use.

IMO if your goal isn't to experiment with alternate filesystems, there
are really only a couple of mainstream choices out there for a
general-purpose workstation filesystem:

1.  Ext4:  This should just be your default if you don't want to care
about your filesystem.  It is ubiquitous for a reason.  It won't eat
your data, and everybody knows what to expect from it.  If your
filesystem is fairly small and being used for a root, or otherwise has
a lot of small files, then make sure to override the inode defaults.
Other than that it just works.

2.  Xfs: If you absolutely have to mess with a filesystem (especially
for multimedia) this isn't a bad alternative.  You won't be able to
shrink it, but for the most part it behaves a lot like ext4.

Zfs is starting to cross over into experimental territory, IMO, though
it generally is fairly stable.  I care about data integrity, so it is
what I tend to run (well, aside from one btrfs filesystem I haven't
switched over).  I had a SATA port misbehave and spread silent
corruption all over a disk, and zfs got me through it without anything
but some warning alerts/etc and a need to rebuild after I moved the
drive to another controller (and marked a big X over the port).  If I
were using mdadm I'd have had to rebuild from backups at a cost of
hours of downtime (a fairly large array), and might have lost
recently-written data entirely as might have been in use for longer
before detecting the error, leaving me a dilemma of figuring out which
backup versions were good, with the answer being something older.
Even if I didn't have redundancy zfs (or btrfs) would have complained
loudly about the issue.  I do use snapshots because they're cheap, but
rolling back is pretty rare.

Unless you have a very specialized need I wouldn't go messing with
block sizes or anything like that in any of these cases.

-- 
Rich



Re: [gentoo-user] Linode discontinuing Xen, migrating to KVM

2017-10-06 Thread Tanstaafl
On Thu Oct 05 2017 18:53:37 GMT-0400 (Eastern Standard Time), Stroller
 wrote:
> I just installed Linode's Gentoo image file in a new VM, and started
> using it, so the below are the defaults.

Thanks Stroller,

I had to somehow use my own Gentoo image when I first installed these as
they didn't officially provide any, glad to hear they do now.

>> First - are you using 'Auto Configure Networking' (is it enabled
>> or disabled in your Linode options)?
> 
> Enabled.
> 
> /etc/resolv.conf and /etc/conf.d/net both say "This file is
> automatically generated on each boot with your Linode's current
> network configuration."
> 
> I'm not sure I'd dare change it, to be honest.
Well, I'm not so worried about that since you can always access the VM
using the LISH console to change something like that back.

I'll experiment with this on my Dev VM that isn't mission critical. I
migrated it last night, and it came up just fine, so hopefully my
Production VM will be just as painless.

>> Second, do you have rc_sys defined, or are you using auto-detect (is it
>> just commented out)?
> 
> Just commented out.

This is the one I'm worried about - how to change it back if it totally
breaks the ability to even boot.



Re: [gentoo-user] {OT?} which fs on 1.8TB partition

2017-10-06 Thread Philip Webb
171005 christos kotsis wrote:
> I just noticed that ReiserFS has significant performance
> over ext3, 4 when dealing with small files.

I've long relied on ReiserFS for everything except  /boot
& have never had any problems with my files or drives.
I have many small files + a few big PDFs -- perhaps  c 20 MB ea  --
& the big ones simply stay where I put them, so no changes to handle.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: eth over usb

2017-10-06 Thread pat

On 2017-10-06 00:44, Neil Bothwick wrote:

On Thu, 5 Oct 2017 15:15:11 -0700, Ian Zimmerman wrote:


> I'm installing gentoo on new laptop which doesn't have eth slot. I
> have i-tec usb-eth adapter which works fine (tested on linux live
> distribution).

Can you get 100Mbit/s with it?

The laptop I use also has no ethernet.  I bought a USB dongle for that
but it turns out it can only do the original 10Mbit/s, half-duplex; 
much
slower than wifi and even somewhat slower than the WAN connection 
here.


I have a gigabit USB 3.0 to ethernet adaptor here. It's branded Digitus
which probably means nothing, lsusb shows

ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet


The one I have is also USB3 and looks fast, but I didn't test it yet - 
right now trying to setup gentoo :-)


Pat


Freehosting PIPNI - http://www.pipni.cz/




[gentoo-user] sys-apps/texinfo-6.5: Aborted /usr/bin/perl /usr/bin/perl ../tp/texi2any

2017-10-06 Thread Andrey Moshbear
Hi;

texi2any fails with SIGABRT when compiling texinfo:

emerge -1v =sys-apps/texinfo-6.5: http://dpaste.com/0XJMVRV
emerge --info: http://dpaste.com/1DDRESJ

What's the failure cause and appropriate solution or workaround?

-- AV