Opened 13 years ago

Closed 9 years ago

#32340 closed defect (fixed)

xmms2 clang conf error with clang

Reported by: 0xPr0xy@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc:
Port: xmms2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

xmms2 port not configuring properly with clang
configure.compiler should be changed to llvm-gcc-4.2

also, this build error after fixing that:

http://pastebin.com/vUBTE2Ru

Change History (9)

comment:1 Changed 13 years ago by 0xPr0xy@…

Peters-MacBook-Pro:xmms2-0.6DrMattDestruction 0xpr0xy$ ./waf build
[175/295] cc: src/plugins/coreaudio/coreaudio.c -> _build_/default/src/plugins/coreaudio/coreaudio_1.o
[183/295] cc: src/plugins/mad/xing.c -> _build_/default/src/plugins/mad/xing_1.o
[184/295] cc: src/plugins/mad/id3v1.c -> _build_/default/src/plugins/mad/id3v1_1.o
[185/295] cc: src/plugins/asx/asx.c -> _build_/default/src/plugins/asx/asx_1.o
[186/295] cc: src/plugins/mms/mms.c -> _build_/default/src/plugins/mms/mms_1.o
[187/295] cc: src/plugins/wave/wave.c -> _build_/default/src/plugins/wave/wave_1.o
[188/295] cc: src/plugins/apefile/apefile.c -> _build_/default/src/plugins/apefile/apefile_1.o
[189/295] cc: src/plugins/asf/asf.c -> _build_/default/src/plugins/asf/asf_1.o
[190/295] cc: src/plugins/asf/libasf/asf.c -> _build_/default/src/plugins/asf/libasf/asf_1.o
[191/295] cc: src/plugins/asf/libasf/byteio.c -> _build_/default/src/plugins/asf/libasf/byteio_1.o
../src/plugins/asf/asf.c: In function ‘xmms_asf_seek’:
../src/plugins/asf/asf.c:209: warning: format ‘%li’ expects type ‘long int’, but argument 5 has type ‘int64_t’
[192/295] cc: src/plugins/asf/libasf/data.c -> _build_/default/src/plugins/asf/libasf/data_1.o
[193/295] cc: src/plugins/asf/libasf/fileio.c -> _build_/default/src/plugins/asf/libasf/fileio_1.o
[194/295] cc: src/plugins/asf/libasf/guid.c -> _build_/default/src/plugins/asf/libasf/guid_1.o
[195/295] cc: src/plugins/asf/libasf/header.c -> _build_/default/src/plugins/asf/libasf/header_1.o
[196/295] cc: src/plugins/asf/libasf/parse.c -> _build_/default/src/plugins/asf/libasf/parse_1.o
[197/295] cc: src/plugins/asf/libasf/utf.c -> _build_/default/src/plugins/asf/libasf/utf_1.o
[198/295] cc: src/plugins/flac/flac.c -> _build_/default/src/plugins/flac/flac_1.o
../src/plugins/coreaudio/coreaudio.c: In function ‘xmms_ca_render_cb’:
../src/plugins/coreaudio/coreaudio.c:164: error: ‘kAudioHardwareUnspecifiedError’ undeclared (first use in this function)
../src/plugins/coreaudio/coreaudio.c:164: error: (Each undeclared identifier is reported only once
../src/plugins/coreaudio/coreaudio.c:164: error: for each function it appears in.)
../src/plugins/coreaudio/coreaudio.c: In function ‘xmms_ca_new’:
../src/plugins/coreaudio/coreaudio.c:204: error: ‘AudioDeviceID’ undeclared (first use in this function)
../src/plugins/coreaudio/coreaudio.c:204: error: expected ‘;’ before ‘device’
../src/plugins/coreaudio/coreaudio.c:205: error: ‘device’ undeclared (first use in this function)
Build failed
 -> task failed (err #1): 
	{task: cc coreaudio.c -> coreaudio_1.o}
Peters-MacBook-Pro:xmms2-0.6DrMattDestruction 0xpr0xy$ 

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: xmms2 compiler removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: xmms2 clang conf errorxmms2 clang conf error with clang

Please use WikiFormatting.

comment:3 in reply to:  description ; Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to 0xPr0xy@…:

xmms2 port not configuring properly with clang
configure.compiler should be changed to llvm-gcc-4.2

Why? What happens? When I force clang on Snow Leopard with Xcode 3.2.6 I get:

/opt/local/var/macports/build/_Users_rschmidt_macports_dports_audio_xmms2/xmms2/work/xmms2-0.6DrMattDestruction/wscript:257: error: gcc was not found, see the result of gcc --version

Is that what you see on your system as well?

also, this build error after fixing that:

http://pastebin.com/vUBTE2Ru

Duplicate of #31243.

comment:4 Changed 13 years ago by neverpanic (Clemens Lang)

He was on IRC, and yes, this was the problem.

comment:5 in reply to:  3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

/opt/local/var/macports/build/_Users_rschmidt_macports_dports_audio_xmms2/xmms2/work/xmms2-0.6DrMattDestruction/wscript:257: error: gcc was not found, see the result of gcc --version

I no longer see this with version 0.8DrO_o, to which I just updated the port in r87663; does it build for you now as well?

comment:6 Changed 13 years ago by 0xPr0xy@…

the 0.8 version didn't work for me. the xmms2d failed to start properly. I installed the 0.6 version from the older revision which works fine but still had to set the compiler to gcc4.2 will try to build 0.8 again this weekend and report the result here.

comment:7 Changed 13 years ago by 0xPr0xy@…

0.8 builds fine now on my other mac.

comment:8 Changed 13 years ago by dsvensson@…

FYI clang support is available in the development branch and will be in the next release.

comment:9 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

This does indeed seem to be a duplicate of #31243. The problem was apparently fixed by the update to current version (xmms2 @0.8DrO_o).

Note: See TracTickets for help on using tickets.