Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Audiowmark no longer builds on Intel Mac.

37 views
Skip to first unread message

Irina R

unread,
May 11, 2022, 4:41:37 PM5/11/22
to audiowmark
It used to build before, and I still have a built image. Must be an update?

$ docker build -t awm .

Sending build context to Docker daemon  479.7kB

Step 1/19 : FROM gcc:latest

 ---> 111c3ae33330

Step 2/19 : RUN apt-get update && apt-get install -y build-essential

 ---> Using cache

 ---> b63332bd6842

Step 3/19 : RUN apt-get install -y libfftw3-dev

 ---> Using cache

 ---> cef7bb6833f2

Step 4/19 : RUN apt-get install -y libsndfile1-dev

 ---> Using cache

 ---> e3e0d32975b9

Step 5/19 : RUN apt-get install -y automake

 ---> Using cache

 ---> 60f934bf4dde

Step 6/19 : RUN apt-get install -y autoconf

 ---> Using cache

 ---> 9f096767c74e

Step 7/19 : RUN apt-get install -y libtool

 ---> Using cache

 ---> 6cd1d8ccc01d

Step 8/19 : RUN apt-get install -y autoconf-archive

 ---> Using cache

 ---> 5e11bc5d8869

Step 9/19 : RUN apt-get install -y libgcrypt20-dev

 ---> Using cache

 ---> 3d9791f45979

Step 10/19 : RUN apt-get install -y libzita-resampler-dev

 ---> Using cache

 ---> 308f1a9188be

Step 11/19 : RUN apt-get install -y libmpg123-dev

 ---> Using cache

 ---> 6661ca3b04f4

Step 12/19 : ADD . /audiowmark

 ---> Using cache

 ---> df8f4b0e7854

Step 13/19 : WORKDIR /audiowmark

 ---> Using cache

 ---> 6d967dfdb1af

Step 14/19 : RUN ./autogen.sh

 ---> Using cache

 ---> ee6c45a5c05b

Step 15/19 : RUN make

 ---> Running in aa7054513035

make  all-recursive

make[1]: Entering directory '/audiowmark'

Making all in src

make[2]: Entering directory '/audiowmark/src'

  CXX      audiowmark.o

  CXX      utils.o

  CXX      convcode.o

  CXX      random.o

  CXX      wavdata.o

  CXX      audiostream.o

  CXX      sfinputstream.o

  CXX      stdoutwavoutputstream.o

  CXX      sfoutputstream.o

  CXX      rawinputstream.o

  CXX      rawoutputstream.o

  CXX      rawconverter.o

  CXX      mp3inputstream.o

  CXX      wmcommon.o

  CXX      fft.o

  CXX      limiter.o

  CXX      shortcode.o

  CXX      mpegts.o

mpegts.cc: In member function 'Error TSWriter::process(const std::string&, const std::string&)':

mpegts.cc:167:21: error: 'strerror' was not declared in this scope; did you mean 'stderr'?

  167 |       return Error (strerror (errno));

      |                     ^~~~~~~~

      |                     stderr

mpegts.cc:173:21: error: 'strerror' was not declared in this scope; did you mean 'stderr'?

  173 |       return Error (strerror (errno));

      |                     ^~~~~~~~

      |                     stderr

make[2]: *** [Makefile:848: mpegts.o] Error 1

make[2]: Leaving directory '/audiowmark/src'

make[1]: *** [Makefile:424: all-recursive] Error 1

make[1]: Leaving directory '/audiowmark'

make: *** [Makefile:356: all] Error 2

The command '/bin/sh -c make' returned a non-zero code: 2

Irina R

unread,
May 11, 2022, 4:43:12 PM5/11/22
to audiowmark
Correction. That was Ubuntu. Same error on Intel Mac though.

Stefan Westerfeld

unread,
May 12, 2022, 8:06:57 AM5/12/22
to audio...@googlegroups.com
Hi!

I can reproduce this error message with the gcc:12.1.0 docker image.
Should be fixed with this commit on github:

https://github.com/swesterfeld/audiowmark/commit/26149c26229fc924ac9a7c40b74a26e7304e5572

Cu... Stefan

Am 11.05.22 um 22:43 schrieb Irina R:
> --
> You received this message because you are subscribed to the Google
> Groups "audiowmark" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to audiowmark+...@googlegroups.com
> <mailto:audiowmark+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/audiowmark/f9304b57-8443-4a8d-9ff8-2e23d1339986n%40googlegroups.com
> <https://groups.google.com/d/msgid/audiowmark/f9304b57-8443-4a8d-9ff8-2e23d1339986n%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Stefan Westerfeld, http://space.twc.de/~stefan

Irina R

unread,
May 12, 2022, 1:57:00 PM5/12/22
to audiowmark
That helped, thanks!!
Reply all
Reply to author
Forward
0 new messages