[gentoo-user] glibc-2.24-r2 failed (install phase)

2017-06-15 Thread tuxic
Hi,

While updateing glibc-2.24-r2 failed to install.

These are the last few lines of that process:


al/execinfo.c.texi 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/add.c.texi
 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/summary.texi
 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/pkgvers.texi
 | sort;  \
 echo "@end direntry") > 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/dir-add.texi.new
mv -f 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/dir-add.texi.new
 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/dir-add.texi
LANGUAGE=C LC_ALL=C makeinfo -P 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/
 
--output=/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/libc.info
 libc.texinfo
libc.texinfo:6: warning: @codequotebacktick should only appear at the beginning 
of a line
libc.texinfo:6: warning: @codequoteundirected should only appear at the 
beginning of a line
libc.texinfo:6: warning: @codequoteundirected should not appear in 
@codequotebacktick
libc.texinfo:6: expected @codequoteundirected on or off, not `on' require'
libc.texinfo:6: superfluous argument to @codequotebacktick
libc.texinfo:6: expected @codequotebacktick on or off, not `on' and ''
make[2]: *** [Makefile:144: 
/var/tmp/portage/sys-libs/glibc-2.24-r2/work/build-amd64-x86_64-pc-linux-gnu-nptl/manual/libc.info]
 Error 1
make[2]: Leaving directory 
'/var/tmp/portage/sys-libs/glibc-2.24-r2/work/glibc-2.24/manual'
make[1]: *** [Makefile:215: manual/subdir_install] Error 2
make[1]: Leaving directory 
'/var/tmp/portage/sys-libs/glibc-2.24-r2/work/glibc-2.24'
make: *** [Makefile:12: install] Error 2
 * ERROR: sys-libs/glibc-2.24-r2::gentoo failed (install phase):
 *   emake failed
 * 

If anything more is wanted, I will be happy to post the wanted logs.
But I want to prevent to logbomnb the mailinglist in beforehand... ;)

Cheers
Meino






Re: [gentoo-user] OT: Avi-player diplaying the current frame counter while playing ?

2017-05-25 Thread tuxic
On 05/26 02:29, wabe wrote:
> tu...@posteo.de wrote:
> 
> > Hi,
> > 
> > currentlu I am playing around with Blender animations.
> > 
> > To sync certain movements of objects to other objects
> > I need the exact frame number, at which "something
> > happens" ;)
> > 
> > The clips are of the avi-format but they are of non
> > standard resultions. MPlayer does not play them
> > ("no audio found" and that's it) but mpv has no
> > problem with them.
> > But mpv only prints the perceantage of how much
> > is played already (I cant convice mpv otherwise...)
> > 
> > Is there a way to instruct mpv to print the current
> > frame count while playing?
> 
> I read the mpv man page and found a solution.
> 
> 
> Create a file ~/.mpv/input.conf with the content
> 
> i show-text ${estimated-frame-number}
> 
> When playing a video you can now press the i-key to see the 
> current framenumber. 
> 
> But manpage says about the estimated-frame-number property: 
> "This is only an estimate. (It's computed from two unreliable 
> quantities: fps and possibly rounded timestamps.)
> 
> I've tested it with some videos that I recorded with my 
> smartphone and it seemed that the printed frame number was 
> always correct.
> 
> 
> Another thing that it maybe useful:
> 
> If you start mpv from command line with these two options 
> 
> --osd-level=3 --osd-fractions=yes
> 
> then the OSD as well as the console output shows you the 
> current timestamp with milliseconds.
> 
> If you don't wanna start mpv from command line then you can 
> also add these two options to ~/.mpv/config 
> If you do this you need a line for every option and you may 
> not include the double hyphens.
> 
> 
> Btw.: If you press the . key while playing a video, mpv will
> switch to single frame mode. Every time you press this key 
> again, mpv shows the next frame. 
> You can use the space bar to continue/pause the video.
> 
> --
> Regards
> wabe
> 
Hi Wabe,

thanks for your help and search!!!  :)

Before I sent my post I looked through the mpv manpages and searched
for keywords like "frame counter", "frames", "position" etc. and
either overlooked what you have found or it makes not "click" in my
head since it seems now that I did not fully understood what I saw (I
am no native speaker)...

I will tryt out that!

Cheers
Meino







[gentoo-user] OT: Avi-player diplaying the current frame counter while playing ?

2017-05-25 Thread tuxic
Hi,

currentlu I am playing around with Blender animations.

To sync certain movements of objects to other objects
I need the exact frame number, at which "something
happens" ;)

The clips are of the avi-format but they are of non
standard resultions. MPlayer does not play them
("no audio found" and that's it) but mpv has no
problem with them.
But mpv only prints the perceantage of how much
is played already (I cant convice mpv otherwise...)

Is there a way to instruct mpv to print the current
frame count while playing?
Are there other players known to do that?

Thanks in advance for any help!
Cheers
Meino








[gentoo-user] ...doubled updates?

2017-05-24 Thread tuxic
Hi,

this morning I got this updates to be done:

>>> Verifying ebuild manifests
>>> Emerging (1 of 10) sys-apps/keyutils-1.5.10::gentoo
>>> Emerging (2 of 10) sys-apps/diffutils-3.6::gentoo
>>> Emerging (3 of 10) kde-frameworks/kcoreaddons-5.34.0-r1::gentoo
>>> Emerging (4 of 10) app-text/poppler-0.55.0::gentoo
>>> Emerging (5 of 10) dev-libs/boost-1.63.0::gentoo
>>> Emerging (6 of 10) dev-vcs/git-2.13.0::gentoo
>>> Installing (1 of 10) sys-apps/keyutils-1.5.10::gentoo
>>> Installing (3 of 10) kde-frameworks/kcoreaddons-5.34.0-r1::gentoo
>>> Installing (6 of 10) dev-vcs/git-2.13.0::gentoo
>>> Installing (4 of 10) app-text/poppler-0.55.0::gentoo
>>> Installing (5 of 10) dev-libs/boost-1.63.0::gentoo
>>> Emerging (7 of 10) media-plugins/alsa-plugins-1.1.4-r1::gentoo
>>> Emerging (8 of 10) sys-apps/collectl-4.1.3::gentoo
>>> Emerging (9 of 10) dev-libs/nss-3.30.2-r1::gentoo
>>> Emerging (10 of 10) sci-electronics/kicad-4.0.6::gentoo
>>> Installing (8 of 10) sys-apps/collectl-4.1.3::gentoo
>>> Installing (7 of 10) media-plugins/alsa-plugins-1.1.4-r1::gentoo
>>> Installing (9 of 10) dev-libs/nss-3.30.2-r1::gentoo


Position 8 and 9 are doubled.
Why?

Thanks for any info in advance!
Cheers
Meino





Re: [gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread tuxic
On 05/22 09:06, Adam Carter wrote:
> It happens again.
> 
> >
> > Linux kernel 4.11.0 (fetched from ftp.kernel.org mirror)
> >
> > dmesg:
> > [ 3879.147626] encfs[4099]: segfault at 0 ip 0044ca52 sp
> > 7fb17d8d2990 error 4 in encfs[40+95000]
> >
> > Nothing more than this in the dmesg, though.
> >
> 
> Ok so its crashed. Have you tried rebuilding encfs? I would try that first,
> and if it doesnt work, then i'd rebuild everything that encfs depends upon,
> then rebuild encfs again.

Jepp, already done. For a solution and reason see my previous post.





Re: [gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread tuxic
On 05/21 08:41, Ian Zimmerman wrote:
> On 2017-05-21 09:51, Neil Bothwick wrote:
> 
> > Why are you using encfs with the associated FUSE baggage when ecryptfs
> > is in the kernel and performs the same function?
> 
> Is ecryptfs behind the scenes when I run /sbin/cryptsetup ?
> 
> I remember a few years back, still on debian, I resolved to replace my
> encfs usage with something more "modern" (phew) just to avoid getting
> left in the cold with no support, as may be happening to Meino.  The
> first such modern thing that came to mind was what ubuntu (and maybe
> debian) used to mount encrypted filesystems on boot, and I think that
> was called ecryptfs, but that was so very complex and opaque that I
> didn't get far.  After a while I found my current way usign cryptsetup.
> 
> But the ubuntu stuff may have been just wrapping and packaging, hence
> my question.
> 
> -- 
> Please *no* private Cc: on mailing lists and newsgroups
> Personal signed mail: please _encrypt_ and sign
> Don't clear-text sign:
> http://primate.net/~itz/blog/the-problem-with-gpg-signatures.html
> 

Hi Ian,

cryptsetup seems to be of another flavor than encfs, since its depends
on gpg (see below), which encfs does not use as far as I know.
I think encfs uses symmetric ciphers and cryptsetup uses a pub/private
key pair. But I am by no means a cryptologist (I even cant spell this
correctly...or...? ;)

>ldd /sbin/cryptsetup
linux-vdso.so.1 (0x7ffd1556)
libcryptsetup.so.4 => /usr/lib64/libcryptsetup.so.4 (0x7fba2aa06000)
libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x7fba2a7f9000)
libc.so.6 => /lib64/libc.so.6 (0x7fba2a463000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x7fba2a25e000)
libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x7fba2a004000)
libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x7fba29cf1000)
libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x7fba29adb000)
/lib64/ld-linux-x86-64.so.2 (0x7fba2ac2f000)
librt.so.1 => /lib64/librt.so.1 (0x7fba298d3000)
libudev.so.1 => /lib64/libudev.so.1 (0x7fba296ad000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x7fba29491000)
libm.so.6 => /lib64/libm.so.6 (0x7fba2918d000)

---

The encfs, which segfaults, was of version 1.9.1.
In parallel I searched the internet on "seqfault encfs"
and found quite a few people experience similiar problems.
Due to that reports I downgraded to version 1.7.5 and no
problems so far.

Smells like openssl: It's secure...but...

Time will tell, whether 1.7.5. is more stable than the
newer versions.

Cheers
Meino







Re: [gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread tuxic
On 05/21 09:51, Neil Bothwick wrote:
> On Sun, 21 May 2017 10:17:32 +0200, tu...@posteo.de wrote:
> 
> > Linux kernel 4.11.0 (fetched from ftp.kernel.org mirror)
> > 
> > dmesg:
> > [ 3879.147626] encfs[4099]: segfault at 0 ip 0044ca52 sp
> > 7fb17d8d2990 error 4 in encfs[40+95000]
> > 
> > Nothing more than this in the dmesg, though.
> 
> Why are you using encfs with the associated FUSE baggage when ecryptfs is
> in the kernel and performs the same function?
> 
> 
> -- 
> Neil Bothwick
> 
> "We can't solve problems by using the same kind of thinking we used when
> we created them." (Albert Einstein)


...because it had worked for years fpr me...

Cheers
Meino






Re: [gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread tuxic
On 05/21 08:46, tu...@posteo.de wrote:
> On 05/21 08:41, Kai Krakow wrote:
> > Am Sun, 21 May 2017 08:15:57 +0200
> > schrieb tu...@posteo.de:
> > 
> > > I have a directory mounted via fuse.encfs (encrypted).
> > > 
> > > Since kernel 4.11 (seldom, more often with 4.11.1 and 4.11.2) it
> > > happens that once in a sudden the system decides to make the
> > > contents unaccessible:
> > > 'mount' stills shows the mount of that directory but neither
> > > 'ls' or any other application can find the directory anymore.
> > > This happens while an application still accesses files
> > > of that directory (and the failure to do so shows that
> > > the "auto umount" has hit again).
> > > 
> > > I fetched the kernel right off ftp.kernel.org (more
> > > exactlu: off a mirror of that).
> > 
> > Why don't you use the gentoo-sources kernel ebuild? It has some special
> > patches for Gentoo userland... Tho I don't see any that may have
> > directly to do with your problem...
> > 
> > But maybe you want to check if it happens there, too. They have at
> > least 4.11.1 available by now. Myself, I'm using ck-sources 4.11.1.
> > 
> > 
> > > What is happening here? Has Linus implemented a timer
> > > for that ? :)
> > 
> > Do you use systemd and mounted it with a mount-timeout parameter
> > accidently?
> > 
> > > Any help is very appreciated since this featire is VERY
> > > annoying!
> > 
> > Since this is a fuse filesystem, check dmesg if there are any signals
> > regarding the fuse daemon: Maybe it just crashed. It doesn't really
> > unmount since you still see the mount point listed. Compare the running
> > fuse related processes before and after the issue.
> > 
> > 
> > -- 
> > Regards,
> > Kai
> > 
> > Replies to list-only preferred.
> > 
> > 
> 
> Hi Kai,
> 
> thanks for your help! 
> 
> Cheers
> Meino
> 
> 
> 

It happens again.

Linux kernel 4.11.0 (fetched from ftp.kernel.org mirror)

dmesg:
[ 3879.147626] encfs[4099]: segfault at 0 ip 0044ca52 sp 
7fb17d8d2990 error 4 in encfs[40+95000]

Nothing more than this in the dmesg, though.

Cheers
Meino





Re: [gentoo-user] Re: Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread tuxic
On 05/21 08:41, Kai Krakow wrote:
> Am Sun, 21 May 2017 08:15:57 +0200
> schrieb tu...@posteo.de:
> 
> > I have a directory mounted via fuse.encfs (encrypted).
> > 
> > Since kernel 4.11 (seldom, more often with 4.11.1 and 4.11.2) it
> > happens that once in a sudden the system decides to make the
> > contents unaccessible:
> > 'mount' stills shows the mount of that directory but neither
> > 'ls' or any other application can find the directory anymore.
> > This happens while an application still accesses files
> > of that directory (and the failure to do so shows that
> > the "auto umount" has hit again).
> > 
> > I fetched the kernel right off ftp.kernel.org (more
> > exactlu: off a mirror of that).
> 
> Why don't you use the gentoo-sources kernel ebuild? It has some special
> patches for Gentoo userland... Tho I don't see any that may have
> directly to do with your problem...
> 
> But maybe you want to check if it happens there, too. They have at
> least 4.11.1 available by now. Myself, I'm using ck-sources 4.11.1.
> 
> 
> > What is happening here? Has Linus implemented a timer
> > for that ? :)
> 
> Do you use systemd and mounted it with a mount-timeout parameter
> accidently?
> 
> > Any help is very appreciated since this featire is VERY
> > annoying!
> 
> Since this is a fuse filesystem, check dmesg if there are any signals
> regarding the fuse daemon: Maybe it just crashed. It doesn't really
> unmount since you still see the mount point listed. Compare the running
> fuse related processes before and after the issue.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 

Hi Kai,

thanks for your help! 

Cheers
Meino





[gentoo-user] Sudden auto-unmount of an encfs-partition ... why?

2017-05-21 Thread tuxic
Hi,

I have a directory mounted via fuse.encfs (encrypted).

Since kernel 4.11 (seldom, more often with 4.11.1 and 4.11.2) it
happens that once in a sudden the system decides to make the
contents unaccessible:
'mount' stills shows the mount of that directory but neither
'ls' or any other application can find the directory anymore.
This happens while an application still accesses files
of that directory (and the failure to do so shows that
the "auto umount" has hit again).

I fetched the kernel right off ftp.kernel.org (more
exactlu: off a mirror of that).

What is happening here? Has Linus implemented a timer
for that ? :)

Any help is very appreciated since this featire is VERY
annoying!

Cheers
Meino





Re: [gentoo-user] Re: ReactOS on virtualbox: VERY small viewport?

2017-05-20 Thread tuxic
On 05/20 04:18, Kai Krakow wrote:
> Am Sat, 20 May 2017 12:40:38 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/20 12:29, Kai Krakow wrote:
> > > Am Sat, 20 May 2017 11:01:14 +0200
> > > schrieb tu...@posteo.de:
> > >   
> > > > On 05/20 10:22, Kai Krakow wrote:  
> >  [...]  
> >  [...]  
> >  [...]  
> > > > 
> > > > Hi Kai,
> > > > 
> > > > installing the guest additions results in a blue screen after
> > > > reboot...  
> > > 
> > > I used the latest nightly of React OS and it worked there. I
> > > actually just tried that just before answering you.
> > > 
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.
> > > 
> > >   
> > 
> > I tried the latest release 0.4.5 ...
> > OK, will try the snapshot.
> > 
> > How "stable" is ReactOS in general?
> > "Experimental"? "Useable, but..."?, "It totally replaces
> > the efforts of the other software company..."? ;) :)
> 
> You got a blue screen... Guess... ;-)
> 
> The web page says it is alpha quality software. So it is not stable.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 

Ah! Ok

I thought, the blue screen has been established as a sign
of quality as it was shown so often after being implemented
in that commercial OS

Now I think, that was a wrong assumption, though...

;)

Cheers
Meino





Re: [gentoo-user] Re: ReactOS on virtualbox: VERY small viewport?

2017-05-20 Thread tuxic
On 05/20 12:29, Kai Krakow wrote:
> Am Sat, 20 May 2017 11:01:14 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/20 10:22, Kai Krakow wrote:
> > > Am Sat, 20 May 2017 09:22:12 +0200
> > > schrieb tu...@posteo.de:
> > >   
> > > > Hi,
> > > > 
> > > > I need a "windows" only for the purpose of flashing th.e firmware
> > > > of my NiMH-charger because the vendor forgot, that there are
> > > > other OSes alive on this planet earth.
> > > > 
> > > > I tried ReactOS via virtualbox...and yes it "runs"...  But the
> > > > given screen is /that/ tiny, that even the desktop of ReactOS
> > > > does not fit.
> > > > 
> > > > H
> > > > 
> > > > I earned about some problems of the correct implementation and
> > > > installation/usage of layer eight of some software/OSes and the
> > > > handling of them so better to ask, what may the reason for this
> > > > tiny screen...?
> > > > 
> > > > Virtualnbox?
> > > > ReactOS?
> > > > Me?  
> > > 
> > > Install the guest extensions, set the virtualbox window size to auto
> > > adjust the guest resolution, then reboot and resize your window.
> > > 
> > > You may find that the taskbar is missing, try rebooting again. It
> > > should appear after some seconds.
> > > 
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.
> > > 
> > >   
> > 
> > Hi Kai,
> > 
> > installing the guest additions results in a blue screen after
> > reboot...
> 
> I used the latest nightly of React OS and it worked there. I actually
> just tried that just before answering you.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 

