pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56623: wm/ctwm fails to build on Solaris 11.3

>Number:         56623
>Category:       pkg
>Synopsis:       wm/ctwm fails to build on Solaris 11.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 13 20:30:00 +0000 2022
>Originator:     Sad Clouds
>Release:        pkgsrc-2021Q4
SunOS pkgsrc 5.11 11.3 sun4v sparc SUNW,SPARC-Enterprise-T5220

Build tools symlink gm4 to Solaris native m4, which doesn't seem to work here:

===> Building for ctwm-4.0.3
[  1%] [FLEX][ctwm_lexer] Building scanner with flex 2.6.4
/opt/netbsd/pkg.objects/wm/ctwm/work.pkgsrc/.tools/bin/gm4: bad option: -P
--- lex.c ---
*** [lex.c] Error code 141
bmake[2]: *** lex.c removed

# ls -l /opt/netbsd/pkg.objects/wm/ctwm/work.pkgsrc/.tools/bin/gm4
lrwxrwxrwx   1 root     root          15 Jan 13 21:05 /opt/netbsd/pkg.objects/wm/ctwm/work.pkgsrc/.tools/bin/gm4 -> /usr/ccs/bin/m4


Workaround was to symlink gm4 to pkgsrc version

ln -sf /opt/pkg/bin/gm4 /opt/netbsd/pkg.objects/wm/ctwm/work.pkgsrc/.tools/bin/gm4

Fix is needed to pkgsrc Makefile to include pkgsrc m4 as a dependency when running on Solaris.

Home | Main Index | Thread Index | Old Index