Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
netfab wrote:
> 
> You should open a bug

[X] Done: https://bugs.gentoo.org/932157

Thank you for your help!

-Matt



Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
netfab wrote:
> 
> Can you post the entire build log somewhere (or maybe as attachment) ?

I have put it at https://download.hanft.de/build.log

-Matt



Re: [gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
netfab schrieb:
> 
> Is this up-to-date ? What is your version of sys-devel/binutils ?

Yes, everything else is up-to-date:

gentoo ~ # uname -a
Linux gentoo 6.6.21-gentoo #3 SMP PREEMPT_DYNAMIC Sat May  4 19:18:38 CEST 2024 
i686 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz GenuineIntel GNU/Linux
gentoo ~ # eshowkw binutils
Keywords for sys-devel/binutils:
  |   |   u  |
  | a   a p s l r   a |   n  |
  | m   r h   p p   i o i s l m m | e u s| r
  | d a m p p c a x a o s 3 p 6 i | a s l| e
  | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o| p
  | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t| o
--+---+--+---
[...]
--+---+--+---
   [I]2.42-r1 | + ~ ~ ~ ~ ~ ~ + ~ ~ ~ ~ ~ ~ ~ | 7 o 2.42 | gentoo
--+---+--+---
  | o o o o o o o o o o o o o o o | 7 o  | gentoo
gentoo ~ # eshowkw gcc
Keywords for sys-devel/gcc:
   |   |   u   |
   | a   a p s l r   a |   n   |
   | m   r h   p p   i o i s l m m | e u s | r
   | d a m p p c a x a o s 3 p 6 i | a s l | e
   | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p
   | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o
---+---+---+---
[...]
---+---+---+---
[I]13.2.1_p20240210| + + + + + + + + ~ ~ ~ ~ ~ ~ ~ | 8 o 13| gentoo
   13.2.1_p20240503| ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | 8 o   | gentoo
   13.2.1_p20240510| o o o o o o o o o o o o o o o | 8 #   | gentoo
  13.3.| o o o o o o o o o o o o o o o | 8 o   | gentoo
---+---+---+---
gentoo ~ # eshowkw glibc
Keywords for sys-libs/glibc:
|   |   u |
| a   a p s l r   a |   n |
| m   r h   p p   i o i s l m m | e u s   | r
| d a m p p c a x a o s 3 p 6 i | a s l   | e
| 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o   | p
| 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t   | o
+---+-+---
[...]
[I]2.38-r13 | + + + + + + + + ~ ~ ~ ~ ~ ~ ~ | 8 o | gentoo
   2.39-r4  | ~ ~ ~ ~ ~ ~ ~ ~ - ~ ~ ~ ~ ~ ~ | 8 # | gentoo
   2.39-r5  | ~ ~ ~ ~ ~ ~ ~ ~ - ~ ~ ~ ~ ~ ~ | 8 o | gentoo
   2.39-r6  | o o o o o o o o o o o o o o o | 8 # | gentoo
    | o o o o o o o o o o o o o o o | 8 o | gentoo

-Matt



[gentoo-user] openjdk 17 on 32 bit systems

2024-05-18 Thread Matthias Hanft
Hi,

I'm keeping a (virtual) pretty old 32-bit Gentoo alive (just for playing
and testing).  Everything works fine - except installing a JRE in order
to execute some .jar files.

openjdk-jre-bin and openjdk-bin aren't available for x86, so I guess I
have to install openjdk (stable 17.0.10_p7).  But that doesn't work:

--- cut here ---

[...]
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld:
/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga/build/linux-x86-server-release/hotspot/variant-server/libjvm/objs/adaptiveSizePolicy.o:
 warning: relocation in read-only section