I tried the latest release 0.4.5 ...
OK, will try the snapshot.

How "stable" is ReactOS in general?
"Experimental"? "Useable, but..."?, "It totally replaces
the efforts of the other software company..."? ;) :)

Cheers
Meino





Re: [gentoo-user] Re: ReactOS on virtualbox: VERY small viewport?

2017-05-20 Thread tuxic
On 05/20 10:22, Kai Krakow wrote:
> Am Sat, 20 May 2017 09:22:12 +0200
> schrieb tu...@posteo.de:
> 
> > Hi,
> > 
> > I need a "windows" only for the purpose of flashing th.e firmware of
> > my NiMH-charger because the vendor forgot, that there are other OSes
> > alive on this planet earth.
> > 
> > I tried ReactOS via virtualbox...and yes it "runs"...  But the given
> > screen is /that/ tiny, that even the desktop of ReactOS does not fit.
> > 
> > H
> > 
> > I earned about some problems of the correct implementation and
> > installation/usage of layer eight of some software/OSes and the
> > handling of them so better to ask, what may the reason for this tiny
> > screen...?
> > 
> > Virtualnbox?
> > ReactOS?
> > Me?
> 
> Install the guest extensions, set the virtualbox window size to auto
> adjust the guest resolution, then reboot and resize your window.
> 
> You may find that the taskbar is missing, try rebooting again. It
> should appear after some seconds.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 

Hi Kai,

installing the guest additions results in a blue screen after
reboot...

?

Cheers
Meino





[gentoo-user] ReactOS on virtualbox: VERY small viewport?

2017-05-20 Thread tuxic
Hi,

I need a "windows" only for the purpose of flashing th.e firmware of
my NiMH-charger because the vendor forgot, that there are other OSes
alive on this planet earth.

I tried ReactOS via virtualbox...and yes it "runs"...  But the given
screen is /that/ tiny, that even the desktop of ReactOS does not fit.

H

I earned about some problems of the correct implementation and
installation/usage of layer eight of some software/OSes and the
handling of them so better to ask, what may the reason for this tiny
screen...?

Virtualnbox?
ReactOS?
Me?

Cheers
Meino







Re: [gentoo-user] Back to bussiness with freecad ... but ...

