failure to build libuv (Leopard)

Riccardo Mottola riccardo.mottola at libero.it
Sat Jan 19 22:16:36 UTC 2019


Hi,


I have an issue upgrading libuv and this is blocking a couple of other 
dependencies apparently.


The failure I see is:


/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 
-DPACKAGE_NAME=\"libuv\" -DPACKAGE_TARNAME=\"libuv\" 
-DPACKAGE_VERSION=\"1.25.0\" -DPACKAGE_STRING=\"libuv\ 1.25.0\" 
-DPACKAGE_BUGREPORT=\"https://github.com/libuv/libuv/issues\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"libuv\" -DVERSION=\"1.25.0\" 
-DSUPPORT_FLAG_VISIBILITY=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_LIBPTHREAD=1 -I. 
-I./include -I./src  -I./src/unix -I/opt/local/include 
-I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport 
-pipe -Os -I/opt/local/include/LegacySupport 
-I/opt/local/include/LegacySupport -arch i386 -pedantic -g -std=gnu89 
-Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes    
-D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1     -pipe -Os 
-I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport 
-arch i386 -pedantic -g -std=gnu89 -Wall -Wextra -Wno-unused-parameter 
-Wstrict-prototypes -MT src/unix/libuv_la-proctitle.lo -MD -MP -MF 
src/unix/.deps/libuv_la-proctitle.Tpo -c -o 
src/unix/libuv_la-proctitle.lo `test -f 'src/unix/proctitle.c' || echo 
'./'`src/unix/proctitle.c
src/unix/fsevents.c: In function ‘uv__fsevents_event_cb’:
src/unix/fsevents.c:280: error: ‘kFSEventStreamEventFlagItemIsDir’ 
undeclared (first use in this function)
src/unix/fsevents.c:280: error: (Each undeclared identifier is reported 
only once
src/unix/fsevents.c:280: error: for each function it appears in.)
src/unix/fsevents.c:292: error: ‘kFSEventStreamEventFlagItemCreated’ 
undeclared (first use in this function)
src/unix/fsevents.c:292: error: ‘kFSEventStreamEventFlagItemRemoved’ 
undeclared (first use in this function)
src/unix/fsevents.c:292: error: ‘kFSEventStreamEventFlagItemRenamed’ 
undeclared (first use in this function)
src/unix/fsevents.c:316: error: 
‘kFSEventStreamEventFlagItemFinderInfoMod’ undeclared (first use in this 
function)
src/unix/fsevents.c:316: error: ‘kFSEventStreamEventFlagItemModified’ 
undeclared (first use in this function)
src/unix/fsevents.c:316: error: 
‘kFSEventStreamEventFlagItemInodeMetaMod’ undeclared (first use in this 
function)
src/unix/fsevents.c:316: error: ‘kFSEventStreamEventFlagItemChangeOwner’ 
undeclared (first use in this function)
src/unix/fsevents.c:316: error: ‘kFSEventStreamEventFlagItemXattrMod’ 
undeclared (first use in this function)
src/unix/fsevents.c: In function ‘uv__fsevents_create_stream’:
src/unix/fsevents.c:360: error: ‘kFSEventStreamCreateFlagFileEvents’ 
undeclared (first use in this function)
src/unix/fsevents.c:374: warning: overflow in implicit constant conversion
make: *** [src/unix/libuv_la-fsevents.lo] Error 1
make: *** Waiting for unfinished jobs....


Any ideas?


Riccardo



More information about the macports-users mailing list