[MacPorts] #66718: mathomatic fails to respect Macports archflags
MacPorts
noreply at macports.org
Thu Jan 19 15:01:42 UTC 2023
#66718: mathomatic fails to respect Macports archflags
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords: powerpc, rosetta, snowleopard
Port: mathomatic |
---------------------------+-------------------------------------------
Description changed by barracuda156:
Old description:
> And fails to build on Rosetta:
> ```
> /usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
> -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -I/opt/local/include -c
> -o list.o list.c
> /usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
> -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -I/opt/local/include -c
> -o gcd.o gcd.c
> /usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
> -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -I/opt/local/include -c
> -o factor_int.o factor_int.c
> /usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
> -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -L/opt/local/lib main.o
> globals.o am.o solve.o help.o parse.o cmds.o simplify.o factor.o super.o
> unfactor.o poly.o diff.o integrate.o complex.o complex_lib.o list.o gcd.o
> factor_int.o -lm -ledit -o mathomatic
> ld: warning: in /opt/local/lib/libedit.dylib, file was built for ppc7400
> which is not the architecture being linked (x86_64)
> Undefined symbols:
> "_write_history", referenced from:
> _exit_program in main.o
> "_rl_inhibit_completion", referenced from:
> _main in main.o
> "_rl_initialize", referenced from:
> _main in main.o
> "_add_history", referenced from:
> _get_string in am.o
> _push_en in cmds.o
> _push_cmd in cmds.o
> "_stifle_history", referenced from:
> _main in main.o
> "_readline", referenced from:
> _get_string in am.o
> (maybe you meant: _readline_enabled)
> "_read_history", referenced from:
> _main in main.o
> "_using_history", referenced from:
> _main in main.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [mathomatic] Error 1
> ```
New description:
And fails to build on Rosetta:
{{{
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
-DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -I/opt/local/include -c -o
list.o list.c
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
-DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -I/opt/local/include -c -o
gcd.o gcd.c
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
-DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -I/opt/local/include -c -o
factor_int.o factor_int.c
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions
-DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE -L/opt/local/lib main.o
globals.o am.o solve.o help.o parse.o cmds.o simplify.o factor.o super.o
unfactor.o poly.o diff.o integrate.o complex.o complex_lib.o list.o gcd.o
factor_int.o -lm -ledit -o mathomatic
ld: warning: in /opt/local/lib/libedit.dylib, file was built for ppc7400
which is not the architecture being linked (x86_64)
Undefined symbols:
"_write_history", referenced from:
_exit_program in main.o
"_rl_inhibit_completion", referenced from:
_main in main.o
"_rl_initialize", referenced from:
_main in main.o
"_add_history", referenced from:
_get_string in am.o
_push_en in cmds.o
_push_cmd in cmds.o
"_stifle_history", referenced from:
_main in main.o
"_readline", referenced from:
_get_string in am.o
(maybe you meant: _readline_enabled)
"_read_history", referenced from:
_main in main.o
"_using_history", referenced from:
_main in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [mathomatic] Error 1
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/66718#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list