fernandotcl / homebrew-fernandotcl Goto Github PK
View Code? Open in Web Editor NEWMy Homebrew formulae
License: BSD 2-Clause "Simplified" License
My Homebrew formulae
License: BSD 2-Clause "Simplified" License
Hi Fernando,
when trying to install monkeys-audio using your Homebrew formulae I get the following error:
==> Installing monkeys-audio from fernandotcl/fernandotcl
==> Downloading https://github.com/fernandotcl/monkeys-audio/archive/release-3.99.5.tar.gz
Already downloaded: /Users/m1n1mum/Library/Caches/Homebrew/monkeys-audio-3.99.5.tar.gz
==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFI
==> make install
Last 15 lines from /Users/m1n1mum/Library/Logs/Homebrew/monkeys-audio/02.make:
fmin
/Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:1193:1: note: 'fmin' declared here
fmin(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
^
/tmp/monkeys-audio-20180311-3334-1ppwf70/monkeys-audio-release-3.99.5/src/MACLib/APECompress.cpp:157:31: error: use of undeclared identifier 'min'; did you mean 'fmin'?
int nFrameBytes = min(m_spAPECompressCreate->GetFullFrameBytes(), m_nBufferTail - m_nBufferHead);
^~~
fmin
/Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:1193:1: note: 'fmin' declared here
fmin(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
^
2 errors generated.
make[2]: *** [CMakeFiles/libmac.dir/src/MACLib/APECompress.cpp.o] Error 1
make[1]: *** [CMakeFiles/libmac.dir/all] Error 2
make: *** [all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/fernandotcl/homebrew-fernandotcl/issues
I know not why but it fails to build on my machine from —HEAD. I am using Mac OS Big Sur beta version 11.1 build 20C5061b with Xcode Command Line Tools 12.3 beta released 12 November. Xcode is not installed. The Terminal output is below. I hope this helps.
————————————————
==> Cloning https://github.com/fernandotcl/monkeys-audio.git
Cloning into '/Users/User/Library/Caches/Homebrew/monkeys-audio--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Installing fernandotcl/fernandotcl/monkeys-audio
==> cmake .
==> make install
Last 15 lines from /Users/User/Library/Logs/Homebrew/monkeys-audio/02.make:
[ 84%] Building ASM_NASM object CMakeFiles/libmac.dir/src/MACLib/Assembly/x86_64_mmx.asm.o
/usr/local/bin/yasm -I/tmp/monkeys-audio-20201205-85311-g9gsq5 -I/tmp/monkeys-audio-20201205-85311-g9gsq5/src/Shared -I/tmp/monkeys-audio-20201205-85311-g9gsq5/src/MACLib -f macho -o CMakeFiles/libmac.dir/src/MACLib/Assembly/x86_64_mmx.asm.o /tmp/monkeys-audio-20201205-85311-g9gsq5/src/MACLib/Assembly/x86_64_mmx.asm
[ 87%] Linking CXX static library libmac.a
/usr/local/Cellar/cmake/HEAD-f32026f/bin/cmake -P CMakeFiles/libmac.dir/cmake_clean_target.cmake
/usr/local/Cellar/cmake/HEAD-f32026f/bin/cmake -E cmake_link_script CMakeFiles/libmac.dir/link.txt --verbose=1
/usr/bin/ar qc libmac.a CMakeFiles/libmac.dir/src/Shared/CharacterHelper.cpp.o CMakeFiles/libmac.dir/src/Shared/CircleBuffer.cpp.o CMakeFiles/libmac.dir/src/Shared/GlobalFunctions.cpp.o CMakeFiles/libmac.dir/src/Shared/MACUtils.cpp.o CMakeFiles/libmac.dir/src/Shared/StdLibFileIO.cpp.o CMakeFiles/libmac.dir/src/Shared/WinFileIO.cpp.o CMakeFiles/libmac.dir/src/MACLib/Assembly/common.cpp.o CMakeFiles/libmac.dir/src/MACLib/APECompress.cpp.o CMakeFiles/libmac.dir/src/MACLib/APECompressCore.cpp.o CMakeFiles/libmac.dir/src/MACLib/APECompressCreate.cpp.o CMakeFiles/libmac.dir/src/MACLib/APEDecompress.cpp.o CMakeFiles/libmac.dir/src/MACLib/APEHeader.cpp.o CMakeFiles/libmac.dir/src/MACLib/APEInfo.cpp.o CMakeFiles/libmac.dir/src/MACLib/APELink.cpp.o CMakeFiles/libmac.dir/src/MACLib/APESimple.cpp.o CMakeFiles/libmac.dir/src/MACLib/APETag.cpp.o CMakeFiles/libmac.dir/src/MACLib/BitArray.cpp.o CMakeFiles/libmac.dir/src/MACLib/MACLib.cpp.o CMakeFiles/libmac.dir/src/MACLib/MACProgressHelper.cpp.o CMakeFiles/libmac.dir/src/MACLib/MD5.cpp.o CMakeFiles/libmac.dir/src/MACLib/NNFilter.cpp.o CMakeFiles/libmac.dir/src/MACLib/NewPredictor.cpp.o CMakeFiles/libmac.dir/src/MACLib/Prepare.cpp.o CMakeFiles/libmac.dir/src/MACLib/UnBitArray.cpp.o CMakeFiles/libmac.dir/src/MACLib/UnBitArrayBase.cpp.o CMakeFiles/libmac.dir/src/MACLib/WAVInputSource.cpp.o CMakeFiles/libmac.dir/src/MACLib/Assembly/x86_64_mmx.asm.o
/Library/Developer/CommandLineTools/usr/bin/ranlib: archive member: libmac.a(x86_64_mmx.asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib libmac.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: archive member: libmac.a(x86_64_mmx.asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/Library/Developer/CommandLineTools/usr/bin/ranlib: for architecture: x86_64 file: libmac.a(MACUtils.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: for architecture: x86_64 file: libmac.a(WinFileIO.cpp.o) has no symbols
make[2]: *** [libmac.a] Error 1
make[2]: *** Deleting file `libmac.a'
make[1]: *** [CMakeFiles/libmac.dir/all] Error 2
make: *** [all] Error 2
Hello! Thank you for your work!
The following is happening on Ubuntu 21.10:
==> Installing fernandotcl/fernandotcl/monkeys-audio
==> cmake .
==> make install
Last 15 lines from /home/evren-nuc/.cache/Homebrew/Logs/monkeys-audio/02.make:
/home/linuxbrew/.linuxbrew/Cellar/cmake/3.21.3_1/bin/cmake -E cmake_link_script CMakeFiles/Sample1.dir/link.txt --verbose=1
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-11 -O3 -Wall -pedantic -Wno-long-long -O3 -DNDEBUG -rdynamic CMakeFiles/Sample1.dir/src/Examples/Analyze/Sample1/Sample1.cpp.o -o Sample1 libmac.a -lrt
/home/linuxbrew/.linuxbrew/bin/ld: i386 architecture of input file `libmac.a(x86_64_mmx.asm.o)' is incompatible with i386:x86-64 output
/home/linuxbrew/.linuxbrew/bin/ld: i386 architecture of input file `libmac.a(x86_64_mmx.asm.o)' is incompatible with i386:x86-64 output
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/mac.dir/build.make:101: mac] Error 1
make[2]: Leaving directory '/tmp/monkeys-audio-20211023-4084266-1k5g50i/monkeys-audio-release-3.99.6'
make[1]: *** [CMakeFiles/Makefile2:116: CMakeFiles/mac.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Sample1.dir/build.make:101: Sample1] Error 1
make[2]: Leaving directory '/tmp/monkeys-audio-20211023-4084266-1k5g50i/monkeys-audio-release-3.99.6'
make[1]: *** [CMakeFiles/Makefile2:90: CMakeFiles/Sample1.dir/all] Error 2
make[1]: Leaving directory '/tmp/monkeys-audio-20211023-4084266-1k5g50i/monkeys-audio-release-3.99.6'
make: *** [Makefile:139: all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/fernandotcl/homebrew-fernandotcl/issues
Some more information that might be useful:
me@me:~$ brew -v
Homebrew 3.2.17
Homebrew/homebrew-core (git revision 451b17beeea; last commit 2021-10-23)
me@me~$ brew tap
fernandotcl/fernandotcl
homebrew/core
me@me:~$ brew list
==> Formulae
binutils ca-certificates cmake gcc gmp isl libmpc mpfr ncurses [email protected] yasm zlib zstd
me@me:~$ brew list gcc
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/c++-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/cpp-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/g++-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gcc-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gcc-ar-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gcc-nm-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gcc-ranlib-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gcov-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gcov-dump-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gcov-tool-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gdc
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gdc-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gfortran
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/gfortran-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/lto-dump-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-c++-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-g++-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-gcc-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-gcc-11.2.0
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-gcc-ar-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-gcc-nm-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-gcc-ranlib-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-gdc-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/bin/x86_64-pc-linux-gnu-gfortran-11
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/include/c++/ (796 files)
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/lib/gcc/ (1328 files)
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/lib/ (5 files)
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/libexec/gcc/ (17 files)
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/share/gcc-11.2.0/ (4 files)
/home/linuxbrew/.linuxbrew/Cellar/gcc/11.2.0/share/man/ (12 files)
me@me:~$ yasm -a help
Available yasm architectures:
x86 x86 (IA-32 and derivatives), AMD64
lc3b LC-3b
me@me:~$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.