[Pkg-gnu-smalltalk-devel] Bug#871077: gnu-smalltalk: FTBFS: configure: error: Synchronization primitives not found, please use a newer compiler.

Adrian Bunk bunk at debian.org
Thu Feb 1 16:31:13 UTC 2018


Control: tags -1 patch

On Sun, Aug 06, 2017 at 05:59:50PM -0400, Lucas Nussbaum wrote:
>...
> > checking for LIBFFI... yes
> > checking for sigsegv_install_handler in -lsigsegv... no
> > 
> > Platform environment:
> > checking whether the host supports __sync_fetch_and_add... no
> > configure: error: Synchronization primitives not found, please use a newer compiler.
> > debian/rules:16: recipe for target 'configure-stamp' failed
>...

The actual error is according to config.log:
cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

Fix:

--- debian/rules.old	2018-02-01 14:55:54.960603766 +0000
+++ debian/rules	2018-02-01 14:58:04.752602528 +0000
@@ -8,6 +8,7 @@
 QUILT_STAMPFN = patch-stamp
 include /usr/share/quilt/quilt.make
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=-format
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 

There is now also a second build failure later related to Tcl 8.6,
upstream fix for that is attached.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 09_tcl_ftbfs.patch
Type: text/x-diff
Size: 1776 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnu-smalltalk-devel/attachments/20180201/7230a52f/attachment.patch>


More information about the Pkg-gnu-smalltalk-devel mailing list