#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: Keywords: | Port: cvs-fast-export ---------------------+----------------------------- 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 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.9_x86_64-builder/builds/5895 10.9]. That deserves a separate ticket at some point. -- Ticket URL: <https://trac.macports.org/ticket/52388> MacPorts <https://www.macports.org/> Ports system for macOS