`.text'
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld: 
read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
gmake[3]: *** [lib/CompileJvm.gmk:144: 
/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga/build/linux-x86-server-release/support/modules_libs/java.base/server/libjvm.so]
 Error 1
gmake[3]: Leaving directory 
'/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga/make/hotspot'
gmake[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2
gmake[2]: Leaving directory 
'/var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga'
ERROR: Build failed for target 'bootcycle-images' in configuration 
'linux-x86-server-release' (exit code 2)

--- cut here ---

I have already played with CFLAGS (-Wno-error) and USE flags (headless-awt
and jbootstrap), but to no avail.

Any hints how to get this working?

Thanks,

-Matt



[gentoo-user] merge-usr and lib[ow]crypt*

2024-04-15 Thread Matthias Hanft
Hi,

after updating the kernels to the latest stable version (6.6.21)
and updating the profiles from 17.1 to 23.0, the last update step
would be "merge-usr" as described at https://wiki.gentoo.org/wiki/Merge-usr
in order to have complete up-to-date systems.

But my two (nearly identical) systems generate different output
when running "merge-usr --dryrun":

Dry run on system 1 (a bit older than system 2) shows:

INFO: Migrating files from '/bin' to '/usr/bin'
INFO: Skipping symlink '/bin/awk'; '/usr/bin/awk' already exists
INFO: No problems found for '/bin'
INFO: Migrating files from '/sbin' to '/usr/bin'
INFO: No problems found for '/sbin'
INFO: Migrating files from '/usr/sbin' to '/usr/bin'
INFO: No problems found for '/usr/sbin'
INFO: Migrating files from '/lib' to '/usr/lib'
INFO: No problems found for '/lib'
INFO: Migrating files from '/lib64' to '/usr/lib64'
INFO: No problems found for '/lib64'

So this seems OK? The "awk thing" is a symbolic link anyway:

home01 ~ # ls -l /bin/awk
lrwxrwxrwx 1 root root 14 Dec 31  2022 /bin/awk -> ../usr/bin/awk
home01 ~ # ls -l /usr/bin/awk
lrwxrwxrwx 1 root root 4 Dec 31  2022 /usr/bin/awk -> gawk
home01 ~ # ls -l /usr/bin/gawk
-rwxr-xr-x 1 root root 682216 Feb 10 09:59 /usr/bin/gawk

But the dry run on system 2 (a bit newer than system 1) shows:

INFO: Migrating files from '/bin' to '/usr/bin'
INFO: Skipping symlink '/bin/awk'; '/usr/bin/awk' already exists
INFO: No problems found for '/bin'
INFO: Migrating files from '/sbin' to '/usr/bin'
INFO: No problems found for '/sbin'
INFO: Migrating files from '/usr/sbin' to '/usr/bin'
INFO: No problems found for '/usr/sbin'
INFO: Migrating files from '/lib' to '/usr/lib'
INFO: Skipping symlink '/lib/libcrypt.so.2'; '/usr/lib/libcrypt.so.2' already 
exists
INFO: No problems found for '/lib'
INFO: Migrating files from '/lib64' to '/usr/lib64'
INFO: Skipping symlink '/lib64/libcrypt.so.2'; '/usr/lib64/libcrypt.so.2' 
already exists
INFO: No problems found for '/lib64'

Since the messages are "INFO" (and not "WARNING" or "ERROR"), I guess
it's OK, too. But looking for "libcrypt*" is somewhat confusing:

n ~ # ls -l /lib/libcrypt*
lrwxrwxrwx 1 root root 17 Apr 14 23:39 /lib/libcrypt.so.1 -> 
libcrypt.so.1.1.0
-rwxr-xr-x 1 root root 218416 Apr 14 23:39 /lib/libcrypt.so.1.1.0
lrwxrwxrwx 1 root root 17 Apr 14 23:39 /lib/libcrypt.so.2 -> 
libcrypt.so.2.0.0
-rwxr-xr-x 1 root root 214320 Apr 14 23:39 /lib/libcrypt.so.2.0.0
n ~ # ls -l /usr/lib/libcrypt*
lrwxrwxrwx 1 root root 27 Apr 14 23:39 /usr/lib/libcrypt.so -> 
../../lib/libcrypt.so.2.0.0
lrwxrwxrwx 1 root root 13 Dec  8  2022 /usr/lib/libcrypt.so.2 -> libowcrypt.so
n ~ # ls -l /usr/lib/libowcrypt*
lrwxrwxrwx 1 root root 27 Apr 14 23:39 /usr/lib/libowcrypt.so -> 
../../lib/libcrypt.so.2.0.0

On system 1, it's a bit more simple:

home01 ~ # ls -l /lib/libcrypt*
lrwxrwxrwx 1 root root 17 Sep 12  2023 /lib/libcrypt.so.1 -> 
libcrypt.so.1.1.0
-rwxr-xr-x 1 root root 218368 Sep 12  2023 /lib/libcrypt.so.1.1.0
lrwxrwxrwx 1 root root 17 Sep 12  2023 /lib/libcrypt.so.2 -> 
libcrypt.so.2.0.0
-rwxr-xr-x 1 root root 218368 Sep 12  2023 /lib/libcrypt.so.2.0.0
home01 ~ # ls -l /usr/lib/libcrypt*
lrwxrwxrwx 1 root root 27 Sep 12  2023 /usr/lib/libcrypt.so -> 
../../lib/libcrypt.so.2.0.0

(The same for "lib64" instead of "lib".)

Could the symbolic links from "/usr/lib" to "../../lib" be a kind of
circular references? And what is "libowcrypt" on system 2 - and why
doesn't it appear on system 1?

Is it safe to run "merge-usr" on both systems?

Thanks,

-Matt



Re: [gentoo-user] Issue with new hardened profiles 23.0

2024-03-28 Thread Matthias Hanft
J. Roeleveld wrote:
> 
> Do you use the binary packages supplied by Gentoo?
> Or all local-compiled?

All local-compiled, with the exemption of "monster-packages" which
would take hours or even days to compile (e.g. rust - here I use
"dev-lang/rust-bin" instead).

I don't even have any of /etc/portage/binrepos.conf or /var/cache/binpkgs/
(and "emerge --getbinpkg ..." displays a warning that it won't work).

-Matt



Re: [gentoo-user] Issue with new hardened profiles 23.0

2024-03-28 Thread Matthias Hanft
J. Roeleveld wrote:
> 
> When rebooting, I noticed the "openrc" program was moved from "/sbin/openrc" 
> to "/usr/sbin/openrc". I understand this is related to the merge-usr stuff, 
> but 
> I am planning on doing this change later.
> The profile I selected has the "split-usr" in the name (just as described).
> 
> Has anyone else seen this as well?

Not here.  Moved from

  [3]   default/linux/amd64/17.1/hardened (exp)

to

  [58]  default/linux/amd64/23.0/split-usr/hardened (stable) *

and openrc still remains in /sbin:

gentoo64 ~ # which openrc
/sbin/openrc
gentoo64 ~ #

So if your openrc has been moved, there must have been a reason
for this other than simply changing the profile...

-Matt



Re: [gentoo-user] libavcodec causes general protection fault when compiled with gcc 13

2023-10-29 Thread Matthias Hanft
netfab wrote:
> 
> Have a look at ¹ to see if it matches your case.
> Please try the workaround suggested in comment 4 (set CPU_FLAGS_X86
> and re-emerge ffmpeg). Does it help ?
> 1. https://bugs.gentoo.org/915384

Yes, it helped.  I have provided some more information in
that bug report. (Of course, I had searched the bug database,
but obviously with wrong search terms.)

Thanks a lot - I would never have thought of that myself
(didn't even know "CPU_FLAGS_X86" at all until now).

-Matt



[gentoo-user] libavcodec causes general protection fault when compiled with gcc 13

2023-10-29 Thread Matthias Hanft
Hi,

after compiling ffmpeg (which includes libavcodec) with gcc 13,
everything which uses libavcodec crashes with general protection
fault.  This includes stand-alone use of ffmpeg, but also
minidlna (and supposedly some more packages).

Oct 29 11:16:08 home01 kernel: traps: minidlnad[11961] general protection fault 
ip:7f44fcc1e2ea sp:7f44fbf48e20 error:0 in 
libavcodec.so.60.3.100[7f44fcbb2000+73b000]

After recompiling package ffmpeg with gcc 12, everything works fine.

What could be the reason for this? Of course, I'd like to delete
gcc 12 after some period of time.

I don't have anything special in /etc/portage/make.conf - just
as usual:

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
CHOST="x86_64-pc-linux-gnu"

Any hints?

Thanks,

-Matt



Re: [gentoo-user] Discontinued Package: Copy to local overlay, just leave installed, or install manually?

2023-02-19 Thread Matthias Hanft
Mike Civil wrote:
> 
> OK I don't use gsutil so can't test what the removal of the two components 
> would mean but I don't see where the bug says gsutils itself is going to be 
> removed?

Ehm... maybe a misunderstanding? The posting I mentioned was:

--- cut here ---

Subject: [gentoo-dev] Last rites: dev-python/oauth2client and revdeps 
(app-misc/gcalcli, app-misc/goobook, net-misc/gsutil)
# Michał Górny  (2023-02-03)
# The package has been archived upstream.  It is broken with all Python
# versions supported by Gentoo, and it is broken with django-2.
# The other listed packages are its reverse dependencies.
# Removal on 2023-03-05.  Bug #718972.
app-misc/gcalcli
app-misc/goobook
dev-python/gcs-oauth2-boto-plugin
dev-python/google-apitools
dev-python/google-reauth-python
dev-python/oauth2client
net-misc/gsutil

--- cut here ---

I interpreted this as "all of them are going to be removed".

Anyway, "equery d oauth2client" lists gcs-oauth2-boto-plugin,
google-apitools, and google-reauth-python as well (which are
dependencies of gsutil). So even the removal of oauth2client
alone would break gsutil.

BTW, all of them have only python_targets_python3_9 and 3_10.
Currenty I have Python 3.10 and 3.11 installed, and "eselect
python list" says "3.11 3.10" (in that order). Why does gsutil
work anyway? Automatic fallback to 3.10?

I guess I must not ever deinstall Python 3.10 in order to keep
this running?

-Matt



[gentoo-user] Discontinued Package: Copy to local overlay, just leave installed, or install manually?

2023-02-19 Thread Matthias Hanft
Hi,

according to https://bugs.gentoo.org/718972 (and a posting
in the dev list), gsutil (and all needed libs) will be removed
from the tree because "it's broken" (which is not true - works
like a charm).

Since I do need gsutil urgently, I have already copied the needed
ebuilds from /usr/portage to a local overlay in order to "emerge
-c gsutil::gentoo" and then "emerge gsutil::local".

But then came to my mind: Is that necessary at all? As far as I
know, I can just leave discontinued packages installed and continue
to use them - regardless of whether they are still in portage tree
or not. True or false?

Or is it better to get rid of portage/ebuilds at all and do a
manual installation, as described at
https://cloud.google.com/storage/docs/gsutil_install?hl=en ?

Thanks,

-Matt



Re: [gentoo-user] Ruby, Ragel, and Colm

2022-12-09 Thread Matthias Hanft
Matt Connell wrote:
> 
> Do you have any packages (or the global) keyword ~amd64?  Portage,
> fresh off of a sync, emerged ragel at 7.0.4 and col at 0.14.7 which are
> both lower than the versions you mentioned.

No ~amd64 (except dev-db/firebird because there is no stable
version at all).

(NEW) n ~ # eshowkw colm
Keywords for dev-util/colm:
 |   |   u   |
 | a   a p s r   a l |   n   |
 | m   r h   p p   i i s l o m m | e u s | r
 | d a m p p c a x a s 3 p o 6 i | a s l | e
 | 6 r 6 p p 6 r 8 6 c 9 h n 8 p | p e o | p
 | 4 m 4 a c 4 c 6 4 v 0 a g k s | i d t | o
-+---+---+---
 0.13.0.7| + + + + + + + + ~ o ~ ~ o o o | 7 # 0 | gentoo
   0.14.7| + + + + + + + ~ ~ ~ ~ ~ o o ~ | 7 o   | gentoo
   0.14.7-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ | 8 #   | gentoo
[I]0.14.7-r2 | + ~ + ~ ~ + + + ~ ~ ~ ~ ~ o ~ | 8 o   | gentoo
(NEW) n ~ # eshowkw ragel
Keywords for dev-util/ragel:
|   |   u   |
| a   a p s r   a l |   n   |
| m   r h   p p   i i s l o m m | e u s | r
| d a m p p c a x a s 3 p o 6 i | a s l | e
| 6 r 6 p p 6 r 8 6 c 9 h n 8 p | p e o | p
| 4 m 4 a c 4 c 6 4 v 0 a g k s | i d t | o
+---+---+---
6.10| + + + + + + + + ~ ~ ~ ~ o o ~ | 7 # 0 | gentoo
7.0.0.12| + + + + + + + + ~ o ~ ~ o o o | 7 o   | gentoo
   7.0.4| + + + + + + + ~ ~ ~ ~ ~ o o ~ | 7 o   | gentoo
   7.0.4-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o ~ | 8 #   | gentoo
[I]7.0.4-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o ~ | 8 o   | gentoo

colm-0.14.7-r2 is marked stable; with ragel-7.0.4, I get the
error desscribed. ~ragel-7.0.4-r2 does work; didn't try
~ragel-7.0.4-r1.

But "works for me" now :-)

-Matt



Re: [gentoo-user] Ruby, Ragel, and Colm

2022-12-08 Thread Matthias Hanft
Michael Orlitzky wrote:
> 
> That said, try the ~arch version of ragel. It has a patch that improves
> linking against libfsm, which appears in your error message.

Thanks, ~ragel-7.0.4-r2 did work.

(Still not knowing why the other server worked without any problems
with 7.0.4 without -r2 - but anyway...)

-Matt



[gentoo-user] Ruby, Ragel, and Colm

2022-12-08 Thread Matthias Hanft
Hi,

I just wanted to "emerge ruby" on a new Gentoo server which failed
at dev-util/ragel-7.0.4 with

  make[3]: *** No rule to make target '/usr/lib64/libfsm.la', needed by 
'ragel'.  Stop.

(immediately before, dev-util/colm-0.14.7-r2 was installed successfully)

I already have found https://bugs.gentoo.org/766210 and 
https://bugs.gentoo.org/766051
both "resolved fixed" - but apparently not?!

With ">=dev-util/ragel-7.0.1" in package.mask, ragel 7.0.0.12 and colm 0.13.0.7 
are
correctly installed. But I'm afraid that this won't be a solution forever...

Even more bizarre: On another Gentoo system I'm running for a long time, ragel 
7.0.4
and colm 0.14.7-r2 *are* correctly installed - but I've no idea any more how I 
achieved
this a very long time ago.

I hesitate to open a new Gentoo Bugzilla bug because it might not be a real bug 
-
but what do I have to do on my new system that ruby (and all dependencies) can
be installed?

Thanks in advance,

-Matt



Re: [gentoo-user] Re: PHP, Haru, Ghostscript, Courier, and Nimbus

2022-11-07 Thread Matthias Hanft
Grant Edwards wrote:
> 
> Nobody said anything about embedding Courier. You said the problem
> happened when the "Nimbus" font was used, so it was suggested you
> embed the "Nimbus" font.

But I don't want to use / embed the Nimbus font at all!

libharu is called by HaruDoc::getFont('Courier', 'WinAnsiEncoding')

This *does* work - the font *is* Courier when you look at the PDF.

But -
- until ghostscript 9.55, in the PDF font properties, the font
  was correctly named "Courier" so that every PDF reader could
  display it;
- from ghostscript 9.56, in the PDF font properties, the font
  is named "Nimbus" instead of "Courier", and some PDF readers
  have problems to display.

The only "Nimbus reference" I have found is a line in the file
/usr/share/ghostscript/9.56.1/Resource/Init/Fontmap.GS which reads

/Courier/NimbusMonoPS-Regular   ;

but this line is the same in gs 9.55 and 9.56. So I don't understand
what/why has changed here.

BTW, I now have tried to embed truetype fonts. Seems to work
(although the character outline is thinner, overall more "pale").
File size increases from 29K to 121K - would be OK for me...

-Matt



Re: [gentoo-user] PHP, Haru, Ghostscript, Courier, and Nimbus

2022-11-07 Thread Matthias Hanft
Michael wrote:
> 
> If your customers do not have Nimbus fonts available on their OS/PDF viewer, 
> the viewer application will proceed using font substitution.  It will use 
> whichever font family it thinks is the closest match, I would assume 
> Helvetica.  Their application appears to get confused and substitute the 
> Nimbus fonts with something else.  In any case, the solution to this is to 
> embed the Nimbus fonts in the PDF file.

How would I do that?  It seems to be impossible for "Courier" because this
is a built-in font "and all viewers can display them", as stated at
https://durak.org/sean/pubs/software/php-7.0.0/haru.builtin.fonts.html
So it won't make much sense to embed Courier into the PDF anyway?!

It's just that >=ghostscript-gpl-9.56 won't write the requested font name
   $myFont=$myPdf->getFont('Courier', 'WinAnsiEncoding');
into the PDF, but the substituted font name "Nimbus" (which seems to
confuse some PDF readers).  Why did they change it from 9.55 to 9.56?
This is strange...

To be completely independent from any PDF display software, I could imagine
that the following could help:

- install media-fonts/corefonts
- load the ttf font with embed=true:
  https://durak.org/sean/pubs/software/php-7.0.0/harudoc.loadttf.html
  for example,
  $myFontName=$myPdf->loadTTF('/usr/share/fonts/corefonts/cour.ttf', TRUE);
  $myFont=$myPdf->getFont($myFontName, 'WinAnsiEncoding');

but I guess it will blow up my nice little PDF files (29 K only!) to a
multiple size... :-(

Anyway, I'll give it a try.

-Matt



[gentoo-user] PHP, Haru, Ghostscript, Courier, and Nimbus

2022-11-07 Thread Matthias Hanft
Hi,

since many years, I'm using PHP (currently 7.4) and the (self-
compiled) Haru extension to produce PDF invoices on my server.

Internally, Haru seems to use Ghostscript, because:

- up to app-text/ghostscript-gpl-9.55.0-r2, when you look at the
  PDF "properties" and then the "fonts" tab, there is "Courier",
  "Helvetica" and "Helvetica-BoldOblique" - just as requested in
  my PHP script like
   $myPdf=new HaruDoc();
   [...some page settings...]
   $myFont=$myPdf->getFont('Courier', 'WinAnsiEncoding');

- from app-text/ghostscript-gpl-9.56.1-r3 on, everything looks like
  before, but in the "properties/fonts" tab of the resulting PDF,
  the fonts are now "NimbusMonoPS-Regular", "NimbusSands-BoldItalic"
  and "NimbusSans-Regular".

I have already found this "translation" in the file
/usr/share/ghostscript/9.56.1/Resource/Init/Fontmap.GS but there is
obviously no relevant difference in that file between 9.55 and 9.56.

Some of my customers now seem to have trouble if the fonts in the
PDF properties are named "Nimbus" instead of "Courier" - they just
see some hieroglyphics when displaying the PDF.

Any idea that's going wrong here?

Thanks in advance,

-Matt



[gentoo-user] gsutil dependencies

2022-06-18 Thread Matthias Hanft
Hi,

after updating as usual (and making python 3.10 default), gsutil doesn't
work any more. First, it claimed missing "aiohttp", and after installing
that manually, it now says

pkg_resources.ContextualVersionConflict: (rsa 4.8 
(/usr/lib/python3.10/site-packages), Requirement.parse('rsa==4.7.2'), 
{'gcs-oauth2-boto-plugin'})

But dev-python/rsa exists only in 4.8-r1, and gcs-oauth2-boto-plugin is
3.0 (old 2.7 would exist).

Obviously something (what?) would expect dev-python/rsa to be 4.7.2, but
downgrading seems not to be possible.

eselect python back to 3.9 doesn't help either, nor does
emerge -1 gsutil gcs-oauth2-boto-plugin

Can I override that version conflict? How? Or what can I do?

Thanks,

-Matt



Re: [gentoo-user] [SOLVED]Does gcc 11.3 need a special/new kernel version?

2022-06-07 Thread Matthias Hanft
I wrote:
> 
> I have also found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79827
> and made "ulimit -s 32768" (instead of 8192), but to no avail.

"ulimit -s 32768" doesn't work.

"ulimit -s 65535" doesn't work either.

"ulimit -s unlimited" *does* work.

What the heck is the stack requirement of this stuff?!

Anyway, it worked now. The only strange thing is that on all my other
systems a stack of 8192 is perfectly sufficient. But - so what.

-Matt



Re: [gentoo-user] Does gcc 11.3 need a special/new kernel version?

2022-06-06 Thread Matthias Hanft
Mickaël Bucas wrote:
> 
> It seems that the command line to compile "genautomata" contains useful 
> information to understand the cause.
> Can you find it in the GCC compile logs ?

I think the command which triggers the error is "build/genautomata ...":

make[3]: Entering directory 
'/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/gcc'
build/genautomata 
/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/common.md 
/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/config/i386/i386.md \
  insn-conditions.md > tmp-automata.c
make[3]: *** [Makefile:2456: s-automata] Error 139
make[3]: Leaving directory 
'/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/gcc'
make[3]: *** Waiting for unfinished jobs

dmesg:
[10789.040085] genautomata[5619]: segfault at bfa80ffc ip b775f23b sp bfa81000 
error 6 in genautomata[b7755000+44000]

Former lines in "build.log" containing "genautomata" are just these two:

i686-pc-linux-gnu-g++ -std=c++11 -c -DEXTRA_OPTIONS  -DIN_GCC 
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-error=format-diag
-Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H  
-DGENERATOR_FILE -I. -Ibuild
-I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc 
-I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/build 
-I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/../include
-I/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/../libcpp/include  \
-o build/genautomata.o 
/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/genautomata.c

and, a bit later

i686-pc-linux-gnu-g++ -std=c++11 -DEXTRA_OPTIONS  -DIN_GCC 
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-error=format-diag
-Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H  
-DGENERATOR_FILE -static-libstdc++ -static-libgcc
-Wl,-O1 -Wl,--as-needed -o build/genautomata \
build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o 
build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o 
build/hash-table.o build/sort.o build/read-md.o
build/errors.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a -lm

which both just look normal, IMHO (no error or other message around them).

Meanwhile, I have updated several other Gentoo systems (32 and 64
bit) which all worked well. It's just that one system which brings
that error. I have also found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79827
and made "ulimit -s 32768" (instead of 8192), but to no avail.

The only difference is the kernel (4.0.5 on the old system; all others
have 4.14.83 oder even some 5.x kernel). On the other hand: the difference
between gcc 11.2.1 (which works fine) and 11.3.0 shouldn't be that big?!

-Matt



[gentoo-user] Does gcc 11.3 need a special/new kernel version?

2022-06-05 Thread Matthias Hanft
Hi,

I have a rather old server which I still keep alive (u never
know if it's needed again), so I update all packages about
once a month with

emerge -aNDuv --keep-going --backtrack=999 --with-bdeps=y @world

which works fine - until now. I can't upgrade gcc from 11.2.1
to 11.3.0 because of

make[3]: Entering directory 
'/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/gcc'
build/genautomata 
/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/common.md 
/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/gcc/config/i386/i386.md \
  insn-conditions.md > tmp-automata.c
make[3]: *** [Makefile:2456: s-automata] Error 139
make[3]: Leaving directory 
'/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/gcc'
make[3]: *** Waiting for unfinished jobs

and dmesg says

[ 1297.247619] genautomata[3301]: segfault at bfea1ffc ip b76bb23b sp bfea2000 
error 6 in genautomata[b76b1000+44000]

Granted, it is still kernel 4.0.5, but I don't want to go through
the trouble of installing a new kernel on the old system. But the
old kernel is the only thing I can think of that could be causing
the problem...?!

Possibly there was a discussion about this, in the year 2008:
https://gcc.gnu.org/pipermail/gcc-patches/2008-November/251389.html
but I don't understand what's it all about, and how could I modify
emerge to work around the problem.

gcc is the only package which won't upgrade - everything else works
fine (including glibc 2.34-r13 and all the other stuff).

Any hints?

Thanks,

-Matt




Re: [gentoo-user] Re: Java wants cups?

2022-04-03 Thread Matthias Hanft
Martin Vaeth wrote:
> 
> I guess that virtual/jdk prefers the non-binary package, and apparently
> portage is not able to resolve the conflict automatically by letting the
> binary package satisfy the dependency. If you manually install openjdk-bin,
> the problem is probably resolved.

Ahhh... yes, that's the point.  It's a very, very old 32-bit system, and
there is no "x86" (and not even "~x86") openjdk-bin package.

On my other (64-bit) system, openjdk-bin was apparently automatically
installed, and virtual/jdk-11 was installed without cups, too.

So the 32-bit system falls back auf openjdk (without -bin) which needs
cups at build time. icedtea-bin does exist for "x86", so cups for build
time was not necessary.

And jdk-11 seems to need just openjdk (and not icedtea any more).

Well, I can't change the system from 32 to 64 bit just quickly
(it's my mail server, my web server, even my online shop...).

For the time being, I'll try to enable cups selectively for
single packages where it's absolutely needed - and in the
long-term, I guess I'll have to construct a second server
with 64-bit in parallel where I can switch to later when
everything is working.

Thanks for your analysis!

-Matt



Re: [gentoo-user] Java wants cups?

2022-04-03 Thread Matthias Hanft
Michael wrote:
> 
> Did you try running emerge with '--tree' to see the dependency tree with all 
> its dependencies?  (The option '--deep' may show more dependencies too).

Meanwhile I have found out that the culprit is "virtual/jdk".  I have 1.8.0-r6
installed, and emerge wants to upgrade to 11-r2 (strange versioning, isn't it?).

Apparently, I have neither "openjdk" nor "openjdk-bin" installed, but "icedtea-
bin". Upgrading virtual/jdk to 11 seems to insist on some openjdk...

"equery g virtual/jdk" says for the two versions in question:

 * dependency graph for virtual/jdk-1.8.0-r6
 `--  virtual/jdk-1.8.0-r6  x86
   `--  dev-java/openjdk-bin-8.322_p06  (dev-java/openjdk-bin) [missing 
keyword]  [headless-awt=]
   `--  dev-java/openjdk-8.322_p06  (dev-java/openjdk) x86  [headless-awt=]
   `--  dev-java/icedtea-bin-3.16.0  (dev-java/icedtea-bin) x86  [headless-awt=]
   `--  dev-java/icedtea-3.21.0  (dev-java/icedtea) [~x86 keyword]  
