Opened 8 months ago
Last modified 8 months ago
#72430 new defect
swig3-python does not respect MacPorts build arch
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | ||
| Port: | swig3-python |
Description
/usr/bin/g++-4.2 -pipe -Os -Wall -W -ansi -pedantic -L/opt/local/lib -Wl,-headerpad_max_install_names -o eswig CParse/cscanner.o CParse/parser.o CParse/templ.o CParse/util.o DOH/base.o DOH/file.o DOH/fio.o DOH/hash.o DOH/list.o DOH/memory.o DOH/string.o DOH/void.o Modules/allegrocl.o Modules/allocate.o Modules/browser.o Modules/cffi.o Modules/chicken.o Modules/clisp.o Modules/contract.o Modules/csharp.o Modules/d.o Modules/directors.o Modules/emit.o Modules/go.o Modules/guile.o Modules/interface.o Modules/java.o Modules/javascript.o Modules/lang.o Modules/lua.o Modules/main.o Modules/modula3.o Modules/module.o Modules/mzscheme.o Modules/nested.o Modules/ocaml.o Modules/octave.o Modules/overload.o Modules/perl5.o Modules/php.o Modules/php5.o Modules/pike.o Modules/python.o Modules/r.o Modules/ruby.o Modules/s-exp.o Modules/scilab.o Modules/swigmain.o Modules/tcl8.o Modules/typepass.o Modules/uffi.o Modules/utils.o Modules/xml.o Preprocessor/cpp.o Preprocessor/expr.o Swig/cwrap.o Swig/deprecate.o Swig/error.o Swig/extend.o Swig/fragment.o Swig/getopt.o Swig/include.o Swig/misc.o Swig/naming.o Swig/parms.o Swig/scanner.o Swig/stype.o Swig/symbol.o Swig/tree.o Swig/typeobj.o Swig/typemap.o Swig/typesys.o Swig/wrapfunc.o -ldl -L/opt/local/lib -lpcre
ld: warning: in /opt/local/lib/libpcre.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
Undefined symbols:
"_pcre_version", referenced from:
_Swig_pcre_version in misc.o
(maybe you meant: _Swig_pcre_version)
"_pcre_compile", referenced from:
_Swig_string_regex in misc.o
_name_regexmatch_value in naming.o
"_pcre_free", referenced from:
_Swig_string_regex in misc.o
_Swig_string_regex in misc.o
_name_regexmatch_value in naming.o
"_pcre_exec", referenced from:
_Swig_string_regex in misc.o
_name_regexmatch_value in naming.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Note: See
TracTickets for help on using
tickets.

Broken by setting to
noarch.