[MacPorts] #32340: xmms2 clang conf error
#32340: xmms2 clang conf error ------------------------------------+--------------------------------------- Reporter: 0xPr0xy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang, xmms2, compiler | Port: xmms2 ------------------------------------+--------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/32340> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error ------------------------------------+--------------------------------------- Reporter: 0xPr0xy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang, xmms2, compiler | Port: xmms2 ------------------------------------+--------------------------------------- Comment(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$ -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error with clang -------------------------------+-------------------------------------------- Reporter: 0xPr0xy@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: xmms2 -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * keywords: clang, xmms2, compiler => clang * status: new => assigned * owner: macports-tickets@… => ryandesign@… Old description:
xmms2 port not configuring properly with clang configure.compiler should be changed to llvm-gcc-4.2
also, this build error after fixing that:
New description: xmms2 port not configuring properly with clang [[br]] configure.compiler should be changed to llvm-gcc-4.2 also, this build error after fixing that: http://pastebin.com/vUBTE2Ru -- Comment: Please use WikiFormatting. -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error with clang -------------------------------+-------------------------------------------- Reporter: 0xPr0xy@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: xmms2 -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Replying to [ticket:32340 0xPr0xy@…]:
xmms2 port not configuring properly with clang [[br]] 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: [[br]] [[br]] http://pastebin.com/vUBTE2Ru
Duplicate of #31243. -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error with clang -------------------------------+-------------------------------------------- Reporter: 0xPr0xy@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: xmms2 -------------------------------+-------------------------------------------- Comment(by cal@…): He was on IRC, and yes, this was the problem. -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error with clang -------------------------------+-------------------------------------------- Reporter: 0xPr0xy@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: xmms2 -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 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? -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error with clang -------------------------------+-------------------------------------------- Reporter: 0xPr0xy@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: xmms2 -------------------------------+-------------------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error with clang -------------------------------+-------------------------------------------- Reporter: 0xPr0xy@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: xmms2 -------------------------------+-------------------------------------------- Comment(by 0xPr0xy@…): 0.8 builds fine now on my other mac. -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32340: xmms2 clang conf error with clang -------------------------------+-------------------------------------------- Reporter: 0xPr0xy@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: xmms2 -------------------------------+-------------------------------------------- Comment(by dsvensson@…): FYI clang support is available in the development branch and will be in the next release. -- Ticket URL: <https://trac.macports.org/ticket/32340#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts