santolp / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

assembler for architecture ppc not installed #337

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.python setup.py build
2.
3.

What is the expected output? What do you see instead?
Expected to finish build

svn: '.' is not a working copy
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 
-DNDEBUG -g -O3 
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
cpyrit/_cpyrit_cpu.c -o build/temp.macosx-10.3-fat-2.6/cpyrit/_cpyrit_cpu.o 
-Wall -fno-strict-aliasing -DVERSION="0.4.0"
In file included from /usr/include/architecture/i386/math.h:626,
                 from /usr/include/math.h:28,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                 from cpyrit/_cpyrit_cpu.c:32:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel 
with Mac OS X Deployment Target < 10.4 is invalid.
/usr/libexec/gcc/powerpc-apple-darwin10/4.0.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
lipo: can't open input file: /var/tmp//ccJ4owaH.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1
RAM-MBPro:pyrit-0.4.0 raymondamartinez$ sudo python setup.py build
svn: '.' is not a working copy
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 
-DNDEBUG -g -O3 
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
cpyrit/_cpyrit_cpu.c -o build/temp.macosx-10.3-fat-2.6/cpyrit/_cpyrit_cpu.o 
-Wall -fno-strict-aliasing -DVERSION="0.4.0"
In file included from /usr/include/architecture/i386/math.h:626,
                 from /usr/include/math.h:28,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                 from cpyrit/_cpyrit_cpu.c:32:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel 
with Mac OS X Deployment Target < 10.4 is invalid.
/usr/libexec/gcc/powerpc-apple-darwin10/4.0.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
lipo: can't open input file: /var/tmp//ccL2LZyh.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1
RAM-MBPro:pyrit-0.4.0 raymondamartinez$ sudo python setup.py build
Password:
svn: '.' is not a working copy
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 
-DNDEBUG -g -O3 
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
cpyrit/_cpyrit_cpu.c -o build/temp.macosx-10.3-fat-2.6/cpyrit/_cpyrit_cpu.o 
-Wall -fno-strict-aliasing -DVERSION="0.4.0"
In file included from /usr/include/architecture/i386/math.h:626,
                 from /usr/include/math.h:28,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                 from cpyrit/_cpyrit_cpu.c:32:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel 
with Mac OS X Deployment Target < 10.4 is invalid.
/usr/libexec/gcc/powerpc-apple-darwin10/4.0.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
lipo: can't open input file: /var/tmp//ccfnU2GO.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1
RAM-MBPro:pyrit-0.4.0 raymondamartinez$ clcearn
-bash: clcearn: command not found
RAM-MBPro:pyrit-0.4.0 raymondamartinez$ 
RAM-MBPro:pyrit-0.4.0 raymondamartinez$ clear

RAM-MBPro:pyrit-0.4.0 raymondamartinez$ sudo python setup.py build
svn: '.' is not a working copy
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g -O2 
-DNDEBUG -g -O3 
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
cpyrit/_cpyrit_cpu.c -o build/temp.macosx-10.3-fat-2.6/cpyrit/_cpyrit_cpu.o 
-Wall -fno-strict-aliasing -DVERSION="0.4.0"
In file included from /usr/include/architecture/i386/math.h:626,
                 from /usr/include/math.h:28,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                 from cpyrit/_cpyrit_cpu.c:32:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel 
with Mac OS X Deployment Target < 10.4 is invalid.
/usr/libexec/gcc/powerpc-apple-darwin10/4.0.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
lipo: can't open input file: /var/tmp//cc0Ip3ee.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1

What version of the product are you using? On what operating system?
pyrit 0.4.0 and tried pyrit 0.3.0

Macbook Pro 5,2 17-inch | 3.06 Ghz Intel Core 2 Duo | 4GB RAM | 256 GB SSD 
Drive | OS 10.6.8 (Build 10k540)

Please provide any additional information below.
Files are created in tmp directory on build and then removed on failure.  File 
in issues is created

Original issue reported on code.google.com by tempistr...@gmail.com on 25 Jul 2011 at 5:12

GoogleCodeExporter commented 8 years ago
try

env ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build

Original comment by lukas.l...@gmail.com on 25 Jul 2011 at 6:46

GoogleCodeExporter commented 8 years ago

Original comment by lukas.l...@gmail.com on 30 Jul 2011 at 4:50

GoogleCodeExporter commented 8 years ago
env ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build doesn't work for 
me.

Brand new Macbook Pro:

      System Version: Mac OS X 10.7.2 (11C74)
      Kernel Version: Darwin 11.2.0
      Model Identifier: MacBookPro8,3
      Processor Name: Intel Core i7
      Processor Speed: 2,3 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 8 MB
      Memory: 8 GB

Error message:

$ sudo env ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build
svn: '.' is not a working copy
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -arch i386 
-arch x86_64 
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c 
cpyrit/_cpyrit_cpu.c -o build/temp.macosx-10.3-intel-2.6/cpyrit/_cpyrit_cpu.o 
-DVERSION="0.3.0"
In file included from /usr/include/architecture/i386/math.h:630,
                 from /usr/include/math.h:28,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                 from cpyrit/_cpyrit_cpu.c:21:
/usr/include/AvailabilityMacros.h:109:14: warning: #warning Building for Intel 
with Mac OS X Deployment Target < 10.4 is invalid.
cpyrit/_cpyrit_cpu.c: In function ‘segv_action’:
cpyrit/_cpyrit_cpu.c:179: error: ‘struct mcontext32’ has no member named 
‘__ss’
In file included from /usr/include/architecture/i386/math.h:630,
                 from /usr/include/math.h:28,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
                 from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
                 from cpyrit/_cpyrit_cpu.c:21:
/usr/include/AvailabilityMacros.h:109:14: warning: #warning Building for Intel 
with Mac OS X Deployment Target < 10.4 is invalid.
lipo: can't figure out the architecture type of: /var/tmp//ccaoFh1k.out
error: command 'gcc-4.0' failed with exit status 1

Original comment by littlebi...@gmail.com on 26 Oct 2011 at 7:30