#67110 closed defect (fixed)

R-httpuv fails on libuv on 10.7–10.10

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: R-httpuv

Description

https://ports.macports.org/port/R-httpuv/details

  CC       src/unix/libuv_la-process.lo
src/unix/process.c:211:30: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
#if !(defined(__APPLE__) && (TARGET_OS_TV || TARGET_OS_WATCH))
                             ^
src/unix/process.c:211:46: error: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
#if !(defined(__APPLE__) && (TARGET_OS_TV || TARGET_OS_WATCH))
                                             ^
src/unix/process.c:347:28: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
#if defined(__APPLE__) && (TARGET_OS_TV || TARGET_OS_WATCH)
                           ^
src/unix/process.c:347:44: error: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
#if defined(__APPLE__) && (TARGET_OS_TV || TARGET_OS_WATCH)
                                           ^
4 errors generated.
make[1]: *** [src/unix/libuv_la-process.lo] Error 1
make: *** [libuv/.libs/libuv.a] Error 2
ERROR: compilation failed for package ‘httpuv’

Change History (3)

comment:1 Changed 20 months ago by kencu (Ken)

comment:2 in reply to:  1 Changed 20 months ago by barracuda156

Replying to kencu:

probably fixed by legacysupport, as so many of these are

https://github.com/macports/macports-legacy-support/blob/master/include/TargetConditionals.h

Thank you, I will try that.

comment:3 Changed 20 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 168c40b92b4b2fe5d855e9a817d185da180f849c/macports-ports (master):

R-httpuv: fix build on darwin <15

Fixes: #67110

Note: See TracTickets for help on using tickets.