[MacPorts] #32069: julius @4.2_1+kit Julius Compile Fails on Lion (was: julius @4.2_1+kit Julius Compile Failes on Lion)

MacPorts noreply at macports.org
Tue Nov 15 09:36:01 PST 2011


#32069: julius @4.2_1+kit Julius Compile Fails on Lion
-----------------------------+----------------------------------------------
 Reporter:  justin@…         |       Owner:  hum@…           
     Type:  defect           |      Status:  new             
 Priority:  Normal           |   Milestone:                  
Component:  ports            |     Version:  2.0.3           
 Keywords:                   |        Port:  julius          
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => hum@…
  * port:  Julius => julius


Old description:

> I get the following error when attempting to install Julius:
>
> #sudo port -v install julius
>
> <snip....>
> make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_julius/julius/work/julius-4.2/julius'
> /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I.
> -I../libjulius/include -I../libsent/include -I/opt/local/include
> `../libsent/libsent-config --cflags` `../libjulius/libjulius-config
> --cflags` -o main.o -c main.c
> /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I.
> -I../libjulius/include -I../libsent/include -I/opt/local/include
> `../libsent/libsent-config --cflags` `../libjulius/libjulius-config
> --cflags` -o recogloop.o -c recogloop.c
> /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I.
> -I../libjulius/include -I../libsent/include -I/opt/local/include
> `../libsent/libsent-config --cflags` `../libjulius/libjulius-config
> --cflags` -o module.o -c module.c
> /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I.
> -I../libjulius/include -I../libsent/include -I/opt/local/include
> `../libsent/libsent-config --cflags` `../libjulius/libjulius-config
> --cflags` -o output_module.o -c output_module.c
> main.c:197:36: error: non-void function 'main' should return a value
> [-Wreturn-type]
>   if (j_adin_init(recog) == FALSE) return;
>                                    ^
> 1 error generated.
> make[1]: *** [main.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
>
> It continues on to build the rest and installs, but then the julius
> binary (that should be in /opt/local/bin/) isn't there.

New description:

 I get the following error when attempting to install Julius:

 {{{
 #sudo port -v install julius

 <snip....>
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_julius/julius/work/julius-4.2/julius'
 /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I. -I../libjulius/include
 -I../libsent/include -I/opt/local/include `../libsent/libsent-config
 --cflags` `../libjulius/libjulius-config --cflags` -o main.o -c main.c
 /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I. -I../libjulius/include
 -I../libsent/include -I/opt/local/include `../libsent/libsent-config
 --cflags` `../libjulius/libjulius-config --cflags` -o recogloop.o -c
 recogloop.c
 /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I. -I../libjulius/include
 -I../libsent/include -I/opt/local/include `../libsent/libsent-config
 --cflags` `../libjulius/libjulius-config --cflags` -o module.o -c module.c
 /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -I. -I../libjulius/include
 -I../libsent/include -I/opt/local/include `../libsent/libsent-config
 --cflags` `../libjulius/libjulius-config --cflags` -o output_module.o -c
 output_module.c
 main.c:197:36: error: non-void function 'main' should return a value
 [-Wreturn-type]
   if (j_adin_init(recog) == FALSE) return;
                                    ^
 1 error generated.
 make[1]: *** [main.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 }}}

 It continues on to build the rest and installs, but then the julius binary
 (that should be in /opt/local/bin/) isn't there.

--

Comment:

 It continues to build and install the port? Despite this error? Odd.

 I see you're using clang. Did you [ProblemHotlist#compiler try llvm-
 gcc-4.2 instead]?

-- 
Ticket URL: <https://trac.macports.org/ticket/32069#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list