[headless-awt=]
[ virtual/jdk-1.8.0-r6 stats: packages (5), max depth (1) ]

 * dependency graph for virtual/jdk-11-r2
 `--  virtual/jdk-11-r2  M[package.mask]
   `--  dev-java/openjdk-bin-11.0.14_p9-r1  (dev-java/openjdk-bin) [missing 
keyword]  [gentoo-vm(+) headless-awt=]
   `--  dev-java/openjdk-11.0.14_p9-r1  (dev-java/openjdk) x86  [gentoo-vm(+) 
headless-awt=]
[ virtual/jdk-11-r2 stats: packages (3), max depth (1) ]

so it seems that virtual/jdk 11 can't/doesn't want to use icedtea-bin and needs
openjdk[-bin] which requires cups in any case...

Do I need virtual/jdk at all? I don't even develop Java software - all I need
is some Java runtime which I can call from the command line by "java -jar 
blabla.jar".

For the moment, I have masked >=virtual/jdk-10

-Matt



[gentoo-user] Java wants cups?

2022-04-02 Thread Matthias Hanft
Hi,

after "emerge --sync" today, and "emerge -auv @world", I got the
message:

emerge: there are no ebuilds built with USE flags to satisfy 
">=app-text/ghostscript-gpl-9.09[cups]".
!!! One of the following packages is required to complete your request:
- app-text/ghostscript-gpl-9.55.0-r1::gentoo (Change USE: +cups)
(dependency required by "net-print/cups-filters-1.28.10-r3::gentoo[postscript]" 
[ebuild])
(dependency required by "net-print/cups-2.3.3_p2-r3::gentoo" [ebuild])
(dependency required by "dev-java/openjdk-11.0.14_p9-r1::gentoo" [ebuild])
(dependency required by "virtual/jdk-11-r2::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

But:

- the cups USE flag is globally disabled (and nowhere locally
  enabled);
- since this is a virtual server, no printers at all are used/
  connected/configured.

I could run emerge with USE="cups", but in this case ~30 new
packages would be installed (many, many "libXsomething" among
them). And I would have a completely useless printing system.

How do I get rid of all those cups things?

Thanks,

-Matt



Re: [gentoo-user] gentoo for a virtual server in the cloud?

2022-03-19 Thread Matthias Hanft
n952162 wrote:
> 
> You booted the minimal install ISO and went through the steps of
> partitioning the disk, network, etc?

Yes.  Exactly the same way as I did for my server at home.

> I was thinking that there were special drivers necessary for the virtual
> devices offered by the platform.  Maybe even proprietary

Not in my case.  The provider uses VMware for his virtual servers,
and Gentoo didn't need any special drivers or something.

Here's the output of "lspci":

--- cut here ---

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge 
(rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
(rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 
10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:10.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT Dual 
Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
[the same for 00:15.0..7, 00:16.0..7, 00:17.0..7, and 00:18.0..7]
02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet 
Controller (Copper) (rev 01)

--- cut here ---

Gentoo could handle all this just out of the box.

-Matt



Re: [gentoo-user] gentoo for a virtual server in the cloud?

2022-03-18 Thread Matthias Hanft
n952162 schrieb:
> I rent a low-cost virtual server in the cloud.  The platform offers me
> some choices in linux distributions, but I'm wondering if I can compile
> gentoo to run on it.  Anybody have experience doing this?

Yes.  I have a Remote Console using a Java Applet (via VPN) where I can
select an ISO image on my local disk (also for boot).  So the Gentoo
installation was just as straight forward as at home - no problem.

The prerequisite is, of course, that the provider does offer a Remote
Console and the ISO option.  I was lucky enough :-)

-Matt



Re: [gentoo-user] TLD for home LAN?

2022-01-15 Thread Matthias Hanft
tastytea wrote:
> 
> Another solution would be to register an inexpensive domain name and use
> that. 

That's generally a good idea. After using .local for many years,
too, I have switched to my "official" domain and added "local"
for the internal IP addresses.

So my server down in the basement is something like "server.example.com"
where BIND delivers the IP address 93.some.thing.official, and a DNS
request for "server.local.example.com" delivers 10.some.thing.internal.

So there's no need any more to search for some TLD which won't interfere
with anything :-)

-Matt



[gentoo-user] pango, freetype, and harfbuzz: circular dependencies?

2021-07-17 Thread Matthias Hanft
Hi,

doing the weekly "emerge --sync" and "emerge -aDuv @world", portage
suddenly asks me to set the "harfbuzz" USE flag for "freetype". The
exact messages are

--- cut here ---

emerge: there are no ebuilds built with USE flags to satisfy
">=media-libs/freetype-2.5.0.1:2=[harfbuzz,png,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]".
!!! One of the following packages is required to complete your request:
- media-libs/freetype-2.10.4::gentoo (Change USE: +harfbuzz)
(dependency required by "x11-libs/pango-1.48.7::gentoo" [ebuild])
(dependency required by "net-analyzer/rrdtool-1.7.2-r100::gentoo[graph]" 
[installed])
(dependency required by "net-mail/mailgraph-1.14-r2::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

--- cut here ---

on my 32-bit Gentoo. On my 64-bit Gentoo, it looks pretty similar:

--- cut here ---

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-libs/pango-1.48.7::gentoo
# required by net-analyzer/rrdtool-1.7.2-r100::gentoo[graph]
# required by net-mail/mailgraph-1.14-r2::gentoo
# required by @selected
# required by @world (argument)
>=media-libs/freetype-2.10.4 harfbuzz

--- cut here ---

Of course, I just could do that, but "equery u freetype" tells me for
"harfbuzz": "WARNING: may trigger circular dependencies!"

Some googling showed me that circular dependencies seem to be a very,
very ugly thing which you can't easily get rid of.

Just turning off all unneeded USE flags isn't easy either - for example,
I'm using mailgraph for graphical display on my website, which needs
rrdtool[graph], which needs pango, which needs freetype... and there
are some more dependencies on *real* used packages.

How should I proceed, avoiding circular dependencies?

Thank you in advance,

-Matt



Re: [gentoo-user] Windows 10 Pro 64bit in Virtualbox

2021-05-22 Thread Matthias Hanft
the...@sys-concept.com schrieb:
> Is anybody running Windows 10 Pro 64bit in Virtualbox?

No problems so far - except that it's not very fast (which
means "pretty slow").  I'm still investigating some speed
improvements, but it seems to be a common problem with lots
of hints (which, unfortunately, don't really help).

-Matt



Re: [gentoo-user] how to install mailman3 on gentoo

2021-03-11 Thread Matthias Hanft
John Covici wrote:
> Hi.  I have to convert my mailman2 to mailman3 because of the python
> business.  I installed the appropriate packages, but their
> documentation as to how to set it up and upgrade mailman2 is quite
> inscrutible -- also it assumes ubunto and some strange python things
> such as installing in a virtual environment, and assumes postgresql
> which I might or might not want to do.  Anyway, I have no idea what I
> am doing here, so if anyone has figured this out, I would appreciate
> some assistance.

Same here.  My solution: I changed to mlmmj - http://mlmmj.org/ (available
with Portage) - and everything works fine.  Configuration is done by
simple text files, and transferring the list members is just copy-and-paste.

If you're not stuck to mailman, you could take this into consideration.

-Matt



Re: [gentoo-user] mailman 2.1 replacement? (Python 2.7 issue)

2020-09-06 Thread Matthias Hanft
Neil Bothwick wrote:
> 
> Have you read https://bugs.gentoo.org/710134 ?

*Now* I have - thank you :-)

Unfortunately, there's no answer either. But I've added myself
to the Cc list and will monitor that thread.

-Matt



[gentoo-user] mailman 2.1 replacement? (Python 2.7 issue)

2020-09-06 Thread Matthias Hanft
Hi,

I'm using mailman (stable 2.1.33) for several mailing lists.

Since there seems to be only a Python 2.7 version, mailman
is now masked and will soon be removed from the tree.

I have already copied the mailman ebuild to a local overlay,
but that's surely not the best idea in the long run.

What would the best (and simplest) solution to port the
existing mailman mailing lists to another mailing list
system (perhaps even with full-/half-automatic transfer
of e-mail-addresses, greeting and farewell messages and
all that)? Which one would you recommend?

Googling for "Alternatives to Mailman" found several
programs - the only one of them with a Gentoo ebuild
seems to be "mlmmj". Would porting the mailman data
to mlmmj be easy or difficult?

On the other hand, there seems to be a mailman 3 version
(which is not yet in the portage tree), but I could
install it manually of course (though that sounds pretty
complicated?!), and there are some update docs at
https://docs.mailman3.org/en/latest/migration.html
and there is a simple "mailman import21" command for
importing the data of the old version. Would that be
better/easier than to switch to a completely other
system (even if the new mailman 3 would not be
administered by portage)?

Any suggestions how to proceed?

Many thanks in advance,

-Matt



Re: [gentoo-user] Simple replacement for "getmail"?

2020-07-22 Thread Matthias Hanft
Walter Dnes wrote:
> 
>   Would "fetchmail" work as a drop-in replacement for getmail here?  Are
> there any better, simpler solutions?

I don't know "getmail", but "fetchmail" runs here since 10 years
without any problems.  Just put a line like

poll securepop.t-online.de proto pop3
user "mail@there", with password "pass@there", is "mail@here" here, ssl;

into /etc/fetchmailrc, adjust polling_period="300" in
/etc/conf.d/fetchmail, and that's it. (Of course, the usual
stuff like "/etc/init.d/fetchmail start" and "rc-update
add fetchmail default".)

-Matt



[gentoo-user] Provide a package for a special PHP version / slot / USE flag?

2019-10-26 Thread Matthias Hanft
Hi,

since dev-php/pecl-haru seems not to be available for PHP 7,
I installed it myself from github.  But at every emerge, it
tells me about unmet dependencies.  Of course, I could remove
the pecl-haru package completely from @world and just use my
self-installed "version 7".  But for a short time, I need both
versions in parallel (i.e. the 5.6 version from portage tree,
and my own 7.3 version from github).  I know (and already used)
the "packacke.provided" mechanism, but it seems that I cannot
"provide" certain slots, PHP versions, or USE flags there.

Is there a way to prevent portage warnings and errors in this
case?

Thanks,

-Matt



Re: [gentoo-user] Keeping 17-year-old Kylix software alive

2019-06-09 Thread Matthias Hanft
Mick wrote:
> 
> Did you try the new revdep-rebuild in case it works (better)?

"Dynamic linking on your system is consistent... All done."

which, obviously, is not true :-)

BTW, the old revdep-rebuild.sh finally wants to rebuild hundreds
of packages... which I interrupted - makes no sense at all for me.

> I am not familiar with the particular software and wouldn't know how to keep 
> it alive on a present day Gentoo system - other than building Gentoo using an 
> old snapshot and installation media, perhaps in a VM and using additional 
> packages of the same era from the attic in a local overlay.

Ok, I could set up a complete "old" system, of course, but I'm
using the old libraries on a "production system" (they are
called by a PHP extension which is used by a public accessible
Apache web server). So I'm really interested in keeping the
rest of the system up-to-date.

The old Kylix libraries just do some comprehensive calculations.
Not too difficult to manually translate that into PHP (or any
other script language, or even plain C), but just hundreds of
code lines to type...

> Someone else may be able to offer useful advice, but I would think this is 
> more of a question suitable for the gentoo-dev mailing list[1] and IRC 
> channel[2].  Have you tried asking there?

Not yet - AFAIK the gentoo-dev list is read-only for non-developpers,
and I've never used IRC in my life at all :-) But I'll give it a try
if I have no further ideas...

-Matt



[gentoo-user] Keeping 17-year-old Kylix software alive

2019-06-09 Thread Matthias Hanft
Hi,

many years ago, I created some libSomething.so with Kylix 3 (1)
which still worked with current (32bit) Gentoo systems (Kernel
4.14.83).

Using "revdep-rebuild.sh" (the *old* script!), for some time,
I already got messages like

broken /usr/local/lib/libxercesxmldom.so.1
/usr/local/lib/libxercesxmldom.so.1 (symbol __pthread_atfork version GLIBC_2.0 
not defined in file libpthread.so.0 with link time reference
symbol __pthread_initialize version GLIBC_2.0 not defined in file 
libpthread.so.0 with link time reference)

but everything worked fine anyway ("libxercesxmldom" is part of
Borland's standard runtime libraries).

However, after upgrading glibc from 2.27 to 2.28 (or newer), this
is not true any more: Compiling and running a C program using the
old Kylix libSomething.so libraries causes Segmentation fault, and
Apache using a PHP extension which calls those libraries won't start
at all any more.

For recompiling the Kylix libSomething.so libraries, I'm keeping
alive a Suse 8.1 Linux (2) in VirtualBox (Kernel 2.4.19).

Do you see any chance to keep those Kylix libraries alive and
running? If it would help, I'd try to install the old Kylix on
a current Gentoo system and try to recompile there (although
I guess Kylix won't run on a current Kernel any more - if it
can be installed at all).

Switching to another (Pascal-/Delphi-/Lazarus-/etc.) Compiler
is not an option because the .so libraries are in fact "packages"
(BPL, a special Borland library version).

Is there any possibility for some "binary interface/gateway" to
use those libraries any more, or do I have to reprogram the
whole functionality with PHP?

-Matt

(1) https://en.wikipedia.org/wiki/Borland_Kylix
(2) https://en.wikipedia.org/wiki/SUSE_Linux#SUSE_distributions




Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc...

2019-04-14 Thread Matthias Hanft
Nikos Chantziaras wrote:
> 
> "as" is part of binutils, not gcc. binutils is a critical package, so 
> you shouldn't have downgraded glibc.

Ups :-(

Ok, I got the system (nearly) running again by copying /lib and /usr/lib
from another working system, and copying the /usr/i686-pc-linux-gnu/binutils-bin
directory (which was called "i486..." instead of "i686..." on the other
system, generating some "not found" errors).

Apache, Postfix, Bind and all that were running again then; leaving some
Perl-related problems only (mailgraph/rrdtool, spamassassin...). Tried
"perl-cleaner --reallyall", went until
>>> Emerging (53 of 60) dev-python/subunit-1.2.0-r1::gentoo
and then
changing mode of 
/var/tmp/portage/dev-python/subunit-1.2.0-r1/work/subunit-1.2.0-abi_x86_32.x86-python2_7/scripts/subunit2junitxml
 from 644 to 755
changing mode of 
/var/tmp/portage/dev-python/subunit-1.2.0-r1/work/subunit-1.2.0-abi_x86_32.x86-python2_7/scripts/subunit2pyunit
 from 644 to 755
changing mode of 
/var/tmp/portage/dev-python/subunit-1.2.0-r1/work/subunit-1.2.0-abi_x86_32.x86-python2_7/scripts/tap2subunit
 from 644 to 755
 * python3_5: running distutils-r1_run_phase distutils-r1_python_compile
python3.5 setup.py build
python3.5: error while loading shared libraries: libpython3.5m.so.1.0: cannot 
open shared object file: No such file or directory
 * ERROR: dev-python/subunit-1.2.0-r1::gentoo failed (compile phase):
 *   (no error message)

Don't really know why *perl* need *python* :-)

Ok, libpython3.5m.so.1.0 is only in /usr/lib228 (the /usr/lib directory
which I saved while glibc 2.28 was installed); in /usr/lib, there is
only libpython2.7 and 3.6... will reinstall python now first... hope
it works.  Busy weekend this time :-(

-Matt



Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc...

2019-04-13 Thread Matthias Hanft
Matthias Hanft wrote:
>>
> I *do* have another working Gentoo system (with the old glibc 2.27 and
> Apache 2.4.38 and all binutils and all that - everything is still fine
> there).  Can I use this just to copy some files (libs) to the "sick"
> system?  Just until I can re-emerge everything into a consistent state
> there?

I now have copied /lib and /usr/lib from the other system to the
"sick" system (and made a backup copy of the glibc-228 /lib and
/usr/lib, of course).  Now it works "a little bit" more than
before, but it's still inconsistent, for example

# rndc reload
rndc: error while loading shared libraries: libisccfg.so.1203: cannot open 
shared object file: No such file or directory

libisccfg.so seems to be a part of the bind package, but I still
cannot emerge anything because "C compiler not working".  A simple
test:

$ gcc -o hello hello.c
In file included from hello.c:3:
/usr/include/stdio.h: In function 'main':
/usr/include/stdio.h:33:10: fatal error: stddef.h: No such file or directory
 #include 
  ^~
compilation terminated.

stddef.h is in /usr/include/linux, but is it obviously not found.

Do I have *any* chance to get this system working again? Meanwhile,
I would find it great to get a working system even *without* Apache!

I have made a "quickpkg" out of glibc 2.28 before downgrading to
2.27. Can I just untar it and have my 2.28 libraries again (any
everything except Apache will run)? Or what's the best I can do?
(Without installing everything from scratch...)

-Matt



Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc...

2019-04-13 Thread Matthias Hanft
Matthias Hanft wrote:
> 
> So it seems that I cannot emerge "patch" because I need to patch
> "patch" :-(  Am I stuck now??? What to do??

I copied "/usr/bin/patch" from another (glibc-2.27) Gentoo system.
Patching now works, but at every emerge (for example, binutils),
I get something like

checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in 
`/var/tmp/portage/sys-devel/patch-2.7.6-r3/work/patch-2.7.6':
configure: error: C compiler cannot create executables
See `config.log' for more details

Despite gcc was *not* recompiled after the glibc upgrade, it now
tells

$ gcc -o hello hello.c
/usr/lib/gcc/i686-pc-linux-gnu/8.2.0/../../../../i686-pc-linux-gnu/bin/as: 
/lib/libc.so.6: version `GLIBC_2.28' not found (required by
/usr/lib/binutils/i686-pc-linux-gnu/2.31.1/libbfd-2.31.1.gentoo-sys-devel-binutils-st.so)

