[MacPorts] #52388: cvs-fast-export: error on 10.12: typedef redefinition with different types ('int' vs 'enum clockid_t')

MacPorts noreply at macports.org
Wed Apr 12 10:48:05 UTC 2017


#52388: cvs-fast-export: error on 10.12: typedef redefinition with different types
('int' vs 'enum clockid_t')
------------------------------+-------------------
  Reporter:  mojca            |      Owner:  mojca
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  cvs-fast-export  |
------------------------------+-------------------

Comment (by ryandesign):

 Replying to [ticket:52388 mojca]:
 > On 10.12 cvs-fast-export fails to build with
 > {{{
 > /usr/bin/clang -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-
 prototypes -Wmissing-declarations -Wno-unused-function -Wno-unused-label
 -Wno-format-zero-length -pthread -O3  -I. -I/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_devel_cvs-fast-export/cvs-
 fast-export/work/cvs-fast-export-1.40/ -DVERSION=\"1.40\" -DTHREADS
 -DREDBLACK  -DUSE_MMAP  -DLINESTATS  -DTREEPACK  -Drestrict=__restrict__
 -c -o cvsutil.o cvsutil.c
 > In file included from main.c:6:
 > ./cvs.h:437:13: error: typedef redefinition with different types ('int'
 vs 'enum clockid_t')
 > typedef int clockid_t;
 >             ^
 > /usr/include/time.h:171:3: note: previous definition is here
 > } clockid_t;
 >   ^
 > }}}
 >
 > *
 https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/7747

 https://gitlab.com/esr/cvs-fast-export/issues/17

 > I'm misusing this ticket also for a strange destroot error:
 > {{{
 > /opt/local/bin/a2x --doctype manpage --format manpage cvssync.asc
 > a2x: ERROR: "xsltproc"  --stringparam callout.graphics 0 --stringparam
 navig.graphics 0 --stringparam admon.textlabel 1 --stringparam
 admon.graphics 0  "/opt/local/etc/asciidoc/docbook-xsl/manpage.xsl"
 "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_devel_cvs-fast-export/cvs-
 fast-export/work/cvs-fast-export-1.40/cvssync.xml" returned non-zero exit
 status 5
 > }}}
 > from [https://build.macports.org/builders/ports-10.6_x86_64_legacy-
 builder/builds/5889 10.6] [https://build.macports.org/builders/ports-10
 .7_x86_64_legacy-builder/builds/11018 10.7]
 [https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/5895
 10.9]
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/5891
 10.10]
 [https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/5913
 10.11]. It worked on [https://build.macports.org/builders/ports-10
 .8_x86_64_legacy-builder/builds/5842 10.8]. That deserves a separate
 ticket at some point.

 #53943

--
Ticket URL: <https://trac.macports.org/ticket/52388#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list