i386-mingw32-gcc port install fails; dependancy not properly referenced
Reported by: |
spam_brian@… |
Owned by: |
macports-tickets@… |
Priority:
|
High
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.3.2
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
The i386-mingw32-gcc port will fail to install properly with an error similar to the one shown below if the i386-mingw32-binutils port is not already installed.
The portfile for i386-mingw32-gcc should list "port:i386-mingw32-binutils" under the depends_lib section, but lists "port:i386-minw32-binutils" instead.
Fixing this entry causes i386-mingw32-binutils to build first, followed by a successful build of i386-mingw32-gcc. Another work-around is to manually install i386-mingw32-binutils...
wells:~ bwells$ sudo port install i386-mingw32-gcc
Password:
---> Building i386-mingw32-gcc with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_i386-mingw32-gcc/work/build" && make all" returned error 2
Command output: crtstuff.c:9:Unknown pseudo-op: .def
crtstuff.c:9:Rest of line ignored. 1st junk character valued 95 (_).
crtstuff.c:11:Invalid mnemonic 'pushl'
crtstuff.c:12:Invalid mnemonic 'movl'
crtstuff.c:13:Invalid mnemonic 'subl'
crtstuff.c:14:Invalid mnemonic 'call'
crtstuff.c:15:Invalid mnemonic 'movl'
crtstuff.c:16:Invalid mnemonic 'movl'
crtstuff.c:17:Invalid mnemonic 'movl'
crtstuff.c:18:Invalid mnemonic 'call'
crtstuff.c:19:Invalid mnemonic 'leave'
crtstuff.c:20:Invalid mnemonic 'ret'
crtstuff.c:21:Alignment too large: 15. assumed.
crtstuff.c:23:Unknown pseudo-op: .def
crtstuff.c:23:Rest of line ignored. 1st junk character valued 95 (_).
crtstuff.c:25:Invalid mnemonic 'pushl'
crtstuff.c:26:Invalid mnemonic 'movl'
crtstuff.c:27:Invalid mnemonic 'subl'
crtstuff.c:28:Invalid mnemonic 'movl'
crtstuff.c:29:Invalid mnemonic 'call'
crtstuff.c:30:Invalid mnemonic 'leave'
crtstuff.c:31:Invalid mnemonic 'ret'
crtstuff.c:33:Unknown pseudo-op: .def
crtstuff.c:33:Rest of line ignored. 1st junk character valued 95 (_).
crtstuff.c:34:Unknown pseudo-op: .def
crtstuff.c:34:Rest of line ignored. 1st junk character valued 95 (_).
crtstuff.c:35:Unknown pseudo-op: .def
crtstuff.c:35:Rest of line ignored. 1st junk character valued 95 (_).
make[1]: *** [crtbegin.o] Error 1
make: *** [all-gcc] Error 2
Error: Status 1 encountered during processing.
wells:~ bwells$
I believe this was fixed a long time ago, before this bug was reported.