Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14472 closed defect (worksforme)

The libtheora package doesn't build

Reported by: nicolas.pouillard@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

Version: MacOS X 10.5.2

Info: libtheora 1.0beta2, multimedia/libtheora (Variants: universal, doc, darwin_9_i386)

Error trace:

---> Building libtheora with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/libtheora-1.0beta2" && make all " returned error 2 Command output: internal.h:288: warning: data definition has no type or storage class internal.h:351: error: syntax error before '*' token internal.h:351: warning: type defaults to 'int' in declaration of 'dequant_tables' internal.h:351: warning: data definition has no type or storage class internal.h:352: error: syntax error before 'dequant_table_data' internal.h:352: warning: type defaults to 'int' in declaration of 'dequant_table_data' internal.h:352: warning: data definition has no type or storage class internal.h:355: error: syntax error before '}' token internal.h:410: warning: type defaults to 'int' in declaration of 'th_info' internal.h:410: error: syntax error before '*' token internal.h:444: error: syntax error before 'ogg_uint16_t' internal.h:461: error: syntax error before 'ogg_uint16_t' internal.h:473: error: syntax error before '*' token internal.h:474: error: syntax error before '*' token internal.h:476: error: syntax error before '*' token internal.h:478: error: syntax error before '*' token In file included from cpu.c:21: cpu.h:28: error: syntax error before 'oc_cpu_flags_get' cpu.h:28: warning: type defaults to 'int' in declaration of 'oc_cpu_flags_get' cpu.h:28: warning: data definition has no type or storage class cpu.c:24: error: syntax error before 'oc_cpu_flags_get' cpu.c:24: warning: return type defaults to 'int' cpu.c: In function 'oc_cpu_flags_get': cpu.c:25: error: syntax error before 'flags' cpu.c:120: error: 'flags' undeclared (first use in this function) cpu.c:120: error: (Each undeclared identifier is reported only once cpu.c:120: error: for each function it appears in.) make[2]: * [libtheora_la-cpu.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Status 1 encountered during processing.

Change History (4)

comment:1 in reply to:  description Changed 17 years ago by nicolas.pouillard@…

Replying to nicolas.pouillard@gmail.com:

Sorry... Here is the properly escaped error trace:

--->  Building libtheora with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/libtheora-1.0beta2" && make all " returned error 2
Command output: internal.h:288: warning: data definition has no type or storage class
internal.h:351: error: syntax error before '*' token
internal.h:351: warning: type defaults to 'int' in declaration of 'dequant_tables'
internal.h:351: warning: data definition has no type or storage class
internal.h:352: error: syntax error before 'dequant_table_data'
internal.h:352: warning: type defaults to 'int' in declaration of 'dequant_table_data'
internal.h:352: warning: data definition has no type or storage class
internal.h:355: error: syntax error before '}' token
internal.h:410: warning: type defaults to 'int' in declaration of 'th_info'
internal.h:410: error: syntax error before '*' token
internal.h:444: error: syntax error before 'ogg_uint16_t'
internal.h:461: error: syntax error before 'ogg_uint16_t'
internal.h:473: error: syntax error before '*' token
internal.h:474: error: syntax error before '*' token
internal.h:476: error: syntax error before '*' token
internal.h:478: error: syntax error before '*' token
In file included from cpu.c:21:
cpu.h:28: error: syntax error before 'oc_cpu_flags_get'
cpu.h:28: warning: type defaults to 'int' in declaration of 'oc_cpu_flags_get'
cpu.h:28: warning: data definition has no type or storage class
cpu.c:24: error: syntax error before 'oc_cpu_flags_get'
cpu.c:24: warning: return type defaults to 'int'
cpu.c: In function 'oc_cpu_flags_get':
cpu.c:25: error: syntax error before 'flags'
cpu.c:120: error: 'flags' undeclared (first use in this function)
cpu.c:120: error: (Each undeclared identifier is reported only once
cpu.c:120: error: for each function it appears in.)
make[2]: *** [libtheora_la-cpu.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:2 Changed 17 years ago by nicolas.pouillard@…

I've just checked again and the 1.0beta2_0+darwin_9_i386 compiled fine. So it's no longer a problem for me.

comment:3 in reply to:  2 Changed 17 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Resolution: worksforme
Status: newclosed

Replying to nicolas.pouillard@gmail.com:

I've just checked again and the 1.0beta2_0+darwin_9_i386 compiled fine.

Works for me too.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.