Argh!!!

I *do* have another working Gentoo system (with the old glibc 2.27 and
Apache 2.4.38 and all binutils and all that - everything is still fine
there).  Can I use this just to copy some files (libs) to the "sick"
system?  Just until I can re-emerge everything into a consistent state
there?

-Matt



Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc...

2019-04-13 Thread Matthias Hanft
Nikos Chantziaras schrieb:
> 
> See which packages were built against the new glib. Do:
>$ qlop -l -d 2days
> See which packages were emerged AFTER glibc 2.28. Are they critical 
> packages? If not, downgrade glibc anyway. Then rebuild those packages.

I didn't consider those packages as critical (gcc was *not* built
after the glibc upgrade!), so I succeeded to downgrade glibc at last.
But now "emerge -1 apache" doesn't work because "patch" is needed,
and "patch" is still looking for glibc 2.28.  And "emerge -1 patch"
seems to need the new glibc anyway:

 * patch-2.7.6.tar.xz BLAKE2B SHA512 size ;-) ...   

 [ ok ]
>>> Unpacking source...
>>> Unpacking patch-2.7.6.tar.xz to 
>>> /var/tmp/portage/sys-devel/patch-2.7.6-r3/work
>>> Source unpacked in /var/tmp/portage/sys-devel/patch-2.7.6-r3/work
>>> Preparing source in 
>>> /var/tmp/portage/sys-devel/patch-2.7.6-r3/work/patch-2.7.6 ...
 * Applying patch-2.7.6-fix-test-suite.patch ...
