pkgsrc-Users archive

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

Re: failure of devel/m4 from pkgsrc-2014Q2 on SLES 10.2

Am Fri, 12 Sep 2014 17:20:52 +0200
schrieb Thomas Orgis <>: 

> Hi,
> anyone got an idea about the build failure I get with m4 on SLES 10.2
> with separately installed gcc-4.8.2 in use? The prototype is
> builtin.o: In function `stpncpy':
> builtin.c:(.text+0x3d40): multiple definition of `stpncpy'

I got one fix, but it is to be considered a hack for this platform with
a fresher-than-default gcc, I suppose. Any suggestion how this could be
integrated to apply only where needed?

Index: pkgsrc/devel/m4/Makefile
--- pkgsrc/devel/m4/Makefile    (Revision 19)
+++ pkgsrc/devel/m4/Makefile    (Arbeitskopie)
@@ -26,6 +26,11 @@
 CONFIGURE_ARGS+=       ac_cv_func___fpending=yes
+# Hack for gcc's standard semantics breaking expectations about inline.
+# TODO: Wrap into a compiler version check ... and figure out the proper
+# fix ... I assume this is the SLES10 system headers being at fault.
+CFLAGS+= -fgnu89-inline
 AUTO_MKDIRS=           yes

> PS: If someone managed to build wxGTK30 from CVS on any platform, I'd
> also be interesed. There the problem is that some internal regex library
> doesn't export any symbols and those are missing subsequently during
> build.

I'm still interested in that one.

Alrighty then,


Dr. Thomas Orgis
Universität Hamburg
RRZ / Zentrale Dienste / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Home | Main Index | Thread Index | Old Index