Opened 9 years ago
Closed 9 years ago
#47824 closed defect (fixed)
tup 0.7.1: conflicting types for 'readlinkat'
Reported by: | baldur.kristinsson@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | yosemite | Cc: | |
Port: | tup |
Description
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"
Change History (2)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | yosemite added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Upstream fixed this but hasn't released a new version since then. We can probably backport it.