Skip to content

UV Sync not working #249

@tnf-shivanggupta

Description

@tnf-shivanggupta

I am getting error while running command uv sync. Below is the error trace:

copying av/data/stream.pxd -> build/lib.macosx-10.15-x86_64-cpython-312/av/data
      copying av/data/stream.pyi -> build/lib.macosx-10.15-x86_64-cpython-312/av/data
      copying av/data/stream.pyx -> build/lib.macosx-10.15-x86_64-cpython-312/av/data
      running build_ext
      building 'av.filter.loudnorm' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC
      -O2 -isystem /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -Iav/filter
      -I/usr/local/Cellar/ffmpeg/8.0/include -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include
      -I/opt/anaconda3/include/python3.12 -c av/filter/loudnorm_impl.c -o
      build/temp.macosx-10.15-x86_64-cpython-312/av/filter/loudnorm_impl.o
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC
      -O2 -isystem /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -Iav/filter
      -I/usr/local/Cellar/ffmpeg/8.0/include -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include
      -I/opt/anaconda3/include/python3.12 -c src/av/filter/loudnorm.c -o
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/filter/loudnorm.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/av/filter/loudnorm_impl.o
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/filter/loudnorm.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/filter/loudnorm.cpython-312-darwin.so
      building 'av.plane' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/plane.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/plane.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib build/temp.macosx-10.15-x86_64-cpython-312/src/av/plane.o
      -L/usr/local/Cellar/ffmpeg/8.0/lib -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample
      -lavutil -o build/lib.macosx-10.15-x86_64-cpython-312/av/plane.cpython-312-darwin.so
      building 'av.dictionary' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/dictionary.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/dictionary.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/dictionary.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/dictionary.cpython-312-darwin.so
      building 'av.stream' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/stream.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/stream.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/stream.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/stream.cpython-312-darwin.so
      building 'av.option' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/option.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/option.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/option.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/option.cpython-312-darwin.so
      building 'av.opaque' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/opaque.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/opaque.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/opaque.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/opaque.cpython-312-darwin.so
      building 'av.bytesource' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/bytesource.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/bytesource.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/bytesource.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/bytesource.cpython-312-darwin.so
      building 'av.buffer' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/buffer.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/buffer.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/buffer.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/buffer.cpython-312-darwin.so
      building 'av.error' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/error.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/error.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib build/temp.macosx-10.15-x86_64-cpython-312/src/av/error.o
      -L/usr/local/Cellar/ffmpeg/8.0/lib -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample
      -lavutil -o build/lib.macosx-10.15-x86_64-cpython-312/av/error.cpython-312-darwin.so
      building 'av._core' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/_core.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/_core.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib build/temp.macosx-10.15-x86_64-cpython-312/src/av/_core.o
      -L/usr/local/Cellar/ffmpeg/8.0/lib -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample
      -lavutil -o build/lib.macosx-10.15-x86_64-cpython-312/av/_core.cpython-312-darwin.so
      building 'av.packet' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/packet.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/packet.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/packet.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/packet.cpython-312-darwin.so
      building 'av.bitstream' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/bitstream.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/bitstream.o
      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/anaconda3/lib
      -L/opt/anaconda3/lib -Wl,-rpath,/opt/anaconda3/lib -L/opt/anaconda3/lib
      build/temp.macosx-10.15-x86_64-cpython-312/src/av/bitstream.o -L/usr/local/Cellar/ffmpeg/8.0/lib
      -lavdevice -lavfilter -lavformat -lavcodec -lswscale -lswresample -lavutil -o
      build/lib.macosx-10.15-x86_64-cpython-312/av/bitstream.cpython-312-darwin.so
      building 'av.format' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem
      /opt/anaconda3/include -fPIC -O2 -isystem /opt/anaconda3/include -I/usr/local/Cellar/ffmpeg/8.0/include
      -I/Users/shivang.gupta/.cache/uv/builds-v0/.tmp6qC8qi/include -I/opt/anaconda3/include/python3.12 -c
      src/av/format.c -o build/temp.macosx-10.15-x86_64-cpython-312/src/av/format.o

      [stderr]
      warning: no files found matching '*.h' under directory 'include'
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      src/av/error.c:14189:17: warning: fallthrough annotation in unreachable code
      [-Wunreachable-code-fallthrough]
       14189 |                 CYTHON_FALLTHROUGH;
             |                 ^
      src/av/error.c:557:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
        557 |       #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
            |                                  ^
      src/av/error.c:14200:17: warning: fallthrough annotation in unreachable code
      [-Wunreachable-code-fallthrough]
       14200 |                 CYTHON_FALLTHROUGH;
             |                 ^
      src/av/error.c:557:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
        557 |       #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
            |                                  ^
      2 warnings generated.
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      src/av/_core.c:3423:17: warning: fallthrough annotation in unreachable code
      [-Wunreachable-code-fallthrough]
       3423 |                 CYTHON_FALLTHROUGH;
            |                 ^
      src/av/_core.c:557:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
        557 |       #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
            |                                  ^
      src/av/_core.c:3434:17: warning: fallthrough annotation in unreachable code
      [-Wunreachable-code-fallthrough]
       3434 |                 CYTHON_FALLTHROUGH;
            |                 ^
      src/av/_core.c:557:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
        557 |       #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
            |                                  ^
      src/av/_core.c:3540:17: warning: fallthrough annotation in unreachable code
      [-Wunreachable-code-fallthrough]
       3540 |                 CYTHON_FALLTHROUGH;
            |                 ^
      src/av/_core.c:557:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
        557 |       #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
            |                                  ^
      src/av/_core.c:3551:17: warning: fallthrough annotation in unreachable code
      [-Wunreachable-code-fallthrough]
       3551 |                 CYTHON_FALLTHROUGH;
            |                 ^
      src/av/_core.c:557:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
        557 |       #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
            |                                  ^
      4 warnings generated.
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      ld: warning: duplicate -rpath '/opt/anaconda3/lib' ignored
      src/av/format.c:2979:24: warning: assigning to 'struct AVInputFormat *' from 'const AVInputFormat *' (aka
      'const struct AVInputFormat *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
       2979 |     __pyx_v_self->iptr = av_find_input_format(__pyx_t_4);
            |                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      src/av/format.c:3016:24: warning: assigning to 'struct AVOutputFormat *' from 'const AVOutputFormat *' (aka
      'const struct AVOutputFormat *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
       3016 |     __pyx_v_self->optr = av_guess_format(__pyx_t_5, NULL, NULL);
            |                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      src/av/format.c:5590:49: error: use of undeclared identifier 'AVFMT_ALLOW_FLUSH'
       5590 |   __pyx_t_4 = __Pyx_PyLong_From___pyx_anon_enum(AVFMT_ALLOW_FLUSH); if (unlikely(!__pyx_t_4))
      __PYX_ERR(0, 34, __pyx_L1_error)
            |                                                 ^
      2 warnings and 1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1

      hint: This usually indicates a problem with the package or the build environment.
  help: `av` (v14.4.0) was included because `agents` (v0.1.0) depends on `semantic-kernel` (v1.36.0) which
        depends on `aiortc` (v1.13.0) which depends on `av`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions