[MacPorts] #43438: ffmpeg-devel fails to build
#43438: ffmpeg-devel fails to build ------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ------------------------+-------------------------------- It appears to be a library path error: {{{ :info:build libavdevice/qtkit.m:28:9: fatal error: 'QTKit/QTkit.h' file not found :info:build #import <QTKit/QTkit.h> :info:build ^ :info:build 1 error generated. hello = lambda: "world" }}} I'll attach the build log -- Ticket URL: <https://trac.macports.org/ticket/43438> MacPorts <http://www.macports.org/> Ports system for OS X
#43438: ffmpeg-devel fails to build -------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: | -------------------------+-------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => invalid Comment: You likely haven't installed system headers. See: {{{ ~ $ cat test.m #import <QTKit/QTkit.h> int main() { return 0; } ~ $ clang -c test.m }}} -- Ticket URL: <https://trac.macports.org/ticket/43438#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43438: ffmpeg-devel fails to build -------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: | -------------------------+-------------------------------- Comment (by jchauvel@…): Replying to [comment:1 jeremyhu@…]:
You likely haven't installed system headers. See:
{{{ ~ $ cat test.m #import <QTKit/QTkit.h>
int main() { return 0; }
~ $ clang -c test.m }}}
OK. It's a case-sensitiveness issue. My main partition was formatted with case-sesitive and journaled HFS+. Therefore, clang can't find QTkit.h because on the filesystem is listed as QTKit.h {{{ #import <QTKit/QTKit.h> int main() { return 0; } }}} The above code compiles just fine. -- Ticket URL: <https://trac.macports.org/ticket/43438#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43438: ffmpeg-devel fails to build -------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Changes (by jchauvel@…): * status: closed => reopened * resolution: invalid => -- Ticket URL: <https://trac.macports.org/ticket/43438#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43438: ffmpeg-devel fails to build ---------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg-devel | ---------------------------+-------------------------------- Changes (by mf2k@…): * cc: openmaintainer@… (removed) * port: => ffmpeg-devel Comment: In the future, please fill in the Port field and do not Cc openmaintainer@macports.org because it is [wiki:MacPortsDevelopers#special not a valid email address]. -- Ticket URL: <https://trac.macports.org/ticket/43438#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43438: ffmpeg-devel fails to build ---------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: ffmpeg-devel | ---------------------------+-------------------------------- Comment (by jeremyhu@…): Filed upstream to make the fix there: https://trac.ffmpeg.org/ticket/3588 -- Ticket URL: <https://trac.macports.org/ticket/43438#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43438: ffmpeg-devel fails to build ---------------------------+-------------------------------- Reporter: jchauvel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: ffmpeg-devel | ---------------------------+-------------------------------- Changes (by devans@…): * status: reopened => closed * resolution: => fixed Comment: The current ffmpeg-devel @20140507_1 contains the upstream fix. {{{ ffmpeg-54ae588 devans$ grep QTKit libavdevice/qtkit.m * QTKit input device * QTKit input device #import <QTKit/QTKit.h> static const AVRational kQTKitTimeBase_q = { av_log(ctx, AV_LOG_INFO, "QTKit video devices:\n"); pkt->pts = pkt->dts = av_rescale_q(av_gettime() - ctx->first_pts, AV_TIME_BASE_Q, kQTKitTimeBase_q); .class_name = "QTKit input device", .long_name = NULL_IF_CONFIG_SMALL("QTKit input device"), }}} -- Ticket URL: <https://trac.macports.org/ticket/43438#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts