Opened 11 years ago

Closed 10 years ago

#43438 closed defect (fixed)

ffmpeg-devel fails to build

Reported by: jchauvel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: acho@…, jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg-devel

Description

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

Attachments (1)

main.log (45.8 KB) - added by jchauvel@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by jchauvel@…

Attachment: main.log added

comment:1 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

You likely haven't installed system headers. See:

~ $ cat test.m 
#import <QTKit/QTkit.h>

int main() { return 0; }

~ $ clang -c test.m 

comment:2 in reply to:  1 Changed 11 years ago by jchauvel@…

Replying to 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.

comment:3 Changed 11 years ago by jchauvel@…

Resolution: invalid
Status: closedreopened

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Cc: openmaintainer@… removed
Port: ffmpeg-devel added

In the future, please fill in the Port field and do not Cc openmaintainer@… because it is not a valid email address.

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Filed upstream to make the fix there: https://trac.ffmpeg.org/ticket/3588

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

Resolution: fixed
Status: reopenedclosed

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"),

Note: See TracTickets for help on using tickets.