Giter Site home page Giter Site logo

Comments (7)

Midar avatar Midar commented on May 13, 2024

Unfortunately, your paste does not contain the real error. As I do not have the Sierra beta to test it myself, can you please paste the full log?

Additionally, can you please try if it works with the make-based build system? Just create a clean clone (this is important to make sure there are not leftovers from xcodebuild) and run autoreconf && ./configure && make.

from objfw.

KenaiTheWolf avatar KenaiTheWolf commented on May 13, 2024

./configure method
(Scrubbed log)
./configure yields

checking build system type... x86_64-apple-darwin16.0.0
checking host system type... x86_64-apple-darwin16.0.0
checking for clang... clang
checking whether the Objective C compiler works... yes
checking for Objective C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU Objective C compiler... yes
checking whether clang accepts -g... yes
checking how to run the Objective C preprocessor... clang -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether Objective C compiler accepts -std=gnu11... yes
checking whether Objective C compiler accepts -pipe... yes
checking whether Objective C compiler accepts -fno-common... yes
checking whether Objective C compiler accepts -fno-constant-cfstrings... yes
checking whether Objective C compiler accepts -Wshorten-64-to-32 -Werror... yes
checking whether Objective C compiler accepts -Wsemicolon-before-method-body -Werror... yes
checking whether Objective C compiler accepts -Wobjc-missing-property-synthesis -Werror... yes
checking whether Objective C compiler accepts -Wsign-compare -Werror... yes
checking whether Objective C compiler supports properties... yes
checking whether Objective C compiler supports blocks... yes
checking for ar... ar
checking for ranlib... ranlib
checking for shared library system... Darwin
checking whether we need -D_GNU_SOURCE... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking objc/objc.h usability... yes
checking objc/objc.h presence... yes
checking for objc/objc.h... yes
checking which Objective C runtime to use... Apple runtime
checking for objc_msgSend in -lobjc... yes
checking for objc_constructInstance... yes
checking for objc_autoreleasePoolPush... yes
checking whether byte ordering is bigendian... no
checking for SIZE_MAX... yes
checking for SSIZE_MAX... yes
checking for max_align_t... yes
checking stdnoreturn.h usability... myes
checking stdnoreturn.h presence... yes
checking for stdnoreturn.h... yes
checking size of float... a4
checking size of double... 8
checking for floating point endianess... little endian
checking for strerror_r... yes
checking for fmod in -lm... yes
checking for asprintf... yes
checking for sigaction... yes
checking for arc4random... yes
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking for sys/ioctl.h... yes
checking for sys/ttycom.h... kyes
checking for dladdr... eyes
checking for threads... POSIX
checking whether Objective C compiler accepts -pthread... yes
checking for pthread_create in -lpthread... yes
checking for pthread_spin_lock... no
checking for sched_yield... yes
checking for pthread_attr_setinheritsched... yes
checking for pthread_np.h... no
checking for pthread_set_name_np... no
checking for pthread_setname_np... yes
checking threads.h usability... no
checking threads.h presence... no
checking for threads.h... no
checking whether _Thread_local works... yes
checking whether we have an atomic ops assembly implementation... yes
checking whether __atomic_* works... yes
checking whether __sync_* works... yes
checking libkern/OSAtomic.h usability... yes
checking libkern/OSAtomic.h presence... yes
checking for libkern/OSAtomic.h... yes
checking for atomic operations... assembly implementation
checking for off64_t... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for chmod... yes
checking for chown... yes
checking for link... yes
checking for symlink... yes
checking for readlink... yes
checking for lstat... yes
checking for readdir_r... yes
checking for sysconf... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for nanosleep... yes
checking for fcntl... yes
checking for pipe... yes
checking for socket in -lsocket... no
checking for socket in -lnetwork... yes
checking for main in -lws2_32... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for struct sockaddr_in6.sin6_addr... yes
checking for paccept... no
checking for accept4... no
checking for kqueue... yes
checking for kqueue1... no
checking for epoll_create... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for getaddrinfo... yes
checking whether getaddrinfo is thread-safe... yes
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for kill... yes
checking for posix_spawnp... yes
checking spawn.h usability... yes
checking spawn.h presence... yes
checking for spawn.h... yes
checking Foundation/NSObject.h usability... yes
checking Foundation/NSObject.h presence... yes
checking for Foundation/NSObject.h... yes
checking whether we need -Wno-strict-aliasing due to GCC bugs... no
checking whether we need -Wno-unused-property-ivar due to Clang bugs... no
checking whether -Wcast-align is buggy... no
checking whether -Wdocumentation works correctly... yes
checking whether -pedantic is buggy... no
checking for tput... /usr/bin/tput
configure: creating ./config.status
configure: touching .deps files
config.status: creating buildsys.mk
config.status: creating extra.mk
config.status: creating misc/Bridge-Info.plist
config.status: creating misc/Info.plist
config.status: creating utils/objfw-config
config.status: creating config.h
config.status: creating src/objfw-defs.h

