Re: [gentoo-user] Module vboxdrv cannot be found

2022-01-28 Thread Bertram Scharpf
On Friday, 28. Jan 2022, 13:10:36 +, Michael wrote:
> What won't work is running modprobe while still running an old kernel, but the
> symlink while rebuilding any modules is pointing to a new kernel.  I can't
> explain Bertram's experience.

I cannot retrace what exactly happened, but I suppose it's
one reboot I missed.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Module vboxdrv cannot be found

2022-01-28 Thread Bertram Scharpf
On Friday, 28. Jan 2022, 10:45:01 +, Wols Lists wrote:
> On 28/01/2022 09:10, Bertram Scharpf wrote:
> > after a kernel update and a
> >
> ># emerge -av @module-rebuild
> >
> > the VirtualBox modules cannot be found any more.
>
> You've updated your kernel, and you need to rebuild the modules, WHICH DOES
> NOT HAPPEN BY DEFAULT.
>
> So, set your default kernel to the currently running one, and "emerge
> virtualbox-modules".

I _did_ call

  # eselect kernel set 2

and, as I wrote

  # emerge -av @module-rebuild

as I always do.

Anyway, a "depmod -a " helped.

Thanks,
Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Module vboxdrv cannot be found

2022-01-28 Thread Bertram Scharpf
On Friday, 28. Jan 2022, 09:16:09 +, Neil Bothwick wrote:
> On Fri, 28 Jan 2022 10:10:32 +0100, Bertram Scharpf wrote:
> > after a kernel update and a
> >
> >   # emerge -av @module-rebuild
> >
> > the VirtualBox modules cannot be found any more.
>
> Does running "depmod -a" help? This should be done automatically, but it
> doesn't hurt to try.

Exactly what I looked for. Thanks!

Is it a portage bug that "depmod" doesn't get done
automatically any more? Was it because "/boot" wasn't
mounted during the module rebuild?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Module vboxdrv cannot be found

2022-01-28 Thread Bertram Scharpf
Hi,

after a kernel update and a

  # emerge -av @module-rebuild

the VirtualBox modules cannot be found any more.

  # find /lib/modules/`uname -r` -name 'vbox*'
  /lib/modules/5.15.16-gentoo/misc/vboxnetflt.ko
  /lib/modules/5.15.16-gentoo/misc/vboxdrv.ko
  /lib/modules/5.15.16-gentoo/misc/vboxnetadp.ko
  # modprobe vboxdrv
  modprobe: FATAL: Module vboxdrv not found in directory 
/lib/modules/5.15.16-gentoo

What is going on here?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Re: Rubygems and Rake problem

2021-01-31 Thread Bertram Scharpf
Hi,

On Thursday, 28. Jan 2021, 06:52:37 +0100, Hans de Graaff wrote:
> On Wed, 27 Jan 2021 19:13:37 +0100, Bertram Scharpf wrote:
> 
> > after a long period with a lot of problems installing Ruby Gems and
> > Gentoo packages containing Ruby Gems, I found the following solution: I
> > added a line
> > 
> > s.executables = ["rake".freeze]
>  
> > What do you think? Maybe someone likes to confirm this.
> > I will definitely not file any report or patch to neither the RubyGems
> > nor the Rake project any more.
> 
> Could you file a but about this at https://bugs.gentoo.org/ including an 
> example of the problem this is causing for you? As far as I'm aware this 
> is not a known issue.

I tried to reproduce the problem, but the Gem installer
immediately updates the Rake gem so that the messy gem
specification of the old version will no longer be accessed.
I suppose the error only surfaces in times when the Rake
package is the newest version.

Nevertheless, the missing executable specification line
definitely is a bug, probably on the RubyGems side, not in
Gentoo Portage.

Again, and I can’t stress this enough, I'm tired of
searching for bugs in these lousy written tools RubyGems and
Rake. I will not make any effort to report any bugs there
any more and I do not want to be responsible for anything
these tools do.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Rubygems and Rake problem

2021-01-27 Thread Bertram Scharpf
Hi,

after a long period with a lot of problems installing
Ruby Gems and Gentoo packages containing Ruby Gems, I found
the following solution: I added a line

s.executables = ["rake".freeze]

to the file "/usr/lib64/ruby/gems/2.7.0/specifications/rake-13.0.1.gemspec"
(and the other Ruby versions).

This fixed all my problems.

The longer I do research about that, I am convinced the bug
is inside the "to_ruby" method in
"/usr/lib64/ruby/site_ruby/2.7.0/rubygems/specification.rb",
line 2423. That doesn't produce the "s.executables" line.

It gets called from Portage in
"/usr/portage/eclass/ruby-fakegem.eclass", line 277.

What do you think? Maybe someone likes to confirm this.
I will definitely not file any report or patch to neither
the RubyGems nor the Rake project any more.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Yet another USE flag problem