2017-05-11 Thread tuxic
On 05/11 11:31, Mick wrote:
> On Wednesday 10 May 2017 19:43:34 tu...@posteo.de wrote:
> > Hi,
> > 
> > ok it seems that previously reported problems
> > with compilation problems of the dependencies
> > of freecad had gone.
> > 
> > Reason was a mixed up configuration of gcc.
> > 
> > I returned to gcc 5* and that did it.
> > 
> > Now emerging reaches the final step and
> > starts compiling freecad, and . failed.
> > 
> > I added the build.log as 7zip compressed file
> > to this email.
> > 
> > Waht happens here ... it fails so silently...
> > 
> > Thank you very much in advance for any help!
> > Cheers
> > Meino
> 
> This does not look like a silent failure to me.  If you search your log for 
> 'Error 1' you'll come across this:
> ==
> cd /var/tmp/portage/media-
> gfx/freecad-0.16/work/freecad-0.16_build/src/Mod/Image/App && /usr/bin/x86_64-
> pc-linux-gnu-g++ -DHAVE_CONFIG_H -DImage_EXPORTS -DQT_CORE_LIB -DQT_GUI_LIB -
> DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -
> DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64 -I/var/tmp/portage/media-
> gfx/freecad-0.16/work/freecad-0.16_build -isystem /usr/include/qt4 -isystem 
> /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtSvg -isystem 
> /usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtWebKit -isystem 
> /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem 
> /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -
> I/var/tmp/portage/media-gfx/freecad-0.16/work/freecad-0.16_build/src -
> I/var/tmp/portage/media-gfx/freecad-0.16/work/FreeCAD-0.16/src -
> I/usr/include/python2.7   -DNDEBUG -Wall -Wno-deprecated -Wno-write-strings -
> march=native -O2 -pipe -std=c++11 -D_OCC64 -fPIC   -o 
> CMakeFiles/Image.dir/AppImage.cpp.o -c /var/tmp/portage/media-
> gfx/freecad-0.16/work/FreeCAD-0.16/src/Mod/Image/App/AppImage.cppui/moc_DownloadItem.cppx11::basic_string  
> std::char_traits, std::allocator > >, 
> std::allocator > > > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator > > > > > 
> const*, std::__cxx11::basic_string std::allocator > >, 
> std::allocator > > > > > const&)'cxx11::basic_string std::allocator >, std::allocator std::char_traits, std::allocator > > > 
> const&)'::parse(boost::any&, std::vector std::char_traits, std::allocator >, 
> std::allocator std::allocator > > > const&, bool) const'
> ../../lib/libFreeCADApp.so: undefined reference to 
> `boost::re_detail_106300::perl_matcher<__gnu_cxx::__normal_iterator const*, std::__cxx11::basic_string std::allocator > >, 
> std::allocator > > > >, boost::regex_traits 
> >::construct_init(boost::basic_regex boost::cpp_regex_traits > > const&, 
> boost::regex_constants::_match_flags)')'unsigned int, unsigned int)'ence to 
> `boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string  
> std::char_traits, std::allocator > const&, 
> std::__cxx11::basic_string > const&, std::__cxx11::basic_string std::allocator > const&, int)'bFreeCADApp.so: undefined reference to 
> `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string  
> std::char_traits, std::allocator > const&) const'undefined 
> reference to 
> `boost::program_options::to_internal(std::__cxx11::basic_string std::char_traits, std::allocator > const&)'
> ../../lib/libFreeCADApp.so: undefined reference to 
> `boost::program_options::validate(boost::any&, 
> std::vector std::allocator >, std::allocator std::char_traits, std::allocator > > > const&, 
> std::__cxx11::basic_string >*, int)'2]: *** [src/Main/CMakeFiles/FreeCADMainCmd.dir/build.make:112: 
> bin/FreeCADCmd] Error 1
> make[2]: Leaving directory '/var/tmp/portage/media-
> gfx/freecad-0.16/work/freecad-0.16_build'
> make[1]: *** [CMakeFiles/Makefile2:867: 
> src/Main/CMakeFiles/FreeCADMainCmd.dir/all] Error 2
> ===
> 
> So, it seems it fails to build the binaries for FreeCAD because it doesn't 
> like something about boost, which you probably had built with a different 
> version of gcc.  In the first instance I would re-emerge 

[gentoo-user] Back to bussiness with freecad ... but ...

2017-05-10 Thread tuxic
Hi,

ok it seems that previously reported problems
with compilation problems of the dependencies
of freecad had gone.

Reason was a mixed up configuration of gcc.

I returned to gcc 5* and that did it.

Now emerging reaches the final step and
starts compiling freecad, and . failed.

I added the build.log as 7zip compressed file
to this email.

Waht happens here ... it fails so silently...

Thank you very much in advance for any help!
Cheers
Meino




build.log.7z
Description: application/7z-compressed


[gentoo-user] FreeCAD again (or "still): VTK compile problems

2017-05-07 Thread tuxic
Hi,

after trying to get FreeCAD working and after
getting some success (it runs when started by root)
I decided to recompile the whole stuff from ground
up to prevent to previously have a success by random,
which turns into an error later.

I emerged -C freecad and cleanup the rest. I even
removed according files below /usr/portage/distfiles
to really get "the pure geniune experience"...

...it purely fails.

vtk does not longer compile. It tried it
with "factory setting" and with use
flags, which I found on the internet
when searching for "FreeCAD compile
problems". Both failed the same way.
I checked for enough space on my hd and
yes...it is enough.

Here is what I got:



tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/Parallel/Core 
-I/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/Parallel/Core 
-I/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/IO/Legacy 
-I/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/IO/Legacy 
-I/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/Utilities/HashSource 
-I/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/Utilities/HashSource   
-D__STDC_CONSTANT_MACROS -D_UNICODE -DNDEBUG -march=native -O2 -pipe  -fPIC 
-fvisibility=hidden   -o 
CMakeFiles/vtkIOParallelXML.dir/vtkXMLPUniformGridAMRWriter.cxx.o -c 
/var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/IO/ParallelXML/vtkXMLPUniformGridAMRWriter.cxx
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function `(anonymous 
namespace)::operator<<(vtkOStreamWrapper&, Json::Value const&)':
vtkGeoJSONFeature.cxx:(.text+0x107): undefined reference to 
`Json::StyledStreamWriter::StyledStreamWriter(std::string)'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function 
`vtkGeoJSONFeature::ExtractGeoJSONFeatureGeometry(Json::Value const&, 
vtkPolyData*)':
vtkGeoJSONFeature.cxx:(.text+0x2d4f): undefined reference to 
`Json::Value::asString() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function 
`vtkGeoJSONFeature::ExtractGeoJSONFeature(Json::Value const&, vtkPolyData*)':
vtkGeoJSONFeature.cxx:(.text+0x3444): undefined reference to 
`Json::Value::asString() const'
vtkGeoJSONFeature.cxx:(.text+0x3e9d): undefined reference to 
`Json::Value::asString() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONFeature.cxx.o: In function 
`vtkGeoJSONFeature::PrintSelf(std::ostream&, vtkIndent)':
vtkGeoJSONFeature.cxx:(.text+0x448c): undefined reference to 
`Json::StyledStreamWriter::StyledStreamWriter(std::string)'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function 
`vtkGeoJSONReader::GeoJSONReaderInternal::ParseFeatureProperties(Json::Value 
const&, std::vector&, 
char const*)':
vtkGeoJSONReader.cxx:(.text+0xbb3): undefined reference to 
`Json::Value::operator[](std::string const&) const'
vtkGeoJSONReader.cxx:(.text+0xc07): undefined reference to 
`Json::Value::asString() const'
vtkGeoJSONReader.cxx:(.text+0xd9b): undefined reference to 
`Json::FastWriter::write(Json::Value const&)'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function 
`vtkGeoJSONReader::GeoJSONReaderInternal::ParseRoot(Json::Value const&, 
vtkPolyData*, bool, char const*)':
vtkGeoJSONReader.cxx:(.text+0x1897): undefined reference to 
`Json::Value::asString() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function 
`vtkGeoJSONReader::GeoJSONReaderInternal::CanParseFile(char const*, 
Json::Value&)':
vtkGeoJSONReader.cxx:(.text+0x25ee): undefined reference to 
`Json::Reader::getFormattedErrorMessages() const'
CMakeFiles/vtkIOGeoJSON.dir/vtkGeoJSONReader.cxx.o: In function 
`vtkGeoJSONReader::GeoJSONReaderInternal::CanParseString(char*, Json::Value&)':
vtkGeoJSONReader.cxx:(.text+0x2a66): undefined reference to 
`Json::Reader::parse(std::string const&, Json::Value&, bool)'
vtkGeoJSONReader.cxx:(.text+0x2c74): undefined reference to 
`Json::Reader::getFormattedErrorMessages() const'
collect2: error: ld returned 1 exit status
make[2]: *** [IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/build.make:156: 
lib/libvtkIOGeoJSON.so.1] Error 1
make[2]: Leaving directory 
'/var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build'
make[1]: *** [CMakeFiles/Makefile2:5039: 
IO/GeoJSON/CMakeFiles/vtkIOGeoJSON.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
[ 51%] Linking CXX shared library ../../lib/libvtkIOParallelXML.so
cd /var/tmp/portage/sci-libs/vtk-7.1.0/work/vtk-7.1.0_build/IO/ParallelXML && 
/usr/bin/cmake -E cmake_link_script CMakeFiles/vtkIOParallelXML.dir/link.txt 
--verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe   
-Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed  -shared 
-Wl,-soname,libvtkIOParallelXML.so.1 -o ../../lib/libvtkIOParallelXML.so.1 
CMakeFiles/vtkIOParallelXML.dir/vtkXMLPDataSetWriter.cxx.o 
CMakeFiles/vtkIOParallelXML.dir/vtkXMLPDataWriter.cxx.o 
CMakeFiles/vtkIOParallelXML.dir/vtkXMLPImageDataWriter.cxx.o 
CMakeFiles/vtkIOParallelXML.dir/vtkXMLPPolyDataWriter.cxx.o 

Re: [gentoo-user] Re: FreeCAD permission problems

2017-05-06 Thread tuxic
On 05/06 06:40, Kai Krakow wrote:
> Am Sat, 6 May 2017 16:23:19 +0200
> schrieb tu...@posteo.de:
> 
> > It's there
> > -rw-r--r-- 1 root root 141 May  6 10:37 /etc/env.d/000opengl
> > 
> > and its contents is:
> > # Configuration file for eselect
> > # This file has been automatically generated.
> > LDPATH="/usr/lib64/opengl/nvidia/lib"
> > OPENGL_PROFILE="nvidia"
> > 
> > Contents of ld.so.conf:
> > 
> > # ld.so.conf autogenerated by env-update; make all changes to
> > # contents of /etc/env.d directory
> > /usr/lib64/opengl/nvidia/lib
> > /lib64
> > /usr/lib64
> > /usr/local/lib64
> > /lib
> > /usr/lib
> > /usr/local/lib
> > include ld.so.conf.d/*.conf
> > /usr/lib64/OpenCL/vendors/nvidia
> > /usr/lib/llvm/4/lib64
> > /usr/lib64/itcl4.0.3/
> > /usr/lib64/itk4.0.1/
> > /usr/lib64/qt4
> > /opt/nvidia-cg-toolkit/lib64
> > /usr/games/lib64
> > /usr/games/lib
> > /opt/cuda/lib64
> > /opt/cuda/lib
> > /opt/cuda/nvvm/lib64
> > /usr/lib64/fltk
> > /usr/lib64/libgig/
> > 
> > 
> > 
> > No, no ACLs here:
> > 
> > ls -l /dev/input/*   (excerpt)
> > 
> > crw-rw 1 root input 13, 64 May  6 12:11 /dev/input/event0
> > crw-rw 1 root input 13, 65 May  6 12:11 /dev/input/event1
> > 
> > 
> > crw-rw 1 root video 195,   0 May  6 12:11 /dev/nvidia0
> > crw-rw 1 root video 195,   1 May  6 12:11 /dev/nvidia1
> > crw-rw 1 root video 195, 255 May  6 12:11 /dev/nvidiactl
> > crw-rw-rw- 1 root root  195, 254 May  6 12:11 /dev/nvidia-modeset
> > crw-rw-rw- 1 root root  246,   0 May  6 12:20 /dev/nvidia-uvm
> > crw-rw-rw- 1 root root  246,   1 May  6 12:20 /dev/nvidia-uvm-tools
> > 
> > 
> > I have two nvidia-cards in my PC. One (the slower,older) is for
> > everytyhing except rendering, the newer and faster one is for
> > rendering except anything else.
> > 
> > The above shows both permissions:
> > root:root and root:portage...
> > 
> > 
> > Video-group settings are ok it seems:
> > NVreg_DeviceFileGID=27
> > 
> > 27(video)
> 
> Okay, this looks all good.
> 
> > (as user)
> > glxgears -info:
> > Running synchronized to the vertical refresh.  The framerate should be
> > approximately the same as the monitor refresh rate.
> > GL_RENDERER   = GeForce GT 430/PCIe/SSE2  <<<= this is
> > the older, slower graphics card!
> 
> Is this what you expected?
> 
> I'm not sure how to handle multiple nvidia cards properly and assign
> them to different tasks. My best guess is using nvidia-settings.
> 
> I guess one GPU is used for X11, the other is not. So, if you want one
> application to use the idle GPU, it may not be initialized.
> 
> I think this is when you use persistenced:
> https://docs.nvidia.com/deploy/driver-persistence/
> 
> > GL_VERSION= 4.5.0 NVIDIA 381.09
> > GL_VENDOR = NVIDIA Corporation
> > GL_EXTENSIONS = GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays
> [...snip...]
> 
> I guess this is all not Gentoo related. Your graphics stack looks
> correct. I guess that FreeCAD chokes because of your special setup
> with two GPUs. You may want to contact their support forum.
> Everything related to the basic configuration looks correct.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 

Hi Kai,

thanks for all your help and analyzes!
Yes, it looks like FreeCAD creates the problem.
No other program (Blender for example) has any
problem with my setup...just another part
of this puzzle...

Have a nice weekend!
Cheers
Meino







Re: [gentoo-user] Re: FreeCAD permission problems

2017-05-06 Thread tuxic
On 05/06 03:20, Kai Krakow wrote:
> Am Sat, 6 May 2017 14:42:59 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/06 02:16, Kai Krakow wrote:
> > > Am Sat, 6 May 2017 12:55:24 +0200
> > > schrieb tu...@posteo.de:
> > >   
> > > > On 05/06 12:28, Kai Krakow wrote:  
> >  [...]  
> >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> > > > 
> > > > Hi,
> > > > 
> > > > ...it runs now at least for root (called as user it crashes
> > > > still).
> > > > 
> > > > I did the following:
> > > > 
> > > > 
> > > > mv /usr/lib64/libGL.so  /usr/lib64/off.libGL.so 
> > > > 
> > > > for all libGL.so* in /usr/lib64/libGL.so*  
> > > 
> > > You shouldn't shuffle those files around. They are controlled by the
> > > package manager.
> > > 
> > > I think it's a bug of the software that it overwrites ld paths.
> > > With a Gentoo standard configuration and eselect opengl switched to
> > > nvidia, every software should find and load the nvidia opengl stuff
> > > first.
> > > 
> > > Could you show the output of
> > > 
> > > # lddtree $(which FreeCAD)
> > > 
> > > E.g., lddtree $(which kwin_x11) shows a line for me:
> > > 
> > > libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1
> > > 
> > > which clearly says it's linking libGL.so.1 from nvidia first.
> > > 
> > > If a libGL line is missing for FreeCAD, it is dynamically loaded by
> > > the application itself. Then it's a FreeCAD bug that should be
> > > fixed.
> > > 
> > > If it's loading from /usr/lib64/libGL* for you, then some paths and
> > > configs are borked in your system.
> > > 
> > >   
> > > > Addtionally I added 06nvidia to /etc/ld.so.config.d/. with this
> > > > contents:
> > > > /usr/lib64/opengl/nvidia/lib
> > > > and did a ldconfig afterwards and reboot to release any
> > > > filehandle.  
> > > 
> > > I wonder why these paths are missing for you... My ld.so.conf has
> > > nvidia paths right in the beginning (first two lines). It's
> > > actually made from /etc/env.d/000opengl. There's nothing nvidia
> > > specific in the .d directory.
> > > 
> > >   
> > > > One question remains:
> > > > It works for root but not for any other user.
> > > > I (as user) am in the video group.
> > > > 
> > > > I checked the directory/file permissions of opencascade and they
> > > > seem to be ok.  
> > > 
> > > I don't think that modern kernels and desktop managers still use the
> > > video group. It should be handled by ACLs. Please have a look at the
> > > ACLs of the device nodes.
> > > 
> > > It all depends on your login manager and pam configuration. You
> > > should check that if things don't work right. If you're using
> > > systemd, you are using systemd-logind, otherwise you're probably
> > > using consolekit.
> > > 
> > > If you're not using either of those, the system would fall back to
> > > standard unix group permissions. But I'm not sure if this works
> > > correctly if you didn't configure the whole chain to work that way.
> > > 
> > >   
> > > > I straced FreeCAD...but...I fear not to see anything suspicious
> > > > because the output contains a lot of noise (much more as normally
> > > > seen in such traces)...  
> > > 
> > > You can use call filters to limit that to what you want to see.
> > > Also, there's ltrace which could be interesting.
> > > 
> > >   
> > > > The eselects show:  
> >  [...]  
> > > > Available OpenGL implementations:
> > > >   [1]   nvidia *
> > > >   [2]   xorg-x11  
> >  [...]  
> > > > i915 (Intel 915, 945)
> > > > i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
> > > > r300 (Radeon R300-R500)
> > > > r600 (Radeon R600-R700, Evergreen, Northern Islands)
> > > > sw (Software renderer)
> > > >   [1]   classic
> > > >   [2]   gallium *
> > > > 
> > > > Why is nvidia not listed with the second command?  
> > > 
> > > Afaik, it does not provide mesa drivers. That's probably why it
> > > cannot find an "swrast" driver/visual then. Directly using nvidia
> > > OpenGL fixes that, which is what you did now.
> > > 
> > > I think the bug with FreeCAD is, that it cannot properly handle
> > > multiple opengl implementations which it tries to do itself. It
> > > should be left to the system to correctly load the correct opengl
> > > implementation.
> > > 
> > > I guess FreeCAD looks up visuals by loading libGL from /usr/lib,
> > > then it loads libGL again using means provided by the system, which
> > > ends up loading the nvidia implementation. But that does not
> > > provide swrast. I can only guess why they did that. But I could
> > > also be totally wrong.
> > > 
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.
> > >   
> > 
> > 
> > 
> > 
> > Hi Kai,
> > 
> > NO PANIC! :) the renaming of libGL and friends was for
> > testing/experimenting purposes only! :)
> > 
> > After renaming those back to normal and doing a ldconfig
> > 

Re: [gentoo-user] Re: FreeCAD permission problems

2017-05-06 Thread tuxic
On 05/06 02:16, Kai Krakow wrote:
> Am Sat, 6 May 2017 12:55:24 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/06 12:28, Kai Krakow wrote:
> > > Am Sat, 6 May 2017 04:18:57 +0200
> > > schrieb tu...@posteo.de:
> > >   
> > > > On 05/05 09:17, Kai Krakow wrote:  
> >  [...]  
> >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]  
> > > >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> >  [...]  
> > > > 
> > > > Hi Kai,
> > > > 
> > > > 
> > > > here the results:
> > > > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD   
> > > > ERROR: ld.so: object '/usr/lib64/opengl/nvidia/lib/.' from
> > > > LD_PRELOAD cannot be preloaded (cannot read file data): ignored.
> > > > FreeCAD 0.16, Libs: 0.16RUnknown © Juergen Riegel, Werner Mayer,
> > > > Yorik van Havre 2001-2015 #   ###     
> > > >   ##  # #   #   # 
> > > >   # ##     # #   #  #   # 
> > > >     # # #  # #  #  # #  #   # 
> > > >   # #      ## # #   # 
> > > >   # #   ## ## # #   #  ##  ##  ##
> > > >   # #       ### # #    ##  ##  ##
> > > > 
> > > > libGL error: No matching fbConfigs or visuals found
> > > > libGL error: failed to load driver: swrast
> > > > using visual class 4, id 2b
> > > > [1]17990 segmentation fault
> > > > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD  
> > > 
> > > This makes no sense... You have to give an .so file.
> > >   
> > >  >LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD  
> > > > FreeCAD 0.16, Libs: 0.16RUnknown
> > > > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> > > >   #   ###     
> > > >   ##  # #   #   # 
> > > >   # ##     # #   #  #   # 
> > > >     # # #  # #  #  # #  #   # 
> > > >   # #      ## # #   # 
> > > >   # #   ## ## # #   #  ##  ##  ##
> > > >   # #       ### # #    ##  ##  ##
> > > > 
> > > > using visual class 4, id 2b
> > > > [1]17552 segmentation fault
> > > > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD  
> > > 
> > > Okay, so this fixes the problem with the visual as I expected. But
> > > now it's segfaulting.
> > > 
> > > Are you using an NVIDIA card with proprietary driver?
> > > 
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.
> > > 
> > > 
> > >   
> > 
> > Hi,
> > 
> > ...it runs now at least for root (called as user it crashes still).
> > 
> > I did the following:
> > 
> > 
> > mv /usr/lib64/libGL.so  /usr/lib64/off.libGL.so 
> > 
> > for all libGL.so* in /usr/lib64/libGL.so*
> 
> You shouldn't shuffle those files around. They are controlled by the
> package manager.
> 
> I think it's a bug of the software that it overwrites ld paths. With a
> Gentoo standard configuration and eselect opengl switched to nvidia,
> every software should find and load the nvidia opengl stuff first.
> 
> Could you show the output of
> 
> # lddtree $(which FreeCAD)
> 
> E.g., lddtree $(which kwin_x11) shows a line for me:
> 
> libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1
> 
> which clearly says it's linking libGL.so.1 from nvidia first.
> 
> If a libGL line is missing for FreeCAD, it is dynamically loaded by the
> application itself. Then it's a FreeCAD bug that should be fixed.
> 
> If it's loading from /usr/lib64/libGL* for you, then some paths and
> configs are borked in your system.
> 
> 
> > Addtionally I added 06nvidia to /etc/ld.so.config.d/. with this
> > contents:
> > /usr/lib64/opengl/nvidia/lib
> > and did a ldconfig afterwards and reboot to release any filehandle.
> 
> I wonder why these paths are missing for you... My ld.so.conf has nvidia
> paths right in the beginning (first two lines). It's actually made
> from /etc/env.d/000opengl. There's nothing nvidia specific in the .d
> directory.
> 
> 
> > One question remains:
> > It works for root but not for any other user.
> > I (as user) am in the video group.
> > 
> > I checked the directory/file permissions of opencascade and they
> > seem to be ok.
> 
> I don't think that modern kernels and desktop managers still use the
> video group. It should be handled by ACLs. Please have a look at the
> ACLs of the device nodes.
> 
> It all depends on your login manager and pam configuration. You should
> check that if things don't work right. If you're using systemd, you are
> using systemd-logind, otherwise you're probably using consolekit.
> 
> If you're not using either of those, the system would fall back to
> standard unix group permissions. But I'm not sure if this works
> correctly if you didn't configure the whole chain to work that way.
> 
> 
> > I straced FreeCAD...but...I fear not to see anything suspicious
> > because the output contains a lot of noise (much more as 

Re: [gentoo-user] Re: FreeCAD permission problems

2017-05-06 Thread tuxic
On 05/06 12:28, Kai Krakow wrote:
> Am Sat, 6 May 2017 04:18:57 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/05 09:17, Kai Krakow wrote:
> > > Am Fri, 5 May 2017 21:12:53 +0200
> > > schrieb tu...@posteo.de:
> > >   
> > > > On 05/05 09:03, Kai Krakow wrote:  
> >  [...]  
> >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> > > > 
> > > > Hi Kai,
> > > > 
> > > > sorry for the confusion I initiated...
> > > > 
> > > > This one I used
> > > > 
> > > > QT_GRAPHICSSYSTEM=raster freecad  
> > > 
> > > Please also try my other suggestion:
> > > 
> > > Find your GL drivers with "locate libGL.so" or "qfile -b libGL.so"
> > > and try those paths in the preloader:
> > > 
> > > # LD_PRELOAD=/path/to/libGL.so freecad
> > > 
> > > Try the libGL most specific to your graphics card first.
> > > 
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.
> > > 
> > > 
> > >   
> > 
> > Hi Kai,
> > 
> > 
> > here the results:
> > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD   
> > ERROR: ld.so: object '/usr/lib64/opengl/nvidia/lib/.' from LD_PRELOAD
> > cannot be preloaded (cannot read file data): ignored. FreeCAD 0.16,
> > Libs: 0.16RUnknown © Juergen Riegel, Werner Mayer, Yorik van Havre
> > 2001-2015 #   ###     
> >   ##  # #   #   # 
> >   # ##     # #   #  #   # 
> >     # # #  # #  #  # #  #   # 
> >   # #      ## # #   # 
> >   # #   ## ## # #   #  ##  ##  ##
> >   # #       ### # #    ##  ##  ##
> > 
> > libGL error: No matching fbConfigs or visuals found
> > libGL error: failed to load driver: swrast
> > using visual class 4, id 2b
> > [1]17990 segmentation fault
> > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD
> 
> This makes no sense... You have to give an .so file.
> 
>  >LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD  
> > FreeCAD 0.16, Libs: 0.16RUnknown
> > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >   #   ###     
> >   ##  # #   #   # 
> >   # ##     # #   #  #   # 
> >     # # #  # #  #  # #  #   # 
> >   # #      ## # #   # 
> >   # #   ## ## # #   #  ##  ##  ##
> >   # #       ### # #    ##  ##  ##
> > 
> > using visual class 4, id 2b
> > [1]17552 segmentation fault
> > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD
> 
> Okay, so this fixes the problem with the visual as I expected. But now
> it's segfaulting.
> 
> Are you using an NVIDIA card with proprietary driver?
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 
> 

Hi,

...it runs now at least for root (called as user it crashes still).

I did the following:


mv /usr/lib64/libGL.so  /usr/lib64/off.libGL.so 

for all libGL.so* in /usr/lib64/libGL.so*

Addtionally I added 06nvidia to /etc/ld.so.config.d/. with this
contents:
/usr/lib64/opengl/nvidia/lib
and did a ldconfig afterwards and reboot to release any filehandle.

One question remains:
It works for root but not for any other user.
I (as user) am in the video group.

I checked the directory/file permissions of opencascade and they
seem to be ok.

I straced FreeCAD...but...I fear not to see anything suspicious
because the output contains a lot of noise (much more as normally
seen in such traces)...

The eselects show:
>eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
>eselect mesa list  
i915 (Intel 915, 945)
i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic
  [2]   gallium *

Why is nvidia not listed with the second command?

Any ideas?

Cheers
Meino









Re: [gentoo-user] Re: FreeCAD permission problems

2017-05-05 Thread tuxic
On 05/05 09:17, Kai Krakow wrote:
> Am Fri, 5 May 2017 21:12:53 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/05 09:03, Kai Krakow wrote:
> > > Am Fri, 5 May 2017 20:40:50 +0200
> > > schrieb tu...@posteo.de:
> > >   
> > > > On 05/05 08:28, Kai Krakow wrote:  
> >  [...]  
> >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> >  [...]  
> > > > 
> > > > Hi kai,
> > > > 
> > > > THANKS FOR THAT COMMANDLINE!  
> > > 
> > > Which of those two?
> > >   
> > > > Now FreeCAD is willing to cooperate...up to an certain level: It
> > > > starts
> > > > 
> > > > Loading an STEP-data file results in :
> > > > FreeCAD 0.16, Libs: 0.16RUnknown
> > > > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> > > >   #   ###     
> > > >   ##  # #   #   # 
> > > >   # ##     # #   #  #   # 
> > > >     # # #  # #  #  # #  #   # 
> > > >   # #      ## # #   # 
> > > >   # #   ## ## # #   #  ##  ##  ##
> > > >   # #       ### # #    ##  ##  ##
> > > > 
> > > > libGL error: No matching fbConfigs or visuals found
> > > > libGL error: failed to load driver: swrast
> > > > Unhandled std::exception caught in GUIApplication::notify.
> > > > The error message is: Permission denied
> > > > *** Abort *** an exception was raised, but no catch was found.
> > > > ... The exception is:SIGSEGV 'segmentation violation'
> > > > detected. Address 0
> > > > 
> > > > Any ideas?  
> > > 
> > > I'd still try the preload stuff. I don't think QT_GRAPHICSSYSTEM can
> > > solve this.
> > > 
> > > But I'm only guessing which command line you used.
> > > 
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.
> > > 
> > > 
> > >   
> > 
> > Hi Kai,
> > 
> > sorry for the confusion I initiated...
> > 
> > This one I used
> > 
> > QT_GRAPHICSSYSTEM=raster freecad
> 
> Please also try my other suggestion:
> 
> Find your GL drivers with "locate libGL.so" or "qfile -b libGL.so" and
> try those paths in the preloader:
> 
> # LD_PRELOAD=/path/to/libGL.so freecad
> 
> Try the libGL most specific to your graphics card first.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 
> 

Hi Kai,


here the results:
LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD   
ERROR: ld.so: object '/usr/lib64/opengl/nvidia/lib/.' from LD_PRELOAD cannot be 
preloaded (cannot read file data): ignored.
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
using visual class 4, id 2b
[1]17990 segmentation fault  LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. 
FreeCAD




>LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

using visual class 4, id 2b
[1]17552 segmentation fault  
LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD


Cheers 
Meino





Re: [gentoo-user] Re: FreeCAD permission problems

2017-05-05 Thread tuxic
On 05/05 09:03, Kai Krakow wrote:
> Am Fri, 5 May 2017 20:40:50 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/05 08:28, Kai Krakow wrote:
> > > Am Fri, 5 May 2017 19:43:14 +0200
> > > schrieb tu...@posteo.de:
> > >   
> > > > On 05/05 10:31, Daniel Frey wrote:  
> >  [...]  
> >  [...]  
> > > >  [...]  
> > > >  [...]  
> > > >  [...]
> >  [...]  
> >  [...]  
> > > > 
> > > > It says that passing 
> > > > 
> > > > --graphicssystem=raster
> > > > 
> > > > as option to FreeCAD would fix that problem.
> > > > 
> > > > 
> > > > When doing so, FreeCAD says it does not that 
> > > > option.
> > > > 
> > > > Hm  
> > > 
> > > Then it's maybe
> > > 
> > > # QT_GRAPHICSSYSTEM=raster freecad
> > > 
> > > I had a similar problem with mixxx. I think I solved it with an LD
> > > preloader:
> > > 
> > > $ cat bin/mixxx
> > > #!/bin/sh
> > > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so exec /usr/bin/mixxx
> > > 
> > > You may want to try something similar with freecad. Be sure to
> > > adjust that to your graphics card. It will obviously not work that
> > > way if you don't use NVIDIA proprietary... ;-)
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.
> > > 
> > > 
> > >   
> > 
> > Hi kai,
> > 
> > THANKS FOR THAT COMMANDLINE!
> 
> Which of those two?
> 
> > Now FreeCAD is willing to cooperate...up to an certain level: It
> > starts
> > 
> > Loading an STEP-data file results in :
> > FreeCAD 0.16, Libs: 0.16RUnknown
> > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >   #   ###     
> >   ##  # #   #   # 
> >   # ##     # #   #  #   # 
> >     # # #  # #  #  # #  #   # 
> >   # #      ## # #   # 
> >   # #   ## ## # #   #  ##  ##  ##
> >   # #       ### # #    ##  ##  ##
> > 
> > libGL error: No matching fbConfigs or visuals found
> > libGL error: failed to load driver: swrast
> > Unhandled std::exception caught in GUIApplication::notify.
> > The error message is: Permission denied
> > *** Abort *** an exception was raised, but no catch was found.
> > ... The exception is:SIGSEGV 'segmentation violation'
> > detected. Address 0
> > 
> > Any ideas?
> 
> I'd still try the preload stuff. I don't think QT_GRAPHICSSYSTEM can
> solve this.
> 
> But I'm only guessing which command line you used.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 
> 

Hi Kai,

sorry for the confusion I initiated...

This one I used

QT_GRAPHICSSYSTEM=raster freecad


Cheers
Meino




Re: [gentoo-user] Re: FreeCAD permission problems

2017-05-05 Thread tuxic
On 05/05 08:28, Kai Krakow wrote:
> Am Fri, 5 May 2017 19:43:14 +0200
> schrieb tu...@posteo.de:
> 
> > On 05/05 10:31, Daniel Frey wrote:
> > > On 05/05/2017 10:23 AM, tu...@posteo.de wrote:  
> > > > On 05/05 10:17, Daniel Frey wrote:  
> >  [...]  
> >  [...]  
> >  [...]  
> > > > 
> > > > Hi Dan,
> > > > 
> > > > I am already in the video group...
> > > > 
> > > > And: When run as user, is starts but loading
> > > > an *.STP file crashes FreeCAD with:
> > > > 
> > > > FreeCAD 0.16, Libs: 0.16RUnknown
> > > > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> > > >   #   ###     
> > > >   ##  # #   #   # 
> > > >   # ##     # #   #  #   # 
> > > >     # # #  # #  #  # #  #   # 
> > > >   # #      ## # #   # 
> > > >   # #   ## ## # #   #  ##  ##  ##
> > > >   # #       ### # #    ##  ##  ##
> > > > 
> > > > libGL error: No matching fbConfigs or visuals found
> > > > libGL error: failed to load driver: swrast
> > > > *** Abort *** an exception was raised, but no catch was found.
> > > > ... The exception is:SIGSEGV 'segmentation violation'
> > > > detected. Address 0 [1]5658 exit 1 FreeCAD
> > > > 
> > > > 
> > > > It ssems more odd than previously thought 
> > > > 
> > > > What is that 'swrast' thingy?
> > > > 
> > > > 
> > > > Cheers
> > > > Meino
> > > > 
> > > > 
> > > >   
> > > 
> > > From what I've just read, it's a software raster driver. I figured
> > > it couldn't talk to the hardware, hence the adding to video group
> > > suggestion.
> > > 
> > > Found this though:
> > > 
> > > http://forum.freecadweb.org/viewtopic.php?t=20187
> > > 
> > > Dan
> > >   
> > 
> > It says that passing 
> > 
> > --graphicssystem=raster
> > 
> > as option to FreeCAD would fix that problem.
> > 
> > 
> > When doing so, FreeCAD says it does not that 
> > option.
> > 
> > Hm
> 
> Then it's maybe
> 
> # QT_GRAPHICSSYSTEM=raster freecad
> 
> I had a similar problem with mixxx. I think I solved it with an LD
> preloader:
> 
> $ cat bin/mixxx
> #!/bin/sh
> LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so exec /usr/bin/mixxx
> 
> You may want to try something similar with freecad. Be sure to adjust
> that to your graphics card. It will obviously not work that way if you
> don't use NVIDIA proprietary... ;-)
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 
> 

Hi kai,

THANKS FOR THAT COMMANDLINE!

Now FreeCAD is willing to cooperate...up to an certain level: It
starts

Loading an STEP-data file results in :
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Unhandled std::exception caught in GUIApplication::notify.
The error message is: Permission denied
*** Abort *** an exception was raised, but no catch was found.
... The exception is:SIGSEGV 'segmentation violation' detected. Address 0

Any ideas?

Cheers
Meino





[gentoo-user] Reading and converting *.STEP / *.STP data

2017-05-05 Thread tuxic
Hi,

since FreeCAD choose not to cooperate :) maube some 
other program will do:

The reason why I wanted FreeCAD is -- I need to
convert a STEP/STP-file into something, blener can
import.
In search of such a program I found FreeCAD.

OpenSCAD does not read/import STP/STEP data.

What else can be used -- it doesnot need
to be a CAD program -- it only needs to convert
the data,

Any alternatives?

Cheers
Meino

PS: I alreadytried an online converter but
that one is only free for one time
and for a really small file.





Re: [gentoo-user] FreeCAD permission problems

2017-05-05 Thread tuxic
On 05/05 10:31, Daniel Frey wrote:
> On 05/05/2017 10:23 AM, tu...@posteo.de wrote:
> > On 05/05 10:17, Daniel Frey wrote:
> >> On 05/05/2017 10:08 AM, tu...@posteo.de wrote:
> >>> Hi 
> >>>
> >>> I emerged FreCAD and started it as user.
> >>> It crashes with following output:
> >>> FreeCAD 0.16, Libs: 0.16RUnknown
> >>> © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >>>   #   ###     
> >>>   ##  # #   #   # 
> >>>   # ##     # #   #  #   # 
> >>>     # # #  # #  #  # #  #   # 
> >>>   # #      ## # #   # 
> >>>   # #   ## ## # #   #  ##  ##  ##
> >>>   # #       ### # #    ##  ##  ##
> >>>
> >>> libGL error: No matching fbConfigs or visuals found
> >>> libGL error: failed to load driver: swrast
> >>> using visual class 4, id 2b
> >>> [1]5388 segmentation fault  FreeCAD
> >>>
> >>> When run as root it works, though.
> >>>
> >>> Where do I have to tweak what perms? :)
> >>>
> >>> Thanks a lot in advance for any help!
> >>> Cheers
> >>> Meino
> >>>
> >>>
> >>>
> >>
> >> Try adding your user to the video group.
> >>
> >> Dan
> >>
> > 
> > Hi Dan,
> > 
> > I am already in the video group...
> > 
> > And: When run as user, is starts but loading
> > an *.STP file crashes FreeCAD with:
> > 
> > FreeCAD 0.16, Libs: 0.16RUnknown
> > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >   #   ###     
> >   ##  # #   #   # 
> >   # ##     # #   #  #   # 
> >     # # #  # #  #  # #  #   # 
> >   # #      ## # #   # 
> >   # #   ## ## # #   #  ##  ##  ##
> >   # #       ### # #    ##  ##  ##
> > 
> > libGL error: No matching fbConfigs or visuals found
> > libGL error: failed to load driver: swrast
> > *** Abort *** an exception was raised, but no catch was found.
> > ... The exception is:SIGSEGV 'segmentation violation' detected. Address > > 0
> > [1]5658 exit 1 FreeCAD
> > 
> > 
> > It ssems more odd than previously thought 
> > 
> > What is that 'swrast' thingy?
> > 
> > 
> > Cheers
> > Meino
> > 
> > 
> > 
> 
> From what I've just read, it's a software raster driver. I figured it
> couldn't talk to the hardware, hence the adding to video group suggestion.
> 
> Found this though:
> 
> http://forum.freecadweb.org/viewtopic.php?t=20187
> 
> Dan
> 

It says that passing 

--graphicssystem=raster

as option to FreeCAD would fix that problem.


When doing so, FreeCAD says it does not that 
option.

Hm

Cheers
Meino





Re: [gentoo-user] FreeCAD permission problems

2017-05-05 Thread tuxic
On 05/05 10:17, Daniel Frey wrote:
> On 05/05/2017 10:08 AM, tu...@posteo.de wrote:
> > Hi 
> > 
> > I emerged FreCAD and started it as user.
> > It crashes with following output:
> > FreeCAD 0.16, Libs: 0.16RUnknown
> > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >   #   ###     
> >   ##  # #   #   # 
> >   # ##     # #   #  #   # 
> >     # # #  # #  #  # #  #   # 
> >   # #      ## # #   # 
> >   # #   ## ## # #   #  ##  ##  ##
> >   # #       ### # #    ##  ##  ##
> > 
> > libGL error: No matching fbConfigs or visuals found
> > libGL error: failed to load driver: swrast
> > using visual class 4, id 2b
> > [1]5388 segmentation fault  FreeCAD
> > 
> > When run as root it works, though.
> > 
> > Where do I have to tweak what perms? :)
> > 
> > Thanks a lot in advance for any help!
> > Cheers
> > Meino
> > 
> > 
> > 
> 
> Try adding your user to the video group.
> 
> Dan
> 

Hi Dan,

I am already in the video group...

And: When run as user, is starts but loading
an *.STP file crashes FreeCAD with:

FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
*** Abort *** an exception was raised, but no catch was found.
... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
[1]5658 exit 1 FreeCAD


It ssems more odd than previously thought 

What is that 'swrast' thingy?


Cheers
Meino





[gentoo-user] FreeCAD permission problems

2017-05-05 Thread tuxic
Hi 

I emerged FreCAD and started it as user.
It crashes with following output:
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
using visual class 4, id 2b
[1]5388 segmentation fault  FreeCAD

When run as root it works, though.

Where do I have to tweak what perms? :)

Thanks a lot in advance for any help!
Cheers
Meino





Re: [gentoo-user] Somehow offtopic: KRITA documentation 'mobile version'

2017-05-03 Thread tuxic
On 05/03 01:50, R0b0t1 wrote:
> On Wed, May 3, 2017 at 12:19 PM,   wrote:
> > Hi,
> >
> > sorry for being offtopic somehow...
> >
> 
> If it's in portage (and in most cases even if it isn't) I don't
> suppose it's really offtopic.
> 
> > I am looking for a documentation for the KRITA image software
> > to put onto my tablet. I want to read/learn on my way to and
> > back from work. My tablet has no internet connection then...
> >
> > Any (legal of course!) source for that docs -- I only
> > found the "read online stuff"... ???
> >
> 
> Per https://packages.gentoo.org/packages/media-gfx/krita there doesn't
> seem to be a documentation useflag, which is generally what you want
> to look for for local documentation. I'm slightly confused as to how
> the documentation is maintained: on one hand it isn't formatted like a
> Wiki (which would only be accessible online), but on the other it
> seems to have enough user-contributed content to be online only. It
> seems to be tied in to KDE's identity system and might function as a
> Wiki.
> 
> In which case, I suggest perusing the following:
> https://www.gnu.org/software/wget/manual/html_node/Recursive-Retrieval-Options.html
> http://stackoverflow.com/questions/273743/using-wget-to-recursively-fetch-a-directory-with-arbitrary-files-in-it
> https://unix.stackexchange.com/questions/25340/download-recursively-with-wget
> http://www.linuxjournal.com/content/downloading-entire-web-site-wget
> 
> 
> If you have time to answer, why Krita?
> 

Hi R0b0t1,

before I wrote this email I tried wget recursively (I have a script
written for that kind of purposes) and it fetches a lot of
looks-like-xml-html-mix-no-browser-can-decipher stuff.

KRITA:
I do a lot of stuff with blender. KRITA often is used in tutorials
for texture painting and such...so KRITA and blender are like
Stan and Laurel ;)

Additional: I dont like GIMPs GUI for several reasons.

KRITA seems a little more polished to me...

Only my two cents...

Cheers
Meino





[gentoo-user] Somehow offtopic: KRITA documentation 'mobile version'

2017-05-03 Thread tuxic
Hi,

sorry for being offtopic somehow...

I am looking for a documentation for the KRITA image software
to put onto my tablet. I want to read/learn on my way to and
back from work. My tablet has no internet connection then...

Any (legal of course!) source for that docs -- I only
found the "read online stuff"... ???

Cheers
Meino



[gentoo-user] Voice synthesizers? (not neccessarily TTS!)

2017-04-30 Thread tuxic
Hi,

I am looking for a (not neccessarily GENTOO) software, whith which
it is possible to synthesize the human voice (male / female).

It does not neccessarily need to be a TTS (I tried some) -- but the
voice needs easily to be tuned in the sense of pitch and sound.

Suppose you want a synthetic voice of Frodo talking some Tengwar (and dont
want to mimic the movies actors ;) or the northern slang of some Elbish ... ;)

Another example would be vocaloid (commercial product).

Is there some software of this kind somewhere for Linux?

Thanks a lot for any voice coming up for this ! :)))
Cheers
Meino







[gentoo-user] clang <<==>> gcc ?

2017-04-30 Thread tuxic
Hi,

before I do a lot of reconfiguring, recompiling and finally
do the same thing again in the opposite direction:

What are the experiences to replace gcc with clang for either
only userland tools or the whole system (with haveing gcc as
fallback)?
Is it worth the effort?
What are the benefits and the drawbacks?

Thanks for any input in advance!
Cheers
Meino





Re: [gentoo-user] Re: In search of an truecolor-capable terminal emulator

2017-04-28 Thread tuxic
On 04/28 07:32, Fernando Rodriguez wrote:
> On 04/28/2017 02:59 PM, Ian Zimmerman wrote:
> > On 2017-04-28 10:10, Fernando Rodriguez wrote:
> > 
> > > No. I meant you can't enable them *all* globally, meaning opengl,
> > > gles, egl, etc. It's kind of the same situation as with GUI toolkits,
> > > you can't enable them all globally because some packages support more
> > > than one that you have to choose at compile time.
> > 
> > I think we need to spell out what you mean by this:
> > 
> > > > > if any of them have egl or gles and not opengl then enable it.
> > 
> > by "not having opengl" do you mean that it's not in the package's IUSE
> > at all, or that it is disabled?
> 
> On the sentence prior to the one you quoted I advised the OP to enable
> opengl globally. Therefore, if a package has it then it is already enabled.
> So obviously I meant if it doesn't have it at all.
> 
> > by "enable *it*" do you mean enable opengl, or enable those other flags?
> 
> For the same reason stated above I can only be refering to those other
> flags. Those are the flags that control GL acceleration. If you want your
> system to use your GPU as much as possible then you need to enable at least
> one of them on all the packages that support it. If a package has more than
> one it's between you and portage which one you choose because some packages
> depend on one or the other. So I find it easier to enable opengl first and
> then work through the conflicts to enable the others as much as possible.
> 
> -- 
> 
> Fernando Rodriguez
> 

Hi,

before changing my system I took a look at
https://wiki.gentoo.org/wiki/Xorg/Hardware_3D_acceleration_guide

Down the page there is a test, whohc on my system reports:
glxinfo | grep rendering
direct rendering: Yes
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, 
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, 
GL_NV_packed_float_linear, GL_NV_path_rendering, 


For me it reads like: Yes, you have hardware accelerated rendering.

Or did I miss something...?

Cheers
Meino






Re: [gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-26 Thread tuxic
On 04/26 06:22, Floyd Anderson wrote:
> On Mi, 26 Apr 04:38:29 +0200
> tu...@posteo.de wrote:
> > On 04/25 07:38, Floyd Anderson wrote:
> > > On Di, 25 Apr 17:47:22 +0200
> > > tu...@posteo.de wrote:
> > A few minutes ago I emerged xfce4-terminal and tried the
> > cat-time-test of yesterday: 29 secondes with xfce-terminal
> > and 5 seconds with urxvt. H...
> > 
> > You have got the reversed results compared with mine...
> Yes, my test (and probably my response to you) was too quick. I’m using
> ‘URxvt*skipScroll: false’ here (cannot recall exactly why), which defaults
> to ‘true’ normally. The same time-cat-test with `urxvt -ss` now finish
> within a second instead of 25. Just another example that shows
> comparing test results might be misleading, especially across multiple
> computers.
> 
> > What the heck slows down the output of the terminals on my
> > Gentoo and only let urxvt shine?
> That was one of my first thought when I was noticing the performance
> difference between virtual terminal and terminal emulator(s). I happily
> ended up by using rxvt-unicode after a relative short quest due to its low
> resource requirements (can additionally decreased by using urxvtd),
> extensibility, responsive and so on. And true colour — maybe some day; but
> to be honest, 256 colours is more than enough for a terminal, at least for
> me — even more as long as applications like Mutt, struggles by using only a
> dozen of different colours.
> 
> I’m sure the way answering this question will cost quite some time of
> comparisons and/or investigations — too much vectors and special cases, too
> much ‘too much’ for my taste (for a single feature).
> 
> One thing (as you can see by my test result above) is the configuration
> itself — one nondescript parameter with a so noticeable impact. Also, with
> different font sizes you’ll get different test results.
> 
> Other reasons may be hardware acceleration, the font handling/renderer
> (anti-aliasing, sub-pixel addressing, hinting, colouring, combining
> characters, buffering), graphical features (transparency, background image,
> scroll bar).
> 
> And the main question that follows those considerations: Which of the
> terminal appearance/behaviour is well documented and can be controlled by
> the user? This were my next starting point at the quest for a new emulator
> nowadays.
> 
> > PS: I found XVilka before. That's why I asked for some experiences
> > of other users :)
> Yes, I thought as much because it is one of the top web search results by
> now. I put it in for the case you haven’t recognised it and due to the
> terminal overview and its still ongoing discussion.
> 
> 
> -- 
> Regards,
> floyd
> 
> 

Hi FLoyd,

thanks for your words and explanations! :)

Yes, testing/comparing starts with syncing test conditions.
I didn't know about that config item of urxvt you mentioned, too.

urxvt displays smaller fonts more nicely than sakura (for example)
which may be point to different font rendering "engines"
(nowadays everything seems to be a "system" et least - if
not a complete "engin"...my mutt is a "mail composing engine
with a great configuration sustem"...hahahha).

Sakura seems currently the only one handling some of vims
colorschemes more correctly.

H...

Will what happens GL as suggested in a previous post...

Keep scrolling!!1 :)
Cheers
Meino







Re: [gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-26 Thread tuxic
On 04/26 11:17, Fernando Rodriguez wrote:
> On 04/25/2017 10:38 PM, tu...@posteo.de wrote:
> > On 04/25 07:38, Floyd Anderson wrote:
> > > On Di, 25 Apr 17:47:22 +0200
> > > tu...@posteo.de wrote:
> > > > Hi,
> > > > 
> > > > currently I am using urxvt as my standard terminal
> > > > application, which is FAST and reliable.
> > > > But it only emulates 24bit colors if instructed so.
> > > > It maps 24bit rgb to 256 color using a fast but not
> > > > total correct formula to to do (which is no critism -
> > > > its just the way ot is implemented).
> > > > 
> > > > I googled qyite a bit to find 24color terminal
> > > > emulators and the one, which came closer to
> > > > what I want is sakure.
> > > > But comparing the speed of sakura with urxvt
> > > > (catting a long log file twice while measureing the time
> > > > of the second cat) it shows that sakura needs
> > > > six times more time than urxvt.
> > > > 
> > > > Combining this with the compile sessions, which
> > > > are one of the core features of Gentoo ;)))...
> > > > 
> > > > What I want is the "fastest" possible (...)
> > > > terminal emulator supporting true color (24bit).
> > > > I dont need fancy configuring options (two exception:
> > > > TABS! and lightweighted) and I dont want KDE stuff (or
> > > > any other bloated thing with thousands of dependencies...)
> > > > I am simply using openbox.
> > > > 
> > > > What are your experiences?
> > > > 
> > > > Any hint is heartly welcome! Thanks !
> > > > 
> > > > Cheers
> > > > Meino
> > > > 
> > > > PS: The terminal emulator dont need to be part
> > > > of Gentoo necessarily...if it is compilable
> > > > by a human being withoyt super powers... ;)
> > > > 
> > > I am using rxvt-unicode also as my main terminal emulator. Its true colour
> > > emulation bothers me also but just only a little bit.
> > > 
> > > As a second one, xfce4-terminal runs here from time to time (seldom). A
> > > quick time/cat test with a gcc-5.4.0 log file (approximately 25 MiB) shows
> > > surprisingly that xfce4-terminal runs six time faster than rxvt-unicode.
> > > Maybe one reason is that urxvt looks for URLs and email addresses to
> > > colourising them.
> > > 
> > > Maybe you can get a suggestion from [1].
> > > 
> > > 
> > > References:
> > > [1] 
> > > 
> > > --
> > > Regards,
> > > floyd
> > > 
> > > 
> > 
> > Hi Floyd,
> > 
> > thanks for the informations! :)
> > 
> > A few minutes ago I emerged xfce4-terminal and tried the
> > cat-time-test of yesterday: 29 secondes with xfce-terminal
> > and 5 seconds with urxvt. H...
> > 
> > You have got the reversed results compared with mine...
> > 
> > What the heck slows down the output of the terminals on my
> > Gentoo and only let urxvt shine?
> 
> Possibly your use flags and/or openbox (if not using a GL compositor). Try
> enabling all GL related flags for the terminal emulator and it's
> dependencies and use a GL compositor like kwin or compiz. Modern graphics
> cards are designed with modern software in mind. Many don't even have a 2D
> engine anymore.
> 
> 
> 
> > 
> > Cheers
> > Meino
> > 
> > PS: I found XVilka before. That's why I asked for some experiences
> > of other users :)
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> 
> Fernando Rodriguez
> 

Hi Fernando,

thanks for the informations! :)

I am not using compiz or such

Openbox is installed as follows:

[I] x11-wm/openbox
 Available versions:  (3) 3.5.2-r1 (~)3.6 3.6.1 **
   {branding debug imlib nls session startup-notification static-libs svg 
xdg PYTHON_TARGETS="python2_7"}
 Installed versions:  3.6.1(3)(11:01:40 AM 02/18/2017)(nls session 
-branding -debug -imlib -startup-notification -static-libs -svg -xdg 
PYTHON_TARGETS="python2_7")
 Homepage:http://openbox.org/
 Description: A standards compliant, fast, light-weight, extensible 
window manager

My USE_FLAGS (make.conf) are:
USE="nvidia X lua sdl mp3 flac jack alsa gtk cairo sndfile qt3support kpathsea 
gif tga jpeg png jpeg2k mad dvb dvdr encode lzo bzip2 ogg sox v4l v4l2 vorbis 
x264 x265 zsh-completion -hal -lirc"

Wpuld you suggest to change a flag?

Thanks a lot for any help in advance!

Cheers
Meino








Re: [gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-25 Thread tuxic
Hi R0b0t1,

On 04/25 02:15, R0b0t1 wrote:
> On Tue, Apr 25, 2017 at 10:47 AM,   wrote:
> > Hi,
> >
> > currently I am using urxvt as my standard terminal
> > application, which is FAST and reliable.
> > But it only emulates 24bit colors if instructed so.
> > It maps 24bit rgb to 256 color using a fast but not
> > total correct formula to to do (which is no critism -
> > its just the way ot is implemented).
> >
> 
> I suppose you have seen https://gist.github.com/XVilka/8346728, but if
> not, I will link it for you. Anyone following along who hasn't read it
> might be inclined to do so.

Yes, I found that before. It triggers my post here and asking
for experiences... ;)
> 
> > I googled qyite a bit to find 24color terminal
> > emulators and the one, which came closer to
> > what I want is sakure.
> > But comparing the speed of sakura with urxvt
> > (catting a long log file twice while measureing the time
> > of the second cat) it shows that sakura needs
> > six times more time than urxvt.
> >
> > Combining this with the compile sessions, which
> > are one of the core features of Gentoo ;)))...
> >
> 
> I would suggest looking at:
> *) https://github.com/jwilm/alacritty
> *) https://github.com/kovidgoyal/kitty

I tried alacritty before ... or better: I tried to solve
all dependencies and stopped at a certain point because
it got all too ... how should I call that fuzzy?

Kitty needs python3 ... I am on python2.
Last time I got in conflict with these pythons I finally
had to decide to reinstall my Gentoo from ground up 
(others things were also a reason, so not to blame
python alone).
So I stopped here also.

> 
> Both of which are OpenGL accelerated. Unfortunately I'm not entirely
> sure why sakura is slow. Finding out might be worthwhile. Alacritty is
> the shiniest, but unfortunately the rust build and setup process looks
> very insecure, similar to Haskell. Take into account that those
> languages are experimental.

I tried xfce4-terminal as suggested by Floyd...and got exactly the
reversed timings. He found xfce4-terminal six times faster than
urxvt and I got the reversed result.
If I could find the culprit on my box I would be happy with sakura
and/or xfve4-terminal.
Where can I start?
What may be the reasons?

> > What I want is the "fastest" possible (...)
> > terminal emulator supporting true color (24bit).
> > I dont need fancy configuring options (two exception:
> > TABS! and lightweighted) and I dont want KDE stuff (or
> > any other bloated thing with thousands of dependencies...)
> > I am simply using openbox.
> >
> 
> Tabs are probably a stretch though I admit they are a useful feature.

I dont like to insert just another layer of confusion ;) with
my terminal like screen of tmux. They are fine for in special cases
but for my daily tabbed terminal I would like to have native support
rigth in the terminal emulator.

> I would recommend that if you find a Desktop Environment that has a
> program you like you simply use it though the look may clash with your
> other programs. It's hard enough to find programs that do what you
> want on Linux.

I have no problems with the 'optical clash'. But I don want to
pull in dozenz of dependencies (KDE) just for a terminal emultor.
These will also increase the amount of stuff which needs to be
updated...

> > What are your experiences?
> >
> 
> Nothing really seems to do what I want, and that may translate into
> nothing really doing what you want.

...or in other words: I need to find the reason, why some terminal
emulators are slow on my box and not on others...

> > Any hint is heartly welcome! Thanks !
> >
> > Cheers
> > Meino
> >
> > PS: The terminal emulator dont need to be part
> > of Gentoo necessarily...if it is compilable
> > by a human being withoyt super powers... ;)
> >
> 
> Check the list on that gist - may as well keep trying them until you
> find one that you like.

To prevent exactly that was the reason for asking for experiences
others made with terminal emulators.
Blindly following the compile-install-test-desinstall cycle with
applications listed somewhere is not efficient.

Cheers
Meino






Re: [gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-25 Thread tuxic
On 04/25 07:38, Floyd Anderson wrote:
> On Di, 25 Apr 17:47:22 +0200
> tu...@posteo.de wrote:
> > Hi,
> > 
> > currently I am using urxvt as my standard terminal
> > application, which is FAST and reliable.
> > But it only emulates 24bit colors if instructed so.
> > It maps 24bit rgb to 256 color using a fast but not
> > total correct formula to to do (which is no critism -
> > its just the way ot is implemented).
> > 
> > I googled qyite a bit to find 24color terminal
> > emulators and the one, which came closer to
> > what I want is sakure.
> > But comparing the speed of sakura with urxvt
> > (catting a long log file twice while measureing the time
> > of the second cat) it shows that sakura needs
> > six times more time than urxvt.
> > 
> > Combining this with the compile sessions, which
> > are one of the core features of Gentoo ;)))...
> > 
> > What I want is the "fastest" possible (...)
> > terminal emulator supporting true color (24bit).
> > I dont need fancy configuring options (two exception:
> > TABS! and lightweighted) and I dont want KDE stuff (or
> > any other bloated thing with thousands of dependencies...)
> > I am simply using openbox.
> > 
> > What are your experiences?
> > 
> > Any hint is heartly welcome! Thanks !
> > 
> > Cheers
> > Meino
> > 
> > PS: The terminal emulator dont need to be part
> > of Gentoo necessarily...if it is compilable
> > by a human being withoyt super powers... ;)
> > 
> I am using rxvt-unicode also as my main terminal emulator. Its true colour
> emulation bothers me also but just only a little bit.
> 
> As a second one, xfce4-terminal runs here from time to time (seldom). A
> quick time/cat test with a gcc-5.4.0 log file (approximately 25 MiB) shows
> surprisingly that xfce4-terminal runs six time faster than rxvt-unicode.
> Maybe one reason is that urxvt looks for URLs and email addresses to
> colourising them.
> 
> Maybe you can get a suggestion from [1].
> 
> 
> References:
> [1] 
> 
> -- 
> Regards,
> floyd
> 
> 

Hi Floyd,

thanks for the informations! :)

A few minutes ago I emerged xfce4-terminal and tried the
cat-time-test of yesterday: 29 secondes with xfce-terminal
and 5 seconds with urxvt. H...

You have got the reversed results compared with mine...

What the heck slows down the output of the terminals on my 
Gentoo and only let urxvt shine? 

Cheers
Meino

PS: I found XVilka before. That's why I asked for some experiences
of other users :)









[gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-25 Thread tuxic
Hi,

currently I am using urxvt as my standard terminal
application, which is FAST and reliable.
But it only emulates 24bit colors if instructed so.
It maps 24bit rgb to 256 color using a fast but not
total correct formula to to do (which is no critism -
its just the way ot is implemented).

I googled qyite a bit to find 24color terminal
emulators and the one, which came closer to
what I want is sakure.
But comparing the speed of sakura with urxvt
(catting a long log file twice while measureing the time
of the second cat) it shows that sakura needs
six times more time than urxvt.

Combining this with the compile sessions, which
are one of the core features of Gentoo ;)))...

What I want is the "fastest" possible (...) 
terminal emulator supporting true color (24bit).
I dont need fancy configuring options (two exception:
TABS! and lightweighted) and I dont want KDE stuff (or 
any other bloated thing with thousands of dependencies...)
I am simply using openbox. 

What are your experiences?

Any hint is heartly welcome! Thanks !

Cheers
Meino

PS: The terminal emulator dont need to be part
of Gentoo necessarily...if it is compilable
by a human being withoyt super powers... ;)






Re: [gentoo-user] pandoc dependency problem ?

2017-04-19 Thread tuxic
Hi Neil,

thank you for your email!!! :)


On 04/19 08:46, Neil Bothwick wrote:
> On Wed, 19 Apr 2017 05:00:39 +0200, tu...@posteo.de wrote:
> 
> > Is "lmodern.sty" included in a package, which is named
> > totallu different for Gentoo?

> Yes
> 
> % qfile -b lmodern.sty
> dev-texlive/texlive-fontsrecommended 
> (/usr/share/texmf-dist/tex/latex/lm/lmodern.sty)

Oh, DAMN! I know that command...but I forgot for a moment, that I know
it. Sorryneed more coffee...especially in the morning.
Thanks a lot!

> 
> > Why is that missing?
> > What is the clean way to provide pandoc with lmodern.sty
> 
> If that is the file pandoc needs, you should file a bug that pandoc should
> depend on dev-texlive/texlive-fontsrecommended

...it depends...
It is not needed as a library woyld be missed (and the executable
doesn not start at all) -- it is only needed if one wants to create
pdfs as a result of the conversation.

So may be -- if not already done -- adding the use flag "pdf" to
pandoc should result in also emerging dev-texlive/texlive-fontsrecommended
then...

> 
> -- 
> Neil Bothwick
> 
> The computer revolution is over. The computers won.

Cheers
Meino






[gentoo-user] pandoc dependency problem ?

2017-04-18 Thread tuxic
Hi,

I installed 

[I] app-text/pandoc
 Available versions:  (~)1.12.4.2-r1(0/1.12.4.2)^t 
(~)1.13.2.1(0/1.13.2.1)^t (~)1.14.0.4(0/1.14.0.4)^t 1.15.0.6(0/1.15.0.6)^t 
(~)1.18(0/1.18)^t (~)1.19.2.1(0/1.19.2.1) (~)1.19.2.1-r1(0/1.19.2.1) {doc 
embed_data_files hscolour +http-conduit +https make-pandoc-man-pages 
+network-uri profile test trypandoc weigh-pandoc}
 Installed versions:  1.19.2.1-r1(06:19:39 PM 04/17/2017)(https network-uri 
-doc -embed_data_files -hscolour -profile -test -trypandoc -weigh-pandoc)
 Homepage:http://pandoc.org
 Description: Conversion between markup formats

[I] dev-haskell/pandoc-citeproc
 Available versions:  (~)0.1.2.1(0/0.1.2.1)^t (~)0.2(0/0.2)^t 
0.3.1(0/0.3.1) (~)0.6(0/0.6)^t 0.7.2(0/0.7.2)^t (~)0.8.1.3(0/0.8.1.3)^t 
(~)0.10.4(0/0.10.4)^t (~)0.10.4.1(0/0.10.4.1)^t {+bibutils debug doc 
embed_data_files +hexpat hscolour +network profile +small_base test 
test_citeproc unicode_collation}
 Installed versions:  0.10.4.1^t(06:21:21 PM 04/17/2017)(bibutils -debug 
-doc -embed_data_files -hscolour -profile -test -test_citeproc 
-unicode_collation)
 Homepage:https://github.com/jgm/pandoc-citeproc
 Description: Supports using pandoc with citeproc

[I] dev-haskell/pandoc-types
 Available versions:  1.12.3(0/1.12.3) 1.12.4.5(0/1.12.4.5) 
(~)1.12.4.7(0/1.12.4.7) (~)1.17.0.4(0/1.17.0.4) {doc hscolour profile test}
 Installed versions:  1.17.0.4(06:16:02 PM 04/17/2017)(-doc -hscolour 
-profile -test)
 Homepage:http://johnmacfarlane.net/pandoc
 Description: Types for representing a structured document


which results in the installation of 116 different packages (WHOW!)
finally.

Then I wrote a very (VERY!) simple mardown four-liner and tried to
convert that one to pdf...which fails:

#>pandoc -o test.pdf test.md
! LaTeX Error: File `lmodern.sty' not found.

