> On Jun 20, 2017, at 08:19, Alexander Hansen <alexanderk.han...@gmail.com> > wrote: > >> >> On Jun 19, 2017, at 21:43, John Wiggins <johnwigg...@me.com> wrote: >> >> I am running latest, i.e. Sierra 10.12.5 with >> Package manager version: 0.41.1 >> Distribution version: selfupdate-rsync Tue Jun 20 00:16:34 2017, 10.12, >> x86_64 >> Trees: local/main stable/main stable/crypto unstable/main >> unstable/crypto local/injected >> Xcode.app: 8.3.3 >> Xcode command-line tools: 8.3.2.0.1.1492020469 >> and noticed that there does not appear to be an command line tools update >> from Xcode 8.3.2 to 8.3.3, so unsure if this could be the issue. >> >> The compile error is as follows: >> /usr/bin/make >> /bin/sh ./libtool --mode=compile gcc -I./lib -I. -g -O2 -fshort-wchar -Wall >> -Wmissing-prototypes -Wstrict-prototypes -fexceptions -fno-strict-aliasing >> -MD -I/sw/include -DHAVE_EXPAT_CONFIG_H -o lib/xmlparse.lo -c lib/xmlparse.c >> libtool: compile: gcc -I./lib -I. -g -O2 -fshort-wchar -Wall >> -Wmissing-prototypes -Wstrict-prototypes -fexceptions -fno-strict-aliasing >> -MD -I/sw/include -DHAVE_EXPAT_CONFIG_H -c lib/xmlparse.c -fno-common -DPIC >> -o lib/.libs/xmlparse.o >> In file included from lib/xmlparse.c:702: >> /usr/include/sys/random.h:37:22: error: expected ')' >> int getentropy(void* buffer, size_t size); >> ^ >> lib/xmlparse.c:626:23: note: expanded from macro 'buffer' >> #define buffer (parser->m_buffer) >> ^ >> /usr/include/sys/random.h:37:22: note: to match this '(' >> lib/xmlparse.c:626:16: note: expanded from macro 'buffer' >> #define buffer (parser->m_buffer) >> ^ >> lib/xmlparse.c:721:9: warning: implicit declaration of function 'getrandom' >> is invalid in C99 [-Wimplicit-function-declaration] >> getrandom(currentTarget, bytesToWrite, getrandomFlags); >> ^ >> 1 warning and 1 error generated. >> make: *** [lib/xmlparse.lo] Error 1 >> ### execution of /usr/bin/make failed, exit code 2 >> ### execution of /tmp/fink.jzdU2 failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-expat1-2.2.1-1 >> (Reading database ... 54878 files and directories currently installed.) >> Removing fink-buildlock-expat1-2.2.1-1 ... >> Failed: phase compiling: expat1-2.2.1-1 failed >> >> Since my full build file is small, I include it as attachment. >> >> Thanks, >> jw >> >> <update-all.19Jun17_2nd> >> > > I’m seeing the same thing. This update was reported to work identically to > the previous version on 10.11, so I suspect that something added to 10.12 is > causing a misconfiguration. > -- > Alexander Hansen, Ph.D. > Fink User Liaison
This appears to be the case. I found the following possibly relevant differences in the configure phase : 10.11: checking for arc4random_buf (BSD or libbsd)... yes checking for getrandom (Linux 3.17+, glibc 2.25+)... no checking for syscall SYS_getrandom (Linux 3.17+)... no 10.12: checking for arc4random_buf (BSD or libbsd)... yes checking for getrandom (Linux 3.17+, glibc 2.25+)… yes I’m guessing that the getrandom() from 10.12 is probably not the same as that in Linux. -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners