Re: [OpenBSD -current] xpdf: core dump

2024-01-27 Thread Marcel Logen
Stuart Henderson wrote:

> On 2024/01/27 12:41, Marcel Logen wrote:

> > I do a "pkg_add -u" almost every two weeks (after "sysupgrade -s").
> 
> Are there any errors or warnings?

No.

> What does pkg_check say?

| t20# pkg_check -n -v
| Packing-list sanity: ok
| Direct dependencies: ok
| Reverse dependencies: ok
| Files from packages: ok
| t20# 

Marcel



Re: [OpenBSD -current] xpdf: core dump

2024-01-27 Thread Stuart Henderson
On 2024/01/27 12:41, Marcel Logen wrote:
> I do a "pkg_add -u" almost every two weeks (after "sysupgrade -s").

Are there any errors or warnings?

What does pkg_check say?



Re: [OpenBSD -current] xpdf: core dump

2024-01-27 Thread Marcel Logen
Matthieu Herrb wrote:

On Fri, Jan 26, 2024 at 12:53:01PM +0100, Marcel Logen wrote:

[...]
> > | Information for inst:xpdf-4.04p1v0
[...]
> > | xpdf:/usr/X11R6/lib/libX11.so.17.1: /usr/X11R6/lib/libX11.so.18.0 : 
> > WARNING: symbol(_XkeyTable) size mismatch, relink your program
> > | QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
> > '/tmp/runtime-user20'
> > | Cannot mix incompatible Qt library (5.9.8) with this library (5.15.11)
> > | Abort trap (core dumped) 

> You have some package installed that was not updated properly.

Hm, OK ...

> It has been almost 2 years since libX11 shared lib revision was bumped
> to 18.0.

Thanks.

> go to /var/db/pkg and run:
> 
>   grep X11\\.17 */+CONTENTS
> 
> to figure out which packages need some kind of manual update

| t20$ grep X11\\.17 */+CONTENTS
| t20$ 

| t20$ grep -e 'X11.*17' */+CONTENTS
| motif-2.3.8p1/+CONTENTS:lib/X11/bindings/intergraph17

| t20$ grep -i -e 'x11' xpdf-4.04p1v0/+CONTENTS 
 
| @depend x11/qt5/qtbase,-main:qtbase-*:qtbase-5.15.11pl148

| t20$ grep -e 'depe' -e 'name' -e 'url' -e 'version' xpdf-4.04p1v0/+CONTENTS 
| @name xpdf-4.04p1v0
| @url https://ftp.fau.de/pub/OpenBSD/snapshots/packages/amd64/xpdf-4.04p1v0.tgz
| @version 11
| @depend graphics/png:png-*:png-1.6.40
| @depend 
print/ghostscript/gnu-fonts:ghostscript-fonts-*:ghostscript-fonts-8.11p3
| @depend print/libpaper:libpaper-*:libpaper-2.1.3
| @depend x11/qt5/qtbase,-main:qtbase-*:qtbase-5.15.11pl148
| t20$ 

> (assuming
> that you have run pkg_add -u on a regular basis in the last 2 years).

I do a "pkg_add -u" almost every two weeks (after "sysupgrade -s").

Marcel



Re: [OpenBSD -current] xpdf: core dump

2024-01-26 Thread Matthieu Herrb
On Fri, Jan 26, 2024 at 12:53:01PM +0100, Marcel Logen wrote:
> Hello,
> 
> I'm using OpenBSD -current. Since some weeks (or months?) I get
> a core dump when trying to start "xpdf".
> 
> | t20$ head -n 1 /etc/motd 
> | OpenBSD 7.4-current (GENERIC.MP) #1625: Thu Jan 25 09:16:39 MST 2024
> 
> | t20$ uname -a
> | OpenBSD t20 7.4 GENERIC.MP#1625 amd64
> 
> | t20$ pkg_info xpdf | grep -e 'Inf' -e 'Main' 
> | Information for inst:xpdf-4.04p1v0
> | Maintainer: The OpenBSD ports mailing-list 
> 
> | t20$ xpdf
> | xpdf:/usr/X11R6/lib/libX11.so.17.1: /usr/X11R6/lib/libX11.so.18.0 : 
> WARNING: symbol(_XkeyTable) size mismatch, relink your program
> | QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user20'
> | Cannot mix incompatible Qt library (5.9.8) with this library (5.15.11)
> | Abort trap (core dumped) 
> | t20$ 
> 
> What can I do, or is it a problem of the package maintainer?
> 

Hi,

You have some package installed that was not updated properly.
It has been almost 2 years since libX11 shared lib revision was bumped
to 18.0.

go to /var/db/pkg and run:

  grep X11\\.17 */+CONTENTS

to figure out which packages need some kind of manual update (assuming
that you have run pkg_add -u on a regular basis in the last 2 years).

-- 
Matthieu Herrb



Re: [OpenBSD -current] xpdf: core dump

2024-01-26 Thread Stefan Hagen
Marcel Logen wrote (2024-01-26 12:53 CET):
> | t20$ xpdf
> | xpdf:/usr/X11R6/lib/libX11.so.17.1: /usr/X11R6/lib/libX11.so.18.0 : 
> WARNING: symbol(_XkeyTable) size mismatch, relink your program
> | QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user20'
> | Cannot mix incompatible Qt library (5.9.8) with this library (5.15.11)
> | Abort trap (core dumped) 
> | t20$ 
> 
> What can I do, or is it a problem of the package maintainer?

This happens after you ran pkg_add -u?
My xpdf is not looking for libX11.so.17.1 anymmore and it works fine.

- Stefan



[OpenBSD -current] xpdf: core dump

2024-01-26 Thread Marcel Logen
Hello,

I'm using OpenBSD -current. Since some weeks (or months?) I get
a core dump when trying to start "xpdf".

| t20$ head -n 1 /etc/motd 
| OpenBSD 7.4-current (GENERIC.MP) #1625: Thu Jan 25 09:16:39 MST 2024

| t20$ uname -a
| OpenBSD t20 7.4 GENERIC.MP#1625 amd64

| t20$ pkg_info xpdf | grep -e 'Inf' -e 'Main' 
| Information for inst:xpdf-4.04p1v0
| Maintainer: The OpenBSD ports mailing-list 

| t20$ xpdf
| xpdf:/usr/X11R6/lib/libX11.so.17.1: /usr/X11R6/lib/libX11.so.18.0 : WARNING: 
symbol(_XkeyTable) size mismatch, relink your program
| QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user20'
| Cannot mix incompatible Qt library (5.9.8) with this library (5.15.11)
| Abort trap (core dumped) 
| t20$ 

What can I do, or is it a problem of the package maintainer?

TIA,
Marcel