[RPL/2] RPL/2 4.1.37 `tools/libXpm-3.5.16` requires `automake-1.17`.

Felix Becker linux.felixbecker2 at gmx.de
Fri Sep 25 14:19:14 CEST 2026


... having done that (and also installing `xbitmaps`), finally the Motif build crashes with a segmentation fault:

```
[...]
/bin/sh ../../../libtool  --tag=CC   --mode=link gcc  -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -w -flto=auto -fno-strict-overflow -std=gnu17 -malign-double -funsigned-char -Wno-unused-value -Wno-error=unused-value -Wno-unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-unused-label -Wno-error=unused-label -Wno-unused-function -Wno-error=unused-function -Wno-maybe-uninitialized -Wno-error=maybe-uninitialized -Wno-misleading-indentation -Wno-error=misleading-indentation -Wno-incompatible-pointer-types -Wno-pointer-sign  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -pthread -o hellomotif hellomotif.o ../../../lib/Xm/libXm.la ../../../lib/Mrm/libMrm.la -lXp  -lfontconfig -lXft -ljpeg -lpng
libtool: link: gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -w -flto=auto -fno-strict-overflow -std=gnu17 -malign-double -funsigned-char -Wno-unused-value -Wno-error=unused-value -Wno-unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-unused-label -Wno-error=unused-label -Wno-unused-function -Wno-error=unused-function -Wno-maybe-uninitialized -Wno-error=maybe-uninitialized -Wno-misleading-indentation -Wno-error=misleading-indentation -Wno-incompatible-pointer-types -Wno-pointer-sign -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto=auto -pthread -o hellomotif hellomotif.o  ../../../lib/Xm/.libs/libXm.a ../../../lib/Mrm/.libs/libMrm.a /var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/motif-2.3.8/lib/Xm/.libs/libXm.a -lXmu -lXext -lXt -lSM -lICE -lX11 -lXp -lfontconfig -lXft -ljpeg -lpng -pthread
../../../clients/uil/uil -o hellomotif.uid hellomotif.uil -I./../../../clients/uil -I../../../clients/uil
make[5]: *** [Makefile:731: hellomotif.uid] Segmentation fault
make[5]: Leaving directory '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/motif-2.3.8/demos/programs/hellomotif'
make[4]: *** [Makefile:427: all-recursive] Error 1
make[4]: Leaving directory '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/motif-2.3.8/demos/programs'
make[3]: *** [Makefile:394: all-recursive] Error 1
make[3]: Leaving directory '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/motif-2.3.8/demos'
make[2]: *** [Makefile:451: all-recursive] Error 1
make[2]: Leaving directory '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/motif-2.3.8'
make[1]: *** [Makefile:1232: tools/motif-2.3.8/install/lib/libXm.a] Error 2
make[1]: Leaving directory '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37'
make: *** [Makefile:982: all] Error 2
```

Manually `cd tools/motif-2.3.8/demos/programs/hellomotif`, `make` reproduces this.

GDB run (`gdb make`):  
```
Reading symbols from make...
Downloading separate debug info for /usr/bin/make
(No debugging symbols found in make)                                                                                                                                                                                                         
(gdb) run
Starting program: /usr/bin/make 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
../../../clients/uil/uil -o hellomotif.uid hellomotif.uil -I./../../../clients/uil -I../../../clients/uil
[Detaching after vfork from child process 18422]
make: *** [Makefile:731: hellomotif.uid] Segmentation fault
[Inferior 1 (process 18393) exited with code 02]
(gdb) bt
❌️ No stack.
(gdb) quit
```

GDB run (`gdb --args ../../../clients/uil/uil -o hellomotif.uid hellomotif.uil -I./../../../clients/uil -I../../../clients/uil`):  
```
Reading symbols from ../../../clients/uil/uil...
(gdb) run
Starting program: /var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/motif-2.3.8/clients/uil/uil -o hellomotif.uid hellomotif.uil -I./../../../clients/uil -I../../../clients/uil
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00005555555df8c0 in XmStringConcatAndFree ()
(gdb) bt
#0  0x00005555555df8c0 in XmStringConcatAndFree ()
#1  0x00005555555babb3 in sem_evaluate_value_cs.part ()
#2  0x00005555555bba5c in sem_evaluate_value_expr.part ()
#3  0x00005555555bb6c2 in sem_evaluate_value_expr.part ()
#4  0x00005555555bcb16 in sem_evaluate_value ()
#5  0x00005555555be5b2 in sem_validate_node ()
#6  0x00005555555be7e6 in sem_validate_argument_list ()
#7  0x00005555555be4ad in sem_validate_node ()
#8  0x00005555555be5c9 in sem_validate_node ()
#9  0x000055555559d09f in main ()
(gdb) cont
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
```

Seems I cannot build RPL/2 with motif on an up to date system? (Can you use system installed Open Motif instead? I have version 2.3.8.)

Thanks for all your patience!

Regards!

On Fri, 25 Sep 2026 14:04:39 +0200, linux.felixbecker2 at gmx.de wrote
about "Re: [RPL/2] RPL/2 4.1.37 `tools/libXpm-3.5.16` requires
`automake-1.17`.":

> Compiling with `--disable-rplcas` to skip RPL/CAS errors out later in
> `tools/libXpm-3.5.16`, complaining that automake version 1.17 is
> needed. I have 1.18.1.
> 
> Quick reading on the internet, `autoreconf -f -i` in the respecive
> direcrory(s) could help.
> 
> ```
> [...]
> make -C ./tools/libXpm-3.5.16 
> make[2]: Entering directory
> '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/libXpm-3.5.16'
> cd . && /bin/sh
> /var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/libXpm-3.5.16/missing
> automake-1.17 --foreign
> /var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/libXpm-3.5.16/missing:
> line 85: automake-1.17: command not found WARNING: 'automake-1.17' is
> missing on your system. You should only need it if you modified
> 'Makefile.am' or 'configure.ac' or m4 files included by
> 'configure.ac'. make[2]: *** [Makefile:414: Makefile.in] Error 1
> make[2]: Leaving directory
> '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37/tools/libXpm-3.5.16'
> make[1]: *** [Makefile:1237: tools/libXpm-3.5.16/src/.libs/libXpm.a]
> Error 2 make[1]: Leaving directory
> '/var/cache/makepkg/build/rpl-2/src/rpl-4.1.37' make: ***
> [Makefile:982: all] Error 2 ```
> 
> Regards!
> 
> On Fri, 25 Sep 2026 12:57:31 +0200, BERTRAND Joël
> <joel.bertrand at systella.fr> wrote about "Re: [RPL/2] RPL/2 4.1.37 --
> Build error: `/bin/sh: line 3: -std=gnu++11: command not found` and
> more (giac).":
> 
> > 	I will check. I haven't written RPL/CAS myself and it's
> > really a big piece of shit. I have sent a lot of patch upstream to
> > fix several issues and main author refuses patches as "chez lui, ça
> > marche" !
> > 
> > 	JB
> >   
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://www.systella.fr/pipermail/rpl2/attachments/20260925/0993d33d/attachment-0001.sig>


More information about the RPL2 mailing list