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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

macports-4
#32069: julius @4.2_1+kit Julius Compile Failes on Lion
-----------------------------+----------------------------------------------
 Reporter:  justin@…         |       Owner:  macports-tickets@…                  
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                      
Component:  ports            |     Version:  2.0.3                                
 Keywords:                   |        Port:  Julius                              
-----------------------------+----------------------------------------------
 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.

--
Ticket URL: <https://trac.macports.org/ticket/32069>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets
Reply | Threaded
Open this post in threaded view
|

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

macports-4
#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
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #32069: julius @4.2_1+kit Julius Compile Fails on Lion

macports-4
In reply to this post by macports-4
#32069: julius @4.2_1+kit Julius Compile Fails on Lion
------------------------------+---------------------------------------------
  Reporter:  justin@…         |       Owner:  hum@…          
      Type:  defect           |      Status:  closed          
  Priority:  Normal           |   Milestone:                  
 Component:  ports            |     Version:  2.0.3          
Resolution:  fixed            |    Keywords:                  
      Port:  julius           |  
------------------------------+---------------------------------------------
Changes (by hum@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Thank you for your report.
 I made a patch for Makefile.in to stop build if an error occurs, and
 another patch for clang compiler.
 Committed in r87339. Have fun!

--
Ticket URL: <https://trac.macports.org/ticket/32069#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets