python3.5b1 fails on macfsevents

41 views
Skip to first unread message

Yarko Tymciurak

unread,
May 28, 2015, 3:19:12 PM5/28/15
to nikola-...@googlegroups.com
Weather getting this out of repo, or pip install:

$ pyvenv  env/nikola-py3.5

on os/x 10.10, with python 3.5b1  nikola install has errors with the following:

Collecting macfsevents (from doit==0.28.0->nikola)
  Using cached MacFSEvents-0.4.tar.gz
Installing collected packages: MarkupSafe, mako, python-dateutil, yapsy, Pygments, PyRSS2Gen, docutils, macfsevents, doit, logbook, natsort, Pillow, lxml, unidecode, blinker, nikola
  Running setup.py install for MarkupSafe
  Running setup.py install for mako
  Running setup.py install for yapsy
  Running setup.py install for PyRSS2Gen
  Running setup.py install for macfsevents
    Complete output from command /Users/yak007/workspace/nikola/env/nik3/bin/python3.5 -c "import setuptools, tokenize;__file__='/private/var/folders/z_/p0qs_dyn5w186pp5wym5c65c0000gp/T/pip-build-lrajc4am/macfsevents/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/z_/p0qs_dyn5w186pp5wym5c65c0000gp/T/pip-l3x11ylj-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/yak007/workspace/nikola/env/nik3/include/site/python3.5/macfsevents:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.6-intel-3.5
    copying fsevents.py -> build/lib.macosx-10.6-intel-3.5
    running build_ext
    building '_fsevents' extension
    creating build/temp.macosx-10.6-intel-3.5
    gcc-4.2 -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Users/yak007/workspace/nikola/env/nik3/include -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c _fsevents.c -o build/temp.macosx-10.6-intel-3.5/_fsevents.o
    In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55,
                     from _fsevents.c:3:
    /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:270: error: expected ‘,’ or ‘}’ before ‘__attribute__’
    /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414: error: expected ‘,’ or ‘}’ before ‘__attribute__’
    _fsevents.c: In function ‘PyInit__fsevents’:
    _fsevents.c:261: error: ‘kFSEventStreamEventFlagItemRemoved’ undeclared (first use in this function)
    _fsevents.c:261: error: (Each undeclared identifier is reported only once
    _fsevents.c:261: error: for each function it appears in.)
    _fsevents.c:262: error: ‘kFSEventStreamEventFlagItemInodeMetaMod’ undeclared (first use in this function)
    _fsevents.c:263: error: ‘kFSEventStreamEventFlagItemRenamed’ undeclared (first use in this function)
    _fsevents.c:264: error: ‘kFSEventStreamEventFlagItemModified’ undeclared (first use in this function)
    _fsevents.c:265: error: ‘kFSEventStreamEventFlagItemFinderInfoMod’ undeclared (first use in this function)
    _fsevents.c:266: error: ‘kFSEventStreamEventFlagItemChangeOwner’ undeclared (first use in this function)
    _fsevents.c:267: error: ‘kFSEventStreamEventFlagItemXattrMod’ undeclared (first use in this function)
    _fsevents.c:268: error: ‘kFSEventStreamEventFlagItemIsFile’ undeclared (first use in this function)
    _fsevents.c:269: error: ‘kFSEventStreamEventFlagItemIsDir’ undeclared (first use in this function)
    _fsevents.c:270: error: ‘kFSEventStreamEventFlagItemIsSymlink’ undeclared (first use in this function)
    In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55,
                     from _fsevents.c:3:
    /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:270: error: expected ‘,’ or ‘}’ before ‘__attribute__’
    /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414: error: expected ‘,’ or ‘}’ before ‘__attribute__’
    _fsevents.c: In function ‘PyInit__fsevents’:
    _fsevents.c:261: error: ‘kFSEventStreamEventFlagItemRemoved’ undeclared (first use in this function)
    _fsevents.c:261: error: (Each undeclared identifier is reported only once
    _fsevents.c:261: error: for each function it appears in.)
    _fsevents.c:262: error: ‘kFSEventStreamEventFlagItemInodeMetaMod’ undeclared (first use in this function)
    _fsevents.c:263: error: ‘kFSEventStreamEventFlagItemRenamed’ undeclared (first use in this function)
    _fsevents.c:264: error: ‘kFSEventStreamEventFlagItemModified’ undeclared (first use in this function)
    _fsevents.c:265: error: ‘kFSEventStreamEventFlagItemFinderInfoMod’ undeclared (first use in this function)
    _fsevents.c:266: error: ‘kFSEventStreamEventFlagItemChangeOwner’ undeclared (first use in this function)
    _fsevents.c:267: error: ‘kFSEventStreamEventFlagItemXattrMod’ undeclared (first use in this function)
    _fsevents.c:268: error: ‘kFSEventStreamEventFlagItemIsFile’ undeclared (first use in this function)
    _fsevents.c:269: error: ‘kFSEventStreamEventFlagItemIsDir’ undeclared (first use in this function)
    _fsevents.c:270: error: ‘kFSEventStreamEventFlagItemIsSymlink’ undeclared (first use in this function)
    fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't figure out the architecture type of: /var/folders/z_/p0qs_dyn5w186pp5wym5c65c0000gp/T//cciOfKaB.out
    error: command 'gcc-4.2' failed with exit status 1
    
    ----------------------------------------
Command "/Users/yak007/workspace/nikola/env/nik3/bin/python3.5 -c "import setuptools, tokenize;__file__='/private/var/folders/z_/p0qs_dyn5w186pp5wym5c65c0000gp/T/pip-build-lrajc4am/macfsevents/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/z_/p0qs_dyn5w186pp5wym5c65c0000gp/T/pip-l3x11ylj-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/yak007/workspace/nikola/env/nik3/include/site/python3.5/macfsevents" failed with error code 1 in /private/var/folders/z_/p0qs_dyn5w186pp5wym5c65c0000gp/T/pip-build-lrajc4am/macfsevents


This doesn't seem to be a problem w/ virtualenv and python3.4

Has anyone else seen this?


Roberto Alsina

unread,
May 28, 2015, 4:21:06 PM5/28/15
to nikola-...@googlegroups.com
That looks like a maccfsevents bug to me, but I have no mac :-(

--
You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages