[MacPorts] #47824: tup 0.7.1: conflicting types for 'readlinkat'
MacPorts
noreply at macports.org
Sun May 24 03:57:57 PDT 2015
#47824: tup 0.7.1: conflicting types for 'readlinkat'
----------------------------------+--------------------------------
Reporter: baldur.kristinsson@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: tup
----------------------------------+--------------------------------
Tup 0.7.1 fails to install on OS X 10.10.3, Xcode version 6.3.2. It seems
that readlinkat() is defined twice with slightly differing return types.
Here are the relevant lines from the build log:
{{{
:info:build In file included from ../src/tup/colors.c:25:
:info:build In file included from /usr/include/unistd.h:72:
:info:build /usr/include/sys/unistd.h:206:9: error: conflicting types for
'readlinkat'
:info:build ssize_t readlinkat(int, const char *, char *, size_t)
__OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
:info:build ^
:info:build ./../src/compat/macosx.h:36:5: note: previous declaration is
here
:info:build int readlinkat(int dirfd, const char *pathname, char *buf,
size_t bufsiz);
:info:build ^
:info:build 1 error generated.
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tup/tup/work/tup-0.7.1"
&& ./build.sh all
:info:build Exit code: 1
:error:build org.macports.build for port tup returned: command execution
failed
:debug:build Error code: CHILDSTATUS 9781 1
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"portbuild::build_main org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/47824>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list