Type X to quit or  to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
 
 
l.3 \usepackage

pandoc: Error producing PDF
[1]17128 exit 43pandoc -o test.pdf test.md

#>locate lmodern
[1]18188 exit 1 locate lmodern

I googled for "panodc lmodern.sty" and it seems to be missing in various
others distros too.
Recommended fix: Install TeXlive package "lmodern".

#>eix lmodern
No matches found
[1]17806 exit 1 eix -n lmodern


Is "lmodern.sty" included in a package, which is named
totallu different for Gentoo?
Why is that missing?
What is the clean way to provide pandoc with lmodern.sty

Thanks a lot for any help in advance!
Cheers
 Meino








[gentoo-user] vim colorschemes: A question regarding terminal capabilities

2017-04-09 Thread tuxic
I am playing around with colorschemes in vim and came across a problem: It 
seems impossible to change the fore-/background color of the cursor itself.
$TERM is xterm-256color and vim itself offers settings for the color of the 
cursor. Different colortests for terminals validate that the terminal is able 
to display 256 colors.

Is there something special terminal-wise when setting cursor colors ?
Why does it fail?

Thanks a lot in advance for any help!
Cheers 
Meino



Re: [gentoo-user] [OT] Tools for putting HDD back to new state

2017-04-03 Thread tuxic
On 04/03 02:11, Harry Putnam wrote:
> I probably should know this, but off the top of my head I don't
> remember ever running into anything like this.
> 
> I'd like to do what ever is done to set a used  disk back to the
> state it was in when new... Not sure what that state is, but at least
> no evidence of boot manager or fs having been installed.
> 
> This if for something I'm doing on OS openindiana (a solaris offshoot)
> and the disks are for that OS.
> 
> The solaris milieu is somewhat behind linux in development of tools at
> least in my opinion.  That is why I'm asking here.
> 
> I am a gentoo user as well, but expect I may have to boot the solaris
> host with one or another linux boot ISO in order to have the tools
> required. 
> 
> 