2021-01-04 Thread Bertram Scharpf
On Monday, 04. Jan 2021, 07:12:18 -0800, Daniel Frey wrote:
> On 1/4/21 4:15 AM, Bertram Scharpf wrote:
> > On Monday, 04. Jan 2021, 07:09:06 +0100, Arve Barsnes wrote:
> > > On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf  
> > > wrote:
> > > > As far as I see, I defined _exactly_ _one_ _of_ them:
> > > 
> > > Please show what USE flags you've defined for either this package or
> > > LUA. Hard to give advice without knowing your config.
> > 
> ># emerge --info | grep -i lua
> >LUA_SINGLE_TARGET="lua5-1"
> >LUA_TARGETS="lua5-1"
> >USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
> >USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
> > 
> ># grep -rnHi lua /etc/portage
> >/etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
> >/etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
> >/etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
> >/etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
> >/etc/portage/package.accept_keywords/local:26: > ~amd64
> > 
> > Here's another time how emerge complains:
> > 
> >- app-editors/neovim-0.4.4-r100::gentoo (Change USE: 
> > -lua_single_target_lua5-1, this change violates use flag constraints 
> > defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( 
> > lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 
> > )')
> > 
> > As far as I understand this, emerge tells me to remove the
> > use flag "lua_single_target_lua5-1" because the use flag
> > "lua_single_target_lua5-1" is required.
> > 
> > What could I try next?
> > 
> > 
> > Bertram
> > 
> > 
> 
> It looks like you have multiple lua USE-flags selected, and the package
> requires only one to be selected.
> 
> Whats the output of `emerge -pv neovim`?

# emerge -pv neovim 

  1

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy 
"dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
!!! One of the following packages is required to complete your request:
- app-editors/neovim-0.4.4-r100::gentoo (Change USE: 
-lua_single_target_lua5-1, this change violates use flag constraints defined by 
app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit 
lua_single_target_lua5-1 lua_single_target_lua5-2 )')
(dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
(dependency required by "neovim" [argument])

# emerge --info | grep -i lua   

  1
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."

As far as I can see, only one is selected.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Yet another USE flag problem

2021-01-04 Thread Bertram Scharpf
Hi,

On Monday, 04. Jan 2021, 15:12:24 +0100, Arve Barsnes wrote:
> On Mon, 4 Jan 2021 at 14:46, Bertram Scharpf  wrote:
> >   # grep -rnHi '^[^#]*lua' /etc/portage
> >   /etc/portage/make.conf:40:LUA_SINGLE_TARGET="luajit" #  lua5-1
> >   /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
> >   /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
> >   /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
> >   /etc/portage/package.accept_keywords/local:26: >~amd64
> >   # emerge --info | grep -i lua
> >   LUA_SINGLE_TARGET="luajit"
> >   LUA_TARGETS="lua5-1"
> >   USE="..." ... LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1" ...
> >   USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
> >
> > What else could I try?
> 
> I would try removing both the make.conf entry and the dev-lua/luv USE entry.
> 
> Maybe either of the other two packages with luajit are also involved,
> but give the emerge command you're trying to run and any error
> messages after doing that.

This is the point where the whole problem arose from. I
unmasked the newest NeoVim "app-editors/neovim-0.4.4-r100".
Then:

  !!! The following update has been skipped due to unsatisfied dependencies:

  app-editors/neovim:0

selected: (app-editors/neovim-0.4.4:0/0::gentoo, installed)
skipped: (app-editors/neovim-0.4.4-r100:0/0::gentoo, ebuild scheduled for 
merge) (see unsatisfied dependency below)

  !!! All ebuilds that could satisfy "dev-lang/lua:5.1" have been masked.
  !!! One of the following masked packages is required to complete your request:
  - dev-lang/lua-5.1.5-r106::gentoo (masked by: ~amd64 keyword)

  (dependency required by 
"app-editors/neovim-0.4.4-r100::gentoo[lua_single_target_lua5-1]" [ebuild])
  For more information, see the MASKED PACKAGES section in the emerge
  man page or refer to the Gentoo Handbook.

Unmasking the mentioned Lua version generates the error
messages I posted above.

Sorry that I cannot post the whole output of my command
"emerge -avuND @world". In the meantime yet the next
adversity shows up and I don't want to mix these two
problems into one thread.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Yet another USE flag problem

2021-01-04 Thread Bertram Scharpf
On Monday, 04. Jan 2021, 13:39:47 +0100, Arve Barsnes wrote:
> On Mon, 4 Jan 2021 at 13:15, Bertram Scharpf  wrote:
> >   # grep -rnHi lua /etc/portage
> >   /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
> >   /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
> >   /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
> >   /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
> >   /etc/portage/package.accept_keywords/local:26: >~amd64
> >
> > Here's another time how emerge complains:
> >
> >   - app-editors/neovim-0.4.4-r100::gentoo (Change USE: 
> > -lua_single_target_lua5-1, this change violates use flag constraints 
> > defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( 
> > lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 
> > )')
> >
> > As far as I understand this, emerge tells me to remove the
> > use flag "lua_single_target_lua5-1" because the use flag
> > "lua_single_target_lua5-1" is required.
> 
> As far as I understand it, this is saying that your emerge command is
> about to remove that USE flag from neovim, which breaks the
> constraint. So basically some other package is stopping your update.

If this is what happens, then I miss that emerge tells me
the reason why it tries to remove the use flag.

> Your original mail mentioned that this was because of dev-lua/luv. You
> have in your /etc/portage/package.use/zz-autouse set the luajit flag
> on this package. Might this be the problem?

> I'm not that familiar with lua, but as far as I understand the output,
> app-editors/neovim and dev-lua/luv needs the same LUA_SINGLE_TARGET,
> and setting that USE flag on dev-lua/luv might trip up this. Reading
> the latest ebuild, this flag has been removed in the ~amd64 package,
> so might as well remove it now and see if that fixes your problem.

As the name of the file tells, the "zz-autouse" use flags
were set a long time ago by - of course - emerge. I tried to
remove them, but that didn't change anything.

  emerge: there are no ebuilds built with USE flags to satisfy 
"dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
  !!! One of the following packages is required to complete your request:
  - app-editors/neovim-0.4.4-r100::gentoo (Change USE: 
-lua_single_target_lua5-1, this change violates use flag constraints defined by 
app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit 
lua_single_target_lua5-1 lua_single_target_lua5-2 )')
  (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
  (dependency required by "@selected" [set])
  (dependency required by "@world" [argument])

  # grep -rnHi '^[^#]*lua' /etc/portage
  /etc/portage/package.accept_keywords/local:26:=dev-lua/lpeg-1.0.1 luajit
  /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
  /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
  /etc/portage/package.accept_keywords/local:26:http://www.bertram-scharpf.de



Re: [gentoo-user] Yet another USE flag problem

2021-01-04 Thread Bertram Scharpf
On Monday, 04. Jan 2021, 07:09:06 +0100, Arve Barsnes wrote:
> On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf  wrote:
> > As far as I see, I defined _exactly_ _one_ _of_ them:
> 
> Please show what USE flags you've defined for either this package or
> LUA. Hard to give advice without knowing your config.

  # emerge --info | grep -i lua
  LUA_SINGLE_TARGET="lua5-1"
  LUA_TARGETS="lua5-1"
  USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
  USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."

  # grep -rnHi lua /etc/portage
  /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
  /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
  /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
  /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
  /etc/portage/package.accept_keywords/local:26:http://www.bertram-scharpf.de



[gentoo-user] Yet another USE flag problem

2021-01-03 Thread Bertram Scharpf
Hi,

after experimenting a while I find myself receiving this
error message:

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

  Calculating dependencies... done!

  emerge: there are no ebuilds built with USE flags to satisfy 
"dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
  !!! One of the following packages is required to complete your request:
  - app-editors/neovim-0.4.4-r100::gentoo (Change USE: 
-lua_single_target_lua5-1, this change violates use flag constraints defined by 
app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit 
lua_single_target_lua5-1 lua_single_target_lua5-2 )')
  (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
  (dependency required by "@selected" [set])
  (dependency required by "@world" [argument])


As far as I see, I defined _exactly_ _one_ _of_ them:

  # equery u neovim
  [ Legend : U - final flag setting for installation]
  [: I - package is installed with flag ]
  [ Colors : set, unset ]
  * Found these USE flags for app-editors/neovim-0.4.4-r100:
  U I
  + - lto  : Build with Link Time Optimization (LTO)
  + + lua_single_target_lua5-1 : Build for Lua 5.1 only
  - - lua_single_target_lua5-2 : Build for Lua 5.2 only
  - - lua_single_target_luajit : Build for LuaJIT only
  + - nvimpager: Install nvimpager symlink to less.sh macro
  + - tui  : Build the neovim unix tui


What do I miss?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Logrotate ignores standard log files

2020-08-03 Thread Bertram Scharpf
Hi,

I detected that since mid-May my main log files
/var/log/{messages,auth.log,daemon.log,...}
don't get rotated any more.

I tried to solve this by making an entry in
/etc/logrotate.conf, but that doesn't work.
"maxsize" works, but not "weekly" nor "daily".

What happened in May and what do I have to try?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Where is gmplayer?

2017-04-18 Thread Bertram Scharpf
On Tuesday, 18. Apr 2017, 23:35:02 +0200, Alan McKinnon wrote:
> On 18/04/2017 23:21, Bertram Scharpf wrote:
> > On Tuesday, 18. Apr 2017, 13:11:02 -0500, R0b0t1 wrote:
> >> On Tue, Apr 18, 2017 at 12:51 PM, Bertram Scharpf
> >> <li...@bertram-scharpf.de> wrote:
> >>>
> >>>   % gmplayer
> >>>   zsh: command not found: gmplayer
> >>
> >> Which program are you looking for?
> > 
> > It is mentioned in "man mplayer". It's the graphical user
> > inferface.
> 
> I thought that particular binary was abandoned *years* ago by mplayer -
> it was unmaintained?
> 
> Looks like cruft is left in the man page

It is mentioned in the _German_ translation of the man page.
I don't know what the original version says because it
didn't get installed here.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Re: Where is gmplayer?

2017-04-18 Thread Bertram Scharpf
On Tuesday, 18. Apr 2017, 22:47:29 +0200, Hartmut Figge wrote:
> You should ask bugs.gentoo.org about ALL gmplayer. You'll get e.g.
> https://bugs.gentoo.org/show_bug.cgi?id=323813

This explains why I didn't find a solution.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Where is gmplayer?

2017-04-18 Thread Bertram Scharpf
On Tuesday, 18. Apr 2017, 13:11:02 -0500, R0b0t1 wrote:
> On Tue, Apr 18, 2017 at 12:51 PM, Bertram Scharpf
> <li...@bertram-scharpf.de> wrote:
> >
> >   % gmplayer
> >   zsh: command not found: gmplayer
> >   % equery f mplayer | grep /bin/
> >   /usr/bin/mencoder
> >   /usr/bin/midentify
> >   /usr/bin/mplayer
> >   % equery u mplayer | grep -E '\<g'
> >   -ggi
> >   +gif
> >   -gsm
> 
> Which program are you looking for?

It is mentioned in "man mplayer". It's the graphical user
inferface.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Where is gmplayer?

2017-04-18 Thread Bertram Scharpf
Hi,

every answer I find by Google is ~10-15 years old
and does not help me. I think it is time for a more
recent discussion of this topic.

  % gmplayer 
  zsh: command not found: gmplayer
  % equery f mplayer | grep /bin/
  /usr/bin/mencoder
  /usr/bin/midentify
  /usr/bin/mplayer
  % equery u mplayer | grep -E '\<g'
  -ggi
  +gif
  -gsm

What do I have to do?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] [SOLVED] How to force a rebuild?

2017-02-15 Thread Bertram Scharpf
On Wednesday, 15. Feb 2017, 19:27:26 +0100, Johannes Rosenberger wrote:
> On 15.02.2017 19:10, Bertram Scharpf wrote:
> > I did not find this by Google. Maybe I asked the wrong
> > terms.
> >
> > The package "virtualbox-modules" contains some kernel
> > modules. When I built the package they landed in the
> > directory
> >
> >   # equery f app-emulation/virtualbox-modules   
> > 
> >   ...
> >   /lib/modules/4.4.39-gentoo/misc/vboxdrv.ko
> >   /lib/modules/4.4.39-gentoo/misc/vboxnetadp.ko
> >   ...
> >
> > After a kernel update the VirtualBox won't find them any
> > more and do not expect that at all.
> >
> > I could delete the package and build-install it again, but
> > then the old kernels modules would disappear. I just want
> > to install the new ones.
> >
> > I could do a sequence of "ebuild" commands. Is there a
> > front end "emerge" command, too? Something like the -U flag? 
> 
> emerge @module-rebuild
> 
> (find out via 'emerge --list-sets')

Exactly what I searched for. Works.

Thanks!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] How to force a rebuild?

2017-02-15 Thread Bertram Scharpf
Hi,

I did not find this by Google. Maybe I asked the wrong
terms.

The package "virtualbox-modules" contains some kernel
modules. When I built the package they landed in the
directory

  # equery f app-emulation/virtualbox-modules   

  ...
  /lib/modules/4.4.39-gentoo/misc/vboxdrv.ko
  /lib/modules/4.4.39-gentoo/misc/vboxnetadp.ko
  ...

After a kernel update the VirtualBox won't find them any
more and do not expect that at all.

I could delete the package and build-install it again, but
then the old kernels modules would disappear. I just want
to install the new ones.

I could do a sequence of "ebuild" commands. Is there a
front end "emerge" command, too? Something like the -U flag? 

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 08:41:00 -0500, Michael Orlitzky wrote:
> On 02/09/2017 08:27 AM, Bertram Scharpf wrote:
> > 
> > The use flag "postgresql" is _not_ set. Deinstalling pgadmin3
> > did not help.
> > 
> > Besides that, masking 9.5 helps. Yet, it doesn't tell
> > _where_ the dependency arises from.
> > 
> 
> A wild guess: you keyworded a specific version of postgresql:9.6 in
> package.accept_keywords. When you installed that version, portage was
> happy. Later, there was a version bump of the 9.6 series in the tree.
> Afterwards, your keyword no longer matches any 9.6 version in the tree,
> so portage falls back to the newest stable postgres (9.5.x).
> 
> Fix: update the entry in package.accept_keywords to match the latest 9.6
> series ebuild.

Indeed, there was a line in /ec/portage/package.keywords/custom,
written on 2016-10-04 (git blame):

  =dev-db/postgresql-9.6.0 ~amd64

The installed version was still 9.6.0. In the meantime
the ebuild belonging to 9.6.0 disappeared. I changed the =
into a >=, then the "emerge -avuDNT @world" updated to 9.6.1
and forgot about 9.5.5.

Thank you all!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 14:04:09 +0200, Alan McKinnon wrote:
> On 09/02/2017 13:49, Bertram Scharpf wrote:
> > On Thursday, 09. Feb 2017, 12:24:52 +0200, Alan McKinnon wrote:
> >> On 09/02/2017 11:52, Bertram Scharpf wrote:
> >>> On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
> >>>> On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:
> >>>>
> >>>>> Every time I try to do an upgrade, it wants to pull
> >>>>> in the former PostgreSQL into an own slot:
> >>>>>
> >>>>>   # emerge -avuDN @world
> >>>>>   ...
> >>>>>   Calculating dependencies... done!
> >>>>>   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo 
> >>>>> [9.6.0:9.6::gentoo] USE="..." ... ...
> >>>>>   Would you like to merge these packages? [Yes/No] 
> >>>>>
> >>>>> How can I find out why this happens?
> >>>>
> >>>> Add --tree to you emerge invocation.
> >>>
> >>> There seems to be no dependency at all!?
> >>
> >> That usually means you have the package in your world file
> > 
> >   $ grep postgres /var/lib/portage/world | uniq -c
> > 1 dev-db/postgresql
> > 
> > This does not specify a version. I only want 9.6, not 9.5.
> 
> 
> equery depends postgresql
> 
> This scours the tree to find deps, it doesn't mean *your* system will
> use all of them. With that output, we start looking to see which apply
> to you

  # equery d postgresql 
  
   * These packages depend on postgresql:
  dev-db/pgadmin3-1.22.1-r1 (>=dev-db/postgresql-8.4.0)
  dev-libs/apr-util-1.5.4 (postgres ? dev-db/postgresql)
  dev-libs/cyrus-sasl-2.1.26-r9 (postgres ? dev-db/postgresql)
  dev-qt/qtsql-4.8.6-r1 (postgres ? dev-db/postgresql)
  mail-mta/postfix-3.1.2-r2 (postgres ? dev-db/postgresql)
  # equery d =dev-db/postgresql-9.5.5   
  
   * These packages depend on dev-db/postgresql-9.5.5:
  dev-db/pgadmin3-1.22.1-r1 (>=dev-db/postgresql-8.4.0)
  dev-libs/apr-util-1.5.4 (postgres ? dev-db/postgresql)
  dev-libs/cyrus-sasl-2.1.26-r9 (postgres ? dev-db/postgresql)
  dev-qt/qtsql-4.8.6-r1 (postgres ? dev-db/postgresql)
  mail-mta/postfix-3.1.2-r2 (postgres ? dev-db/postgresql)

The use flag "postgresql" is _not_ set. Deinstalling pgadmin3
did not help.

Besides that, masking 9.5 helps. Yet, it doesn't tell
_where_ the dependency arises from.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 12:24:52 +0200, Alan McKinnon wrote:
> On 09/02/2017 11:52, Bertram Scharpf wrote:
> > On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
> >> On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:
> >>
> >>> Every time I try to do an upgrade, it wants to pull
> >>> in the former PostgreSQL into an own slot:
> >>>
> >>>   # emerge -avuDN @world
> >>>   ...
> >>>   Calculating dependencies... done!
> >>>   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo 
> >>> [9.6.0:9.6::gentoo] USE="..." ... ...
> >>>   Would you like to merge these packages? [Yes/No] 
> >>>
> >>> How can I find out why this happens?
> >>
> >> Add --tree to you emerge invocation.
> > 
> > There seems to be no dependency at all!?
> 
> That usually means you have the package in your world file

  $ grep postgres /var/lib/portage/world | uniq -c
1 dev-db/postgresql

This does not specify a version. I only want 9.6, not 9.5.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
> On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:
> 
> > Every time I try to do an upgrade, it wants to pull
> > in the former PostgreSQL into an own slot:
> > 
> >   # emerge -avuDN @world
> >   ...
> >   Calculating dependencies... done!
> >   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo [9.6.0:9.6::gentoo] 
> > USE="..." ... ...
> >   Would you like to merge these packages? [Yes/No] 
> > 
> > How can I find out why this happens?
> 
> Add --tree to you emerge invocation.

There seems to be no dependency at all!?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-08 Thread Bertram Scharpf
Hi,

I have a running PostrgeSLQ 9.6 installed:

  # equery l postgresql
  * Searching for postgresql ...
  [I--] [??] dev-db/postgresql-9.6.0:9.6

Every time I try to do an upgrade, it wants to pull
in the former PostgreSQL into an own slot:

  # emerge -avuDN @world
  ...
  Calculating dependencies... done!
  [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo [9.6.0:9.6::gentoo] 
USE="..." ...
  ...
  Would you like to merge these packages? [Yes/No] 

How can I find out why this happens?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Brother Printer

2016-12-10 Thread Bertram Scharpf
On Saturday, 10. Dec 2016, 23:17:55 +0100, siefke_lis...@web.de wrote:
> On Fri, 09 Dec 2016 16:49:48 +0100
> Nils Freydank <nils.freyd...@posteo.de> wrote:
> 
> > would need to migrate to an multilib profile - and I don’t know how awful 
> > this 
> > would become.
> 
> I try and this make me more pain. I stopped. GCC, GLIBC and sandbox not
> want compile. Something with blabla.32.h is missing. I find nothing in
> documentation how can switch or im blind. (i wear classes :) 
> 
> The question is, give printer (Scanner, FAX and Printer Combination) which 
> work
> under native x86_64 or all will not work? I try tomorrow with HP from my dad, 
> when will work I think I buy new device. After 7 Years this will be ok.  

It hurts me to hear that you wasted so much precious time.

Let me propose you to do:

  - Download some Debian, Ububunt, Mint, Grml or whatever
USB stick in case you missed that until now,

  - Boot it, install a standard driver, print out
"exampke/niklolaus.ps" from my project
<https://github.com/BertramScharpf/ruby-pjl> and
validate it,

  - Print it out another time but redirect /dev/ulpt0 or
whats name is is ever to a file,

  - send this file to me.

I'll try to write a filter, and I'm deeply interested in
finding out whether my PJL project will manage that.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Virtualbox documentation

2016-12-09 Thread Bertram Scharpf
On Friday, 09. Dec 2016, 05:23:30 +0100, Bertram Scharpf wrote:
> On Friday, 09. Dec 2016, 00:46:43 +0200, Alan McKinnon wrote:
> > On 08/12/2016 22:41, Bertram Scharpf wrote:
> > > On Thursday, 08. Dec 2016, 17:35:59 +0200, Alan McKinnon wrote:
> > >> On 08/12/2016 14:36, Bertram Scharpf wrote:
> > >>> On Thursday, 08. Dec 2016, 00:21:17 +0200, Alan McKinnon wrote:
> > >>>> On 08/12/2016 00:01, Bertram Scharpf wrote:
> > >>>>> arrgh! I just want to find a quick-start tutorial for
> > >>>>> Virtualbox on Gentoo, but Google shows up loads of tutorials
> > >>>>> for Gentoo in a Virtualbox.
> > 
> > VirtualBox is a Qt app and *requires* Qt to get a GUI. There is no
> > option for GTK

That's the solution. Works like a charm now.

Thank you!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Brother Printer

2016-12-09 Thread Bertram Scharpf
On Friday, 09. Dec 2016, 11:16:18 +0100, siefke_lis...@web.de wrote:
> On Thu, 8 Dec 2016 22:02:51 +0100
> Bertram Scharpf <li...@bertram-scharpf.de> wrote:
> 
> > I have a Brother MFC 7420. Yet, it's not connected to my
> > Gentoo but to a FreeBSD box. There, I completely ignored the
> > recommended drivers. I configured lpd (/etc/printcap) to
> > first pipe the PostScript/PDF documents through a
> > Ghostscript command.
> > 
> > Then I wrap around this a simple self-written PJL frame.
> > 
> > You can have my PJL generator if you want (It's in Ruby).
> 
> Yes thanks if you like to share. 

Say something like

  $ sudo gem install pjl

or first examine it on <https://github.com/BertramScharpf/ruby-pjl>.

There's a small dependency on a gem "appl" that's also
available on RubyGems and on my Github page.

However, to the present day I did not manage to make the
scanner work on FreeBSD. I plug it into a Linux machine
before I scan.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Virtualbox documentation

2016-12-08 Thread Bertram Scharpf
On Friday, 09. Dec 2016, 00:46:43 +0200, Alan McKinnon wrote:
> On 08/12/2016 22:41, Bertram Scharpf wrote:
> > On Thursday, 08. Dec 2016, 17:35:59 +0200, Alan McKinnon wrote:
> >> On 08/12/2016 14:36, Bertram Scharpf wrote:
> >>> On Thursday, 08. Dec 2016, 00:21:17 +0200, Alan McKinnon wrote:
> >>>> On 08/12/2016 00:01, Bertram Scharpf wrote:
> >>>>> arrgh! I just want to find a quick-start tutorial for
> >>>>> Virtualbox on Gentoo, but Google shows up loads of tutorials
> >>>>> for Gentoo in a Virtualbox.
> 
> VirtualBox is a Qt app and *requires* Qt to get a GUI. There is no
> option for GTK
> 
> USE="qt4"
> or in more recent versions ebuilds (or ~arch)
> USE="qt5"
> as appropriate

Arrrgh! Takes time for the next complaint.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Brother Printer

2016-12-08 Thread Bertram Scharpf
Hi Silvio,

On Thursday, 08. Dec 2016, 15:08:34 +0100, siefke_lis...@web.de wrote:
> when I want use a Brother Printer (MFC 7320) it's need multilib? How can 
> I fix this? 

I have a Brother MFC 7420. Yet, it's not connected to my
Gentoo but to a FreeBSD box. There, I completely ignored the
recommended drivers. I configured lpd (/etc/printcap) to
first pipe the PostScript/PDF documents through a
Ghostscript command. The only real problem was to find the
proper device driver (ljet2p).

  gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ljet2p -r600 
-sOutputFile=- -

Then I wrap around this a simple self-written PJL frame.

For about 8 years, though not printing too much, I never had
any problem.

You can have my PJL generator if you want (It's in Ruby).

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Virtualbox documentation

2016-12-08 Thread Bertram Scharpf
On Thursday, 08. Dec 2016, 17:35:59 +0200, Alan McKinnon wrote:
> On 08/12/2016 14:36, Bertram Scharpf wrote:
> > On Thursday, 08. Dec 2016, 00:21:17 +0200, Alan McKinnon wrote:
> >> On 08/12/2016 00:01, Bertram Scharpf wrote:
> >>> arrgh! I just want to find a quick-start tutorial for
> >>> Virtualbox on Gentoo, but Google shows up loads of tutorials
> >>> for Gentoo in a Virtualbox.
> > 
> > The official documentation 
> > <https://www.virtualbox.org/manual/ch01.html#idm267>
> > says:
> > 
> >   On a Linux or Solaris host, depending on your desktop
> >   environment, a "VirtualBox" item may have been placed in
> >   either the "System" or "System Tools" group of your
> >   "Applications" menu. Alternatively, you can type
> >   "VirtualBox" in a terminal.
> 
> There is a command "VirtualBox" but it's not in your PATH:
> 
> /usr/lib64/virtualbox/VirtualBox

Not here.

  # ls -l /usr/lib64/virtualbox/VirtualBox
  ls: cannot access '/usr/lib64/virtualbox/VirtualBox': No such file or 
directory

Maybe the reason can be found here:

  # equery u virtualbox | cat
  +additions
  +alsa
  -doc
  -extensions
  -headless
  -java
  +opengl
  +pam
  -pulseaudio
  -python
  +python_targets_python2_7
  -qt4
  +sdk
  +udev
  -vboxwebsrv
  -vnc

> 
> It's launched by the menu item
> 

I don't have a menu item (Xfce4).

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Virtualbox documentation

2016-12-08 Thread Bertram Scharpf
On Thursday, 08. Dec 2016, 00:21:17 +0200, Alan McKinnon wrote:
> On 08/12/2016 00:01, Bertram Scharpf wrote:
> > arrgh! I just want to find a quick-start tutorial for
> > Virtualbox on Gentoo, but Google shows up loads of tutorials
> > for Gentoo in a Virtualbox.
> 
> I have vbox on Gentoo here (many others do too) and it was
> a very smooth start - basically emerge virtualbox, the
> fancy oracle additions and modules, and I was off like a
> rocket. [...] The oracle docs are very good and quite
> complete
> 
> Do you have specific questions that you want a tutorial to
> answer?

The official documentation <https://www.virtualbox.org/manual/ch01.html#idm267>
says:

  On a Linux or Solaris host, depending on your desktop
  environment, a "VirtualBox" item may have been placed in
  either the "System" or "System Tools" group of your
  "Applications" menu. Alternatively, you can type
  "VirtualBox" in a terminal.

There is no command "VirtualBox" but only some commands
named VBox* like "VBoxManage" that are symlinks to
/usr/lib64/virtualbox/VBox. The command "VBoxManage" prints
out >10 pages of documentation:

  # VBoxManage | wc -l
  590

No window shows up as promised.

There is no man page.

Is there a _short_ documentation for which command to give
with wich parameters?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Virtualbox documentation

2016-12-07 Thread Bertram Scharpf
Hi,

arrgh! I just want to find a quick-start tutorial for
Virtualbox on Gentoo, but Google shows up loads of tutorials
for Gentoo in a Virtualbox. The Gentoo Wiki article's
"Usage" paragraph does not contain any usable information.

Does anybody have a hint for me?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Monday, 14. Nov 2016, 10:20:39 +, Jorge Almeida wrote:
> On Sat, Nov 12, 2016 at 10:20 PM, Bertram Scharpf
> <li...@bertram-scharpf.de> wrote:
> > for a special job I need to do a piece of work in Microsofts
> > PowerShell, but I have no Windows machine running. I know
> > that there is a PowerShell for Linux because I have one
> > installed on a Ubuntu. Yet, I do not want to shut down my
> > Gentoo and boot Ubuntu every time when I have to try
> > something in PowerShell. I would like to install it on
> > Gentoo.
> >
> Assuming that you plan to keep Ubuntu, why not use its PowerShell from
> Gentoo, via chroot?

This is an excellent idea that fits exactly the expense of
time I wanted to invest on the task. I'm almost ashamed I
did not have this idea myself.

Thank you!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Monday, 14. Nov 2016, 09:21:25 +, Neil Bothwick wrote:
> On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:
> 
> > > You can download the source from
> > > https://github.com/PowerShell/PowerShell/releases and compile it
> > > yourself.  
> > 
> > The build suite is something completely different than the
> > standard configure-make procedure. It's first step says:
> > "Gentoo is not supported!" They only support CentOS and
> > Ubuntu.
> 
> Not supported is not the same as doesn't work. It just means you're more
> or less on your own.

That's what I meant. I'm just fed up with reading loads of
docs about a very non-standard build process.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Sunday, 13. Nov 2016, 22:21:33 +0100, Jeremi Piotrowski wrote:
> On Sat, Nov 12, 2016 at 11:20:06PM +0100, Bertram Scharpf wrote:
> > for a special job I need to do a piece of work in Microsofts
> > PowerShell, but I have no Windows machine running. I know
> > that there is a PowerShell for Linux because I have one
> > installed on a Ubuntu. Yet, I do not want to shut down my
> > Gentoo and boot Ubuntu every time when I have to try
> > something in PowerShell. I would like to install it on
> > Gentoo.
> 
> This is the perfect use case for running containers on your development
> machine. Just set up lxc/lxd/docker on your gentoo machine and start up an
> ubuntu container in any of the runtimes. Works flawlessly, and you don't
> have to reboot or run a heavyweight VM. Lxc/lxd are more suitable for long
> running containers, docker would be great for containers that you spin up
> and tear down whenever you need.
> 
> Give it a try.

I will consider this if I have to do with PowerShell for a
longer time.

Thanks for the hint!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Sunday, 13. Nov 2016, 13:05:24 +, Neil Bothwick wrote:
> On Sat, 12 Nov 2016 23:20:06 +0100, Bertram Scharpf wrote:
> 
> > I did not find a PowerShell package in the portage
> > directories and I did not find anything by Google. Is there
> > a package at all (maybe somewhere in the overlays) and I did
> > just miss to enter the right search terms?
> 
> You can download the source from
> https://github.com/PowerShell/PowerShell/releases and compile it yourself.

The build suite is something completely different than the
standard configure-make procedure. It's first step says:
"Gentoo is not supported!" They only support CentOS and
Ubuntu.

> Alternatively, grab one of the RPM packages and use rpm2tgz to create a
> tarball you can unpack in /.

There seem to be dependency problems.

Thanks anyway,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Is there a PowerShell package?

2016-11-12 Thread Bertram Scharpf
Hi,

for a special job I need to do a piece of work in Microsofts
PowerShell, but I have no Windows machine running. I know
that there is a PowerShell for Linux because I have one
installed on a Ubuntu. Yet, I do not want to shut down my
Gentoo and boot Ubuntu every time when I have to try
something in PowerShell. I would like to install it on
Gentoo.

I did not find a PowerShell package in the portage
directories and I did not find anything by Google. Is there
a package at all (maybe somewhere in the overlays) and I did
just miss to enter the right search terms?

Thanks in advance.

Bertram Scharpf


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] showing files in numerical order

2016-10-20 Thread Bertram Scharpf
On Thursday, 20. Oct 2016, 08:25:22 -0400, Philip Webb wrote:
> Using Gwenview with KDE 4, the thumbnail view showed images
> in correct numerical order : image1 image2 ... image9 image10 ... .
> With KDE 5, it's gone stupid : image1 image11 image12 ...
> image 19 image2 image20 image21 ...
> 
> Is there a setting anywhere
> to tell it to list files in the proper numerical order ?

I know it is a smart-arse answer, but it's better for sore
eyes if you rename your files to unique-width numbers.

  $ for f in image* ; do mv $f image_`printf %03d ${f##image}` ; done

(This works for zsh and may need slight changes for bash.)

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Re: Brother scanner wants libusb-0.1.so.4

2016-10-06 Thread Bertram Scharpf
On Friday, 07. Oct 2016, 00:23:54 -0400, Jonathan Callen wrote:
> On 10/05/2016 05:45 PM, Bertram Scharpf wrote:
> > 
> >   # SANE_DEBUG_DLL=1 scanimage -L
> >   [sanei_debug] Setting debug level of dll to 1.
> >   [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
> >   [dll] load: dlopen() failed (libusb-0.1.so.4: cannot open shared object 
> > file: No such file or directory)
> >   ...
> 
> To get libusb-0.1.so.4, you need to install dev-libs/libusb-compat
> (which uses the new libusb 1.0 to provide the old libusb 0.1 API).

Works. Great! Thank you!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Brother scanner wants libusb-0.1.so.4

2016-10-05 Thread Bertram Scharpf
Hi,

my olde Brother printer/scanner device MFC-7420 needs
libraries that are provided as binaries on the Brother site.
Until I switched to amd64 they worked well on a x64 system.

Now I loaded down the amd64 version but it doesn't work. The
problem seems to be a library load.

  # SANE_DEBUG_DLL=1 scanimage -L
  [sanei_debug] Setting debug level of dll to 1.
  [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
  [dll] load: dlopen() failed (libusb-0.1.so.4: cannot open shared object file: 
No such file or directory)
  ...

  No scanners were identified. ...

Indeed, "libusb-0.1.so.4" is hardcoded in
"libsane-brother2.so". The libraries present are

  # equery b /lib64/libusb-*
   * Searching for /lib64/libusb-1.0.so.0,/lib64/libusb-1.0.so.0.1.0 ... 
  dev-libs/libusb-1.0.19-r1 (/lib64/libusb-1.0.so.0.1.0)
  dev-libs/libusb-1.0.19-r1 (/lib64/libusb-1.0.so.0 -> libusb-1.0.so.0.1.0)

When I use brute force and symlink 0.1 to 1.0 I get another
error that doesn't actually surprise me.

  # ln -s libusb-1.0.so.0.1.0 libusb-0.1.so.4
  # SANE_DEBUG_DLL=1 scanimage -L
  [sanei_debug] Setting debug level of dll to 1.
  [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
  [dll] load: dlopen() failed (/usr/lib64/sane/libsane-brother2.so.1: undefined 
symbol: usb_busses)
  ...

Brother provides a source package but I cannot compile that
because it isn't even complete, and when I mail them, they
don't answer.

Is there _any_ way to solve this?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Re: Emerge interferes with Git (Was: Wlan disappeared after suspend)

2016-09-17 Thread Bertram Scharpf
On Saturday, 17. Sep 2016, 10:36:28 -0400, Rich Freeman wrote:
> On Sat, Sep 17, 2016 at 9:54 AM, Bertram Scharpf
> <li...@bertram-scharpf.de> wrote:
> 
> > This should be part of the documentation. Where do I best
> > report it?
> 
> Well, for anything on the wiki I'd suggest just adding it.  For the
> manpages I'd submit a bug on bugs.gentoo.org against portage (the
> software).

Do you have an address of the wiki you mean? Reporting
should take less time than finding the fix.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Re: Emerge interferes with Git (Was: Wlan disappeared after suspend)

2016-09-17 Thread Bertram Scharpf
On Saturday, 17. Sep 2016, 10:31:17 +0200, Kai Krakow wrote:
> Am Tue, 13 Sep 2016 19:49:04 +0200
> schrieb Bertram Scharpf <li...@bertram-scharpf.de>:
> 
> > The rfkill make suite looks for a version number and in case
> > the work directory is a Git repo it tries to query the
> > version number there. Then, it finds the Git repo in
> > /usr/portage and fails. Not very friendly!
> 
> You could
> 
> # mount -o bind /usr/portage/tmp /var/tmp/portage
> 
> and then point the portage tmp dir to that directory. From there,
> ebuilds cannot see the .git of /usr/portage.

As long as I do not set GIT_DISCOVERY_ACROSS_FILESYSTEM...

I decided to add the following line to /etc/portage/make.conf:

  GIT_CEILING_DIRECTORIES="$GIT_CEILING_DIRECTORIES:$PORTAGE_TMPDIR"

This should be part of the documentation. Where do I best
report it?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Emerge interferes with Git (Was: Wlan disappeared after suspend)

2016-09-13 Thread Bertram Scharpf
On Tuesday, 13. Sep 2016, 11:12:11 -0400, Rich Freeman wrote:
> On Tue, Sep 13, 2016 at 9:12 AM, Bertram Scharpf
> <li...@bertram-scharpf.de> wrote:
> >
> > The rfkill install interferes with Git!
> >
> > Error log:
> > P: /usr/portage/.git/index.lock
> > A: /usr/portage/.git/index.lock
> > R: /usr/portage/.git/index.lock
> > C: git update-index --refresh --unmerged
> >
> >>>>  '/usr/portage/tmp/portage/net-wireless/rfkill-0.5/temp/build.log'
> >
> > I helped myself by renaming the .git directory, but that's
> > only a workaround.
> >
> > How can I fix this? Should I report this?
> 
> It looks like you have your PORTAGE_TMPDIR set as /usr/portage/tmp?

Indeed. I have a "build partition" that I use for both,
package downloading and building in /usr/portage/tmp.

The rfkill make suite looks for a version number and in case
the work directory is a Git repo it tries to query the
version number there. Then, it finds the Git repo in
/usr/portage and fails. Not very friendly!

> I suggest moving PORTAGE_TMPDIR to someplace like /var/tmp or /tmp or
> someplace else.  It isn't really ideal to have volatile information in
> /usr anyway (this is the part where everybody chimes in and points out
> that /usr/portage is in the wrong place to begin with).

I'll see how I solve it. I do not have time to make a
decision this evening.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Wlan disappeared after suspend

2016-09-13 Thread Bertram Scharpf
On Tuesday, 13. Sep 2016, 08:08:39 -0400, Michael Orlitzky wrote:
> On 09/13/2016 04:23 AM, Bertram Scharpf wrote:
> > 
> > after suspend, my wlan is dead and it cannot be restarted
> > 
> > What do I have to try?
> 
> I had this same problem with the ath5k driver (still do, I bet)
> on my Thinkpad x61s. What happens if you run "sudo rfkill list"
> after you resume from suspend? Does it show that the wireless is
> "hard blocked"?

Doesn't seem to.

  # rfkill list# before suspend
  0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
  # rfkill list# after resume
  0: phy0: Wireless LAN
      Soft blocked: no
  Hard blocked: no

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Emerge interferes with Git (Was: Wlan disappeared after suspend)

2016-09-13 Thread Bertram Scharpf
On Tuesday, 13. Sep 2016, 08:08:39 -0400, Michael Orlitzky wrote:
> On 09/13/2016 04:23 AM, Bertram Scharpf wrote:
> > after suspend, my wlan is dead and it cannot be restarted
> 
> I had this same problem with the ath5k driver (still do, I bet)
> on my Thinkpad x61s. What happens if you run "sudo rfkill list"
> after you resume from suspend? Does it show that the wireless is
> "hard blocked"?

First of all:

The rfkill install interferes with Git!

Error log:


>>> Compiling source in 
>>> /usr/portage/tmp/portage/net-wireless/rfkill-0.5/work/rfkill-0.5 ...
make -j2 V=1 
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
error-implicit-function-declaration -c -o rfkill.o rfkill.c
./version.sh version.c
 * ACCESS DENIED:  open_wr:  /usr/portage/.git/index.lock
rfkill.c: In function ‘get_name’:
rfkill.c:83:2: warning: ignoring return value of ‘read’, declared with 
attribute warn_unused_result [-Wunused-result]
  read(fd, name, sizeof(name) - 1);
  ^
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
error-implicit-function-declaration -c -o version.o version.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed rfkill.o version.o  -o rfkill
>>> Source compiled.
 * --- ACCESS VIOLATION SUMMARY 
---
 * LOG FILE: "/var/log/sandbox/sandbox-10986.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/portage/.git/index.lock
A: /usr/portage/.git/index.lock
R: /usr/portage/.git/index.lock
C: git update-index --refresh --unmerged 
 * 


>>> Failed to emerge net-wireless/rfkill-0.5, Log file:

>>>  '/usr/portage/tmp/portage/net-wireless/rfkill-0.5/temp/build.log'

I helped myself by renaming the .git directory, but that's
only a workaround.

How can I fix this? Should I report this?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Wlan disappeared after suspend

2016-09-13 Thread Bertram Scharpf
Hi,

after suspend, my wlan is dead and it cannot be restarted. I
searched Google for the problem and I found a solution that
might work, I thought. But it doesn't.

I added a line to /etc/pm/config.d/gentoo:

SUSPEND_MODULES="r8188eu"

Then, I recompiled the kernel to load r8188eu as a module.

It didn't help.

After the suspend, when I say lsmod, the module is still
there. Maybe this is the source of the problem.

What do I have to try?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Re: [SOLVED] LC_ALL etc. not set when sshing into TMux

2016-08-12 Thread Bertram Scharpf
On Thursday, 30. Jun 2016, 21:11:14 +0200, Bertram Scharpf wrote:
> [...] TMux [...], when I want
> to ssh into it I get the following message:
> 
>   $ ssh -t gentoohost tmux attach
>   tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968
>   Connection to gentoohost.mydomain.local closed.
> 
> To find out what locale is set I wrote this little C
> program:
> 
>   int main(int argc, char **argv, char **env)
>   {
>   char **e;
>   for (e = env; *e != 0; e++)
>   printf( "%s\n", *e);
>   return 0;
>   }
> 
> Then, after compiling,
> 
>   $ ssh -t gentoohost ./showenv | grep '^LC\|^LANG'
> 
> this yields the empty result indeed. Therefore I guess
> TMux's behaviour is correct and the mistake is done by some
> ssh or login or whatsoever.
> 
> The top (grandparent) sshd process has LC_ALL and LANG set
> with utf8, but the childs and grandchilds environments are
> empty.

I got hit by this yet another time when I tried to find out
why TMux's "mode-keys" option doesn't get set to "vi". This
depends on the EDITOR environment variable that is left
empty as well.

The solution is to set the environment variables by
"pam_env" which is called in "/etc/pam.d/sshd".

 /etc/pam.d/included_by_ssh-
session requiredpam_env.so


Append the following lines to the pam_env configuration:

 /etc/security/pam_env.conf 
PAGER   DEFAULT=less
EDITOR  DEFAULT=vim
LANG        DEFAULT=de_DE.UTF-8
LC_COLLATE  DEFAULT=C


Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Keyboard is dead after emerge-update

2016-08-03 Thread Bertram Scharpf
On Monday, 21. Mar 2016, 12:52:47 +0100, Bertram Scharpf wrote:
> since an emerge-update-world on my notebook the keyboard
> does no longer respond in X. This is extremely annoying
> because when I have xdm in rc-update, X is started right at
> boot. I have no chance to get back to the console using
> Ctrl-Alt-F1, and the device in unusable.
> 
> Yet, this is only a problem of the boot process. At home,
> when I ssh into the system, I can do an
> 
>   # /etc/init.d/xdm restart
> 
> and from that point on the keyboard works. It is even
> possible to disable xdm in rc-update and start it after the
> boot process has completed.

In the meantime I found another solution.

/etc/init.d/xdm did not actually start Xdm, but Kdm. In Kdm
I could switch to the console by clicking a menu item with
the mouse.

Yet, I found the most satisfying solution when I ran into an
emerge-dependency-resolution hell with KDE. I completely
deinstalled KDE, and since I use SLiM I had not one crash
any more.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] LC_COLLATE overridden by LC_ALL?

2016-07-27 Thread Bertram Scharpf
On Wednesday, 27. Jul 2016, 21:40:56 +0200, Matthias Schwarzott wrote:
> Am 27.07.2016 um 17:33 schrieb Bertram Scharpf:
> > 
> >   user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)'
> >   LANG=de_DE.utf8
> >   LC_ALL=de_DE.utf8
> >   LC_COLLATE=C
> 
> > Why doesn't ls obey LC_COLLATE=C and how can I fix this?
> > 
> 
> Look at the description of LC_ALL:
> 
>   LC_ALLIf set to a non-empty string value, override the values of
> all the other internationalization variables.
> 
> [...]
> 
> In scripts I normally use LC_ALL=C sort.

Ouch! How could I be wrong about this simple thing for so
many years? I'm baffled.

Thank you.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] LC_COLLATE overridden by LC_ALL?

2016-07-27 Thread Bertram Scharpf
On Wednesday, 27. Jul 2016, 17:40:29 +0200, Joerg Schilling wrote:
> Bertram Scharpf <li...@bertram-scharpf.de> wrote:
> 
> > Why doesn't ls obey LC_COLLATE=C and how can I fix this?
> 
> try to export it.

Did you really mean this?

  user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)'
  LANG=de_DE.utf8
  LC_ALL=de_DE.utf8
  LC_COLLATE=C
  user@host ~/showsort % export LC_COLLATE=C
  user@host ~/showsort % ls -A | cat
  a
  .a
  A
  .A
  z
  .z
  Z
  .Z
  user@host ~/showsort % 

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] LC_COLLATE overridden by LC_ALL?

2016-07-27 Thread Bertram Scharpf
Hi,

  bsch@host ~ % mkdir showsort
  user@host ~ % cd showsort 
  user@host ~/showsort % touch .A .Z .a .z A Z a z
  user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)'
  LANG=de_DE.utf8
  LC_ALL=de_DE.utf8
  LC_COLLATE=C
  user@host ~/showsort % ls -A | cat
  a
  .a
  A
  .A
  z
  .z
  Z
  .Z
  user@host ~/showsort % export LC_ALL=
  user@host ~/showsort % ls -A | cat   
  .A
  .Z
  .a
  .z
  A
  Z
  a
  z
  user@host ~/showsort % 

Why doesn't ls obey LC_COLLATE=C and how can I fix this?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Holy Quran in all languages Available

2016-07-27 Thread Bertram Scharpf
> X-Mailer: Microsoft Office Outlook 12.0

An almost perfect spam criterion on lists. I made my filter
detect it and, so far, Mutt warn me by showing a red index
line.

Thank you.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Libreoffice

2016-07-02 Thread Bertram Scharpf
On Saturday, 02. Jul 2016, 08:19:12 +, Franz Fellner wrote:
> On Sat, 02 Jul 2016 09:51:17 +0200, Roger Cahn <roger.c...@free.fr> wrote:
> > 
> > I have in make.conf   LINGUAS="fr fr_FR"   L1ON="fr"
> 
> It's "L ten N" Instead of "L one o N" (Zero instead of upper letter o).

localization   (Br. localisation)
 \/
10 letters


Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] LC_ALL etc. not set when sshing into TMux