Make command produces this...

Entering directory src.
Entering directory exceptions.
Successfully generated dependencies.
Successfully compiled OFAllocFailedException.m (lib).
Successfully compiled OFChangeCurrentDirectoryPathFailedException.m (lib).
Successfully compiled OFChangeOwnerFailedException.m (lib).
Successfully compiled OFChangePermissionsFailedException.m (lib).
Successfully compiled OFChecksumFailedException.m (lib).
Successfully compiled OFCopyItemFailedException.m (lib).
Successfully compiled OFCreateDirectoryFailedException.m (lib).
Successfully compiled OFCreateSymbolicLinkFailedException.m (lib).
Successfully compiled OFEnumerationMutationException.m (lib).
Successfully compiled OFException.m (lib).
Successfully compiled OFGetOptionFailedException.m (lib).
Successfully compiled OFHashAlreadyCalculatedException.m (lib).
Successfully compiled OFInitializationFailedException.m (lib).
Successfully compiled OFInvalidArgumentException.m (lib).
Successfully compiled OFInvalidEncodingException.m (lib).
Successfully compiled OFInvalidFormatException.m (lib).
Successfully compiled OFInvalidJSONException.m (lib).
Successfully compiled OFInvalidServerReplyException.m (lib).
Successfully compiled OFLinkFailedException.m (lib).
Successfully compiled OFLockFailedException.m (lib).
Successfully compiled OFMalformedXMLException.m (lib).
Successfully compiled OFMemoryNotPartOfObjectException.m (lib).
Successfully compiled OFMoveItemFailedException.m (lib).
Successfully compiled OFNotImplementedException.m (lib).
Successfully compiled OFNotOpenException.m (lib).
Successfully compiled OFOpenItemFailedException.m (lib).
Successfully compiled OFOutOfMemoryException.m (lib).
Successfully compiled OFOutOfRangeException.m (lib).
Successfully compiled OFReadFailedException.m (lib).
Successfully compiled OFReadOrWriteFailedException.m (lib).
Successfully compiled OFRemoveItemFailedException.m (lib).
Successfully compiled OFSeekFailedException.m (lib).
Successfully compiled OFSetOptionFailedException.m (lib).
Successfully compiled OFStatItemFailedException.m (lib).
Successfully compiled OFStillLockedException.m (lib).
Successfully compiled OFTruncatedDataException.m (lib).
Successfully compiled OFUnboundNamespaceException.m (lib).
Successfully compiled OFUnboundPrefixException.m (lib).
Successfully compiled OFUndefinedKeyException.m (lib).
Successfully compiled OFUnknownXMLEntityException.m (lib).
Successfully compiled OFUnlockFailedException.m (lib).
Successfully compiled OFUnsupportedProtocolException.m (lib).
Successfully compiled OFUnsupportedVersionException.m (lib).
Successfully compiled OFWriteFailedException.m (lib).
Successfully compiled OFAcceptFailedException.m (lib).
Successfully compiled OFAddressTranslationFailedException.m (lib).
Successfully compiled OFAlreadyConnectedException.m (lib).
Successfully compiled OFBindFailedException.m (lib).
Successfully compiled OFConnectionFailedException.m (lib).
Successfully compiled OFHTTPRequestFailedException.m (lib).
Successfully compiled OFListenFailedException.m (lib).
Successfully compiled OFObserveFailedException.m (lib).
Successfully compiled OFConditionBroadcastFailedException.m (lib).
Successfully compiled OFConditionSignalFailedException.m (lib).
Successfully compiled OFConditionStillWaitingException.m (lib).
Successfully compiled OFConditionWaitFailedException.m (lib).
Successfully compiled OFThreadJoinFailedException.m (lib).
Successfully compiled OFThreadStartFailedException.m (lib).
Successfully compiled OFThreadStillRunningException.m (lib).
Successfully linked exceptions.lib.a.
Leaving directory exceptions.
Entering directory forwarding.
Successfully generated dependencies.
Successfully compiled forwarding.S (lib).
Successfully linked forwarding.lib.a.
Leaving directory forwarding.
Successfully generated dependencies.
Successfully compiled OFApplication.m (lib).
Successfully compiled OFArray.m (lib).
Successfully compiled OFArray_subarray.m (lib).
Successfully compiled OFAutoreleasePool.m (lib).
Successfully compiled OFBigDataArray.m (lib).
Successfully compiled OFBlock.m (lib).
Successfully compiled OFConstantString.m (lib).
Successfully compiled OFCountedSet.m (lib).
Successfully compiled OFDataArray.m (lib).
Successfully compiled OFDataArray+CryptoHashing.m (lib).
Successfully compiled OFDataArray+MessagePackValue.m (lib).
Successfully compiled OFDate.m (lib).
Successfully compiled OFDeflateStream.m (lib).
Successfully compiled OFDeflate64Stream.m (lib).
Successfully compiled OFDictionary.m (lib).
Successfully compiled OFEnumerator.m (lib).
Successfully compiled OFGZIPStream.m (lib).
Successfully compiled OFHMAC.m (lib).
Successfully compiled OFIntrospection.m (lib).
Successfully compiled OFList.m (lib).
Successfully compiled OFMapTable.m (lib).
Successfully compiled OFMD5Hash.m (lib).
Successfully compiled OFMessagePackExtension.m (lib).
Successfully compiled OFMutableArray.m (lib).
Successfully compiled OFMutableDictionary.m (lib).
Successfully compiled OFMutableSet.m (lib).
Successfully compiled OFMutableString.m (lib).
Successfully compiled OFNull.m (lib).
Successfully compiled OFNumber.m (lib).
Successfully compiled OFObject.m (lib).
Successfully compiled OFObject+KeyValueCoding.m (lib).
Successfully compiled OFObject+Serialization.m (lib).
Successfully compiled OFOptionsParser.m (lib).
Successfully compiled OFProcess.m (lib).
Successfully compiled OFRIPEMD160Hash.m (lib).
Successfully compiled OFRunLoop.m (lib).
Successfully compiled OFSeekableStream.m (lib).
Successfully compiled OFSet.m (lib).
Successfully compiled OFSHA1Hash.m (lib).
Successfully compiled OFSHA224Hash.m (lib).
Successfully compiled OFSHA224Or256Hash.m (lib).
Successfully compiled OFSHA256Hash.m (lib).
Successfully compiled OFSHA384Hash.m (lib).
Successfully compiled OFSHA384Or512Hash.m (lib).
Successfully compiled OFSHA512Hash.m (lib).
Successfully compiled OFSortedList.m (lib).
Successfully compiled OFStdIOStream.m (lib).
Successfully compiled OFStream.m (lib).
Successfully compiled OFString.m (lib).
Successfully compiled OFString+CryptoHashing.m (lib).
Successfully compiled OFString+JSONValue.m (lib).
Successfully compiled OFString+Serialization.m (lib).
Successfully compiled OFString+URLEncoding.m (lib).
Successfully compiled OFString+XMLEscaping.m (lib).
Successfully compiled OFString+XMLUnescaping.m (lib).`
**Make install & automake both produce...**
`OFSystemInfo.m:158:10: error: 'NSStartSearchPathEnumeration' is deprecated: first deprecated in macOS 10.12 - Use
      sysdir_start_search_path_enumeration() in sysdir.h [-Werror,-Wdeprecated-declarations]
        state = NSStartSearchPathEnumeration(NSApplicationSupportDirectory,
                ^
/usr/include/NSSystemDirectories.h:80:1: note: 'NSStartSearchPathEnumeration' has been explicitly marked deprecated here
NSStartSearchPathEnumeration(NSSearchPathDirectory dir, NSSearchPathDomainMask domainMask) __API_DEPRECATED("Use sysdir_st...
^
OFSystemInfo.m:160:6: error: 'NSGetNextSearchPathEnumeration' is deprecated: first deprecated in macOS 10.12 - Use
      sysdir_get_next_search_path_enumeration() in sysdir.h [-Werror,-Wdeprecated-declarations]
        if (NSGetNextSearchPathEnumeration(state, pathC) == 0)
            ^
/usr/include/NSSystemDirectories.h:83:1: note: 'NSGetNextSearchPathEnumeration' has been explicitly marked deprecated here
NSGetNextSearchPathEnumeration(NSSearchPathEnumerationState state, char *path) __API_DEPRECATED("Use sysdir_get_next_searc...
^
OFSystemInfo.m:238:10: error: 'NSStartSearchPathEnumeration' is deprecated: first deprecated in macOS 10.12 - Use
      sysdir_start_search_path_enumeration() in sysdir.h [-Werror,-Wdeprecated-declarations]
        state = NSStartSearchPathEnumeration(NSLibraryDirectory,
                ^
/usr/include/NSSystemDirectories.h:80:1: note: 'NSStartSearchPathEnumeration' has been explicitly marked deprecated here
NSStartSearchPathEnumeration(NSSearchPathDirectory dir, NSSearchPathDomainMask domainMask) __API_DEPRECATED("Use sysdir_st...
^
OFSystemInfo.m:240:6: error: 'NSGetNextSearchPathEnumeration' is deprecated: first deprecated in macOS 10.12 - Use
      sysdir_get_next_search_path_enumeration() in sysdir.h [-Werror,-Wdeprecated-declarations]
        if (NSGetNextSearchPathEnumeration(state, pathC) == 0)
            ^
/usr/include/NSSystemDirectories.h:83:1: note: 'NSGetNextSearchPathEnumeration' has been explicitly marked deprecated here
NSGetNextSearchPathEnumeration(NSSearchPathEnumerationState state, char *path) __API_DEPRECATED("Use sysdir_get_next_searc...
^
4 errors generated.
Failed to compile OFSystemInfo.m (lib)!
make[3]: *** [OFSystemInfo.lib.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [src] Error 2
make: *** [all] Error 2

from objfw.

Midar avatar Midar commented on May 13, 2024

Thanks. So it seems Apple has deprecated NSStartSearchPathEnumeration and replaced it with sysdir_start_search_path_enumeration. Unfortunately, there does not seem to be any public documentation yet (0 results on Google), so I cannot add a configure check and use it on 10.12 instead.

Can you add -Wno-error=deprecated-declarations to OBJCFLAGS and try again? It should work then. Once I can look at 10.12 documentation, I will add a configure check for this so that it is not necessary anymore (I suppose you cannot even tell me the interface, as I suppose you had to sign an NDA).

from objfw.

Midar avatar Midar commented on May 13, 2024

It seems the Xcode beta is available after signup, as is the macOS Sierra beta. I'm not sure though if I can have a look this weekend, as backing up a 1 TB SSD and then updating takes quite a while…

from objfw.

Midar avatar Midar commented on May 13, 2024

Ok, finally got the update installed now. On macOS 10.12, sysdir_start_search_path_enumeration() is used now.

from objfw.

KenaiTheWolf avatar KenaiTheWolf commented on May 13, 2024

I'll try the flags. Hopefully that works well, good luck with the public beta.

from objfw.

Midar avatar Midar commented on May 13, 2024

No need to try the flags. On macOS 10.12, sysdir_start_search_path_enumeration() is used now.

from objfw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.