Hi,

if I understand you correctly: You want the opposite of "Total Recall"
for your harddisk...You want "to remember nothing...ignorance is
bliss" (The Matrix) in case of your harddisk.

I would suggest to 

dd if=/dev/zero of=/dev/


but!:

Vor example, your drive shows up as:

/dev/sdb
/dev/sdb1
/dev/sdb2
/dev/sdb3

you have to choose the raw device: /dev/sdb
(may be the partitions will not show up).

YOU CAN SHOOT YOUR OWN FEET-WARNING!
Be very careful here! You are acting as root here,
and choosing the wrong device will wipe the wrong 
disk instantly.

Good luck!
Cheers
Meino

PS: I will not take any responsibility for 
any command, which is not submitted by my own
hand -- and even then I will be unsure ;)






[gentoo-user] Mysterious encodig problem...

2017-04-02 Thread tuxic
Hi,

it seems, that I have an encoding problem...which is triggered
(only???) somewhere in the chain fetchmail=>procmail=>neomutt with vim.

...and it only effects single and double quotes.

I am living in Non-Ascii-land (germany). Therefore I have
some "strange" ;) characters on my keyboard...the "Umlauts"
und the sharp S.

All those are displayed nicely...in neomutt/vim also (which I use for
mailing).

When I receive an email with single quotes (') or double
quotes ("), they will be changed to "???".

My settings (settings to English language are for displaying -- for
example -- manpages in their original version - not the translated ones):
locale:
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

locale-gen:
 * Generating locale-archive: forcing # of jobs to 1
 * Generating 5 locales (this might take a while) with 1 jobs
 *  (1/5) Generating de_DE.ISO-8859-15@euro ... 
  [ ok ]
 *  (2/5) Generating de_DE.ISO-8859-1 ...   
  [ ok ]
 *  (3/5) Generating de_DE.UTF-8 ...
  [ ok ]
 *  (4/5) Generating en_US.ISO-8859-1 ...   
  [ ok ]
 *  (5/5) Generating en_US.UTF-8 ...
  [ ok ]
 * Generation complete


/etc/locale.gen:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ja_JP EUC-JP
#en_HK ISO-8859-1
#en_PH ISO-8859-1
de_DE.UFT-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
#es_MX ISO-8859-1
#fa_IR UTF-8
#fr_FR ISO-8859-1
#fr_FR@euro ISO-8859-15
#it_IT ISO-8859-1


Any light sched onto this is very welcome ! :)
Thanks a lot in advance!
Cheers
Meino





Re: [gentoo-user] Re: [OT] busybox fsck vs. fsck.ext4 ... experiences?

2017-03-31 Thread tuxic
On 03/31 10:59, Nils Freydank wrote:
> [...]
> > The fsck.*'s are built in
> 
> I agree:
> 
> % bb
> ~ $ which fsck
> ~ $ fsck -v
> fsck (busybox 1.26.2, 2017-03-12 11:38:12 CET)
> 
> 
> -- 
> GPG fingerprint: '00EF D31F 1B60 D5DB ADB8  31C1 C0EC E696 0E54 475B'
> Nils Freydank

Ok, if its builtin then back to the initial question:
How does this implementation compares to the "official" stuff of
e2fsprogs and friends?
Any experiences with that ?

Thanks a lot for any help in advance!

Cheers
Meino





Re: [gentoo-user] Re: [OT] busybox fsck vs. fsck.ext4 ... experiences?

2017-03-30 Thread tuxic
On 03/30 06:49, Jonathan Callen wrote:
> On 03/29/2017 10:42 PM, tu...@posteo.de wrote:
> > Hi,
> > 
> > Before doing the wrong decision:
> > How "secure" is it to use fsck of busybox in a limited environment
> > (SoC) to check sdcard partitions (etx4) occasionally instead of using
> > fsck.ext4 ?
> > Does someone has some experiences with this ?
> > 
> > Thanks a lot in advance for any help!
> > Cheers
> > Meino
> > 
> > 
> > 
> > 
> 
> The fsck applet provided by busybox is just the fsck(8) driver, which calls
> the fsck.${FSTYPE} command to actually check the filesystem.  You still need
> fsck.ext4/e2fsck from e2fsprogs to actually do the check.
> 
> -- 
> Jonathan Callen
> 

Hi Jonathan,

thanks for your reply! :)