2016-06-30 Thread Bertram Scharpf
Hi,

after upgrading to an admittedly masked TMux 2.2, when I want
to ssh into it I get the following message:

  $ ssh -t gentoohost tmux attach
  tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968
  Connection to gentoohost.mydomain.local closed.

To find out what locale is set I wrote this little C
program:

  int main(int argc, char **argv, char **env)
  {
  char **e;
  for (e = env; *e != 0; e++)
  printf( "%s\n", *e);
  return 0;
  }

Then, after compiling,

  $ ssh -t chris ./showenv | grep '^LC\|^LANG'

this yields the empty result indeed. Therefore I guess
TMux's behaviour is correct and the mistake is done by some
ssh or login or whatsoever.

The top (grandparent) sshd process has LC_ALL and LANG set
with utf8, but the childs and grandchilds environments are
empty.

Probably I could get rid of the error message by SSH's
SendEnv feature, but this would be just a workaround.

What is your suggestion to solve this?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] OT: The Quagmire (was: Me, and how to troll LIKE A BOSS.)

2016-06-27 Thread Bertram Scharpf
Hi,

this is off-topic and it is not meant as a contribution to
an escalation.

On Saturday, 25. Jun 2016, 10:31:22 -0400, Alan Grimes wrote:
> Hello, Let me introduce myself again.
> 
> I'm 38.
> 
> I have no job,
> 
> I have not had a job in 4 years.
> 
> I can't get a job because I have not had job in 4 years.
> 
> Literally, nobody will hire me.
> 
> My computer is six years old. All I want it to do is just keep working
> the way it did last week.
> 
> My health has been declining because I can't afford to take care of myself.
> 
> I have no social life either.
> 
> I would like to do more with my computer but it is a constant battle of
> treading water.

This is no fun. I can tell you. And it is not neccessarily
your own fault. Although Alans posts give rise to the
suspicion that it is, it also may be the other way round.

Once when you're stuck to it, you can be as smart as you
want, you have harldy any chance to escape it or at least to
stop it progressing. The only good thing is that you're so
busy with yourself that you have no time to notice how deep
you're into it already. Believe me, it's anything but fair.
And it's not possible to explain it to anybody who hasn't
experienced it himself.

It's wrong to judge if you haven't experienced it. You won't
judge if you have experienced it. I beware of criticising
Alan and I know why I do so and why I will do so for the
rest of my life. It's not a beam that is in Alan's eye.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] OT. What software can do for you (was: Keyboard is dead after emerge-update)

2016-03-21 Thread Bertram Scharpf
On Monday, 21. Mar 2016, 10:52:26 -0400, Alan Grimes wrote:
> Anyone who boots directly to X'doze without first going through a safe
> console login is a raging mad lunatic who needs his head examined. This
> is linux we are talking about. It's crap. It always has been crap, and
> it always will be crap. Never ever ever trust it.

Yes, I am a lunatic and I am proud of it. It is a matter of
quality of life whether I have compulsively to keep control
over things or whether they run by itself. If not open
source meets this requirement, who else could do it? Not
just pretending it?