patch: /lib/libc.so.6: version `GLIBC_2.28' not found (required by patch)   

 [ !! ]
 * ERROR: sys-devel/patch-2.7.6-r3::gentoo failed (prepare phase):
 *   patch -p1  failed with 
/var/tmp/portage/sys-devel/patch-2.7.6-r3/files/patch-2.7.6-fix-test-suite.patch

So it seems that I cannot emerge "patch" because I need to patch
"patch" :-(  Am I stuck now??? What to do??

-Matt



[gentoo-user] Apache not starting after upgrading Apache/glibc...

2019-04-13 Thread Matthias Hanft
Hi,

today, as usual on Saturdays, I ran "emerge -aNDuv @world" which succeeded
without any errors.  As I noticed, there was an Apache upgrade from 2.4.38-r1
to 2.4.39, and a glibc upgrade from 2.27-r6 to 2.28-r5 (among others).

After upgrading, Apache won't start any more. "/etc/init.d/apache2 start" waits
(as long as I put "--wait 6", for example, into the init script), and then
says "Apache failed to start".  In /var/log/apache2/error_log, there is nothing.

Of course, I already asked Google and found some issues with /dev/random and
/proc/sys/kernel/random/entropy_avail - I installed "rngd" then, to avoid those
problems.  I even disabled the "auth_digest" module.  Doesn't help.

Starting Apache with "-e debug" shows loading a lot of Apache modules, and then
 nothing happens any more.  "ps -ef" shows just a single Apache process 
(where
there should be some more as usual.  "netstat -lnp | grep -w 80" shows no 
listening
ports.

Downgrading to Apache 2.4.38 doesn't help either, and downgrading glibc seems
to be forbidden as "this will clearly break your system" (emerge says).

Now "admin-panic" is heavily arising.  HELP!  What can I do??

Thanks a lot,

-Matt



Re: [gentoo-user] glibc emerge error

2018-01-10 Thread Matthias Hanft
Corbin Bird wrote:
> Is anyone else having a sys-libs/glibc emerge compile failure?
>> *** LD_LIBRARY_PATH shouldn't contain the current directory when
>> *** building glibc. Please change the environment variable
>> *** and run configure again.
> Same error regardless of the version of glibc I attempt to emerge.

Sure - this error always comes up here, too. Just enter

export LD_LIBRARY_PATH=

immediately before emerge, and it works.

-Matt

PS: And if you get some message concerning some variables which
are too big (or something like that), enter
  mount -t tmpfs none /var/tmp/portage
just before emerge (and "umount /var/tmp/portage" afterwards).
I have to do this for the emerge of a few packages - I think
it's because of my 17 TB filesystem.




Re: [gentoo-user] Running Gentoo in VirtualBox

2017-12-31 Thread Matthias Hanft
the...@sys-concept.com wrote:
> 
> What are my chances to run Gentoo as a VirtualBox?

I just did it (amd64-Gentoo on Win10/64), and it works like a charm.

No problems encountered at all.  However, here it's just a "server-
Gentoo" (only Apache, Postfix and all that - no GUI/desktop, no
special hardware).

-Matt




Re: [gentoo-user] Setting up fetchmail to feed postfix

2017-11-24 Thread Matthias Hanft
Peter Humphrey wrote:
> 
> The ebuild installs /etc/init.d/fetchmail and /etc/conf.d/fetchmail, so it 
> seems to expect me to run as a daemon. But then there's no sample 
> fetchmailrc, which surprises me.

A simple example line from my /etc/fetchmailrc is:

poll pop.mail.server.example.com proto pop3
user "your.username@there", with password "secret", is 
"your.username@here" here, ssl;

That's all...

-Matt




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

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

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

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

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

-Matt




Re: [gentoo-user] Re: Restart agetty after update @world?

2017-08-12 Thread Matthias Hanft
Nikos Chantziaras wrote:
>>
>> lsof | grep -w DEL | grep portage
> 
> You should probably use app-admin/lib_users for this.

Thank you, I didn't know this.  Looks good (and found mysql
in addition to my "lsof" command).

-Matt




Re: [gentoo-user] Restart agetty after update @world?

2017-08-12 Thread Matthias Hanft
Dale wrote:
> 
> Correct.  I should have mentioned that in my post but assumed it would
> be known.  Anytime agetty is killed, it just pops back up.  I suspect it
> doesn't stay dead for even a second.  Sort of like those zombie movies. 

Looks good.  I used "pkill agetty", and now it looks like

root 16153 1  0 17:01 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
root 16155 1  0 17:01 tty1 00:00:00 /sbin/agetty 38400 tty1 linux
root 16156 1  0 17:01 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 16157 1  0 17:01 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 16158 1  0 17:01 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 16159 1  0 17:01 tty5 00:00:00 /sbin/agetty 38400 tty5 linux

and lsof... (or lib_users) doesn't show anything any more.  Thank you!

-Matt




Re: [gentoo-user] Restart agetty after update @world?

2017-08-12 Thread Matthias Hanft
Dale wrote:
> 
> I do it this way.
> pkill agetty
> Simple, quick and easy to remember.  One could script it I guess??? 

I'm pretty sure this would work, but is there something which would
start them again?  As far as I understand, these are the processes
that provide console login - correct?  Normally, I log in using ssh
via network, but I would be a little upset if I couldn't log in at
the console any more...

-Matt




[gentoo-user] Restart agetty after update @world?

2017-08-12 Thread Matthias Hanft
Hi,

for weekly updates, I'm using the usual update commands, such as

emerge -NDuv @world
emerge -c
revdep-rebuild -i

In order to find out which services are still using old versions
of updated programs/libraries, I add

lsof | grep -w DEL | grep portage

and /etc/init.d/XXX restart for those services.

But now, there's agetty left, and I don't know how to restart this
service (without reboot):

[...]
agetty 3438root  DEL   REG8,4   
30199325219 
/var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_files-2.23.so
agetty 3438root  DEL   REG8,4   
30199325229 
/var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_nis-2.23.so
agetty 3438root  DEL   REG8,4   
30199325233 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnsl-2.23.so
agetty 3438root  DEL   REG8,4   
30199325236 
/var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_compat-2.23.so
agetty 3438root  DEL   REG8,4   
30199325238 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libc-2.23.so
agetty 3438root  DEL   REG8,4   
30199325230 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ld-2.23.so
[...]

There is a /etc/init.d/agetty service, but it's stopped anyway.
I already found some discussions in the net which stated that
"init q" should do the job, but this doesn't work here (just
nothing happens).

Is there a way to restart agetty and finally drop those old
libraries?

Thanks,

-Matt



Re: [gentoo-user] Why does Java-Runtime want to print and X and all that?

2017-07-17 Thread Matthias Hanft
Michael Orlitzky wrote:
> 
> Try turning off USE="gtk" and turning on USE="headless-awt" for icedtea-bin.

Thanks. With a total of "-alsa -cups -gtk headless-awt -webstart", it reduces to

--- cut here ---

home01 ~ # emerge -pv jre

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

Calculating dependencies... done!
[ebuild  N ] app-eselect/eselect-java-0.3.0::gentoo  14 KiB
[ebuild  N ] sys-apps/baselayout-java-0.1.0::gentoo  71 KiB
[ebuild  N ] dev-java/java-config-2.2.0-r3:2::gentoo  USE="{-test}" 
PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 51 KiB
[ebuild  N ] dev-java/icedtea-bin-3.4.0:8::gentoo  USE="headless-awt -alsa 
-cups -doc -examples -gtk -multilib -nsplugin -pulseaudio (-selinux) -source 
-webstart" ABI_X86="(64) -32 (-x32)" 60397 KiB
[ebuild  N ] virtual/jdk-1.8.0-r3:1.8::gentoo  0 KiB
[ebuild  N ] virtual/jre-1.8.0-r1:1.8::gentoo  0 KiB

Total: 6 packages (6 new), Size of downloads: 60532 KiB

--- cut here ---

This looks pretty reasonable.

Ironically, in the meantime I found a better suitable package which doesn't
need Java at all :-) Thanks anyway...

-Matt




[gentoo-user] Why does Java-Runtime want to print and X and all that?

2017-07-17 Thread Matthias Hanft
Hi,

I'm thinking of installing a software (not in tree) which needs
a Java Runtime Environment. I guess I need "virtual/jre" for this,
but it wants to install 57 packages, including cups and many x11-
proto packages, including "cups" and "X" USE flags, and "cairo"
keyword failure:

--- cut here ---

home01 ~ # emerge -pv jre

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

Calculating dependencies... done!
[ebuild  N ] dev-libs/vala-common-0.34.8::gentoo  2714 KiB
[ebuild  N ] media-libs/giflib-5.1.4:0/7::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 625 KiB
[ebuild  N ] x11-themes/hicolor-icon-theme-0.15::gentoo  50 KiB
[ebuild  N ] sys-apps/baselayout-java-0.1.0::gentoo  71 KiB
[ebuild  N ] app-text/qpdf-5.1.1-r1:0/13::gentoo  USE="-doc -examples -perl 
-static-libs {-test}" 7484 KiB
[ebuild  N ] dev-java/java-config-2.2.0-r3:2::gentoo  USE="{-test}" 
PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 51 KiB
[ebuild  N ] app-eselect/eselect-java-0.3.0::gentoo  14 KiB
[ebuild  N ] media-libs/alsa-lib-1.1.2::gentoo  USE="python -alisp -debug 
-doc" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 926 KiB
[ebuild  N ] dev-util/gdbus-codegen-2.50.3::gentoo  
PYTHON_TARGETS="python2_7 python3_4 (-python3_5)" 0 KiB
[ebuild  N ] x11-proto/xproto-7.0.31::gentoo  USE="-doc" ABI_X86="(64) -32 
(-x32)" 294 KiB
[ebuild  N ] x11-proto/xextproto-7.3.0::gentoo  USE="-doc" ABI_X86="(64) 
-32 (-x32)" 0 KiB
[ebuild  N ] x11-proto/inputproto-2.3.2::gentoo  ABI_X86="(64) -32 (-x32)" 
197 KiB
[ebuild  N ] x11-proto/renderproto-0.11.1-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 104 KiB
[ebuild  N ] media-fonts/font-util-1.3.1::gentoo  0 KiB
[ebuild  N ] x11-misc/util-macros-1.19.1::gentoo  82 KiB
[ebuild  N ] x11-proto/damageproto-1.2.1-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 97 KiB
[ebuild  N ] x11-proto/compositeproto-0.4.2-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 99 KiB
[ebuild  N ] x11-proto/kbproto-1.0.7::gentoo  ABI_X86="(64) -32 (-x32)" 0 
KiB
[ebuild  N ] x11-proto/xf86bigfontproto-1.2.0-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 0 KiB
[ebuild  N ] x11-libs/xtrans-1.3.5::gentoo  USE="-doc" 0 KiB
[ebuild  N ] dev-libs/libpthread-stubs-0.4::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 57 KiB
[ebuild  N ] x11-proto/recordproto-1.14.2-r1::gentoo  USE="-doc" 
ABI_X86="(64) -32 (-x32)" 121 KiB
[ebuild  N ] x11-proto/randrproto-1.5.0::gentoo  ABI_X86="(64) -32 (-x32)" 
139 KiB
[ebuild  N ] x11-proto/xcb-proto-1.12-r2::gentoo  ABI_X86="(64) -32 (-x32)" 
PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 151 KiB
[ebuild  N ] x11-proto/fixesproto-5.0-r1::gentoo  ABI_X86="(64) -32 (-x32)" 
99 KiB
[ebuild  N ] x11-libs/libXau-1.0.8::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N ] x11-libs/libXdmcp-1.1.2-r1::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N ] dev-libs/libcroco-0.6.12-r1:0.6::gentoo  USE="{-test}" 
ABI_X86="(64) -32 (-x32)" 471 KiB
[ebuild  N ] x11-libs/gdk-pixbuf-2.36.6:2::gentoo  USE="introspection -X 
-debug -jpeg -jpeg2k {-test} -tiff" ABI_X86="(64) -32 (-x32)" 5046 KiB
[ebuild  N ] dev-libs/atk-2.22.0::gentoo  USE="introspection nls {-test}" 
ABI_X86="(64) -32 (-x32)" 729 KiB
[ebuild  N ] x11-libs/libxcb-1.12-r2:0/1.12::gentoo  USE="-doc (-selinux) 
-static-libs {-test} -xkb" ABI_X86="(64) -32 (-x32)" 600 KiB
[ebuild  N ] gnome-base/gsettings-desktop-schemas-3.22.0::gentoo  
USE="introspection" 585 KiB
[ebuild  N ] x11-libs/libX11-1.6.5::gentoo  USE="ipv6 -doc -static-libs 
{-test}" ABI_X86="(64) -32 (-x32)" 2307 KiB
[ebuild  N ] x11-themes/gnome-themes-standard-3.22.3::gentoo  2837 KiB
[ebuild  N ] dev-util/gtk-update-icon-cache-3.22.2::gentoo  358 KiB
[ebuild  N ] x11-libs/libXext-1.3.3::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N ] x11-libs/libXrender-0.9.10::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 302 KiB
[ebuild  N ] x11-libs/libXfixes-5.0.3::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 288 KiB
[ebuild  N ] x11-libs/libXi-1.7.9::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 475 KiB
[ebuild  N ] x11-libs/libXcomposite-0.4.4-r1::gentoo  USE="-doc 
-static-libs" ABI_X86="(64) -32 (-x32)" 278 KiB
[ebuild  N ] x11-libs/libXcursor-1.1.14::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 305 KiB
[ebuild  N ] x11-libs/libXdamage-1.1.4-r1::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 273 KiB
[ebuild  N ] x11-libs/libXrandr-1.5.1::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 309 KiB
[ebuild  N ] x11-libs/libXtst-1.2.3::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 315 KiB
[ebuild  N ] app-text/poppler-0.45.0:0/62::gentoo  USE="curl cxx 
introspection jpeg jpeg2k lcms utils -cairo (-cairo-qt) -cjk -debug -doc -nss 
-png -qt4 -qt5 -tiff" 

Re: [gentoo-user] Re: Don't miss the 1 500 000 000 Unix second!

2017-07-15 Thread Matthias Hanft
Grant Edwards wrote:
> 
> Well, the return type for time() changed from "int" (or was it long?)
> to "time_t" many years back.  That said, the actual underlying
> representation has never changed on 32-bit Linux systems.  Posix
> requires it to be signed, and on 32-bit Linux systems, it's still
> going to overflow in 2038 -- same as it ever was.

This is correct:

mh@n ~ $ date -u -d @2147483647
Tue Jan 19 03:14:07 UTC 2038
mh@n ~ $ date -u -d @2147483648
date: invalid date '@2147483648'

Will there be any fix until then, or will I have
to reinstall all my 32bit Gentoo systems with 64bit kernels?

Is there actually a "how-to" to replace a 32-bit-Gentoo by a 64-bit-
Gentoo? Do I have to format the harddisk (and rebuild everything from
scratch), oder can I just keep all the (postfix, apache...) configuration
in /etc, all my personal stuff in /usr/local and all the data in /var
and just install a 64-bit kernel in /boot? (Of course, with all its
dependencies like kernel modules and "system-near" binaries and all
that.)

-Matt




Re: [gentoo-user] Re: Don't miss the 1 500 000 000 Unix second!

2017-07-14 Thread Matthias Hanft
Neil Bothwick wrote:
> 
> That's a relief, I though we were in for another Y2K-like apocalypse.

As far as I know, next apocalypse is scheduled for January 19th, 2038,
03:14:08 UTC, isn't it?

At that time, I'll be 73 years old, and I hope I'm not gonna be sysadmin
any more... :-)

-Matt




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

2017-03-19 Thread Matthias Hanft
Kai Krakow wrote:
> 
> After ctrl+c'ing out of programs like tailf, SSH password prompts, in
> the middle of a shell scripts, the shell echo is not restored

Not here, but something similar: Immediately after ctrl+c'ing, no shell
prompt is displayed (in fact, *nothing* is displayed) - but it's just
the display; I can enter a shell command (with echo, too) which will
be executed properly. Or just press the RETURN key on the empty line
to get the shell prompt again.

This happens just on a single of my Gentoo systems (and not always,
but very often).

Any idea?

-Matt




Re: [gentoo-user] Portage spokes again...

2016-12-21 Thread Matthias Hanft
Corbin Bird wrote:
> 
> The "sys-fs/eudev" package is the Gentoo fork of "sys-fs/udev" for
> people who don't want systemd.

Ehm... I still use "sys-fs/udev" (not eudev) without systemd.
No problems so far. Do I have to worry?

-Matt




Re: [gentoo-user] Virtualbox documentation

2016-12-08 Thread Matthias Hanft
J. Roeleveld schrieb:
> 
> Virtualbox for a server?
> I only use it for a quick test on my laptop. On the server, I use more 
> reliable and robust virtualisation software.

For quick tests, I'm using VirtualBox on my desktop (Windows) PC in the
meantime - runs fast and reliably. But in the past, I sometimes had the
need to run some Windows-only software 24/7, and since I don't have any
real machine which runs Windows 24/7, I used to run a Windows VM on my
(old) Gentoo server (which has much RAM and CPU power - so it doesn't
affect normal server operation). Worked for years without any flaw.

I don't have the need to run a Windows VM 24/7 on my new Gentoo server
at the moment, but I'd appreciate to know that I *could* do it again
if needed.

> Did you check that the BIOS is fully uptodate and doesn't have any bugs in 
> the 
> virtualization support?

No. But I don't have any idea how to check this anyway.

-Matt




Re: [gentoo-user] Virtualbox documentation

2016-12-08 Thread Matthias Hanft
J. Roeleveld wrote:
> 
> Are your vbox modules loaded correctly?

I think they were. Will carefully check next time (cannot do now,
it's a 24/7 server where I have few time slots for maintenance
and cannot risk kernel panic during daytime).

I do have some VirtualBoxes running on other Gentoo machines. This
one is a pretty new installation, and I just thought I had forgotten
to enable something important in the virtualization sections of "make
menuconfig".

-Matt




Re: [gentoo-user] Virtualbox documentation

2016-12-08 Thread Matthias Hanft
Alan McKinnon wrote:
> 
> Do you have specific questions that you want a tutorial to answer?

*I* do have a specific question: What have I forgotten to compile into
the kernel when there is an immediate "kernel panic" as soon as I try
to start a VirtualBox VM?

-Matt




Re: [gentoo-user] GDTextUtil doesn't compile after Perl upgrade from 5.20.2 to 5.22.2

2016-10-02 Thread Matthias Hanft
Stroller wrote:
> 
> I had a nightmare with perl recently, too. Did you check there are no perl 
> packages listed in your world file?

Yes. "grep perl /var/lib/portage/world" doesn't find anything.

> I also ran `sudo perl-cleaner --reallyall` at one point.

Trying this leads to:

* Removing perl-core packages from world file
 *emerge --deselect  perl-core/Encode perl-core/File-Temp
>>> No matching atoms found in "world" favorites file...
 * Updating installed Perl virtuals
 *emerge -u1  virtual/perl-Archive-Tar virtual/perl-CPAN-Meta 
virtual/perl-CPAN-Meta-YAML virtual/perl-Carp virtual/perl-Compress-Raw-Bzip2 
virtual/perl-Compress-Raw-Zlib virtual/perl-DB_File
virtual/perl-Data-Dumper virtual/perl-Digest virtual/perl-Digest-MD5 
virtual/perl-Digest-SHA virtual/perl-Encode virtual/perl-Exporter 
virtual/perl-ExtUtils-CBuilder virtual/perl-ExtUtils-Install
virtual/perl-ExtUtils-MakeMaker virtual/perl-ExtUtils-Manifest 
virtual/perl-ExtUtils-ParseXS virtual/perl-File-Path virtual/perl-File-Spec 
virtual/perl-File-Temp virtual/perl-Getopt-Long
virtual/perl-IO virtual/perl-IO-Compress virtual/perl-IO-Zlib 
virtual/perl-IPC-Cmd virtual/perl-JSON-PP virtual/perl-Locale-Maketext 
virtual/perl-MIME-Base64 virtual/perl-Module-Metadata
virtual/perl-Parse-CPAN-Meta virtual/perl-Perl-OSType virtual/perl-Pod-Parser 
virtual/perl-Scalar-List-Utils virtual/perl-Storable virtual/perl-Sys-Syslog 
virtual/perl-Test-Harness
virtual/perl-Test-Simple virtual/perl-Text-ParseWords 
virtual/perl-Text-Tabs+Wrap virtual/perl-Time-HiRes virtual/perl-Time-Local 
virtual/perl-XSLoader virtual/perl-if virtual/perl-libnet
virtual/perl-parent virtual/perl-version
Calculating dependencies... done!
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
[...some unimportant messages...]
 * Locating packages for an update
 * Locating ebuilds linked against libperl
 *   Adding to list: sys-apps/texinfo:0
 *   Adding to list: app-editors/vim:0
 *   Adding to list: mail-filter/spamassassin:0
 *   Adding to list: net-analyzer/net-snmp:0
 *   Adding to list: net-analyzer/rrdtool:0
 *   Adding to list: net-analyzer/nagios-core:0
 *   Adding to list: perl-core/File-Temp:0
 *   virtual/perl-File-Temp:0
 *   Adding to list: perl-core/Encode:0
 *   virtual/perl-Encode:0
 *   Adding to list: dev-perl/[...many, many, packages...]
 *   Adding to list: net-nds/openldap:0
 *   Adding to list: media-gfx/graphite2:0
 *   Adding to list: media-gfx/graphviz:0
 *   Adding to list: dev-vcs/subversion:0
 *   Adding to list: dev-vcs/git:0
 *   Adding to list: net-print/cups-filters:0
 * emerge -v1 --backtrack=200 [...all of the above, with a total of 118 
packages...]
[...some hours later...]
>>> Emerging (91 of 118) dev-perl/GDTextUtil-0.860.0-r1::gentoo
 * GDTextUtil-0.86.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...  
   [ ok ]
>>> Unpacking source...
>>> Unpacking GDTextUtil-0.86.tar.gz to 
>>> /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work
>>> Preparing source in 
>>> /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work/GDTextUtil-0.86 ...
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work/GDTextUtil-0.86 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none 
DESTDIR=/var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/image/
GD.c: loadable library and perl binaries are mismatched (got handshake key 
0x7bc, needed 0x7cc)
 * ERROR: dev-perl/GDTextUtil-0.860.0-r1::gentoo failed (configure phase):
 *   Unable to build!

So it's the same thing again...

-Matt




Re: [gentoo-user] GDTextUtil doesn't compile after Perl upgrade from 5.20.2 to 5.22.2

2016-10-02 Thread Matthias Hanft
Neil Bothwick wrote:
> 
> But not everything with gd in its name. I had a similar problem recently
> that was solved by re-emerging media-libs/gd

Already tried "emerge -1 gd" with no success. "grep gd /var/lib/portage/world"
doesn't find anything either.

-Matt




[gentoo-user] GDTextUtil doesn't compile after Perl upgrade from 5.20.2 to 5.22.2

2016-10-02 Thread Matthias Hanft
Hi,

on one of my Gentoo machines, the package "dev-perl/GDTextUtil" refuses
to emerge after I had made the usual updates (emerge -NDuv @world), which,
this time, included upgrading Perl from 5.20.2 to 5.22.2:

--- cut here ---

fileserver ~ # emerge --update --newuse --deep --with-bdeps=y --backtrack=1000 
--keep-going @world
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-perl/GDTextUtil-0.860.0-r1::gentoo
 * GDTextUtil-0.86.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...  
   [ ok ]
>>> Unpacking source...
>>> Unpacking GDTextUtil-0.86.tar.gz to 
>>> /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work
>>> Preparing source in 
>>> /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work/GDTextUtil-0.86 ...
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/work/GDTextUtil-0.86 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none 
DESTDIR=/var/tmp/portage/dev-perl/GDTextUtil-0.860.0-r1/image/
GD.c: loadable library and perl binaries are mismatched (got handshake key 
0x7bc, needed 0x7cc)
 * ERROR: dev-perl/GDTextUtil-0.860.0-r1::gentoo failed (configure phase):
 *   Unable to build!

--- cut here ---

I already tried to uninstall and reinstall everything with "perl" in its name,
but without success. I can install/upgrade everything else from "dev-perl/...";
it's just this weird "GDTextUtil" which remains at the end of every "emerge"
effort - no matter which "emerge" options I use, or what the order of packages
is. On another machine, everything was fine automagically (that one is 64bit;
the failing machine is 32bit), and on a third machine, GDTextUtil isn't pulled
in at all (not quite sure what is pulling in, could be "vdradmin-am").

Any hints what to try further?

Thanks,

-Matt



Re: [gentoo-user] [OT] Is it still advisable to partition a big hard drive?

2016-09-01 Thread Matthias Hanft
gevisz wrote:
> 
> But what are disadvantages of not partitioning a big
> hard drive into smaller logical ones?

If your filesystem becomes corrupt (and you are unable to
repair it), *all* of your data is lost (instead of just
one partition). That's the only disadvantage I can think
of. I don't like partitions either (after some years, I
always found that sizes don't match my requirements any
more), and therefore, on my new server, I didn't create
any other partitions than "boot":

home01 ~ # df -h -T
Filesystem Type  Size  Used Avail Use% Mounted on
/dev/sda4  xfs17T   14T  2.9T  83% /
devtmpfs   devtmpfs   10M 0   10M   0% /dev
tmpfs  tmpfs 3.2G  644K  3.2G   1% /run
shmtmpfs  16G  512K   16G   1% /dev/shm
/dev/sda2  ext2  124M   46M   72M  39% /boot
ACDFusefuse.ACDFuse  100T  284M  100T   1% /mnt/acd
/dev/sdb1  ext3  2.7T  707G  1.9T  28% /mnt/toshiba
home01 ~ #

Backup of important and/or secret files goes to an external
USB hard drive (sdb1) which is formatted with ext3 for
maximum compatibility (every other Linux can read this
without kernel hacks); backup of not-so-secret files goes
to Amazon Cloud Drive (acd) or some other "cloud"; unimportant
files (videos which I have on DVD or BD anyway, or can re-buy)
just aren't backed up.

-Matt




Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Matthias Hanft
Alan Mackenzie wrote:
 
 Do I actually need to configure the name of a log file in
 /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
 even hint at, such being necessary.

The names of the log files (and much more) are configured in
/etc/syslog-ng/syslog-ng.conf - since I have some special
configuration there, I don't know if /var/log/syslog is the
default, but /var/log/messages is a good guess, too.

And (from what I have heard) if you use systemd instead of
openrc, there are no syslog files at all - you have to export
them (from some binary database) manually to some human-
readable format. But I don't know much about that - never
used systemd on any Gentoo Linux yet.

-Matt




Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Matthias Hanft
Alan Mackenzie wrote:
 
 On Mon, Feb 09, 2015 at 12:19:20PM +0200, Alan McKinnon wrote:
 (it's also constantly tailed on vt12, just in case you need to see
 what's going on it right now)
 
 I didn't know that.  Wow!  Is this something relatively new, or has it
 always been there?

I installed my first Gentoo server (which is still operating)
on 4/13/2006, and I'm pretty sure I could press ALT+F12 at the
console for reading syslog (=messages) even then.

-Matt




Re: [gentoo-user] Re: rdesktop problems 1.8.2 - 1.8.3

2015-02-07 Thread Matthias Hanft
R0b0t1 wrote:
 Anyone using rdesktop may wish to consider FreeRDP. The only minor issue I've 
 had is not being able to get copy and paste working, but it should.

Works like a charm, thank you! (Just a quick test, didn't try copypaste yet.)

-Matt




Re: [gentoo-user] Re: rdesktop problems 1.8.2 - 1.8.3

2015-02-05 Thread Matthias Hanft
J. Roeleveld wrote:
 
 Yes, you need to enable Remote Desktop on the windows guest.

No, you need to enable Remote Desktop in the VirtualBox settings.

VBoxManage modifyvm name --vrde on --vrdeport 3389 --vrdeauthtype ...

And then connect to the host's IP, not to the guest's.

The benefit is that you can connect to a Windows which doesn't have
an RDP server included (Home versions of modern Windows, or even
a very old Windows 2000, and all that).

-Matt




Re: [gentoo-user] Re: rdesktop problems 1.8.2 - 1.8.3

2015-02-05 Thread Matthias Hanft
J.  Roeleveld wrote:
 
 And how will the authentication work that way?

Just as you like:

--vrdeauthtype null  : no authentication at all (useful in a well-
   secured LAN, cut off from the outside world,
   for quick-and-dirty testing)

--vrdeauthtype external  : specify an own --vrdeauthlibrary where you
   can do/check anything you want (a VBoxAuth.so
   is included to check against the host's PAM
   system, and a VBoxAuthSimple to check against
   some hand-made settings in the VM config file;
   but of course you can compile an own myauth.so
   where you can check MySQL databases, LDAP servers,
   date, time, the current weather and all that) :-)

--vrdeauthtype guest : authentication by the guest system via the Guest
   Additions (don't know if it's fully supported
   yet, never tried out)

-Matt




[gentoo-user] rdesktop problems 1.8.2 - 1.8.3

2015-02-04 Thread Matthias Hanft
Hi,

I'm using net-misc/rdesktop in order to get access to a VirtualBox
(Windows) guest on a remote (also Gentoo) Linux:

Windows PC with  Gentoo Linux with - Gentoo Linux with
Xming serverssh  rdesktop programVirtualBox (Windows)

From my Windows desktop PC (where Xming server is running), I use a
PuTTY ssh to a Linux shell, call rdesktop -u ... -p ... hostname 
from there, and I get the Windows desktop from the remote host onto
my own desktop.

Until net-misc/rdesktop-1.8.2, everything worked like a charm. But
with 1.8.3 (which portage installed this week), I can't mouse-click
in the remote desktop window any more (and keypresses seem to be
ignored either). Sometimes even the desktop isn't painted completely
(only about 75% from top, doesn't reach the Windows task bar at the
bottom).

I have alread looked at the changelog at packages.gentoo.org, but
only found some minor (?) bugfix - nothing about any fundamental
issues or bigger changes...

Downgraded to 1.8.2 - and everything works flawlessly again!

What could it be that 1.8.3 doesn't work any more?

-Matt



Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags [SOLVED]

2015-02-02 Thread Matthias Hanft
Alexander Kapshuk wrote:
 
 What's the output of the command lines shown below on your system?
 grep -Es 'ffmpeg|CPU' /etc/portage/*

Ah uh...

/etc/portage/package.use:# this is necessary for ffmpeg update (see gentoo-bug 
290741)
/etc/portage/package.use:media-video/ffmpeg -pic

Seems that I didn't USE mmx before, and, therefore, had to disable
pic manually (because of the bug mentioned). Now mmx came into
CPU_FLAGS, and obviously mmx and pic have to be enabled or disabled
simultaneously.

Thanks - this was a long-forgotten configuration...

-Matt




[gentoo-user] Cannot reinstall ffmpeg since new cpu flags

2015-02-01 Thread Matthias Hanft
Hi,

I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86
told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3

When I did emerge -NDuv @world afterwards, there were some re-installs.
Everything was fine, except ffmpeg. emerge displays:

[ebuild   R] media-video/ffmpeg-1.2.6-r1  USE=bzip2 encode examples 
fontconfig gnutls hardcoded-tables iconv libcaca mp3 network truetype vorbis 
x264 xvid zlib -X -aac -aacplus -alsa (-altivec)
-amr -bindist -bluray -cdio (-celt) -cpudetection -debug -doc -faac -fdk -flite 
-frei0r -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libsoxr -libv4l 
-modplug (-neon) -openal -openssl -opus -oss
-pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora 
-threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) 
(-mmx%) (-mmxext%) (-ssse3%)
CPU_FLAGS_X86=mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3% 
FFTOOLS=aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex 
pktdumper qt-faststart trasher 0 KiB

and running emerge, after many lines, I get

[...]
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/mpeg12.c:1164:12:
 warning: 'mpeg_decode_update_thread_context' defined but not used 
[-Wunused-function]
 static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const 
AVCodecContext *avctx_from)
^
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/common.mak:48: 
recipe for target 'libavcodec/motion_est.o' failed
make: *** [libavcodec/motion_est.o] Error 1
make: *** Waiting for unfinished jobs
 * ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (compile phase):
 *   emake failed

Google can't find this special error message (yet?), so I believe I'm
the only one getting that error (and, hence, didn't want to file a bug
report instantly). Perhaps I set some weird use flags?

(No graphics installed on that machine, it's just a server which uses
command-line ffmpeg-converting, mainly sound files, not even videos.)

Thanks,

-Matt



Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags

2015-02-01 Thread Matthias Hanft
Mike Gilbert wrote:
 
 You failed to include the real error message in your email. Look
 further up in the log for a line containing error:.

Ah, I actually missed that:

/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1:
 error: 'asm' operand has impossible constrain
ts

(12 times)

Kernel 3.17.7, BTW. Last compilation is a long time ago (maybe 3.12 or so)

-Matt




Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags

2015-02-01 Thread Matthias Hanft
I wrote:
 
 /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1:
  error: 'asm' operand has impossible constraints

The piece of source code at that point:

#if HAVE_CMOV
#define COPY3_IF_LT(x, y, a, b, c, d)\
__asm__ volatile(\
cmpl  %0, %3   \n\t\
cmovl %3, %0   \n\t\
cmovl %4, %1   \n\t\
cmovl %5, %2   \n\t\
: +r (x), +r (a), +r (c)\
: r (y), r (b), r (d)\
);
#endif

and the emerge messages:

[...]
In file included from 
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/mathops.h:45:0,
 from 
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:35:
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1:
 error: 'asm' operand has impossible constraints
 __asm__ volatile(\
 ^
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:378:5:
 note: in expansion of macro 'COPY3_IF_LT'
 COPY3_IF_LT(dminh, d, dx, x, dy, y)\
 ^
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:440:17:
 note: in expansion of macro 'CHECK_SAD_HALF_MV'
 CHECK_SAD_HALF_MV(xy2, +1, -1)
 ^
[repeated 12 times]

-Matt




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

2013-01-27 Thread Matthias Hanft
Allan Gottlieb wrote:
 
 1. remove udev-postmount:
I did this but worry that I now cannot reboot until I upgrade
udev.  Is that correct?

Based on my experience, you just don't care about udev-postmount.
It will automagically be removed when you upgrade from udev-171
to udev-197.

-Matt




Re: [gentoo-user] udev-197 USE=kmod

2013-01-27 Thread Matthias Hanft
Florian Philipp wrote:
 
 Is it really a drop-in? I was under the impression that for example
 `modprobe -l` is not implemented (mentioned in a comment on the eudev
 fork on LWN). I guess that's outdated as well.

I'm using kmod's modprobe, and there is *no* -l option.

-Matt




Re: [gentoo-user] Re: Udev-197 : 4 show-stoppers

2013-01-23 Thread Matthias Hanft
»Q« wrote:
 Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 My daily update pulled in udev-197-r3. The installation went smoothly
 but I decided I ought to reboot to check that I could. I couldn't.
 Udev couldn't start because my kernel config didn't have
 CONFIG_DEVTMPFS=y. So I booted my rescue system on the same disk,
 chrooted in and built a new kernel with that option. On rebooting
 everything was fine.
 
 This got me too.  Now there's a discussion in -dev about making config
 warnings fatal.

Good idea, but as I updated udev yesterday on one of my Gentoo systems,
in the usual after-update messages there was a line in red, telling me
You don't have CONFIG_DEVTMPFS enabled. udev will not start. So it's
not really a surprise, is it? Hence, I built a new kernel *before*
rebooting :-)

-Matt





Re: [gentoo-user] What does # mean in emerge output?

2013-01-13 Thread Matthias Hanft
Chris Stankevitz wrote:
 
 In the above emerge instance, a # symbol appears in the emerge
 output.   What does this mean?  man emerge seems to skip this when
 describing these OUTPUTS.

My man emerge says:

  Symbol   Mask Type
  --

#  package.mask
*  missing keyword
~  unstable keyword

  NOTE: The unstable keyword symbol (~) will not be shown in cases 
in which the
corresponding unstable keywords have been accepted  globally via 
ACCEPT_KEYWORDS.

So your package seems to be masked by an entry in /etc/portage/package.mask.

-Matt




Re: [gentoo-user] Re: udev downgrade

2013-01-04 Thread Matthias Hanft
Bruce Hill wrote:
 
 Too late, too tired, but do you have:
 =sys-fs/udev-181
 in /etc/portage/package.mask ?

Ehm... according to http://packages.gentoo.org/category/sys-fs?full_cat
udev-171-r9 is the only stable x86 version, and udev-181 doesn't exist
at all?!

-Matt (still using 171 because at emerge -u world, an update never appeared)





Re: [gentoo-user] IPTABLES syntax change?

2012-12-27 Thread Matthias Hanft

Michael Orlitzky wrote:


My first -m state rule is,
   iptables -A INPUT -p ALL -m state \
 --state ESTABLISHED,RELATED -j ACCEPT


That was mine, too (you can omit -p in this case, can't you?).


And if what you say is true, I'd be in deep shit if it reset to,
   iptables -A INPUT -p ALL -m state -j ACCEPT
without a warning.


It *was* resetted here.  I just noticed it reading this discussion.

Don't exactly know what the stateless rule did (perhaps just
nothing?), but since I didn't notice it for a pretty long time,
it can't have been all to bad?!  At least, it didn't crash the
whole system :-)

But I would have appreciated at least an update notice, too!

-Matt




Re: [gentoo-user] Re: problem starting openvpn after recenet upgrade

2012-12-27 Thread Matthias Hanft

Joseph wrote:


Yes, you are correct. Rebuilding openvpn worked; thank you.


As far as I have seen, you can set USE=iproute2 for OpenVPN which
seems to use iproute2 instead of net-tools - should avoid your problem,
too.

-Matt




Re: [gentoo-user] blocked packages both required by the system sys-apps/openrc vs. sys-apps/net-tools?

2012-11-27 Thread Matthias Hanft

Pascal J. Bourguignon wrote:


I just emerged --sync and now when I try to update world, I get this
conflict: [...]


I had the same problem.  Since openrc was not in my world file (pulled in
automatically), it was not scheduled for update.  The solution was to use
emerge -Duv world including deep dependencies.  This caused updating
net-tools and openrc at the *same* time without any errors.

-Matt




Re: [gentoo-user] OT: Gentoo as ESXi guest: how to install vmware-tools/open-vm-tools?

2012-11-02 Thread Matthias Hanft

Jarry schrieb:


First I tried vmware-tools. Installation went smoot, but
nothing happened. Just one iso-image got installed in /opt.
No doc/readme/txt, nothing. What should I do with it?


mount -o loop the iso-image somewhere and execute the install
script there.

-Matt




[gentoo-user] vmware-tools and revdep-rebuild

2012-08-19 Thread Matthias Hanft

Hello,

after upgrading the kernel on a Gentoo machine which is a VMWare guest,
I also upgraded vmware-tools (this means, emerge the package, mount the
.iso with -o loop, and run ./INSTALL).

Basically, no problem as usual, but now revdep-rebuild complains about
some files which were installed by vmware-tools:

--- cut ---

 *  !!! /usr/lib/vmware-tools/bin32/gksu not owned by any package is broken !!!
 *   /usr/lib/vmware-tools/bin32/gksu - (none)
 *  !!! /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so not 
owned by any package is broken !!!

 *   
/usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so 
- (none)
 *  !!! /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so not 
owned by any package is broken !!!

 *   
/usr/lib/vmware-tools/lib32/libconf/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so 
- (none)
 *  !!! /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/modules/libatk-bridge.so not owned by any 
package is broken !!!

 *   /usr/lib/vmware-tools/lib32/libconf/gtk-2.0/modules/libatk-bridge.so - 
(none)
 *  !!! /usr/lib/vmware-tools/lib32/libgksu2.so.0/libgksu2.so.0 not owned by 
any package is broken !!!
 *   /usr/lib/vmware-tools/lib32/libgksu2.so.0/libgksu2.so.0 - (none)
 *  !!! /usr/lib/vmware-tools/lib32/libspi.so.0/libspi.so.0 not owned by any 
package is broken !!!
 *   /usr/lib/vmware-tools/lib32/libspi.so.0/libspi.so.0 - (none)
 *  !!! /usr/lib/vmware-tools/lib32/libvmware-toolbox.so/libvmware-toolbox.so not owned by any 
package is broken !!!

 *   /usr/lib/vmware-tools/lib32/libvmware-toolbox.so/libvmware-toolbox.so - 
(none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libdesktopEvents.so not owned by any package is 
broken !!!

 *   /usr/lib/vmware-tools/plugins32/vmusr/libdesktopEvents.so - (none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libdndcp.so not owned by any 
package is broken !!!
 *   /usr/lib/vmware-tools/plugins32/vmusr/libdndcp.so - (none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libresolutionSet.so not owned by any package is 
broken !!!

 *   /usr/lib/vmware-tools/plugins32/vmusr/libresolutionSet.so - (none)
 *  !!! /usr/lib/vmware-tools/plugins32/vmusr/libunity.so not owned by any 
package is broken !!!
 *   /usr/lib/vmware-tools/plugins32/vmusr/libunity.so - (none)

--- cut ---

Seems that most of the files are intended for some graphical desktops (which
are not needed here but are installed by vmware-tools anyway).

Can I somehow get rid of those messages (apart from just deleting those unneeded
libraries which may break other things)? I already tried some configuration with
LD_LIBRARY_MASK, but to no avail.

Thanks,

-Matt




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

2012-08-17 Thread Matthias Hanft

Randolph Maaßen wrote:


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


I assumed your cat walking over the keyboard ;)

-Matt





Re: [gentoo-user] got error while emerging virtualbox-modules-4.1.12

2012-06-22 Thread Matthias Hanft

Александр wrote:


got error while emerging virtualbox-modules-4.1.12


Look here: https://bugs.gentoo.org/show_bug.cgi?id=394219

-Matt




Re: [gentoo-user] Listing the files of an un-/installed package...?

2012-05-19 Thread Matthias Hanft

Volker Armin Hemmann wrote:


not possible. How can anybody know beforehand? with useflags and all?


At least, equery uses package *does* work with uninstalled packages.
(However, equery files package does not.)

-Matt