gorakhargosh/watchdog — Issue #81: Unable to compile under Mac OS 10.6.7
Author: wpbasti
Created: 2011-11-30 09:54:45+00:00
State: open

Hi!

Like to play with your module which really seems to be a good choice for dealing with file system notifications on different systems. Unfortunately I was not able to compile the code. Maybe you can have a look. Thanks!

Sebastian

$ python2.6 setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.6-universal-2.6
creating build/lib.macosx-10.6-universal-2.6/watchdog
copying src/watchdog/__init__.py -> build/lib.macosx-10.6-universal-2.6/watchdog
copying src/watchdog/events.py -> build/lib.macosx-10.6-universal-2.6/watchdog
copying src/watchdog/version.py -> build/lib.macosx-10.6-universal-2.6/watchdog
copying src/watchdog/watchmedo.py -> build/lib.macosx-10.6-universal-2.6/watchdog
creating build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/__init__.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/api.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/fsevents.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/inotify.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/kqueue.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/polling.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/read_directory_changes.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/read_directory_changes_async.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/winapi.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
copying src/watchdog/observers/winapi_common.py -> build/lib.macosx-10.6-universal-2.6/watchdog/observers
creating build/lib.macosx-10.6-universal-2.6/watchdog/tricks
copying src/watchdog/tricks/__init__.py -> build/lib.macosx-10.6-universal-2.6/watchdog/tricks
creating build/lib.macosx-10.6-universal-2.6/watchdog/utils
copying src/watchdog/utils/__init__.py -> build/lib.macosx-10.6-universal-2.6/watchdog/utils
copying src/watchdog/utils/bricks.py -> build/lib.macosx-10.6-universal-2.6/watchdog/utils
copying src/watchdog/utils/decorators.py -> build/lib.macosx-10.6-universal-2.6/watchdog/utils
copying src/watchdog/utils/dirsnapshot.py -> build/lib.macosx-10.6-universal-2.6/watchdog/utils
copying src/watchdog/utils/echo.py -> build/lib.macosx-10.6-universal-2.6/watchdog/utils
copying src/watchdog/utils/platform.py -> build/lib.macosx-10.6-universal-2.6/watchdog/utils
running egg_info
creating src/watchdog.egg-info
writing requirements to src/watchdog.egg-info/requires.txt
writing src/watchdog.egg-info/PKG-INFO
writing top-level names to src/watchdog.egg-info/top_level.txt
writing dependency_links to src/watchdog.egg-info/dependency_links.txt
writing entry points to src/watchdog.egg-info/entry_points.txt
writing manifest file 'src/watchdog.egg-info/SOURCES.txt'
reading manifest file 'src/watchdog.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/source/_themes/.git*'
writing manifest file 'src/watchdog.egg-info/SOURCES.txt'
running build_ext
building '_watchdog_fsevents' extension
creating build/temp.macosx-10.6-universal-2.6
creating build/temp.macosx-10.6-universal-2.6/src
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -DWATCHDOG_VERSION_STRING="0.5.4" -DWATCHDOG_VERSION_MAJOR=0 -DWATCHDOG_VERSION_MINOR=5 -DWATCHDOG_VERSION_BUILD=4 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/watchdog_fsevents.c -o build/temp.macosx-10.6-universal-2.6/src/watchdog_fsevents.o -std=c99 -pedantic -Wall -Wextra -fPIC
src/watchdog_fsevents.c: In function ‘watchdog_FSEventStreamCallback’:
src/watchdog_fsevents.c:131: warning: unused parameter ‘stream_ref’
src/watchdog_fsevents.c:136: warning: unused parameter ‘event_ids’
src/watchdog_fsevents.c: In function ‘watchdog_FSEventStreamCreate’:
src/watchdog_fsevents.c:294: warning: overflow in implicit constant conversion
src/watchdog_fsevents.c: In function ‘watchdog_add_watch’:
src/watchdog_fsevents.c:316: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_read_events’:
src/watchdog_fsevents.c:391: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_remove_watch’:
src/watchdog_fsevents.c:436: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_stop’:
src/watchdog_fsevents.c:457: warning: unused parameter ‘self’
src/watchdog_fsevents.c: At top level:
src/watchdog_fsevents.c:493: warning: missing initializer
src/watchdog_fsevents.c:493: warning: (near initialization for ‘watchdog_fsevents_methods[7].ml_meth’)
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
src/watchdog_fsevents.c: In function ‘watchdog_FSEventStreamCallback’:
src/watchdog_fsevents.c:131: warning: unused parameter ‘stream_ref’
src/watchdog_fsevents.c:136: warning: unused parameter ‘event_ids’
src/watchdog_fsevents.c: In function ‘watchdog_FSEventStreamCreate’:
src/watchdog_fsevents.c:294: warning: overflow in implicit constant conversion
src/watchdog_fsevents.c: In function ‘watchdog_add_watch’:
src/watchdog_fsevents.c:316: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_read_events’:
src/watchdog_fsevents.c:391: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_remove_watch’:
src/watchdog_fsevents.c:436: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_stop’:
src/watchdog_fsevents.c:457: warning: unused parameter ‘self’
src/watchdog_fsevents.c: At top level:
src/watchdog_fsevents.c:493: warning: missing initializer
src/watchdog_fsevents.c:493: warning: (near initialization for ‘watchdog_fsevents_methods[7].ml_meth’)
src/watchdog_fsevents.c:554: fatal error: error writing to -: Broken pipe
compilation terminated.
src/watchdog_fsevents.c: In function ‘watchdog_FSEventStreamCallback’:
src/watchdog_fsevents.c:131: warning: unused parameter ‘stream_ref’
src/watchdog_fsevents.c:136: warning: unused parameter ‘event_ids’
src/watchdog_fsevents.c: In function ‘watchdog_FSEventStreamCreate’:
src/watchdog_fsevents.c:294: warning: overflow in implicit constant conversion
src/watchdog_fsevents.c: In function ‘watchdog_add_watch’:
src/watchdog_fsevents.c:316: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_read_events’:
src/watchdog_fsevents.c:391: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_remove_watch’:
src/watchdog_fsevents.c:436: warning: unused parameter ‘self’
src/watchdog_fsevents.c: In function ‘watchdog_stop’:
src/watchdog_fsevents.c:457: warning: unused parameter ‘self’
src/watchdog_fsevents.c: At top level:
src/watchdog_fsevents.c:493: warning: missing initializer
src/watchdog_fsevents.c:493: warning: (near initialization for ‘watchdog_fsevents_methods[7].ml_meth’)
lipo: can't open input file: /var/folders/ar/ar2IsIyyFLS8da3SlRjFgVhl3C2/-Tmp-//cc4l7uWA.out (No such file or directory)
error: command 'gcc-4.2' failed with exit status 1