It is a main aspect of software development that code is
written once and runs many times. Therefore it is worth to
spend more effort in writing software than on running it.
Further, it is the other way round. If we expect ourselves
to write just crap, this will have an influence on what we
produce. And what people think about open source.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Keyboard is dead after emerge-update

2016-03-21 Thread Bertram Scharpf
On Monday, 21. Mar 2016, 10:17:22 -0300, Francisco Ares wrote:
> 2016-03-21 9:59 GMT-03:00 Bertram Scharpf <li...@bertram-scharpf.de>:
> > > On Mon, Mar 21, 2016, 07:53 Bertram Scharpf <li...@bertram-scharpf.de> 
> > > wrote:
> > > > since an emerge-update-world on my notebook the keyboard
> > > > does no longer respond in X. [...]
> >
> For my experience, if the X server was rebuilt (either a new version, or a
> simple rebuild because of many possible triggers, including USE flags
> change, for example), then you need to rebuild all X drivers as well.
> 
> [...]
> 
> Hope this helps.

Yes, that helped. Thank you!

Nevertheless, what a weird behaviour.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Keyboard is dead after emerge-update

2016-03-21 Thread Bertram Scharpf
On Monday, 21. Mar 2016, 12:37:07 +, Ian Bloss wrote:
> Did you update your kernel in the process as well?
> 
> On Mon, Mar 21, 2016, 07:53 Bertram Scharpf <li...@bertram-scharpf.de> wrote:
> > since an emerge-update-world on my notebook the keyboard
> > does no longer respond in X. [...]

No. The emerge-update did not install new kernel sources and
therefore I found no need to reconfigure or to compile the
old ones.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Keyboard is dead after emerge-update

2016-03-21 Thread Bertram Scharpf
Hi,

since an emerge-update-world on my notebook the keyboard
does no longer respond in X. This is extremely annoying
because when I have xdm in rc-update, X is started right at
boot. I have no chance to get back to the console using
Ctrl-Alt-F1, and the device in unusable.

Yet, this is only a problem of the boot process. At home,
when I ssh into the system, I can do an

  # /etc/init.d/xdm restart

and from that point on the keyboard works. It is even
possible to disable xdm in rc-update and start it after the
boot process has completed. I solved the problem temporarily
this way, but the problem probably is a bug and should be
reported.

So I have a closer look. When I diff "Xorg.0.log" and
"Xorg.0.log.old" (after removing the time stamps) I find one
line that doesn't appear in the log of the working X.

  (EE) kbd: Keyboard0: failed to set us as foreground pgrp (Inappropriate ioctl 
for device)

