postscript viewer gv profoundly broken

Does anyone else use gv(1) package to view postscript?
Code:
[strand.285] $ pkg provides "/usr/local/bin/gv$"
Name    : gv-3.7.4_7
Comment : PostScript and PDF previewer
Repo    : FreeBSD
Filename: usr/local/bin/gv
Is it working for you?

On FreeBSD 13.5 and FreeBSD 14.2, my experience is that gv (installed from the standard package) now always spits out the diagnostic Warning: Representation size 4 must match superclass's to override highlightedFrameStyle and then goes into an infinite loop, flat-lining one CPU, and never terminates.

Is it working for anyone?
 
I get the same message. But no endless loop. I get SIGBUS after some CPU time.

Code:
Program received signal SIGBUS, Bus error.
Object-specific hardware error.
0x000000080036d5d2 in XtReleaseGC () from /usr/local/lib/libXt.so.6
(gdb) bt
#0  0x000000080036d5d2 in XtReleaseGC () from /usr/local/lib/libXt.so.6
#1  0x00000008002cc52a in SetValues () from /usr/local/lib/libXaw3d.so.8
#2  0x0000000800383665 in ?? () from /usr/local/lib/libXt.so.6
#3  0x000000080038361a in ?? () from /usr/local/lib/libXt.so.6
#4  0x000000080038361a in ?? () from /usr/local/lib/libXt.so.6
#5  0x0000000800383523 in XtSetValues () from /usr/local/lib/libXt.so.6
#6  0x0000000000242e69 in ?? ()
#7  0x00000008005f5764 in __libc_start1 (argc=1, argv=0x7fffffffd460, 
    env=0x7fffffffd470, cleanup=<optimized out>, mainX=0x241680)
    at /mnt/part2/usr/src/lib/libc/csu/libc_start1.c:172
#8  0x000000000022e3a4 in ?? ()

This is the package from 15-current.
 
It seems that no bugs have been reported.
Comment 3 seems to be wrong.
Try the following patch:
Code:
diff --git a/print/gv/Makefile b/print/gv/Makefile
index d6d0ddbc62..f3c3febbee 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=      gv
 PORTVERSION=   3.7.4
-PORTREVISION=  7
+PORTREVISION=  8
 CATEGORIES=    print
 MASTER_SITES=  GNU

@@ -10,7 +10,7 @@ WWW=          https://www.gnu.org/software/gv/

 LIB_DEPENDS=   libXaw3d.so:x11-toolkits/libXaw3d

-USES=          cpe ghostscript:x11 iconv gmake perl5 shebangfix xorg
+USES=          cpe ghostscript:x11 iconv gmake perl5 pkgconfig shebangfix xorg
 USE_PERL5=     build
 USE_XORG=      xpm ice sm xext xmu x11
 GNU_CONFIGURE= yes
 
That fixed it. Thank you.

I see that the gv port has dependencies in the INDEX for python312 and py312-packaging, neither of which seem to exist as packages, which seems odd.

[I generally install the dependencies as packages to keep the time and effort to compile and manage the port under control.]
 
Back
Top