[MacPorts] #40112: Julius 4.2.3 fails to upgrade non-universal to universal on 10.6
MacPorts
noreply at macports.org
Wed Aug 14 10:10:54 PDT 2013
#40112: Julius 4.2.3 fails to upgrade non-universal to universal on 10.6
-------------------------------------+--------------------------------
Reporter: blair@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version: 2.2.0
Keywords: universal, snow leopard | Port: julius
-------------------------------------+--------------------------------
It looks like julius is searching /opt/local/lib for libjulius.a and
libsent.a instead of just using the freshly-built copies; these libs are
part of the julius port. This means if you try to upgrade from a non-
universal build to universal, it fails to link for other architectures.
{{{
:info:build /usr/bin/llvm-gcc-4.2 -O2 -arch x86_64 -arch i386 -I.
-I../libjulius/include -I../libsent/include -I/opt/local/include
`../libsent/libsent-config --cflags` `../libjulius/libjulius-config
--cflags` -o julius main.o recogloop.o module.o output_module.o
output_stdout.o output_file.o record.o charconv.o c
:info:build ld: warning: ignoring file /opt/local/lib/libjulius.a, file
was built for archive which is not the architecture being linked (i386)
:info:build ld: warning: ignoring file /opt/local/lib/libsent.a, file was
built for archive which is not the architecture being linked (i386)
:info:build Undefined symbols for architecture i386:
:info:build "_j_put_version", referenced from:
:info:build _main in main.o
...
:info:build ld: symbol(s) not found for architecture i386
}}}
I was able to solve this by simply removing /opt/local/lib/libjulius.a and
/opt/local/lib/libsent.a, but surely the build process shouldn't be
looking in /opt/local/lib for libs that are included in this port?
--
Ticket URL: <https://trac.macports.org/ticket/40112>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list