What does this mean? I estimate that "us" is the personal
pronoun and not a keyboard layout, and that the server tries
to do some chgrp on some /dev/*. I have no clue what to try
next.

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] ssh: VisualHostKey is shows up twice

2015-12-29 Thread Bertram Scharpf
Hi,

when I ssh into Gentoo Linux from a FreeBSD host, the random
art of the host keys fingerprint shows up twice, once before
I enter the password and once after that. Here's a shortened
typescript.

  user@freebsdhost ~ % ssh gentoohost^M
  Host key fingerprint is 80:4d:29:6f:35:22:ca:77:c7:81:56:a6:98:f3:b1:c9^M
  +--[ECDSA  256]---+^M
  |  .+o|^M
  |o*=o+|^M
  | . .===+ o   |^M
  |  o .++=o|^M
  |   . oE.S|^M
  | |^M
  | |^M
  | |^M
  | |^M
  +-+^M
  ^M^M
  user@gentoohost's password: ^M
  Host key fingerprint is 80:4d:29:6f:35:22:ca:77:c7:81:56:a6:98:f3:b1:c9
  +--[ECDSA  256]---+
  |  .+o|
  |o*=o+|
  | . .===+ o   |
  |  o .++=o|
  |   . oE.S|
  | |
  | |
  | |
  | |
  +-+
  ^M
  user@gentoohost ~ % ^M

Notice that the second time there miss the carriage returns
what makes the output look really messy, and the picture
can't be recognised.

What is going on here?

Versions:

  user@freebsdhost ~ % ssh -V ; ssh -o VisualHostKey=no gentoohost ssh -V
  OpenSSH_6.6.1p1, OpenSSL 1.0.1q-freebsd 3 Dec 2015
  OpenSSH_7.1p1-hpn14v9, OpenSSL 1.0.2e 3 Dec 2015

Thanks in advance,
Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Heads up for those who use grub2

2015-12-19 Thread Bertram Scharpf
Hi,

On Saturday, 19. Dec 2015, 17:57:33 +, Mick wrote:
> 
> http://hmarco.org/bugs/CVE-2015-8370-Grub2-authentication-bypass.html

Decrementing an unsigned int without checking it for zero is
a real boner. Where things like that happen, you will find
more flaws.

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Cups 1.3.7 retards

2008-06-01 Thread Bertram Scharpf
Hi,

Am Donnerstag, 29. Mai 2008, 16:03:44 +0200 schrieb Bertram Scharpf:
 since an upgrade to CUPS 1.3.7, on a large amount of
 print jobs, the printer pauses after every three pages.
 
 I detected that the backend for each job gets started
 every 5 seconds: [...]

Seems to be a kind of a bug. The CUPS people asked me to send a feature
request.

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Cups 1.3.7 retards

2008-05-29 Thread Bertram Scharpf
Hi,


since an upgrade to CUPS 1.3.7, on a large amount of
print jobs, the printer pauses after every three pages.

I detected that the backend for each job gets started
every 5 seconds:

  # grep Started /var/log/cups/error_log
  I [27/May/2008:18:25:10 +0200] [Job 51243] Started backend ...
  I [27/May/2008:18:25:15 +0200] [Job 51244] Started backend ...
  I [27/May/2008:18:25:20 +0200] [Job 51245] Started backend ...
  I [27/May/2008:18:25:25 +0200] [Job 51246] Started backend ...
  ...

I am sure the job does not take the full 5 seconds to be sent.

I cannot find the configuration parameter where this interval
could be shortened. Could anyone give me a hint?

Thanks in advance,

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Finding local IPs

2007-10-25 Thread Bertram Scharpf

Hi,


in some script I need all the local IP addresses of a host,
as there are 127.0.01, 192.168.8.1, ...

I can do this using the command suite

  LANG= /sbin/ifconfig | awk '/\inet\/{split($2,a,:);print a[2]}'

As this is quite long I would like to ask whether there is
some smarter way to do it.

Thanks in advance,

Bertram Scharpf


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LDAP: Slapd fails asking itself while startup [solved]

2007-10-22 Thread Bertram Scharpf
Am Montag, 22. Okt 2007, 06:20:56 +0200 schrieb Bertram Scharpf:
 Hi,
 
 Am Freitag, 19. Okt 2007, 21:09:59 +0200 schrieb Bertram Scharpf:
@(#) $OpenLDAP: slapd 2.3.38 (Oct 18 2007 22:12:26) $ [EMAIL 
  PROTECTED]:/var/tmp/portage/net-nds/openldap-2.3.38/work/openldap-2.3.38/servers/slapd
nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact 
  LDAP server
nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact 
  LDAP server
nss_ldap: failed to bind to LDAP server 
  ldapi://%2fvar%2frun%2fldapi_sock/: Can't contact LDAP server
...
nss_ldap: could not search LDAP server - Server is unavailable
  
  I found out that the Gentoo init script activates the
  options -u ldap -g ldap.
 
 I detected I have a machine where this didn't happen. Then I
 upgraded from glibc-2.5-r4 to glibc-2.6.1 ...
 
 Could this be a real bug in glibc? Does anybody experience
 the same behaviour?

The developer list gave me the answer. Glibc checks for
group memberships of user ldap. A possible (temporary)
solution is to say in /etc/ldap.conf:

  nss_initgroups_ignoreusers root,ldap

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LDAP: Slapd fails asking itself while startup

2007-10-21 Thread Bertram Scharpf
Hi,

Am Freitag, 19. Okt 2007, 21:09:59 +0200 schrieb Bertram Scharpf:
 I just set up LDAP authentication and it works fine.
 However, when running the init script there comes up an
 error that clutters up my syslog with a lot of useless error
 messages.
 
   @(#) $OpenLDAP: slapd 2.3.38 (Oct 18 2007 22:12:26) $   [EMAIL 
 PROTECTED]:/var/tmp/portage/net-nds/openldap-2.3.38/work/openldap-2.3.38/servers/slapd
   nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact 
 LDAP server
   nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact 
 LDAP server
   nss_ldap: failed to bind to LDAP server ldapi://%2fvar%2frun%2fldapi_sock/: 
 Can't contact LDAP server
   ...
   nss_ldap: could not search LDAP server - Server is unavailable
   WARNING: No dynamic config support for database ldbm.
   slapd starting
 
 I found out that the Gentoo init script activates the
 options -u ldap -g ldap. Without them, the error messages
 do not appear. Therefore I suppose the slapd daemon tries to
 obtain passwd/shadow information for ldap via nss_ldap. At
 least when I say compat in nsswitch.conf, the error
 message doesn't appear as well.
 
 The thing I really wonder about is that the lines in
 nsswitch.conf say
 
   passwd:files ldap
   shadow:files ldap
   group: files ldap
 
 The files should be searched first. The ldap information
 is present in all three of them. I even tried to chown the
 shadow file to ldap but this didn't save me from
 encountering the weird messages either.

I detected I have a machine where this didn't happen. Then I
upgraded from glibc-2.5-r4 to glibc-2.6.1 ...

Could this be a real bug in glibc? Does anybody experience
the same behaviour?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] LDAP: Slapd fails asking itself while startup

2007-10-19 Thread Bertram Scharpf

Hi,

I just set up LDAP authentication and it works fine.
However, when running the init script there comes up an
error that clutters up my syslog with a lot of useless error
messages.

  @(#) $OpenLDAP: slapd 2.3.38 (Oct 18 2007 22:12:26) $ [EMAIL 
PROTECTED]:/var/tmp/portage/net-nds/openldap-2.3.38/work/openldap-2.3.38/servers/slapd
  nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP 
server
  nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP 
server
  nss_ldap: failed to bind to LDAP server ldapi://%2fvar%2frun%2fldapi_sock/: 
Can't contact LDAP server
  ...
  nss_ldap: could not search LDAP server - Server is unavailable
  WARNING: No dynamic config support for database ldbm.
  slapd starting

I found out that the Gentoo init script activates the
options -u ldap -g ldap. Without them, the error messages
do not appear. Therefore I suppose the slapd daemon tries to
obtain passwd/shadow information for ldap via nss_ldap. At
least when I say compat in nsswitch.conf, the error
message doesn't appear as well.

The thing I really wonder about is that the lines in
nsswitch.conf say

  passwd:files ldap
  shadow:files ldap
  group: files ldap

The files should be searched first. The ldap information
is present in all three of them. I even tried to chown the
shadow file to ldap but this didn't save me from
encountering the weird messages either.

Could someone enlighten me what is going on here, please?

Thanks in advance,

Bertram Scharpf


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Break In attempts

2007-10-07 Thread Bertram Scharpf
Hi,

Am Sonntag, 07. Okt 2007, 10:40:10 +0100 schrieb Mick:
 Can you please advise what I could do to block IP addresses that have 
 repeatedly failed to log in?  I am looking here at a server which over the 
 last week is being attacked daily with random usernames.  So the only 
 constant in these repeated attempts is not the username, but the IP address.  
 Occasionally, the odd service name (e.g. rpc, mysql, postgres, etc.) repeats 
 itself, otherwise they seem to be randomly selected from a dictionary.

This is a _real_ nuisance. Besides that I doubt there is any
meaningful harvest.

 I have already disabled PAM authentication on sshd so that only users with a 
 public key in their ~/.ssh can login.

Host-based authentication is one possible solution. Fail2ban
was already mentioned, too.

A bit more difficult is the ban by iptables. This one is
working here successfully for quite some time:

  SSH_WHITELIST=192.168.0.0/16 11.22.33.44

  IPT='/sbin/iptables -v'

  iptsshdefence()
  {
  $IPT -N sshwhite
  for t in $SSH_WHITELIST
  do
  $IPT -A sshwhite -s $t -m recent --remove --name SSH -j ACCEPT
  done

  # $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -j LOG 
--log-prefix 'SSH request '
  $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set 
--name SSH
  $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -j sshwhite
  # $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update 
--seconds 60 --hitcount 4 --rttl --name SSH -j LOG --log-prefix 'SSH 
brute_force '
  $IPT -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update 
--seconds 60 --hitcount 4 --rttl --name SSH -j REJECT
  }

Of course you need a kernel with recent module and reject
target support compiled in.

Thanks a lot again to this list!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Users in passwd/shadow

2007-10-01 Thread Bertram Scharpf
Hi,

Am Sonntag, 30. Sep 2007, 20:15:06 -0500 schrieb Dan Farrell:
 On Sun, 30 Sep 2007 04:30:11 +0200
 Bertram Scharpf [EMAIL PROTECTED] wrote:
  Now I detect there are users in passwd that don't have a
  shadow entry...
 that makes sense, because some users aren't allowed to log in.  For
 example: 
 |  man:x:13:15:man:/usr/share/man:/bin/false
 the man user can't log in.  the shell is /bin/false.  

I detected it because there is a warning message in case
there is _no_ shadow entry. Instantiating an _empty_ shadow
entry makes it disappear:

  myhost ~ # su - man
  su: Authentication service cannot retrieve authentication
  info.
  (Ignored)
  myhost ~ # su - portage
  su: Authentication service cannot retrieve authentication
  info.
  (Ignored)
  myhost ~ # vi /etc/shadow
  myhost ~ # grep portage /etc/shadow
  portage:!:13784:0:9:7:::
  myhost ~ # su - portage
  myhost ~ # echo $?
  1
  myhost ~ #


Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] diskless booting [solved, I hope]

2007-10-01 Thread Bertram Scharpf
Hi,

Am Montag, 01. Okt 2007, 07:51:36 -0500 schrieb Dan Farrell:
 On Mon, 1 Oct 2007 09:41:43 +0100
 Neil Bothwick [EMAIL PROTECTED] wrote:
   I was going to suggest you avoid pxegrub, but I guess you figured
   that out for yourself.  
  
  What's wrong with pxe grub. I use it and it works, so I haven't tried
  pxelinux. Is there a good reason to change if it works?
  
 I never got it to work last January when I set up my first diskless
 host.  I got similar strange errors; it just didn't seem to want to do
 anything, although it appeared to be properly configured.
 
 PXElinux was a breeze by comparison, I thought, even though the
 configuration files are icky.  But most importantly, it worked, so I
 stuck with it under the same principle.  

I set up a CD-less client just for installation last week
and I did not succeed with PXElinux; then I used Pxegrub and
everything was fine. I admit I have not clue how to manage
an initramfs; with Pxegrub you need RootNFS which I finally
installed correctly after bothering this list with some
stupid posts ...

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Users in passwd/shadow

2007-09-29 Thread Bertram Scharpf
Hi,


I'm fetching the users from the files '/etc/passwd' and
'/etc/shadow'. (I use a simple Ruby script.)

  def users fn ; File.open fn do |f| f.map { |l| l[ /^[^:]*/] } end ; end

  pw = users /etc/passwd
  sh = users /etc/shadow

Now I detect there are users in passwd that don't have a
shadow entry and even shadowed users that don't appear in
passwd:

   pw - sh
  = [man, smmsp, portage, cvs]
   sh - pw
  = [games, guest, cvsd]

Does this have any meaning or is it a bug?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Root NFS Kernel option

2007-09-23 Thread Bertram Scharpf
Hi,

Am Samstag, 22. Sep 2007, 22:45:48 -0500 schrieb Tim:
 Bertram Scharpf wrote:
  Hi,
  
  
  there's just another kernel option I want to activate but
  cannot find it:
  
Symbol: ROOT_NFS [=n]
Prompt: Root file system on NFS
  Depends on: NET  NFS_FS=y  IP_PNP
  
  So all prerequisites seem to meet. What is still missing?
  Arrgh!
  
 You must also have IP: Kernel Level Autoconfiguration set:
 
 Symbol: IP_PNP [=y]
 Prompt: IP: kernel level autoconfiguration
 Defined at net/ipv4/Kconfig:172
 Depends on: NET  INET

I wrote:
  So all prerequisites seem to meet. What is still missing?

Yes, I have a kernel with TCP/IP activated.
NET  NFS_FS=y  IP_PNP all meet.

ROOT_NFS still doesn't show up. What else could miss?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Root NFS Kernel option

2007-09-23 Thread Bertram Scharpf
Hi,

Am Sonntag, 23. Sep 2007, 11:32:33 +0200 schrieb Dirk Heinrichs:
 Am Sonntag, 23. September 2007 schrieb Bertram Scharpf:
 
  I wrote:
So all prerequisites seem to meet. What is still missing?
 
  Yes, I have a kernel with TCP/IP activated.
  NET  NFS_FS=y  IP_PNP all meet.
 
  ROOT_NFS still doesn't show up. What else could miss?
 
 Can you post your .config, please?

http://www.bertram-scharpf.de/tmp/.config

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Root NFS Kernel option

2007-09-23 Thread Bertram Scharpf
Hi,

Am Sonntag, 23. Sep 2007, 13:19:17 +0200 schrieb Dirk Heinrichs:
 Am Sonntag, 23. September 2007 schrieb Bertram Scharpf:
  Am Sonntag, 23. Sep 2007, 11:32:33 +0200 schrieb Dirk Heinrichs:
   Am Sonntag, 23. September 2007 schrieb Bertram Scharpf:
I wrote:
  So all prerequisites seem to meet. What is still missing?
   
Yes, I have a kernel with TCP/IP activated.
NET  NFS_FS=y  IP_PNP all meet.
   
ROOT_NFS still doesn't show up. What else could miss?
  
   Can you post your .config, please?
 
  http://www.bertram-scharpf.de/tmp/.config
 
 As opposed to what you wrote above:
 
 # CONFIG_IP_PNP is not set

I just found it. Seems it was late last night. Thanks
anyway, sorry for the noise.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Root NFS Kernel option

2007-09-22 Thread Bertram Scharpf
Hi,


there's just another kernel option I want to activate but
cannot find it:

  Symbol: ROOT_NFS [=n]
  Prompt: Root file system on NFS
Defined at fs/Kconfig:1758
Depends on: NET  NFS_FS=y  IP_PNP
Location:
  - File systems
- Network File Systems

How can I make the menu to show this up? The current configuration is:


  * NFS server support
  [*]   Provide NFSv3 server support
  [ ] Provide server support for the NFSv3 ACL protocol extensi
  [ ] Provide NFSv4 server support (EXPERIMENTAL)
  [*]   Provide NFS server over TCP support
  {{{ here it should appear I suppose }}}
  [ ] Support for rpcbind versions 3  4 (EXPERIMENTAL)


So all prerequisites seem to meet. What is still missing?
Arrgh!

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT-hacking vim syntax highlighting

2007-08-11 Thread Bertram Scharpf
Hi,

Am Samstag, 11. Aug 2007, 18:35:09 -0700 schrieb maxim wexler:
 I'm not happy with the highlighting scheme for
 assembler files in vim(non X). I've tried all the
 *asm.vim files in the syntax dir but they all suck.
 
 Supposedly, the *.vim files can be edited. But how?
 Anybody got a link to a faq? The aggravating part is
 that the color associations in the highlight files are
 all called HiLink something something.

I do such things quite often. It's not so difficult.

You will find the :HiLink command is a redefinition of
:highlight if you have a closer look at the *.vim files.
As a biginner you don't need to define your own highlight
groups; just use the predefined ones.

Start defining some rules using the :syntax match and
region commands, for example:

  :set ft=
  :syntax match Comment +^#.*+
  :syntax region String start=+^if+ end=+^endif+ contains=Comment

Soon you will need the :highlight command to give your
Comment match another name.

Ask :help syntax when going further.

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list




Re: [gentoo-user] Asterisk, ISDN, beginners question [solved]

2007-07-29 Thread Bertram Scharpf
Am Freitag, 27. Jul 2007, 10:36:41 +0200 schrieb Bertram Scharpf:
 I configured Asterisk for Capi/ISDN as described in the
 common tutorials. In `extensions.conf' I added the lines
 
   [capi-in]
   exten = 9876543,1,Goto(demo,1000,1)
 
 where 9876543 is my MSN without the area prefix. This
 context won't even be found because when I rename it the
 debug output doesn't change at all.

Set immediate=yes in `capi.conf'.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Asterisk, ISDN, beginners question

2007-07-27 Thread Bertram Scharpf
Hi,

as there seem to be technical problems at the Asterisk list
server I may ask here.

I successfully listen to `demo-congrats' with Xlite. Now I
want to hear it by calling the ISDN card.

I configured Asterisk for Capi/ISDN as described in the
common tutorials. In `extensions.conf' I added the lines

  [capi-in]
  exten = 9876543,1,Goto(demo,1000,1)

where 9876543 is my MSN without the area prefix. This
context won't even be found because when I rename it the
debug output doesn't change at all. The log says:

  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 4

How can I find out to which context Asterisk tries to relay
to respectively why the context I specify is completely
ignored?

Thanks in advance,

Bertram



-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-ruby/rake-0.7.3 seems to hang?

2007-06-28 Thread Bertram Scharpf
Hi Daevid,

Am Donnerstag, 21. Jun 2007, 14:56:04 -0700 schrieb Daevid Vincent:
 I added a bug report:
 http://bugs.gentoo.org/show_bug.cgi?id=182826 
 
  -Original Message-
  From: Bertram Scharpf [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, June 21, 2007 3:56 AM
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] dev-ruby/rake-0.7.3 seems to hang?
  
Emerging (16 of 29) dev-ruby/rake-0.7.3 to /
   
   [...]
   
Install rake-0.7.3 into 
  /var/tmp/portage/dev-ruby/rake-0.7.3/image/
category dev-ruby
   
   
   Exiting on signal 2
   sandbox:  Signal already caught and busy still cleaning up!
   ERROR:  Interrupted
   
   /usr/portage/dev-ruby/rake/rake-0.7.3.ebuild: src_install aborted;
   exiting. 

Even worse! I detected that it's `rubygems-0.8.11-r6' that
hangs when it reads the gem tarfile.

So I decided to install version 0.9.4 of that. Now the
installation of rubygems itself hangs.

First, I thought this was caused by the old rubygems. So I
deinstalled that. Now I have neither!

Bertram



-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ScrollLock and KDE Konsole

2007-06-25 Thread Bertram Scharpf
Hi Clara,

Am Montag, 25. Jun 2007, 11:28:45 +0200 schrieb Clara García:
 2007/6/25, Bertram Scharpf [EMAIL PROTECTED]:
 I have a Speedlink Illuminated Keyboard that shines blue
 when the ScrollLock key is on. This seems to be kind of
 hardcoded.
 
 Unfortunately the KDE Konsole uses the ScrollLock function,
 too. Here, it activates/deactivates controll flow similar to
 Ctrl-S/-Q in Xterm. So the wunderful blue light will be
 switched off every time I open a command line in KDE.
 
 Does anyone know a way to turn this ScrollLock behaviour
 off?

 Well I know that is not a solution to the Konsole problem but maybe you are
 interested on try new terms lighter than Konsole, I used Konsole in past and
 it consumes about 15+ of RAM doing nothing. You can try mrxvt if you like
 tabs

To be honest, it's not my computer. I try to convince other
persons to use Linux. For this purpose, Konsole is a rather
good solution I think and that's the reason I installed KDE
at all.

Thanks anyway,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ScrollLock and KDE Konsole

2007-06-25 Thread Bertram Scharpf
Hi,

Am Montag, 25. Jun 2007, 19:11:08 +0100 schrieb David W Noon:
 On Monday 25 Jun 2007 01:30 in article [EMAIL PROTECTED]
 of linux.gentoo.user, Bertram Scharpf([EMAIL PROTECTED]) wrote:
 
  Unfortunately the KDE Konsole uses the ScrollLock function,
  too. Here, it activates/deactivates controll flow similar to
  Ctrl-S/-Q in Xterm. So the wunderful blue light will be
  switched off every time I open a command line in KDE.
  
  Does anyone know a way to turn this ScrollLock behaviour
  off?
 
 Try the following:
 
 Open up a Konsole session;
 Click on Settings;
 On the first page of the settings notebook click Use Ctrl+S/Ctrl+Q flow
 control.

That will _enable_ Ctrl-S/-Q but it will not _disable_
ScrollLock. I already tried that.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ScrollLock and KDE Konsole

2007-06-25 Thread Bertram Scharpf
Hi,

Am Dienstag, 26. Jun 2007, 04:20:51 +0800 schrieb Crayon Shin Chan:
 On Tuesday 26 June 2007 03:31, Bertram Scharpf wrote:
  That will _enable_ Ctrl-S/-Q but it will not _disable_
  ScrollLock. I already tried that.
 
 You could use Control Centre  Regional and Accessibility  Input 
 Actions to map the ScrollLock key to some program which does nothing. 
 That'll stop konsole from grabbing it.

Ah, that helps. Now I can at least switch the light on.
Thank you!

Still, Konsole switches ScrollLock off when I shift to
another subwindow. I tried to play around with xmodmap but I
don't manage to switch on ScrollLock state by hand.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] ScrollLock and KDE Konsole

2007-06-24 Thread Bertram Scharpf
Hi,


I have a Speedlink Illuminated Keyboard that shines blue
when the ScrollLock key is on. This seems to be kind of
hardcoded.

Unfortunately the KDE Konsole uses the ScrollLock function,
too. Here, it activates/deactivates controll flow similar to
Ctrl-S/-Q in Xterm. So the wunderful blue light will be
switched off every time I open a command line in KDE.

Does anyone know a way to turn this ScrollLock behaviour
off?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-ruby/rake-0.7.3 seems to hang?

2007-06-21 Thread Bertram Scharpf
Hi Daevid,

Am Mittwoch, 20. Jun 2007, 15:11:22 -0700 schrieb Daevid Vincent:
 
  Emerging (16 of 29) dev-ruby/rake-0.7.3 to /
 
 [...]
 
  Install rake-0.7.3 into /var/tmp/portage/dev-ruby/rake-0.7.3/image/
  category dev-ruby
 
 
 Exiting on signal 2
 sandbox:  Signal already caught and busy still cleaning up!
 ERROR:  Interrupted
 
 /usr/portage/dev-ruby/rake/rake-0.7.3.ebuild: src_install aborted;
 exiting. 

Same here, but not on all machines. As far as I see, only
server installations are affected, not desktop
installations.

I tried to trace where the infinite loop happens but did not
succeed so far. Probably a job for a Rake expert.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Bertram Scharpf
Hi,

Am Mittwoch, 13. Jun 2007, 13:26:03 +0300 schrieb Aleksey Kunitskiy:
 On Wednesday 13 June 2007 13:10, Peter Ruskin wrote:
  OpenOffice reads (and saves) in M$ Excel format
 As I mentioned above - OO is very big tool for my needs

There's a Ruby package `parseexcel' which seems to work as
far as I can test here.

  http://raa.ruby-lang.org/project/parseexcel/

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Bertram Scharpf
Hi Aleksey,

Am Mittwoch, 13. Jun 2007, 14:28:31 +0300 schrieb Aleksey Kunitskiy:
 On Wednesday 13 June 2007 14:02, Bertram Scharpf wrote:
