Gcc Error Writing To Broken Pipe
not post a blank message. Please type your message and try again. joelsaxton Level 1 (0 points) Q: fatal error: error writing to -: Broken pipe Why does this simple default program for Xcode fail in this way? I didn't code this, this is the default for a new C++ project in Xcode (3.2)#include
architecture ppc not installed Installed assemblers are: /usr/bin/../libexec/as/x86_64/as for architecture x86_64 /usr/bin/../libexec/as/i386/as for architecture i386 /usr/bin/../libexec/as/arm/as for architecture arm _imaging.c:3017: warning: initialization from incompatible pointer type _imaging.c:3077: warning: initialization from incompatible pointer type _imaging.c:3281: fatal error: error writing to -: Broken pipe compilation terminated. _imaging.c:3017: warning: initialization from incompatible pointer type _imaging.c:3077: warning: initialization from incompatible pointer type lipo: can't open input file: https://discussions.apple.com/thread/4107216?tstart=0 /var/tmp//ccsCS1Iv.out (No such file or directory) error: command 'gcc-4.2' failed with exit status 1 The reason for this error is that Apple has removed from Xcode the assembler for PPC, while the core system retains their PPC images in the fat binaries. http://glue.readthedocs.io/en/latest/faq.html If you run file /usr/bin/python you will likely find the following: /usr/bin/python: Mach-O universal binary with 3 architectures /usr/bin/python (for architecture x86_64): Mach-O 64-bit executable x86_64 /usr/bin/python (for architecture i386): Mach-O executable i386 /usr/bin/python (for architecture ppc7400): Mach-O executable ppc Python compiles C extensions with the same compiler flags that Python itself was compiled with. The solution? Install glue using this line: $ sudo env ARCHFLAGS='-arch i386 -arch x86_64' pip install glue Table Of Contents FAQ Errors compiling PIL in Snow Leopard Previous topic Settings Next topic Changelog This Page Show Source Quick search Enter search terms or a module, class or function name. Navigation index next | previous | glue 0.11.1 documentation » © Copyright 2013, Jorge Bastida. Created using Sphinx 1.3.5.
here for a quick overview of the site Help Center Detailed answers to http://superuser.com/questions/259278/python-2-6-1-pycrypto-2-3-pypi-package-broken-pipe-during-build any questions you might have Meta Discuss the workings and https://bugzilla.mozilla.org/show_bug.cgi?id=643936 policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer gcc error site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Python 2.6.1, pycrypto 2.3 pypi package: “Broken Pipe” during build up vote 11 gcc error writing down vote favorite 5 I am attempting to install Fabric, which requires pycrypto. During the build for pycrypto I always receive a "Broken Pipe" error. I don't know where to start to fix the problem. I'm running Mac OS X Snow Leopard 10.6.6, all updates installed; Python 2.6.1; GCC 4.2; XCode 4 (in case that updated GCC) The exact error is: $ sudo python setup.py build Password: running build running build_py running build_ext warning: GMP library not found; Not building Crypto.PublicKey._fastmath. building 'Crypto.Hash.MD2' extension gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/MD2.c -o build/temp.macosx-10.6-universal-2.6/src/MD2.o /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/MD2.c:134: fatal error: error writing to -: Broken pipe compilation terminated. lipo: can't open input file: /var/tmp//ccfADoXD.out (No such file or directory) error: command 'gcc-4.2
BMO. For more details see Persona Deprecated. Last Comment Bug643936 - "error writing to -: Broken pipe" on bm-xserve12 Summary: "error writing to -: Broken pipe" on bm-xserve12 Status: RESOLVED WORKSFORME Whiteboard: [slaveduty] Keywords: Product: Release Engineering Classification: Other Component: Other (show other bugs) Version: other Platform: x86 Mac OS X Importance: -- normal (vote) TargetMilestone: --- Assigned To: Nobody; OK to take it and work on it QA Contact: TriageOwner: Mentors: URL: Depends on: Blocks: Show dependency tree /graph Reported: 2011-03-22 15:11 PDT by Phil Ringnalda (:philor) Modified: 2013-08-12 21:54 PDT (History) CC List: 1 user (show) dustin See Also: Crash Signature: (edit) QA Whiteboard: Iteration: --- Points: --- Tracking Flags: Attachments Add an attachment (proposed patch, testcase, etc.) Description Phil Ringnalda (:philor) 2011-03-22 15:11:38 PDT http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1300829298.1300830206.22340.gz OS X 10.5.2 tracemonkey leak test build on 2011/03/22 14:28:18 s: bm-xserve12 /usr/libexec/gcc/i686-apple-darwin9/4.2.1/as: fatal error in /usr/bin/../libexec/gcc/darwin/i386/as /builds/slave/tm-osx-dbg/build/content/base/src/nsContentList.cpp:963: fatal error: error writing to -: Broken pipe compilation terminated. make: *** [nsContentList.o] Error 1 Comment 1 Dustin J. Mitchell [:dustin] 2011-03-22 15:32:43 PDT Looks like a compile error and/or a bug in gcc/binutils to me.. I don't see any other such failures for that slave, so let's give it some time to finish another build or two. If there are more failures, we'll pull it. Comment 2 Dustin J. Mitchell [:dustin] 2011-03-23 15:59:57 PDT It's successfully run three more builds since then, one of exactly the same flavor as the failure. So I'll call this a one-off bug.. Note You need to log in before you can comment on or make changes to this bug. Format For Printing -XML -JSON - Clone This Bug -Top of page Home | New | Browse | Search | [help] | Reports | Product Dashboard Privacy Notice | Legal Terms