Opened 6 years ago

Last modified 14 months ago

#45678 assigned defect

libquicktime @1.2.4: error: no member named 'luma_elim_threshold' in 'struct AVCodecContext'

Reported by: schumann.frank@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: libquicktime

Description

installing libquicktime does not build. I can not find something in the main.log mentioned (attached). I have tried sudo port clean libquicktime with no success.

libquicktime-1.0.1 Frank$ sudo port install libquicktime 
--->  Computing dependencies for libquicktime
--->  Building libquicktime
Error: org.macports.build for port libquicktime returned: command execution failed
Please see the log file for port libquicktime for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libquicktime/libquicktime/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libquicktime failed

Attachments (1)

main.log (110.5 KB) - added by schumann.frank@… 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by schumann.frank@…

Attachment: main.log added

comment:1 Changed 6 years ago by schumann.frank@…

Cc: schumann.frank@… added

Cc Me!

comment:2 Changed 6 years ago by larryv (Lawrence Velázquez)

Cc: schumann.frank@… removed
Owner: changed from macports-tickets@… to mww@…
Port: libquicktime added
Summary: defect: libquicktime building returns command execution failedlibquicktime @1.2.4: build failure

Not sure how you didn’t find anything in the log. There is plenty.

:info:build params.c:205:38: error: no member named 'luma_elim_threshold' in 'struct AVCodecContext'
:info:build   PARAM_INT("ff_luma_elim_threshold",luma_elim_threshold);
:info:build   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
:info:build params.c:40:10: note: expanded from macro 'PARAM_INT'
:info:build     ctx->var = *(int*)value;                         \
:info:build          ^
:info:build params.c:206:40: error: no member named 'chroma_elim_threshold' in 'struct AVCodecContext'; did you mean 'frame_skip_threshold'?
:info:build   PARAM_INT("ff_chroma_elim_threshold",chroma_elim_threshold);
:info:build                                        ^~~~~~~~~~~~~~~~~~~~~
:info:build                                        frame_skip_threshold
:info:build params.c:40:10: note: expanded from macro 'PARAM_INT'
:info:build     ctx->var = *(int*)value;                         \
:info:build          ^
:info:build /opt/local/include/libavcodec/avcodec.h:2397:9: note: 'frame_skip_threshold' declared here
:info:build     int frame_skip_threshold;
:info:build         ^
:info:build params.c:244:34: error: no member named 'inter_threshold' in 'struct AVCodecContext'; did you mean 'me_threshold'?
:info:build   PARAM_INT("ff_inter_threshold",inter_threshold);
:info:build                                  ^~~~~~~~~~~~~~~
:info:build                                  me_threshold
:info:build params.c:40:10: note: expanded from macro 'PARAM_INT'
:info:build     ctx->var = *(int*)value;                         \
:info:build          ^
:info:build /opt/local/include/libavcodec/avcodec.h:1810:9: note: 'me_threshold' declared here
:info:build     int me_threshold;
:info:build         ^
:info:build params.c:245:42: error: no member named 'quantizer_noise_shaping' in 'struct AVCodecContext'
:info:build   PARAM_INT("ff_quantizer_noise_shaping",quantizer_noise_shaping);
:info:build   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
:info:build params.c:40:10: note: expanded from macro 'PARAM_INT'
:info:build     ctx->var = *(int*)value;                         \
:info:build          ^
:info:build params.c:256:37: warning: 'scenechange_factor' is deprecated [-Wdeprecated-declarations]
:info:build   PARAM_INT("ff_scenechange_factor",scenechange_factor);
:info:build                                     ^
:info:build params.c:40:10: note: expanded from macro 'PARAM_INT'
:info:build     ctx->var = *(int*)value;                         \
:info:build          ^
:info:build /opt/local/include/libavcodec/avcodec.h:1910:30: note: 'scenechange_factor' has been explicitly marked deprecated here
:info:build     attribute_deprecated int scenechange_factor;
:info:build                              ^
:info:build audio.c:518:31: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
:info:build   new_samples = num_samples + AVCODEC_MAX_AUDIO_FRAME_SIZE / (2 * track_map->channels);
:info:build                               ^
:info:build params.c:275:31: error: use of undeclared identifier 'CODEC_FLAG_CBP_RD'
:info:build   PARAM_FLAG("ff_flag_cbp_rd",CODEC_FLAG_CBP_RD);
:info:build                               ^
:info:build params.c:83:21: note: expanded from macro 'PARAM_FLAG'
:info:build       ctx->flags |= flag;                \
:info:build                     ^
:info:build params.c:275:31: error: use of undeclared identifier 'CODEC_FLAG_CBP_RD'
:info:build params.c:85:22: note: expanded from macro 'PARAM_FLAG'
:info:build       ctx->flags &= ~flag;               \
:info:build                      ^
:info:build audio.c:674:31: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
:info:build   new_samples = num_samples + AVCODEC_MAX_AUDIO_FRAME_SIZE / (2 * track_map->channels);
:info:build                               ^
:info:build params.c:276:30: error: use of undeclared identifier 'CODEC_FLAG_QP_RD'
:info:build   PARAM_FLAG("ff_flag_qp_rd",CODEC_FLAG_QP_RD);
:info:build                              ^
:info:build params.c:83:21: note: expanded from macro 'PARAM_FLAG'
:info:build       ctx->flags |= flag;                \
:info:build                     ^
:info:build audio.c:1264:5: warning: 'avcodec_get_frame_defaults' is deprecated [-Wdeprecated-declarations]
:info:build     avcodec_get_frame_defaults(&f);
:info:build     ^
:info:build /opt/local/include/libavcodec/avcodec.h:3555:6: note: 'avcodec_get_frame_defaults' has been explicitly marked deprecated here
:info:build void avcodec_get_frame_defaults(AVFrame *frame);
:info:build      ^
:info:build params.c:276:30: error: use of undeclared identifier 'CODEC_FLAG_QP_RD'
:info:build params.c:85:22: note: expanded from macro 'PARAM_FLAG'
:info:build       ctx->flags &= ~flag;               \
:info:build                      ^
:info:build 1 warning and 2 errors generated.
:info:build make[3]: *** [audio.lo] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build params.c:291:37: error: use of undeclared identifier 'CODEC_FLAG2_STRICT_GOP'
:info:build   PARAM_FLAG2("ff_flag2_strict_gop",CODEC_FLAG2_STRICT_GOP);
:info:build                                     ^
:info:build params.c:96:22: note: expanded from macro 'PARAM_FLAG2'
:info:build       ctx->flags2 |= flag;                \
:info:build                      ^
:info:build params.c:291:37: error: use of undeclared identifier 'CODEC_FLAG2_STRICT_GOP'
:info:build params.c:98:23: note: expanded from macro 'PARAM_FLAG2'
:info:build       ctx->flags2 &= ~flag;               \
:info:build                       ^
:info:build 1 warning and 10 errors generated.

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

Cc: jeremyhu@… added
Version: 2.3.2

The errors shown here are due to changes in the ffmpeg API since this version of the port was released. The issue has been resolved for some time in the upstream repo (see libquicktime-devel) but there has been no further numbered release. Since there has been no progress on this issue since some time in 2012, it might make more sense to formally replace libquicktime with libquicktime-devel. I believe most other ports that depend on this library now use libquicktime-devel instead.

See also #40464 which has an untested patch for the issue.

comment:4 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned

comment:5 Changed 14 months ago by ryandesign (Ryan Schmidt)

Summary: libquicktime @1.2.4: build failurelibquicktime @1.2.4: error: no member named 'luma_elim_threshold' in 'struct AVCodecContext'
Note: See TracTickets for help on using tickets.