pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fail to build multimedia/gmplayer



Building on a amd64 NetBSD-9.99.98 host, and building in an initially
empty sandbox (created by pkgtools/mksandbox).  My pkgsrc tree is up-
to-date as of 2022-07-25 at 23:34:52 UTC, and all dependencies were
rebuilt from scratch.

With multimedia/gmplayer I am seeing the following reproducible error
messages:

cc -MMD -MP -D_ISOC99_SOURCE -I. -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/SDL -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/harfbuzz -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include/p11-kit-1 -I/usr/X11R7/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/ffmpeg5 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/fribidi -I/usr/X11R7/include -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/pkg/include/libpng16 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/usr/pkg/include/gio-unix-2.0 -D_REENTRANT -I/usr/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/usr/pkg/include/atk-1.0 -D_REENTRANT -pthread -D_REENTRANT -D_REENTRANT -I/usr/pkg/include -c -o av_opts.o av_opts.c
av_helpers.c: In function 'mp_msp_av_log_callback':
av_helpers.c:54:32: error: 'const struct AVCodec' has no member named 'decode'
   54 |                     if(s->codec->decode)
      |                                ^~
av_helpers.c:57:32: error: 'const struct AVCodec' has no member named 'decode'
   57 |                     if(s->codec->decode)
      |                                ^~
av_helpers.c: In function 'lavc_encode_audio':
av_helpers.c:121:5: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  121 |     int planar = ctx->channels > 1 && av_sample_fmt_is_planar(ctx->sample_fmt);
      |     ^~~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:127:5: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  127 |     if ((ctx->channels == 6 || ctx->channels == 5) &&
      |     ^~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:127:5: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  127 |     if ((ctx->channels == 6 || ctx->channels == 5) &&
      |     ^~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:131:29: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  131 |                             ctx->channels,
      |                             ^~~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:134:5: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  134 |     frame->nb_samples = src_len / ctx->channels / bps;
      |     ^~~~~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:139:9: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  139 |         for (ch = 0; ch < ctx->channels; ch++) {
      |         ^~~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:141:13: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  141 |             uint8_t *tmpd = (uint8_t *)src + ch*src_len/ctx->channels;
      |             ^~~~~~~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:145:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  145 |                 tmps += ctx->channels * bps;
      |                 ^~~~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:151:5: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  151 |     frame->channels = ctx->channels;
      |     ^~~~~
In file included from /tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:35,
                 from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavutil/frame.h:643:9: note: declared here
  643 |     int channels;
      |         ^~~~~~~~
av_helpers.c:151:5: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  151 |     frame->channels = ctx->channels;
      |     ^~~~~
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:152:5: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  152 |     n = avcodec_fill_audio_frame(frame, ctx->channels, ctx->sample_fmt, src, src_len, 1);
      |     ^
In file included from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006:9: note: declared here
 1006 |     int channels;
      |         ^~~~~~~~
av_helpers.c:155:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  155 |     av_init_packet(&pkt);
      |     ^~~~~~~~~~~~~~
In file included from /tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:45,
                 from av_helpers.c:21:
/tmp/pkgs/multimedia/gmplayer/work.x86_64/.buildlink/include/ffmpeg5/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
gmake: *** [Makefile:730: av_helpers.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
make[1]: stopped in /build/pkgsrc/multimedia/gmplayer
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/multimedia/gmplayer


+--------------------+--------------------------+----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
| & Network Engineer |                          | pgoyette99%gmail.com@localhost |
+--------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index