http://raa.ruby-lang.org/project/parseexcel/
 
 I'm not a ruby programmer :(

Maybe a good opportunity to become one ...

But seriously: Excel documents can contain much more than a
plain CVS-style table, for example multiple sheets. I would
not know how to design a simple command line tool to export
nearly the half of the features MS-Office professionals
occur to detect.

Sorry.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Bertram Scharpf
Hi Stephen,

Am Mittwoch, 13. Jun 2007, 07:04:25 -0500 schrieb Boyd Stephen Smith Jr.:
 On Wednesday 13 June 2007, Aleksey Kunitskiy [EMAIL PROTECTED] wrote 
 about 'Re: [gentoo-user] M$ Excel document converter':
  On Wednesday 13 June 2007 14:02, Bertram Scharpf wrote:
  
 http://raa.ruby-lang.org/project/parseexcel/
  I'm not a ruby programmer :(
 I am.
 
 Here's a script that will dump a worksheet as a csv. [...]

Thanks from me, too! I surely will need this at some time in
near future.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Duplicate mails? [solved]

2007-06-13 Thread Bertram Scharpf
Hi,

Am Mittwoch, 13. Jun 2007, 15:20:14 +0200 schrieb Alan McKinnon:
 On Wednesday 13 June 2007, Xavier Parizet wrote:
   Am Mittwoch 13 Juni 2007 14:21 schrieb Alan McKinnon:
Is it just me, or is the list sending out duplicate mails?
 
 The culprit is Bertram Scharpf, who started it with this reply:
 
 Bertram, why are you (or why is your mail client configured to) add 
 [EMAIL PROTECTED] to posts that ar already going to 
 [EMAIL PROTECTED]

Agh. Misconfigured Mutt. I managed to delete the other
address from every posting until I activated the
`fast_reply' switch.

Now I found the mistake and corrected it.

Sorry for any inconvenience! This is the second time my
dullness hits just the Gentoo list. I really apologize.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Bertram Scharpf
Hi,

Am Mittwoch, 13. Jun 2007, 19:00:44 +0300 schrieb Aleksey Kunitskiy:
 On Wednesday 13 June 2007 15:04, Boyd Stephen Smith Jr. wrote:
 This script doesn't work for me :(
 
 $ ./excel2cvs.rb complect.xls 0  complect.cvs 
 ./excel2cvs.rb:5: undefined local variable or method `workbook' for 
 main:Object (NameError)

Replace workbook by wb. (Not tested.)

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-06-11 Thread Bertram Scharpf
Hi,

Am Sonntag, 10. Jun 2007, 15:06:03 -0500 schrieb Karl Haines:
 Color is pretty ;) lol. It makes things interesting! I agree however
 that there might need to be some way to turn it off easily.

As far as I see, most e* tools respond on an appended |cat
or have at least a non-color option. Ok, still there are
cursor positioning sequences.

I tried to switch them off; I managed to do this only by
modifing /sbin/functions.sh. Further, when I give the
--nocolor option to an init script only the second line of
those below will lose its colour, the first one still
appears in green and blue.

 * Caching service dependencies ... * [ ok ]
 * Setting clock via the NTP client 'ntpdate' ...   * [ ok ]

Some time ago I happened to write an equery redesign in
Ruby, just for fun. It's far from perfect but it definitely
won't output any colors if you don't want them. Of course,
init scripts are more difficult to handle because they are
written in Bash. In case anyone finds the project is worth
being pursued, here's the code:

  http://www.bertram-scharpf.de/tmp/equery.rb

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need procmail recipe

2007-05-11 Thread Bertram Scharpf
Hi,
1
Am Freitag, 11. Mai 2007, 13:39:21 -0500 schrieb Michael Sullivan:
 On Thu, 2007-05-10 at 10:43 +0200, Bertram Scharpf wrote:
  Am Mittwoch, 09. Mai 2007, 15:21:52 -0500 schrieb Michael Sullivan:
   On Wed, 2007-05-09 at 20:50 +0200, Bertram Scharpf wrote:
Am Dienstag, 08. Mai 2007, 14:52:15 -0500 schrieb Michael Sullivan:
 On Tue, 2007-05-08 at 20:33 +0200, Bertram Scharpf wrote:
http://opensource.bertram-scharpf.de/sites/cropmail/
   
   OKay.  It emerged.  Now, how do I plug it into sendmail?
 
 I'm a little confused as to exactly what I insert
 into /etc/exim/exim.conf.  Any clues?

As far as I remember Exim became prominent for its excellent
logging and diagnostics output. (It's months ago for me). Do
you like to post some parts of /var/log/exim/* ?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need procmail recipe

2007-05-10 Thread Bertram Scharpf
Hi Michael,

Am Mittwoch, 09. Mai 2007, 15:21:52 -0500 schrieb Michael Sullivan:
 On Wed, 2007-05-09 at 20:50 +0200, Bertram Scharpf wrote:
  Am Dienstag, 08. Mai 2007, 14:52:15 -0500 schrieb Michael Sullivan:
   On Tue, 2007-05-08 at 20:33 +0200, Bertram Scharpf wrote:
If you don't want to write it in Procmail, maybe you like to
do some Ruby. I once composed my own mail filter. It's not
documented very well but really easy to use.

  http://opensource.bertram-scharpf.de/sites/cropmail/
   
 
 OKay.  It emerged.  Now, how do I plug it into sendmail?

I'm using Exim and I only have no other machine at home
where I could try another MTA. As I did with Exim, it should
suffice when you take the Procmail plug of Sendmail and just
s/procmail/cropmail/g it.

A successful configuration example is welcome here.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need procmail recipe

2007-05-09 Thread Bertram Scharpf
Hi,

Am Dienstag, 08. Mai 2007, 14:52:15 -0500 schrieb Michael Sullivan:
 On Tue, 2007-05-08 at 20:33 +0200, Bertram Scharpf wrote:
  Am Dienstag, 08. Mai 2007, 13:07:54 -0500 schrieb Michael Sullivan:
   I need a procmail recipe that will allow all mails marked as spam to be
   delivered to a dovecot maildir-style folder called Suspect located
   in /home/michael/.maildir/.Suspect (with new, cur, tmp as subdirs).
  
  If you don't want to write it in Procmail, maybe you like to
  do some Ruby. I once composed my own mail filter. It's not
  documented very well but really easy to use.
  
http://opensource.bertram-scharpf.de/sites/cropmail/
 
 I keep trying to emerge it, and it keeps giving me a digest error:

Arrgh! I admit I installed it once and did not advertise it
very well. Then came some corrections ... Sorry!

Please try again and please complain if it still should not
work.

Thanks for the feedback.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need procmail recipe

2007-05-08 Thread Bertram Scharpf
Hi,

Am Dienstag, 08. Mai 2007, 13:07:54 -0500 schrieb Michael Sullivan:
 I need a procmail recipe that will allow all mails marked as spam to be
 delivered to a dovecot maildir-style folder called Suspect located
 in /home/michael/.maildir/.Suspect (with new, cur, tmp as subdirs).

If you don't want to write it in Procmail, maybe you like to
do some Ruby. I once composed my own mail filter. It's not
documented very well but really easy to use.

  http://opensource.bertram-scharpf.de/sites/cropmail/

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-05 Thread Bertram Scharpf
Hi,

Am Dienstag, 03. Apr 2007, 21:17:39 -0700 schrieb [EMAIL PROTECTED]:
 Why do --nocolor and --color=n not work (sys-apps/portage-2.1.2.3)?
 
 Why does the damned thing default to thinking I want blaring bizarre
 colors scattered all over my screen?

I did not read the whole thread. So this might duplicate
another answer.

  $ echo -e '\e[1;35mNever \e[44mmind\e[m.' | sed 
's/\x1b\[[0-9]\+\(;[0-9]\+\)\?m//g'

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Where has gensync moved to?

2007-01-17 Thread Bertram Scharpf
Hi,

  # equery f gentoolkit-dev | grep 'gensync$'
  /usr/share/doc/gentoolkit-dev-0.2.6.2/deprecated/gensync
  /usr/share/doc/gentoolkit-dev-0.2.6.2/deprecated/gensync/gensync

where has it moved to?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Where has gensync moved to?

2007-01-17 Thread Bertram Scharpf
Hi,

Am Mittwoch, 17. Jan 2007, 19:54:58 +0100 schrieb Harm Geerts:
 On Wednesday 17 January 2007 14:11, Bertram Scharpf wrote:
# equery f gentoolkit-dev | grep 'gensync$'
/usr/share/doc/gentoolkit-dev-0.2.6.2/deprecated/gensync
/usr/share/doc/gentoolkit-dev-0.2.6.2/deprecated/gensync/gensync
 
  where has it moved to?
 
 I'll take your: equery f gentoolkit-dev | grep 'gensync$'
 And raise it with a: less `equery f gentoolkit-dev | grep ChangeLog`
 
 Please read the package ChangeLog, README and/or bugreports before asking 
 such 
 trivial questions.

You are right. Sorry. I tried to withdraw the question as
soon as I noticed that but my mail provider had a lot of
trouble this afternoon.

I apologize.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo overlays

2007-01-02 Thread Bertram Scharpf
Hi,

Am Dienstag, 02. Jan 2007, 18:22:14 + schrieb Matt Richards:
 hello, does anybody know if it is possible to make portage ignore an 
 overlay for a single package, or if it is possible to install a package 
 from a single overlay that i choose ?

Do you want to mention it in `/etc/portage/package.mask'?

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Announcement: Two Projects

2007-01-01 Thread Bertram Scharpf
Hi,

I happened to write two small tools in Ruby:

  HwAdapt  --  A hardware profile manager for your laptop

http://opensource.bertram-scharpf.de/sites/hwadapt/

  Cropmail  --  Mail delivery agent; sort and filter mail

http://opensource.bertram-scharpf.de/sites/cropmail/

May they be useful.

A Happy New Year,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Chroot to new environment complains about kernel

2006-12-14 Thread Bertram Scharpf
Hi,

I try to chroot to a brand new environment, freshly unpacked
from stage 3:

  kyle # chroot /mnt/hdb/ /bin/bash
  FATAL: kernel too old
  kyle # uname -a
  Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux

After that, I unpacked stage 1. The boostrap worked fine until
during compilation of glibc a command .././scripts/mkinstalldirs
stoped with (yes!): FATAL: kernel too old.

An strace of the chroot command ends with the uname function
call yielding the above results and returning 0. Then, the
message is output and exit is called.

Google did not give me any hints.

Thanks in advance for any hints.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xfce update with wrong versions [solved]

2006-12-07 Thread Bertram Scharpf
Hi,

Am Mittwoch, 06. Dez 2006, 23:42:49 +0100 schrieb Bo Ørsted Andresen:
 On Wednesday 06 December 2006 23:07, Bertram Scharpf wrote:
  this is the shortened output of my latest emerge -pvuD world:
 
  
  [...]
  [ebuild U ] xfce-base/xfce-mcs-manager-4.3.99.2 [4.3.90.2] USE=-debug 
  591 kB
  [...] 
  [ebuild UD] xfce-base/xfce-mcs-manager-4.2.3 [4.3.90.2] USE=-debug 0 
  kB
  
 
  Obviously there is a bug in the version demand of the last
  four packages. The downgraded packages will not work.
 
 This is a well known problem that will hopefully be fixed in portage 2.1.3. If
 you file a bug it will be marked as a duplicate of but #1343 [1]. You need to
 get rid of whatever package is pulling in the downgrade (or upgrade it to a
 version that is compatible with 4.3.99.2). That's assuming you want the
 upgrade. Alternatively you can package.mask 4.3.x. --tree should be able to
 tell you what package(s) is pulling in the downgrade.

Yes! The --tree option told me that the pulling one was
xffm. I couln't unmask this package because is was
replaced by thunar, an advanced file manager. (Actually, I
use neither.)

Thanks a lot.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



  1   2   >