That means, that one or both of the other binaries have to be
somewhere on the sdcard...
I have to search deeper ;)

Cheers
Meino





[gentoo-user] [OT] busybox fsck vs. fsck.ext4 ... experiences?

2017-03-29 Thread tuxic
Hi,

Before doing the wrong decision:
How "secure" is it to use fsck of busybox in a limited environment
(SoC) to check sdcard partitions (etx4) occasionally instead of using
fsck.ext4 ?
Does someone has some experiences with this ?

Thanks a lot in advance for any help!
Cheers
Meino





Re: [gentoo-user] Booting from USB

2017-03-27 Thread tuxic
On 03/27 09:46, the...@sys-concept.com wrote:
> I just got some Mini-PC from China with Windows 10 on it and trying to boot 
> from USB to install Gentoo on it.  
> But it will not boot from USB, I've tried front and back USB ports. Windows 
> start regardless what I do.
> 
> Yes, I set in Bios 1st boot is USB. I've tried pressing F12. Tried to follow 
> some instruction from google:
> https://www.tenforums.com/tutorials/21756-boot-usb-drive-windows-10-pc.html
> 
> Doesn't help.
> 
> I used rufus to make bootable USB sticks (have two of them). 
> -- 
> Thelma
> 

Hi,

...from my experience with SoC and such:
Some boards have a button on the board, which lets the board
boot from USB/sdcard while pressed...

Only a shot in the dark...

HTH!
Cheers
Meino




[gentoo-user] How to thin package.provided ?

2017-03-27 Thread tuxic
Hi,

I want to mark some software as provided from other sources.
And want to prevent long comments from emerge and friends about
my doing so.

/etc/portage/profile/package.provided seems to be a good place for
that...but according to the documents, one needs to specifiy a version
and relational operators are not allowed...which make me think that
I have to mention any single version in past, current and future
existence to prevent emerge from installing a previous or current
version of that software for a longer time.

Thinking of some packages, which are getting updates very often I 
see myself writing scripts to populate package.provided with a 
lot of stuff and scripts to delete obsoleted entries from there.

If I put those packages into package.mask, emerge comments on
every update of the system, that "needed packages are masked".

Is there any clean way to get out of this?

Cheers
Meino





[gentoo-user] After sdcard failure / filesystem corruption...out pf pure curiosity...

2017-03-26 Thread tuxic
Hi,

ok, seems that at least the data of one of the three partitions
of my sdcard is toasted...

But it would be interesting to check, what the initial (?) reason
for that failure is: Hardware or logic -- sdcard or filesystem.

Is there any flash-memory-friendly and -aware checker out there,
which detects sectors which cannot be recovered back to functioning?

Thank a lot for any help in advance!
Cheers
Meino





Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)

2017-03-26 Thread tuxic
On 03/26 08:10, Adam Carter wrote:
> > Currently I am ddresucueing the flashcard to the harddisc.
> >>> Next I will try to mount the sdcard.
> >>>
> >>>
> I hope you meant to say "mount the sdcard image". Once ddrescue has done
> its best, you wont try to use the sdcard again.
> 
> Also, you probably want to copy the image first, because when you try to
> fix it you will perform writes, and you dont want to lock yourself out of
> other recovery options by making potentially damaging writes.
> 
> 
> > What reliable sdcard-reader can one recommend ?
> >>>
> >>
> I'm not sure what you mean here given that you're making an image with
> ddrescue.
> 
> Is the assumption correct, that -- if ddrescue could read each
> >> partitions of the sdcard without stuttering, retries and errors --
> >>
> > the sdcard itsself is ok and "only" the logical structure
> >> (fs, superblock etc) got damaged?
> >> Or do I overlook something?
> >>
> >
> If ddrescue can read it cleanly with no retries (in which case it will
> offer no benefit over dd) then yes, I agree. However, given the cost of a
> card and the cost of your time and the risk to your data, I wouldnt be
> using it.
> 
> 
> > I dont know of a cdparanoia type recovery utility for sdcards but I
> > suspect sdcard design means that approach wont work.
> >
> 
> I would just use photorec against a copy of the image. I have done this in
> the past and recovered many files from a ddrescued image of a failing USB
> drive, however, all the filenames were lost.

Hi,

I copied the image of course and umounted the sdcard as soon as
possible.

As in my previous posting, as long the recovered files are images,
the lost of filenames my be annoying...
But in case of files of a Android system (from which the sdcard
originates) the lost of filenames is equivaltent to the lost of
the file itsself...

Cheers
Meino






Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)

2017-03-26 Thread tuxic
On 03/26 08:18, Adam Carter wrote:
> > I got mixed results: There are three partitions on the sdcard from
> > which I could fully recover (even mount it directly via loop device)
> > the first and the third one.
> >
> > The second one is screwed up.
> >
> > Running fsch.ext4 against the image it starts with "bad superblock"
> > and suggests two alternatives.
> >
> > I started fsch.ext4 again while using -b to define the alternate
> > superblock and it starts to ask me *zillions of question, which
> > I all answered with 'yes' in a first attempt (I have a backup of the
> > image...).
> > The result was an image, which I could mount again.
> > But beside 'lost+found' with some small rests of something which
> > may be files in a previous life nothing was there...
> 
> 
> In that case its photorec time against the copy of the image (see previous
> note about only working on a copy - the changes that fsck makes may
> compromise photorec's efficacy). Probably worth reading the testdisk and
> photorec man pages first.

I did that already.
Gives me a lot of files with unrelated names.
Think of your GENTOO box with all names renamed
to something like

[index number].[filetype]

. So you got back your data but cannot use
it, since the names got lost.

For images this is not a big deal...display them
and you know probably how to rename them back
to something useful.

But what file is (for example)

-rwxr-xr-x   1 root root   4083 2011-11-22 03:46 file002873.bin

which is located somewhere in the Marianna trench of an Android
system???

Hm...

Currently I am playing with different kinds of "get lost" it seems...




Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)

2017-03-26 Thread tuxic
On 03/26 04:50, Bill Kenworthy wrote:
> On 26/03/17 15:26, tu...@posteo.de wrote:
> > On 03/26 03:04, Bill Kenworthy wrote:
> > > On 26/03/17 14:25, tu...@posteo.de wrote:
> > > > On 03/26 05:50, tu...@posteo.de wrote:
> > > > > On 03/26 11:21, Adam Carter wrote:
> > > > > > Step 1: dd the contents into an image
> > > > > > 
> > > > > > ddrescue is probably a better option than plain dd.
> > > > > > 
> > > > > > step 2: put the sdcard to one side.
> > > > > > > step 3: loopback mount a copy of the image (not the original)
> > > > > > > step 4: try recovering the filesystem on the loopback, if it 
> > > > > > > fails ... try
> > > > > > > something else on another image copy
> > > > > > 
> > > > > > 
> > > > > > Yep, once you've got the image mounted loopback, you can run
> > > > > > testdisk/photorec depending on how bad it is.
> > > > > 
> > > > > Hi all,
> > > > > 
> > > > > thanks a lot for all help! :)
> > > > > 
> > > > > Currently I am ddresucueing the flashcard to the harddisc.
> > > > > Next I will try to mount the sdcard.
> > > > > 
> > > > > What reliable sdcard-reader can one recommend ?
> > > > > (...sorry if this sentence sounds harsh...I it by no means meant
> > > > > that way...I am no native speaker... :)
> > > > > 
> > > > > Cheers
> > > > > Meino
> > > > > 
> > > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > Is the assumption correct, that -- if ddrescue could read each
> > > > partitions of the sdcard without stuttering, retries and errors --
> > > > the sdcard itsself is ok and "only" the logical structure
> > > > (fs, superblock etc) got damaged?
> > > > Or do I overlook something?
> > > > 
> > > > (Background: I dont want to put a sdcard into the bin, if
> > > > fdisking & reformatting that beast would gives me back an ok
> > > > media...)
> > > > 
> > > > Cheers
> > > > Meino
> > > > 
> > > > 
> > > > 
> > > > 
> > > 
> > > The dd gets you the best chance to work on the data before it completely
> > > fails.  In my experience the sdcard will only get worse ending with total
> > > failure - if it hasn't already.
> > > 
> > > If the dd dump comes up rubbish and cant be recovered, the actual sdcard
> > > will be worse.  You can run "strings" against the image to see if there is
> > > any text in there (or even cat the /dev/sdcard node through strings) to 
> > > see
> > > if the bits are still there.
> > > 
> > > I dont know of a cdparanoia type recovery utility for sdcards but I 
> > > suspect
> > > sdcard design means that approach wont work.
> > > 
> > > BillK
> > > 
> > > 
> > > 
> > 
> > Hi Bill,
> > 
> > I got mixed results: There are three partitions on the sdcard from
> > which I could fully recover (even mount it directly via loop device)
> > the first and the third one.
> > 
> > The second one is screwed up.
> > 
> > Running fsch.ext4 against the image it starts with "bad superblock"
> > and suggests two alternatives.
> > 
> > I started fsch.ext4 again while using -b to define the alternate
> > superblock and it starts to ask me *zillions of question, which
> > I all answered with 'yes' in a first attempt (I have a backup of the
> > image...).
> > The result was an image, which I could mount again.
> > But beside 'lost+found' with some small rests of something which
> > may be files in a previous life nothing was there
> > 
> > Currently it looks to me, that something has totally messed up the fs
> > there.
> > 
> > What do you think?
> > 
> > Cheers
> > Meino
> > 
> > 
> > 
> > 
> > 
> Sounds like its toast :(
> 
> I have never had a lot of luck with any of the ext file systems - you have
> to baby them and they corrupt very easily compared to others.  I try and
> avoid them ...
> 
> BillK
> 
> 
> 

Hi Bill,

...the SDcard is for my Android tablet, which runs kernel 3.6.x.something 
(Lollipop)
if I remember correctly. With the App Linux Deploy I installed Linux
on another partition of the sdcard and used to chroot into it.

With what filesystem did you made good experiences of, Bill? My GENTOO PC
(with which I am currently writing this email) also uses ext4...and
your last mail makes me nervous...very nervous...

For my tablet I have to use an filesystem, which is supported by and
compiled into the kernel. Unfortunately, there is no alternative 
Android build for this tablet...
In this case it is ext4 and vfat...and of that both I think ext4 is
better...

Cheers
Meino




Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)

2017-03-26 Thread tuxic
On 03/26 03:04, Bill Kenworthy wrote:
> On 26/03/17 14:25, tu...@posteo.de wrote:
> > On 03/26 05:50, tu...@posteo.de wrote:
> > > On 03/26 11:21, Adam Carter wrote:
> > > > Step 1: dd the contents into an image
> > > > 
> > > > ddrescue is probably a better option than plain dd.
> > > > 
> > > > step 2: put the sdcard to one side.
> > > > > step 3: loopback mount a copy of the image (not the original)
> > > > > step 4: try recovering the filesystem on the loopback, if it fails 
> > > > > ... try
> > > > > something else on another image copy
> > > > 
> > > > 
> > > > Yep, once you've got the image mounted loopback, you can run
> > > > testdisk/photorec depending on how bad it is.
> > > 
> > > Hi all,
> > > 
> > > thanks a lot for all help! :)
> > > 
> > > Currently I am ddresucueing the flashcard to the harddisc.
> > > Next I will try to mount the sdcard.
> > > 
> > > What reliable sdcard-reader can one recommend ?
> > > (...sorry if this sentence sounds harsh...I it by no means meant
> > > that way...I am no native speaker... :)
> > > 
> > > Cheers
> > > Meino
> > > 
> > > 
> > 
> > Hi,
> > 
> > Is the assumption correct, that -- if ddrescue could read each
> > partitions of the sdcard without stuttering, retries and errors --
> > the sdcard itsself is ok and "only" the logical structure
> > (fs, superblock etc) got damaged?
> > Or do I overlook something?
> > 
> > (Background: I dont want to put a sdcard into the bin, if
> > fdisking & reformatting that beast would gives me back an ok
> > media...)
> > 
> > Cheers
> > Meino
> > 
> > 
> > 
> > 
> 
> The dd gets you the best chance to work on the data before it completely
> fails.  In my experience the sdcard will only get worse ending with total
> failure - if it hasn't already.
> 
> If the dd dump comes up rubbish and cant be recovered, the actual sdcard
> will be worse.  You can run "strings" against the image to see if there is
> any text in there (or even cat the /dev/sdcard node through strings) to see
> if the bits are still there.
> 
> I dont know of a cdparanoia type recovery utility for sdcards but I suspect
> sdcard design means that approach wont work.
> 
> BillK
> 
> 
> 

Hi Bill,

I got mixed results: There are three partitions on the sdcard from
which I could fully recover (even mount it directly via loop device)
the first and the third one.

The second one is screwed up.

Running fsch.ext4 against the image it starts with "bad superblock"
and suggests two alternatives.

I started fsch.ext4 again while using -b to define the alternate
superblock and it starts to ask me *zillions of question, which 
I all answered with 'yes' in a first attempt (I have a backup of the 
image...).
The result was an image, which I could mount again.
But beside 'lost+found' with some small rests of something which
may be files in a previous life nothing was there

Currently it looks to me, that something has totally messed up the fs
there.

What do you think?

Cheers
Meino







Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)

2017-03-26 Thread tuxic
On 03/26 05:50, tu...@posteo.de wrote:
> On 03/26 11:21, Adam Carter wrote:
> > Step 1: dd the contents into an image
> > 
> > ddrescue is probably a better option than plain dd.
> > 
> > step 2: put the sdcard to one side.
> > > step 3: loopback mount a copy of the image (not the original)
> > > step 4: try recovering the filesystem on the loopback, if it fails ... try
> > > something else on another image copy
> > 
> > 
> > Yep, once you've got the image mounted loopback, you can run
> > testdisk/photorec depending on how bad it is.
> 
> Hi all,
> 
> thanks a lot for all help! :)
> 
> Currently I am ddresucueing the flashcard to the harddisc.
> Next I will try to mount the sdcard.
> 
> What reliable sdcard-reader can one recommend ?
> (...sorry if this sentence sounds harsh...I it by no means meant
> that way...I am no native speaker... :)
> 
> Cheers
> Meino
> 
> 

Hi,

Is the assumption correct, that -- if ddrescue could read each
partitions of the sdcard without stuttering, retries and errors --
the sdcard itsself is ok and "only" the logical structure
(fs, superblock etc) got damaged?
Or do I overlook something?

(Background: I dont want to put a sdcard into the bin, if
fdisking & reformatting that beast would gives me back an ok
media...)

Cheers
Meino






Re: [gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)

2017-03-25 Thread tuxic
On 03/26 11:21, Adam Carter wrote:
> Step 1: dd the contents into an image
> 
> ddrescue is probably a better option than plain dd.
> 
> step 2: put the sdcard to one side.
> > step 3: loopback mount a copy of the image (not the original)
> > step 4: try recovering the filesystem on the loopback, if it fails ... try
> > something else on another image copy
> 
> 
> Yep, once you've got the image mounted loopback, you can run
> testdisk/photorec depending on how bad it is.

Hi all,

thanks a lot for all help! :)

Currently I am ddresucueing the flashcard to the harddisc.
Next I will try to mount the sdcard.

What reliable sdcard-reader can one recommend ?
(...sorry if this sentence sounds harsh...I it by no means meant
that way...I am no native speaker... :)

