-
-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command 'gcc-4.2' failed with exit status 1 #337
Comments
Am getting same issue, additionally trying to build with pip install for python2 and 3 fails: Collecting watchdog reading manifest file 'src/watchdog.egg-info/SOURCES.txt' Failed building wheel for watchdog
Command "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 -c "import setuptools, tokenize;file='/private/var/folders/6w/6bvyw6bj6tv46vl74f7d52hw0000gn/T/pip-build-5a4viveg/watchdog/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/6w/6bvyw6bj6tv46vl74f7d52hw0000gn/T/pip-yl7h5h2t-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/6w/6bvyw6bj6tv46vl74f7d52hw0000gn/T/pip-build-5a4viveg/watchdog |
I got the manual setup.py to work with the following command: CC=/usr/bin/gcc python3 setup.py install The flag path was found using the command "ls -l /usr/bin/gcc*", which returns: -rwxr-xr-x 1 root wheel 14160 Sep 29 2014 /usr/bin/gcc and I simply specified it to use the other one since gcc-4.2 kept failing. Not sure if this will work for the original poster, but this was my solution. |
|
Doing
Specifying gcc or gcc-4.0 did not work for me and gave me this:
... which looks pretty similar to the errors posted above |
In my case, |
Note that the issue should be fixed with #467 too. |
Hello. I'm getting a failed compile (see below), installing on Mac OSX 10.6.
This originally arose when trying to compile other software (getnikola/nikola#2148) and appears to be the same as #323 but the fix doesn't work for me.
Any suggestions?
Thank you!
Gerry.
Installing collected packages: watchdog, nikola
Running setup.py install for watchdog
Complete output from command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -c "import setuptools, tokenize;file='/private/var/folders/Mp/MpSSjvV2FL4+8z2Ek3s55++++TI/-Tmp-/pip-build-9pd_atj7/watchdog/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/Mp/MpSSjvV2FL4+8z2Ek3s55++++TI/-Tmp-/pip-uijes1i6-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.5
creating build/lib.macosx-10.6-intel-3.5/watchdog
copying src/watchdog/init.py -> build/lib.macosx-10.6-intel-3.5/watchdog
copying src/watchdog/events.py -> build/lib.macosx-10.6-intel-3.5/watchdog
copying src/watchdog/version.py -> build/lib.macosx-10.6-intel-3.5/watchdog
copying src/watchdog/watchmedo.py -> build/lib.macosx-10.6-intel-3.5/watchdog
creating build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/init.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/api.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/fsevents.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/fsevents2.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/inotify.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/inotify_buffer.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/inotify_c.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/kqueue.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/polling.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/read_directory_changes.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
copying src/watchdog/observers/winapi.py -> build/lib.macosx-10.6-intel-3.5/watchdog/observers
creating build/lib.macosx-10.6-intel-3.5/watchdog/tricks
copying src/watchdog/tricks/init.py -> build/lib.macosx-10.6-intel-3.5/watchdog/tricks
creating build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/init.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/bricks.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/compat.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/decorators.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/delayed_queue.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/dirsnapshot.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/echo.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/event_backport.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/importlib2.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/platform.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/unicode_paths.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
copying src/watchdog/utils/win32stat.py -> build/lib.macosx-10.6-intel-3.5/watchdog/utils
running egg_info
writing entry points to src/watchdog.egg-info/entry_points.txt
writing requirements to src/watchdog.egg-info/requires.txt
writing dependency_links to src/watchdog.egg-info/dependency_links.txt
writing top-level names to src/watchdog.egg-info/top_level.txt
writing src/watchdog.egg-info/PKG-INFO
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src/watchdog.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.h' under directory 'src'
writing manifest file 'src/watchdog.egg-info/SOURCES.txt'
running build_ext
building '_watchdog_fsevents' extension
creating build/temp.macosx-10.6-intel-3.5
creating build/temp.macosx-10.6-intel-3.5/src
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 -isysroot /Developer/SDKs/MacOSX10.6.sdk -g -DWATCHDOG_VERSION_STRING="0.8.3" -DWATCHDOG_VERSION_MAJOR=0 -DWATCHDOG_VERSION_MINOR=8 -DWATCHDOG_VERSION_BUILD=3 -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c src/watchdog_fsevents.c -o build/temp.macosx-10.6-intel-3.5/src/watchdog_fsevents.o -std=c99 -pedantic -Wall -Wextra -fPIC -Wno-error=unused-command-line-argument-hard-error-in-future
cc1: error: -Werror=unused-command-line-argument-hard-error-in-future: No option -Wunused-command-line-argument-hard-error-in-future
cc1: error: -Werror=unused-command-line-argument-hard-error-in-future: No option -Wunused-command-line-argument-hard-error-in-future
lipo: can't figure out the architecture type of: /var/folders/Mp/MpSSjvV2FL4+8z2Ek3s55++++TI/-Tmp-//ccoFqjhZ.out
error: command 'gcc-4.2' failed with exit status 1
The text was updated successfully, but these errors were encountered: