[MacPorts] #57969: gnutls @3.6.6 does not build on PPC Mac OS X 10.4.11, Tiger; because operator '%' has no left operand

MacPorts noreply at macports.org
Sat Jan 26 22:35:36 UTC 2019


#57969: gnutls @3.6.6 does not build on PPC Mac OS X 10.4.11, Tiger; because
operator '%' has no left operand
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.5.4
 Keywords:  tiger      |       Port:  gnutls
-----------------------+--------------------
 {{{
 libtool: compile:  /opt/local/bin/gcc-mp-6 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include -I/opt/local/include/LegacySupport
 -I/opt/local/include/LegacySupport -pipe -Os
 -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport -m32
 -MT mktime.lo -MD -MP -MF .deps/mktime.Tpo -c mktime.c  -fno-common -DPIC
 -o .libs/mktime.o
 In file included from mktime.c:34:0:
 ./libc-config.h:78:21: error: operator '%' has no left operand
  # define __WORDSIZE %%%
                      ^
 ./libc-config.h:78:21: error: operator '%' has no left operand
  # define __WORDSIZE %%%
                      ^
 make[4]: *** [mktime.lo] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.6.6/src/gl'
 }}}

 `./libc-config.h` has:

 {{{
    73   /* Define __WORDSIZE so that <cdefs.h> does not attempt to include
    74      nonexistent files.  Make it a syntax error, since Gnulib does
 not
    75      use __WORDSIZE now, and if Gnulib uses it later the syntax
 error
    76      will let us know that __WORDSIZE needs configuring.  */
    77   #ifndef __WORDSIZE
    78   # define __WORDSIZE %%%
    79   #endif
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57969>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list