[MacPorts] #40640: qucs: update to 0.0.17; use qt4-mac
#40640: qucs: update to 0.0.17; use qt4-mac --------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: qucs --------------------------+--------------------- qucs should be updated to 0.0.17: {{{ $ port livecheck qucs qucs seems to have been updated (port version: 0.0.16, new version: 0.0.17) }}} In addition, the port currently cannot be used because it depends on qt3-mac which cannot be built 64-bit nor on Lion or later; see #30679 and #27520. The qucs web site offers a pre-compiled binary of qucs for OS X built with Qt 4.8, so it seems to be possible to use Qt 4 now. So the port should switch to depending on qt4-mac now. -- Ticket URL: <https://trac.macports.org/ticket/40640> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by ryandesign@…): I've attached a patch that updates the portfile and patchfiles. Unfortunately it fails to build. {{{ addition of default argument on redeclaration makes this constructor a default constructor }}} This sounds like a programming error so I've [https://sourceforge.net/p/qucs/bugs/125/ reported the bug] to the developers. -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by rowue@…): With 10.8.5 and xcode 4.6.2 I run into the following error: {{{ /usr/bin/clang -DPACKAGE_NAME=\"ASCO\" -DPACKAGE_TARNAME=\"asco\" -DPACKAGE_VERSION=\"0.4.8\" -DPACKAGE_STRING=\"ASCO\ 0.4.8\" -DPACKAGE_BUGREPORT=\"asco-bugs@lists.sourceforge.net\" -DPACKAGE_URL=\"\" -DNDEBUG=1 -DHAVE_LIBM=1 -I. -I./../auxfunc -I/opt/local/include -pipe -Os -arch x86_64 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c dosdir.c:349:3: error: use of undeclared identifier 'errno' errno = ENOENT; /* no file found */ ^ dosdir.c:349:11: error: use of undeclared identifier 'ENOENT' errno = ENOENT; /* no file found */ ^ 2 errors generated. }}} Two questions: 1. we allready include asco - should we circumvent the inclusion by qucs 1. the error is related to missing UNIX define (-DUNIX) - wasn't it defined before (remember such thing) add patch from us to ticket -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by ryandesign@…): Replying to [comment:3 rowue@…]:
{{{ dosdir.c:349:3: error: use of undeclared identifier 'errno' }}}
Yes, I already [https://sourceforge.net/p/qucs/bugs/126/ reported that to the developers as well] and they've provided a fix which works for me. I don't remember where I was at when I left this port; I'll have to look through my working copy. -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by rowue@…): Replying to [comment:4 ryandesign@…]:
Replying to [comment:3 rowue@…]:
{{{ dosdir.c:349:3: error: use of undeclared identifier 'errno' }}}
Yes, I already [https://sourceforge.net/p/qucs/bugs/126/ reported that to the developers as well] and they've provided a fix which works for me. I don't remember where I was at when I left this port; I'll have to look through my working copy.
From the attachments to this ticket you where left of before applying the other patch (" patch-qucs-filter-qf_filter.cpp.diff"). Go on if you like, otherwise I'll give it a try this evening (CEST) -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by rowue@…): To work with the patch from upstream I had to use autoreconf. Attached a patch which simply works on configure. Got to "xinstall": {{{ Creating MacOSX applications... mkdir: /opt/local/bin/qucs.app: Operation not permitted mkdir: /opt/local/bin/qucs.app: No such file or directory mkdir: /opt/local/bin/qucsattenuator.app: Operation not permitted mkdir: /opt/local/bin/qucsattenuator.app: No such file or directory mkdir: /opt/local/bin/qucsfilter.app: Operation not permitted mkdir: /opt/local/bin/qucsfilter.app: No such file or directory mkdir: /opt/local/bin/qucshelp.app: Operation not permitted mkdir: /opt/local/bin/qucshelp.app: No such file or directory mkdir: /opt/local/bin/qucslib.app: Operation not permitted mkdir: /opt/local/bin/qucslib.app: No such file or directory mkdir: /opt/local/bin/qucsedit.app: Operation not permitted mkdir: /opt/local/bin/qucsedit.app: No such file or directory mkdir: /opt/local/bin/qucstrans.app: Operation not permitted mkdir: /opt/local/bin/qucstrans.app: No such file or directory make[3]: *** [mac-install-apps] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_Users_rowue_macports_dports_science_qucs/qucs/work/qucs-0.0.17' make[2]: *** [install-exec-am] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_Users_rowue_macports_dports_science_qucs/qucs/work/qucs-0.0.17' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_Users_rowue_macports_dports_science_qucs/qucs/work/qucs-0.0.17' make: *** [install-recursive] Error 1 make: Leaving directory `/opt/local/var/macports/build/_Users_rowue_macports_dports_science_qucs/qucs/work/qucs-0.0.17' Command failed: cd "/opt/local/var/macports/build/_Users_rowue_macports_dports_science_qucs/qucs/work/qucs-0.0.17" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_Users_rowue_macports_dports_science_qucs/qucs/work/destroot Exit code: 2 }}} -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by rowue@…): Compiles, installs and runs with the applied diff. Didn't check a simulation (must search for some). Have to deactivate asco. Q: (ryan) should we use asco from macports or the supplied one? I would recommend using the macports one. -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by guitorri@…): Hi, I am the developer providing the patches. I attached two simulation files. One only involving Qucs, and another making use of ASCO. There should be several other examples on the tarball, but I am not sure if they are set to be installed. You might need to create a new project and add these files into it before running the simulations. I am pretty sure you can use ASCO from MacPorts. The disadvantage is that we patched the version included on the tarball. We needed a unbuffered output in order to see line by line of the simulation output on our result monitor window. Please let me know if I can help you guys further. Also note that there is a known bug on Mac OSX related to misplaced mouse cursors/decorators. It is ugly but harmless. We are working on it. Regards, Guilherme -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+--------------------- Comment (by rowue@…): Replying to [comment:8 guitorri@…]:
Hi, I am the developer providing the patches.
Thanks for your support!
[Patchfiles, asco]
If tried a few old simulations of mine (not invoking spice) today and they worked like a charm. For asco - in general I would try to use the macports one - might get this working on the weekend.
Please let me know if I can help you guys further. Also note that there
is a known bug on Mac OSX related to misplaced mouse cursors/decorators. It is ugly but harmless. We are working on it. Have seen it - a little anoying at first, but harmless at all ;)
Regards, Guilherme
Cheers, Rolf PS: If you list us on the download page again, it would be nice to be listed with "MacPorts" and not "DarwinPorts" ;) -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+---------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qucs | ---------------------------+---------------------- Changes (by rowue@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40640: qucs: update to 0.0.17; use qt4-mac ---------------------------+--------------------- Reporter: ryandesign@… | Owner: rowue@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: qucs | ---------------------------+--------------------- Changes (by rowue@…): * status: assigned => closed * resolution: => fixed Comment: updated to 0.0.17 by r112142 - asco is working - see screenshoot -- Ticket URL: <https://trac.macports.org/ticket/40640#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts