guitorri / homebrew-tap Goto Github PK
View Code? Open in Web Editor NEWPersonal formulae for the Homebrew package manager http://mxcl.github.com/homebrew
Personal formulae for the Homebrew package manager http://mxcl.github.com/homebrew
Hmm, my update to adms.rb doesn't work properly, and causes new issues in brew doctor. I think you had better back it out, sorry, and I'll leave it to someone who understands the changes in homebrew better to fix it.
My apologies.
Trying to install qucs 0.20 on a MacBook pro running Sonoma 14.2.1, here is what happens:
==> Installing guitorri/tap/qucs
==> Patching
==> Applying patch-configure-0.0.19.patch
patching file 'qucs/configure'
==> ./configure --disable-sdk --disable-doc
==> make install
Warning: Formula cartr/qt4/qt was renamed to cartr/qt4/qt-legacy-formula.
Warning: Formula cartr/qt4/qt was renamed to cartr/qt4/qt-legacy-formula.
Error: undefined method undent' for an instance of String /usr/local/Homebrew/Library/Taps/guitorri/homebrew-tap/qucs.rb:42:in
caveats'
/usr/local/Homebrew/Library/Homebrew/caveats.rb:22:in caveats' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.1/lib/ruby/3.3.0/forwardable.rb:234:in
empty?'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:781:in caveats' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:855:in
finish'
/usr/local/Homebrew/Library/Homebrew/upgrade.rb:238:in install_formula' /usr/local/Homebrew/Library/Homebrew/install.rb:350:in
install_formula'
/usr/local/Homebrew/Library/Homebrew/install.rb:301:in block in install_formulae' /usr/local/Homebrew/Library/Homebrew/install.rb:300:in
each'
/usr/local/Homebrew/Library/Homebrew/install.rb:300:in install_formulae' /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:297:in
run'
/usr/local/Homebrew/Library/Homebrew/brew.rb:92:in `
Any thoughts on where "undent" is supposed to be found?
Here's what I get:
==> Installing vpython
==> Downloading http://downloads.sourceforge.net/projects/vpythonwx/files/6.05-release/vpython-wx-src.6.05b.zip
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "vpython"
Download failed: http://downloads.sourceforge.net/projects/vpythonwx/files/6.05-release/vpython-wx-src.6.05b.zip
✘ ~ brew install vpython
==> Downloading http://downloads.sourceforge.net/projects/vpythonwx/files/6.05-release/vpython-wx-src.6.05b.zip
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "vpython"
Download failed: http://downloads.sourceforge.net/projects/vpythonwx/files/6.05-release/vpython-wx-src.6.05b.zip
Looks like vpython-wx has moved to github.
$ brew install freehdl
==> Installing freehdl from guitorri/homebrew-tap
==> Downloading http://sourceforge.net/projects/qucs/files/qucs/0.0.16/freehdl-0.0.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/freehdl-0.0.8.tar.gz
==> Patching
patching file freehdl/freehdl-config
==> ./configure --prefix=/usr/local/Cellar/freehdl/0.0.8
==> make install
libtool: compile: g++-4.9 -DPACKAGE_NAME="freehdl" -DPACKAGE_TARNAME="freehdl" -DPACKAGE_VERSION="0.0.8" "-DPACKAGE_STRING="freehdl 0.0.8"" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. -g -O2 -c persistent_cdfg_dump.cc -o libfreehdl_kernel_la-persistent_cdfg_dump.o >/dev/null 2>&1
libtool: compile: g++-4.9 -DPACKAGE_NAME="freehdl" -DPACKAGE_TARNAME="freehdl" -DPACKAGE_VERSION="0.0.8" "-DPACKAGE_STRING="freehdl 0.0.8"" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. -g -O2 -c signal_source_list_array.cc -o libfreehdl_kernel_la-signal_source_list_array.o >/dev/null 2>&1
libtool: compile: g++-4.9 -DPACKAGE_NAME="freehdl" -DPACKAGE_TARNAME="freehdl" -DPACKAGE_VERSION="0.0.8" "-DPACKAGE_STRING="freehdl 0.0.8"" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. -g -O2 -c kernel_class.cc -o libfreehdl_kernel_la-kernel_class.o >/dev/null 2>&1
libtool: compile: g++-4.9 -DPACKAGE_NAME="freehdl" -DPACKAGE_TARNAME="freehdl" -DPACKAGE_VERSION="0.0.8" "-DPACKAGE_STRING="freehdl 0.0.8"" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. -g -O2 -c register.cc -o libfreehdl_kernel_la-register.o >/dev/null 2>&1
make: *** [install-recursive] Error 1
READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/guitorri/homebrew-tap/issues
Using qt4 from cartr/qt4/qt is raising the following:
make[3]: Nothing to be done for `install-data-am'.
Creating MacOSX applications...
Copying and setting up MacOSX/Qt framework...
running: macdeployqt /usr/local/Cellar/qucs/0.0.19/bin/qucs.app
ERROR: Could not find bundle binary for "/usr/local/Cellar/qucs/0.0.19/bin/qucs.app"
ERROR: "/Library/Developer/CommandLineTools/usr/bin/objdump: '': No such file or directory.
fatal error: /Library/Developer/CommandLineTools/usr/bin/otool: internal objdump command failed
"
WARNING:
WARNING: Could not find any external Qt frameworks to deploy in "/usr/local/Cellar/qucs/0.0.19/bin/qucs.app"
WARNING: Perhaps macdeployqt was already used on "/usr/local/Cellar/qucs/0.0.19/bin/qucs.app" ?
WARNING: If so, you will need to rebuild "/usr/local/Cellar/qucs/0.0.19/bin/qucs.app" before trying again.
ERROR: Could not find bundle binary for "/usr/local/Cellar/qucs/0.0.19/bin/qucs.app"
The apps are not bundled as usual.
The relevant part seems to be here:
$ brew install qucs
...
==> Installing qucs
==> Downloading http://sourceforge.net/projects/qucs/files/qucs/0.0.18/qucs-0.0.
Already downloaded: /Library/Caches/Homebrew/qucs-0.0.18.tar.gz
==> ./configure --disable-asco --disable-adms --prefix=/usr/local/Cellar/qucs/0.
checking whether clang understands -c and -o together... yes
checking for ar... ar
checking the archiver (ar) interface... unknown
configure: error: could not determine ar interface
configure: error: ./configure failed for qucs-core
although I can include the full output if that's more helpful.
Hi,
for some days I get the following warnings while updating your tap:
Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Library/Taps/guitorri/homebrew-tap/adms.rb:6:in `<class:Adms>'
Please report this to the guitorri/tap tap!
Warning: Calling SoftwareSpec#sha1 is deprecated!
Use SoftwareSpec#sha256 instead.
/usr/local/Library/Taps/guitorri/homebrew-tap/adms.rb:6:in `<class:Adms>'
Please report this to the guitorri/tap tap!
Warning: Calling Resource#sha1 is deprecated!
Use Resource#sha256 instead.
/usr/local/Library/Taps/guitorri/homebrew-tap/adms.rb:6:in `<class:Adms>'
Please report this to the guitorri/tap tap!
Plus the same warnings for all other software that I have installed from your tap.
Thanks for your effort in making qucs available for Homebrew!
Best,
Johannes
The latest patches let it compile, but now there is segfault showing up.
==> make install
Last 15 lines from /Users/guitorri/Library/Logs/Homebrew/freehdl/02.make:
^~~~
In file included from ../freehdl/std-vhdl-types.hh:2220:0,
from ../freehdl/std-standard.hh:6,
from ../freehdl/kernel-sig-info.hh:8,
from attributes.cc:4:
../freehdl/kernel-db.hh:257:38: error: expected template-name before '<' token
class db_basic_key_hash : public hash<unsigned long> {
^
../freehdl/kernel-db.hh:257:38: error: expected '{' before '<' token
../freehdl/kernel-db.hh:257:38: error: expected unqualified-id before '<' token
make[1]: *** [libfreehdl_kernel_la-process_base.lo] Error 1
make[1]: *** [libfreehdl_kernel_la-error.lo] Error 1
make[1]: *** [libfreehdl_kernel_la-attributes.lo] Error 1
libtool: compile: g++-6 -DPACKAGE_NAME=\"freehdl\" -DPACKAGE_TARNAME=\"freehdl\" -DPACKAGE_VERSION=\"0.0.8\" "-DPACKAGE_STRING=\"freehdl 0.0.8\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. -g -O2 -c stack_trace.cc -o libfreehdl_kernel_la-stack_trace.o >/dev/null 2>&1
make: *** [install-recursive] Error 1
formula stops with error:
checking whether the compiler implements namespaces... no
configure: error: The qucs-core package requires an c++ compiler with namespace.
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.