Cheers
Meino







[gentoo-user] Installing asdf & uiop without urged to install sbcl / update package.provided for each version

2017-03-25 Thread tuxic
Hi,

I am installing sbcl directly from the authors source,
because I want the then created pdf docs (emerge
only installs html docs).

I emerge sbcl, asfd, uiop with emerge, bootstrapped/installed
sbcl manually to /usr/local, emerge -C sbcl, depcleaned asdf
uiop (and other stuff) and emerged asdf, uiop again, which
put an entry of them into world and depclean will no long
offer them for removing.

But asdf, uiop alone make no sense in the eyes of emerge
and it pulls sbcl again -- which is reasonable for one
not looking additionally at /usr/local :)

There is package.provided to give emerge the OK, to
not longe speculate about the existence the world and everything
and take 42 things as given.
But as far as I understood the syntax there, one has
to specify any single version of a package and if you miss
one it gets installed.

Masking a needed package (from emerge point of view) isn't
that nice also, since with every sync one will get that
nasty warnings, that a needed package is masked.

Any clean way around this?

Thanks a lot for any help in advance!
Cheers
Meino






[gentoo-user] The sudden disappearance of ....WHAT??? (I/O error on a SD flash card?!)

2017-03-25 Thread tuxic
Hi,

(Running Gentoo Linux on a 4.9.17 vanilla (ftp.kernel.org) Linux
kernel)

I was doing a backyp of a 64GB SAMSUNG flash card to my
harddiskwhich runs for quite a while...

For that I mount the partitions and tarred their contents as root
to the harddisk

Syddenly out of nothing/from nowhere/into thin air or whatever:
read errors happens and the process stops.

First I thought of the one an most hated failure of harddisks, which
in years of deveopment of computer technology no company was able to
fix: No space left on device.

But - no,,,the error was a _READ_ error and a 'ls' of the mountpoints
shownothing but empty directories.

I tried to unmount/remount the sd card and got this output:
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
   missing codepage or helper program, or other error

   In some cases useful info is found in syslog - try
   dmesg | tail or so.

dmesg gives me:
[  236.021878] UDF-fs: warning (device sdb2): udf_fill_super: No partition 
found (2)


UDF??? --  Those partitions are either ext4 or vfat.
(A tried that with and without the -t option...)

fdisk -l /dev/sdb gave me:
Device Boot Start   End  Sectors  Size Id Type
/dev/sdb1   32768  73433087 73400320   35G 83 Linux
/dev/sdb273433088 100696063 27262976   13G 83 Linux
/dev/sdb3   100696064 125042687 24346624 11.6G 83 Linux

So -- the partition table is still there (I had booted the PC
in between...so these are no ghosts of an abondomed cache...)

If a certain kernel module woyld be missing I wouldn't not
able to mount the partition right before starting the backyp
- but I could.

The partition table is there so this part of "DMESG predicts"
is also not applicable here.

What happens here? Flash killed? Is there any chance to rescye
some or all contents of that card? Any ideas other than
hoping for an alternate reality?

Thanks a lot for any help in advance!

Cheers
Meino







Re: [gentoo-user] cron tab

2017-03-21 Thread tuxic
On 03/21 09:13, the...@sys-concept.com wrote:
> 
> On 03/21/2017 06:53 PM, Jigme Datse Yli-RAsku wrote:
> > If I remember, it runs on the 1st to 5th day of the week, and the third day 
> > of the month.  But I'd have to look to be sure.
> > 
> > On 2017-03-21 17:27, the...@sys-concept.com wrote:
> >> I have a cron tab entry:
> >> 5 18 3 * 1-5
> >>
> >> To my understanding it will run 18:05 on the 3rd day of the month, from
> >> Mon-Fri.
> >>
> >> So why did this cron entry run today?
> 
> https://crontab.guru/#5_18_3_*_1-5
> 
> ???At 18:05 on day-of-month 3 and on every day-of-week from Monday through
> Friday.???
> 
> So it shouldn't run today!
> 
> --
> Thelma
> 

Hi,

...is your system time off ?
:)

Cheers
Meino




Re: [gentoo-user] Flashing hardware via WINE ?

2017-03-19 Thread tuxic
On 03/19 10:27, Neil Bothwick wrote:
> On Sun, 19 Mar 2017 09:09:51 +0100, tu...@posteo.de wrote:
> 
> > I have a smart NiMH-charger with serial port (normally used to
> > dump chargeing curves to the PC).
> > The chargers firmware can bei flashed with a flashtool provided
> > by the vendor. The communication is via serial port. I have
> > a PCI=>serial.ports-card installed in my PC.
> > 
> > The command
> > 
> > file 
> > 
> > results in this information
> > 
> > PE32 executable (GUI) Intel 80386, for MS Windows
> > 
> > . As Linux user by heart I have no Windows.
> 
> Have you tried contacting the manufacturer to see if flashing from Linux
> is possible?
> 
> 
> -- 
> Neil Bothwick
> 
> I am MODERATOR of BORG. Follow the rules or be assimilated.

Hi Neil,

yes...no chance.
Linux is insecure...you know.
It makes it possible to spy the firmware and decrypt it on
the way to the charger.

Windows is much more secyre.

Earth is flat and there was no landing on the moon.

I believe in Santa Claus.

Cheers
Meino





Re: [gentoo-user] Re: Flashing hardware via WINE ?

2017-03-19 Thread tuxic
On 03/19 11:20, Kai Krakow wrote:
> Am Sun, 19 Mar 2017 09:57:22 +0100
> schrieb tu...@posteo.de:
> 
> > On 03/19 09:37, Kai Krakow wrote:
> > > Am Sun, 19 Mar 2017 09:09:51 +0100
> > > schrieb tu...@posteo.de:
> > >   
> > > > Hi,
> > > > 
> > > > I have a smart NiMH-charger with serial port (normally used to
> > > > dump chargeing curves to the PC).
> > > > The chargers firmware can bei flashed with a flashtool provided
> > > > by the vendor. The communication is via serial port. I have
> > > > a PCI=>serial.ports-card installed in my PC.
> > > > 
> > > > The command
> > > > 
> > > > file 
> > > > 
> > > > results in this information
> > > > 
> > > > PE32 executable (GUI) Intel 80386, for MS Windows
> > > > 
> > > > . As Linux user by heart I have no Windows.
> > > > 
> > > > May the attempt to install wine and use it for this purpose
> > > > a thinkable way or are the precoditions that way, that it
> > > > is due to those a NO-NO...?  
> > > 
> > > Flashing via serial port should be no problem from within Wine. It
> > > requires no special driver implementation.
> > > 
> > > However, if the hardware implements its own driver behind the serial
> > > port, it won't work anyways because on the Wine side there will be
> > > no such driver.
> > > 
> > > So I think, it should either work or fail early without doing
> > > damage. 
> > > 
> > >   
> > > > Does anyone have experience with such an attempt?  
> > > 
> > > I'm usually doing such things from VirtualBox by passing through the
> > > hardware (usually USB, that's easily done from within the GUI).
> > > 
> > > VirtualBox can also pass COM ports to the VM. You may want to try
> > > that as a second chance.
> > > 
> > > 
> > > -- 
> > > Regards,
> > > Kai
> > > 
> > > Replies to list-only preferred.  
> > 
> > Hi Kai (that's a rhyme! :)
> 
> Yeah, I know that one... If you are from Germany, you'll also get why
> my former nick (some years ago) was "Shark" :-)
> 
> > I have installed Virtualbox already and use the Linux Image I
> > installed there for banking purposes only. Feels more secure.
> 
> So something like application virtualization... You could maybe run in
> an isolated container, only exposing the xserver or run inside a nested
> xserver. It would probably greatly reduce startup times and not waste a
> complete image.
> 
> > I would prefer the WIndows-in-a-(virtual)box-solution) as you
> > do -- if I would own a Windows installation disc. But do not.
> 
> Well, you can easily get an image from MS using a Linux browser. Just
> go to the Windows 10 download page. It will show a selection form to
> choose the ISO instead of the nasty downloader they present to Windows
> browsers. Then install this inside the VM. Even if not activated, it
> runs for 1-2 hours before shutting down which should be enough for most
> purposes you'll need it for.
> 
> If you already activated a Windows installation with your MS account,
> with some luck your Win10 VM may even become digitally activated (this
> happened to me). No cracks involved. Should be legal enough. ;-)
> 
> > But it is good to know, that the wine-workaround would either
> > work or fail too early to damage anything.
> 
> I tried some, and all failed because they didn't even find the device.
> The ones that worked where either network based (flashing via IP
> protocol) or using other simple interfaces (COM or LPT).
> 
> > Is there anything important to know before doing an emerge
> > of wine (need I more than app-emulation/wine?) -- I have
> > literally no experience with this emulator - the flashing
> > tool is a 32bit gui application...) ???
> 
> Wine = wine is no emulater ;-)
> 
> Actually, it's the Windows API implemented as .so files plus an EXE
> loader to enable the kernel to run PE binaries (instead of ELF). So
> nothing is emulated, it's running native. There's also a thin layer of
> drivers implemented to transform API calls to native kernel interfaces,
> like HID (for input devices). So everything connecting to simple
> HID-USB should also work (some custom USB hardware just implement a HID
> interface, it's simple and cheap).
> 
> If your applications work depends on if the required parts of the API
> had been implemented (including the bugs that exists between different
> versions of Windows).
> 
> So, with this knowledge, you simply emerge wine with the useflags that
> look useful to you. If you don't need graphics (DirectX) or don't want
> to apply your linux GUI theme to Windows apps, you can ignore the
> staging useflag. Wine can be compiled with both 64bit and 32bit support.
> 
> After installation, get familiar with the winecfg utility. It allows
> mapping unix path to Windows drive letters. And it allows to set
> Windows version per EXE you run (to expose different API bugs and
> behavior to your application). Also, you can set DDL overrides (which
> is what Windows itself uses when you run applications in compatibility
> mode, or when you put DLL overrides manually 

Re: [gentoo-user] Shell echo missing after ctrl+c

2017-03-19 Thread tuxic
On 03/19 10:17, Matthias Hanft wrote:
> Kai Krakow wrote:
> > 
> > After ctrl+c'ing out of programs like tailf, SSH password prompts, in
> > the middle of a shell scripts, the shell echo is not restored
> 
> Not here, but something similar: Immediately after ctrl+c'ing, no shell
> prompt is displayed (in fact, *nothing* is displayed) - but it's just
> the display; I can enter a shell command (with echo, too) which will
> be executed properly. Or just press the RETURN key on the empty line
> to get the shell prompt again.
> 
> This happens just on a single of my Gentoo systems (and not always,
> but very often).
> 
> Any idea?
> 
> -Matt
> 
> 
Hi,

I haven't experienced this yet...but  the command

'reset'

will reset (hence the name... ;) the terminal to
normal. This also helps, if the terminal got confused
after accidentally cat'ing a binary...

Cheers
Meino





Re: [gentoo-user] Re: Flashing hardware via WINE ?

2017-03-19 Thread tuxic
On 03/19 09:37, Kai Krakow wrote:
> Am Sun, 19 Mar 2017 09:09:51 +0100
> schrieb tu...@posteo.de:
> 
> > Hi,
> > 
> > I have a smart NiMH-charger with serial port (normally used to
> > dump chargeing curves to the PC).
> > The chargers firmware can bei flashed with a flashtool provided
> > by the vendor. The communication is via serial port. I have
> > a PCI=>serial.ports-card installed in my PC.
> > 
> > The command
> > 
> > file 
> > 
> > results in this information
> > 
> > PE32 executable (GUI) Intel 80386, for MS Windows
> > 
> > . As Linux user by heart I have no Windows.
> > 
> > May the attempt to install wine and use it for this purpose
> > a thinkable way or are the precoditions that way, that it
> > is due to those a NO-NO...?
> 
> Flashing via serial port should be no problem from within Wine. It
> requires no special driver implementation.
> 
> However, if the hardware implements its own driver behind the serial
> port, it won't work anyways because on the Wine side there will be no
> such driver.
> 
> So I think, it should either work or fail early without doing damage. 
> 
> 
> > Does anyone have experience with such an attempt?
> 
> I'm usually doing such things from VirtualBox by passing through the
> hardware (usually USB, that's easily done from within the GUI).
> 
> VirtualBox can also pass COM ports to the VM. You may want to try that
> as a second chance.
> 
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.

Hi Kai (that's a rhyme! :)

I have installed Virtualbox already and use the Linux Image I
installed there for banking purposes only. Feels more secure.

I would prefer the WIndows-in-a-(virtual)box-solution) as you
do -- if I would own a Windows installation disc. But do not.

But it is good to know, that the wine-workaround would either
work or fail too early to damage anything.

Is there anything important to know before doing an emerge
of wine (need I more than app-emulation/wine?) -- I have
literally no experience with this emulator - the flashing
tool is a 32bit gui application...) ???

Cheers
Meino






[gentoo-user] Flashing hardware via WINE ?

2017-03-19 Thread tuxic
Hi,

I have a smart NiMH-charger with serial port (normally used to
dump chargeing curves to the PC).
The chargers firmware can bei flashed with a flashtool provided
by the vendor. The communication is via serial port. I have
a PCI=>serial.ports-card installed in my PC.

The command

file 

results in this information

PE32 executable (GUI) Intel 80386, for MS Windows

. As Linux user by heart I have no Windows.

May the attempt to install wine and use it for this purpose
a thinkable way or are the precoditions that way, that it
is due to those a NO-NO...?

Does anyone have experience with such an attempt?

Cheers
Meino







Re: [gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread tuxic
On 03/18 07:47, Alan McKinnon wrote:
> On 18/03/2017 14:13, tu...@posteo.de wrote:
> > Hi,
> > 
> > if someone has managed to compile the nividia-drivers
> > against one of the linux-4.10.* kernels I would
> > be glad fpr the information what version are compatible
> > with each other... :)
> 
> use kernel series 4.9 until nVidia release a driver version with 4.10
> support
> 
> 4.10 is still very new and you are most unlikely to absolutely require it.
> 
> Patience young padawan, patience. The universe is not instant coffee, you
> don't just add water right now.
> 
> 
> -- 
> Alan McKinnon
> alan.mckin...@gmail.com
> 
> 


Hi Alan,

what is the exspectation/experience, when nvidia will release a version
of their drivers, which will compatible with the 4.10-line
of the linux kernel?

Cheers
Meino






Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
No.
Starting mpv as root "fixes" the problem...so it is 
a permission problem (see my second mail). But mpv
does not complain about missing permissions and plays
the fileafter 5 seconds (when used as unpriveledged
user).

I am member of group "video" though and -- for example -- Blender
gets full access to video infrastructure without problems...



On 03/18 12:35, Maxim Wexler wrote:
> Do the files repose on a on a big(terabytes!) outboard drive? This
> could cause a delay on account of the OS having to read the thing
> first.
> 
> On 3/18/17, tu...@posteo.de  wrote:
> > Hi,
> >
> > very often I use mpv to watch videos.
> >
> > On my old root, the start of that tool
> > was nearly instantly.
> >
> > With my new root, it seems, that mpv
> > is waiting for something. For example:
> >
> > Playing: 
> > [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> > [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
> >  (+) Video --vid=1 (h264)
> >  (+) Audio --aid=1 (aac)
> > AO: [alsa] 48000Hz stereo 2ch float
> > VO: [opengl] 480x360 yuv420p
> >
> > The above is printed instantly onto the console...than it waits
> > ~5 seconds, then the video is started and this is printed
> > and updated:
> >
> > AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
> >
> >
> > . This happens with flv, mp4 but it happens to pure audio
> > files like ogg and wav also.
> >
> > I have no idea, for what mpv is waiting for --  but it annoys me.
> >
> >
> > Is it fixable...and
> > if( true )
> > then
> > how( "?" )
> > fi
> >
> > :)
> >
> > Cheers
> > Meino
> >
> >
> >
> >
> >
> >
> >
> 



[gentoo-user] Some Addtions to: mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
On 03/18 05:48, tu...@posteo.de wrote:
> Hi,
> 
> very often I use mpv to watch videos.
> 
> On my old root, the start of that tool
> was nearly instantly.
> 
> With my new root, it seems, that mpv
> is waiting for something. For example:
> 
> Playing: 
> [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
>  (+) Video --vid=1 (h264)
>  (+) Audio --aid=1 (aac)
> AO: [alsa] 48000Hz stereo 2ch float
> VO: [opengl] 480x360 yuv420p
> 
> The above is printed instantly onto the console...than it waits
> ~5 seconds, then the video is started and this is printed
> and updated:
> 
> AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
> 
> 
> . This happens with flv, mp4 but it happens to pure audio
> files like ogg and wav also.
> 
> I have no idea, for what mpv is waiting for --  but it annoys me.
> 
> 
> Is it fixable...and 
> if( true ) 
> then 
> how( "?" )
> fi
> 
> :)
> 
> Cheers
> Meino
> 

Addition:
It seems to be a permission related problem as root is not
affected by the effect.

Me (the user, not root) is already assigned to group "video" though...
At it plays nonetheless...after 5  seconds...

mpv is

[I] media-video/mpv
 Available versions:  0.18.0-r1 (~)0.22.0-r2 (~)0.24.0 ** {+X +alsa 
aqua archive bluray cdda +cli coreaudio cplugins cuda doc drm dvb dvd +egl 
+enca encode gbm +iconv jack jpeg lcms +libass libav libcaca libguess libmpv 
(+)lua luajit openal +opengl oss pulseaudio raspberry-pi rubberband samba sdl 
selinux test tools (+)uchardet v4l vaapi vdpau vf-dlopen wayland xinerama 
+xscreensaver +xv zsh-completion CPU_FLAGS_X86="sse4_1" 
PYTHON_TARGETS="python2_7 python3_4 python3_5"}
 Installed versions:  0.24.0(06:13:39 PM 03/18/2017)(X alsa archive cdda 
cli cplugins doc drm dvb dvd egl encode iconv jack jpeg libass lua luajit 
opengl tools uchardet v4l vdpau xscreensaver xv zsh-completion -aqua -bluray 
-coreaudio -cuda -gbm -lcms -libav -libcaca -libmpv -openal -oss -pulseaudio 
-raspberry-pi -rubberband -samba -sdl -selinux -test -vaapi -vf-dlopen -wayland 
-xinerama CPU_FLAGS_X86="-sse4_1" PYTHON_TARGETS="python2_7 python3_4 
-python3_5")
 Homepage:https://mpv.io/
 Description: Media player based on MPlayer and mplayer2


Cheers
Meino



[gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
Hi,

very often I use mpv to watch videos.

On my old root, the start of that tool
was nearly instantly.

With my new root, it seems, that mpv
is waiting for something. For example:

Playing: 
[ffmpeg/demuxer] flv: video stream discovered after head already parsed
[ffmpeg/demuxer] flv: audio stream discovered after head already parsed
 (+) Video --vid=1 (h264)
 (+) Audio --aid=1 (aac)
AO: [alsa] 48000Hz stereo 2ch float
VO: [opengl] 480x360 yuv420p

The above is printed instantly onto the console...than it waits
~5 seconds, then the video is started and this is printed
and updated:

AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000


. This happens with flv, mp4 but it happens to pure audio
files like ogg and wav also.

I have no idea, for what mpv is waiting for --  but it annoys me.


Is it fixable...and 
if( true ) 
then 
how( "?" )
fi

:)

Cheers
Meino








[gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread tuxic
Hi,

if someone has managed to compile the nividia-drivers
against one of the linux-4.10.* kernels I would
be glad fpr the information what version are compatible
with each other... :)

Cheers
Meino





Re: [gentoo-user] Wiping the old root without killing the new root

2017-03-17 Thread tuxic
On 03/17 11:20, Peter Humphrey wrote:
> On Friday 17 Mar 2017 19:10:03 Alan McKinnon wrote:
> 
> > As Grant said, we don't really know what you are up to from the given
> > information.
> 
> In particular, at least some of us don't know what you mean by a root.
> 
> -- 
> Regards
> Peter
> 
> 

Hi,

 I want to wipe a partition from old stuff, so that:
 1) a new mkfs.whatever will not revive the old stuff
 2) the wipe does not to be "cryptograohically secure" (i.e. dd
 if=/dev/zero of=/dev/partition)
 3) only the contents of partition and nothing else will be wiped

 I will try to mkfs.ext4 the partition as Nils suggested. 
 Ext4 was also the previous fs.

Cheers
Meino






Re: [gentoo-user] Wiping the old root without killing the new root

2017-03-17 Thread tuxic
On 03/17 05:45, Nils Freydank wrote:
> Am Freitag, 17. März 2017, 17:24:27 CET schrieb tu...@posteo.de:
> > Hi,
> > 
> > Finally I moved to my new root and it seems to be $HOME
> > enough to wiupe the old root.
> 
> > The old root is on a separate partition to which I will move
> > the contents of the new root after wiping the new root.
> => I would just unmount the partition and wipe it on FS level (i.e. running 
> mkfs with some kind of --force parameter). Another way would running find to 
> find and remove symlinks, but putting that one together and removing files 
> after could consume more time than mkfs ;)
> 
> > May be the following question is born from to much worry, but...
> > 
> > First I thought: Mount the old root to a certain mountpoint
> > somewhere, cd into it (as root) and do a rm -rf
> BTW, avoid "rm -rf /" (yes, I know, there are DAU checks now) on UEFI systems,
> because they tend to mount essential stuff rw and don???t like deletion of 
> stuff.
> 
> > [...]
> 
> Greetings,
> Nils
> 
> -- 
> GPG fingerprint: '00EF D31F 1B60 D5DB ADB8  31C1 C0EC E696 0E54 475B'
> Nils Freydank



Hi Nils.

Thanks for your reply! :) 

And especially for the warning regarding UEFI systems! 8)

Will try mkfs...

Cheers
Meino





[gentoo-user] Wiping the old root without killing the new root

2017-03-17 Thread tuxic
Hi,

Finally I moved to my new root and it seems to be $HOME
enough to wiupe the old root.

The old root is on a separate partition to which I will move
the contents of the new root after wiping the new root.

May be the following question is born from to much worry, but...

First I thought: Mount the old root to a certain mountpoint
somewhere, cd into it (as root) and do a rm -rf

Then I saw symlinks directly pointing to /usr/lib... (for example)
right into my new root...

What is a recommended way to do what I am trying to do without
a) deleting anything outside the old root
b) doing it not TOOO SLOW
c) without leaving filesystem debris somewhere (for example after
   a dd if=/dev/zero of=/dev/sda2 count=1 bs=4096
d) anything else I forgot to think about

?

Thanks a lot for any idea! :)
Cheers
Meino





Re: [gentoo-user] Recommended CDR-Burning-frontend without QT and without KDE?

2017-03-14 Thread tuxic
On 03/14 06:34, Joerg Schilling wrote:
> Miroslav Rovis  wrote:
> 
> > growisofs, cdrecord, and friends ...mkisofs for cdrecord, IIRC ...I use
> > it rarely nowadays...
> >
> > but none (assisting other programs) actually if it's data to burn on DVD
> > or BD, growisofs is fine solo there...
> 
> ???
> 
> cdrecord supports DVDs since March 1998 which makes it the third DVD writing 
> software worldwide and the first OSS DVD writing software.
> 
> cdrecord supports writing BD media since July 2007 which is nearly 10 years 
> ago.
> 
> growisofs on the other side is unmaintained since 9 years and there already 
> have been reported problems where growisofs could not be used while cdrecord 
> works fine.
> 
> 
> BTW: X-CD-Roast is still alive and works fine with cdrtools.
> 
> Jörg
> 
> -- 
>  EMail:jo...@schily.net(home) Jörg Schilling D-13353 
> Berlin
> joerg.schill...@fokus.fraunhofer.de (work) Blog: 
> http://schily.blogspot.com/
>  URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'
> 

Hi Jörg,

is it possible to run xcdroast without root ( i.e. user root or suid
)?

Cheers
Meino





[gentoo-user] Recommended CDR-Burning-frontend without QT and without KDE?

2017-03-13 Thread tuxic
Hi,

what software under app-cdr (and may be others) is a recommended
application for burning all sorts of CD/DVD/DVDR/CDR...?
As far it is not overcomplicated I am not scared by ncurses/slang
and the commandline :)
As long as it is neat and handy...no problem.

Definatly I dont want KDE-software nor QT-stuff anymore.

Same background, different task:
What is similiar and recommended as replacement for 
qtjackctrl?

Thanks a lot for any help in advance!

Cheers
Meino






Re: [gentoo-user] TeXlive-core failed to build

2017-03-13 Thread tuxic
On 03/13 06:27, Stroller wrote:
> 
> > On 13 Mar 2017, at 16:27, tu...@posteo.de wrote:
> > On 03/13 08:06, Martin Vaeth wrote:
> >> You appear to have experimental CFLAGS. Try without these.
> >> 
> > Could you specify, what parts of that settings are experimental,
> > so that I will remove the correct ones?
> 
> Your flags are:
> 
>   CFLAGS=-march=native -O2 -pipe -ffast-math -fopenmp -fprefetch-loop-arrays 
> -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program 
> -mtune=amdfam10 
> 
> Google each one of them, see what they do. There's probably a gcc manual that 
> explains them.
> 
> "funroll-loops" has long been a joke about Gentoo ricing. 
> https://fun.irq.dk/funroll-loops.org/
> 
> I would guess you'd take that out and -ftree-parallelize-loops for a start.
> 
> If you want to use the program, compile it with just `CFLAGS=-march=native 
> -O2 -pipe` - I'm sure that will work. Then you can go back and see what 
> options you can add without crashing the compile. These options often do not 
> actually make things faster.
> 
> Stroller.
> 
> 

Hi Stroller,

THANKS A LOT ! :) 8)
That helps me!

Cheers
Meino





Re: [gentoo-user] Re: TeXlive-core failed to build

2017-03-13 Thread tuxic
On 03/13 08:06, Martin Vaeth wrote:
> You appear to have experimental CFLAGS. Try without these.
> 
> 
Could you specify, what parts of that settings are experimental,
so that I will remove the correct ones?




Re: [gentoo-user] openssl: "-bindist" fights "bindist"...and me inbetween

2017-03-12 Thread tuxic
On 03/12 03:36, gentoo-u...@c-14.de wrote:
> On 17-03-12 at 15:29, tu...@posteo.de wrote:
> > Hi,
> > 
> > finally I am on my new root...only a few steps need to be done.
> > 
> [..]
> > and this is, where me trouble starts:
> > 
> > Hostapd wants:
> > # required by net-wireless/hostapd-2.6::gentoo[ssl]
> > # required by hostapd (argument)
> > >=dev-libs/openssl-0.9.8z_p8:0.9.8 -bindist
> > 
> > And others wants:
> >   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) 
> > conflicts with
> > >=dev-libs/openssl-0.9.8f:0[bindist] required by 
> > (net-misc/openssh-7.4_p1:0/0::gentoo, installed)
> > ^^^ 
> > dev-libs/openssl:0[bindist] required by 
> > (dev-qt/qtnetwork-5.7.1:5/5.7::gentoo, installed)
> >^^^ 
> > 
> > Is there any way around this?
> Disable the bindist flag on openssh and qtnetwork
> 
> -- 
> Simon Thelen
> 

Hi Simon,

thanks for your reply ! :)

Those settings lead to this recursive dependencies:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) pulled in by
dev-libs/openssl:0[bindist=] required by 
(dev-qt/qtnetwork-5.7.1:5/5.7::gentoo, ebuild scheduled for merge)
    


  (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>=dev-libs/openssl-0.9.8f:0[bindist=] required by 
(net-misc/openssh-7.4_p1:0/0::gentoo, installed)

   

Cheers
Meino






[gentoo-user] openssl: "-bindist" fights "bindist"...and me inbetween

2017-03-12 Thread tuxic
Hi,

finally I am on my new root...only a few steps need to be done.

One is:
For my tablet I need a temporary wireless access point just to be
fired up for some software updates and thats it. 

For that I used create_ap (Link: https://github.com/oblique/create_ap)
which does a nice job on my old root for this purpose.

Beside other things, create_ap needs three things:
* hostapd 
* haveged 
* dnsmasq

and this is, where me trouble starts:

Hostapd wants:
# required by net-wireless/hostapd-2.6::gentoo[ssl]
# required by hostapd (argument)
>=dev-libs/openssl-0.9.8z_p8:0.9.8 -bindist

And others wants:
  (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) conflicts 
with
>=dev-libs/openssl-0.9.8f:0[bindist] required by 
(net-misc/openssh-7.4_p1:0/0::gentoo, installed)
^^^ 
dev-libs/openssl:0[bindist] required by 
(dev-qt/qtnetwork-5.7.1:5/5.7::gentoo, installed)
   ^^^ 

Is there any way around this?

Thanks a lot for any help in advance!

Cheers
Meino








[gentoo-user] urxvt gets colorblind...at least somehow...

2017-03-11 Thread tuxic
Hi,

( ...polishing my new root now... )


I got a somehow non-linear problem with my new root:

My $TERM shows xterm-256color in both cases.
I have no $HOME/.Xresources file installed.

My $HOME is on a separate partition so it does not
change between old and new root as it will be mounted
on /home in both cases. So the configuration user-wise
should change in either case.

Starting vim (not gvim!) in urxvt lead to an monochrome editor with
colorscheme "zenburn" -- which works fine on my old root.

Using colorscheme "default" produces a colored output (but dont now,
whether only a subset of colors is displayed and whether the colors
are correct - i.e. whether what is displayed in red should be displayed in red)

Manpages are monochrome.

While googling I found this:
https://unix.stackexchange.com/questions/6010/colored-man-pages-not-working-on-gentoo

Test 2 and Test 3 of the first answer fail on my new AND my old root.

According to the answer "sometyhing is wrong with my terminal
settings" which is only a little bit more specific than "something
is wrong"

H...

It seems that I missed a certain step while setting up my new root

I compared the output of "env" in both cases and found nothing
really enlightening...

How can I fix that?

Thank you very much in advance for any help ! :)

Cheers
Meino








Re: [gentoo-user] three quarter of network access with new root...

2017-03-05 Thread tuxic
Mick  [17-03-06 03:39]:
> On Sunday 05 Mar 2017 15:51:37 tu...@posteo.de wrote:
> > Hi,
> > 
> > The standard phrase:
> > Still building...bla bla...new root...bla... :)
> > 
> > The copy of the udev rules of the old root into the
> > new one...give me...hnetwork access...somehow...
> > (In any case: THX A LOT FOR THAT HINT! 8)
> 
> I am sure there was an older news item explaining the persistent NIC naming.  
> You could also add an option on the kernel line which has the same effect, 
> but 
> I can't recall (without googling) what the correct stanza is.
> 
> 
> > Several early services, which depend on network access fail
> > while booting, but a ping right after login worked.
> > 
> > I am able to firefox the internet now...
> > 
> > Which an exception: www.startpage.com
> > 
> > :Server could not be found.
> > 
> > Same, if I try to ping that beauty.
> > Other pages like www.heise.de worked
> > fine ... so it is not a missing DNS
> > configuration.
> 
> http://downforeveryoneorjustme.com/
> 
> traceroute startpage.com
> 
> ping -c 3 startpage.com 
> 
> nslookup startpage.com
> 
> dig ANY startpage.com
> 
> should show if it is an IP address problem, or a DNS resolution problem. 
> 
> -- 
> Regards,
> Mick


Hi Mick,

Thanks for your help ! :)

since 

ping startpage.com

results in "unknown host" all the commands
will not be able to resolve startpage.com.

By the way:

dig ANY startpage.com

results in nothing even on my working old root.

Cheers
Meino







[gentoo-user] three quarter of network access with new root...

2017-03-05 Thread tuxic
Hi,

The standard phrase:
Still building...bla bla...new root...bla... :)

The copy of the udev rules of the old root into the
new one...give me...hnetwork access...somehow...
(In any case: THX A LOT FOR THAT HINT! 8) 

Several early services, which depend on network access fail
while booting, but a ping right after login worked.

I am able to firefox the internet now...

Which an exception: www.startpage.com
:Server could not be found. 
Same, if I try to ping that beauty.
Other pages like www.heise.de worked
fine ... so it is not a missing DNS
configuration.


I am buffled...

I didn't setup a firewall for now.

"Unfortunately no one can be told, what the
Gentoo is, Meino -- you have to see it for yourself..." ;)

I am interesting in all red pills I can get my hands
onbut please, only the sweet ones... ;)))

Cheers
Meino





Re: [gentoo-user] Half of a network access with new root build...

2017-03-05 Thread tuxic

Hi Neil,

yepp...it is...since the big bang... :) : ))

Neil Bothwick  [17-03-05 09:56]:
> If you can start the network manually, the modules message must relate to 
> something else. Is net.eth0 in you default runlevel? 
> 
> On 5 March 2017 08:05:31 GMT+00:00, tu...@posteo.de wrote:
> >Hi,
> >
> >I have sent this question previously but due to hickup with
> >my old mail address the sent message or a reply to it get 
> >lost in between somewhere...
> >
> >Robin helped me a lot to get out of this mail address trouble and
> >helped me to get subscribed to the list again with my new mail
> >address: tu...@posteo.de.  THX Robin! :)
> >
> >I am still building my new root (this mail is written
> >being in/at/on my old root).
> >
> >I am already able to boot (not only chroot to) into my new root, start
> >X11 automagically and have back my desktop as it was before.
> >
> >But the boot process alone does not connect me to the internet.
> >The output mumbles something of "missing modules" and such,
> >but the kernel is the same for my old and my new root. 
> >I build the kernel on both roots the same way with the same
> >config.
> >
> >I compared the output of lsmod on both roots and they
> >are identical in regards to network related stuff.
> >
> >To get network after boot I have to do
> >
> >ip link set 
> >
> >and start /etc/init.d/dhcpcd manually and TADA! there it
> >is.
> >
> >I copied /etc/conf.d/net from my old to my new root, so this
> >is also the same.
> >
> >I haven't been able to figure out, what is missing or wrong.
> >
> >If anyone have an idea, where to look for what -- I would
> >be happy for an advice... :)
> >
> >
> >Thanks a lot for any help in advance!
> >Cheers
> >Meino
> >
> >PS: Since I installed the new root via my old
> >root I started with stage3...if this is of any
> >importance.
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] Half of a network access with new root build...

2017-03-05 Thread tuxic
Hi,

I have sent this question previously but due to hickup with
my old mail address the sent message or a reply to it get 
lost in between somewhere...

Robin helped me a lot to get out of this mail address trouble and
helped me to get subscribed to the list again with my new mail
address: tu...@posteo.de.  THX Robin! :)

I am still building my new root (this mail is written
being in/at/on my old root).

I am already able to boot (not only chroot to) into my new root, start
X11 automagically and have back my desktop as it was before.

But the boot process alone does not connect me to the internet.
The output mumbles something of "missing modules" and such,
but the kernel is the same for my old and my new root. 
I build the kernel on both roots the same way with the same
config.

I compared the output of lsmod on both roots and they
are identical in regards to network related stuff.

To get network after boot I have to do

ip link set 

and start /etc/init.d/dhcpcd manually and TADA! there it
is.

I copied /etc/conf.d/net from my old to my new root, so this
is also the same.

I haven't been able to figure out, what is missing or wrong.

If anyone have an idea, where to look for what -- I would
be happy for an advice... :)


Thanks a lot for any help in advance!
Cheers
Meino

PS: Since I installed the new root via my old
root I started with stage3...if this is of any
importance.






<    1   2   3   4   5   6