[MacPorts] #39589: cgminer @3.2.2 - build failure
MacPorts
noreply at macports.org
Sun Jun 30 11:47:28 PDT 2013
#39589: cgminer @3.2.2 - build failure
--------------------------------+-------------------
Reporter: havier25099amph@… | Owner: ram@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: cgminer |
--------------------------------+-------------------
Changes (by ryandesign@…):
* keywords: bitcoin =>
* owner: macports-tickets@… => ram@…
* port: cgminer @3.2.2 => cgminer
* milestone: MacPorts 2.2.0 =>
Old description:
> cgminer fails to build.
>
> Error is:
>
> ---> Computing dependencies for cgminer
> ---> Configuring cgminer
> Error: org.macports.configure for port cgminer returned: configure
> failure: command execution failed
> Please see the log file for port cgminer for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_cgminer/cgminer/main.log
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port cgminer failed
>
> I have attached the full error log
>
> Environment:
>
> Darwin abner.sadie 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1
> 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 i386
> MacBookPro5,4 Darwin
>
> Xcode 4.6.2
> Build version 4H1003
>
> Thanks!
New description:
cgminer fails to build.
Error is:
{{{
---> Computing dependencies for cgminer
---> Configuring cgminer
Error: org.macports.configure for port cgminer returned: configure
failure: command execution failed
Please see the log file for port cgminer for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_cgminer/cgminer/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port cgminer failed
}}}
I have attached the full error log
Environment:
Darwin abner.sadie 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1
17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 i386
MacBookPro5,4 Darwin
Xcode 4.6.2
Build version 4H1003
Thanks!
--
Comment:
The log says:
{{{
:info:configure nawk: illegal jump type 339
:info:configure input record number 16, file
:info:configure source line number 306
}}}
We've seen this problem several times before with other ports. The problem
is that you have the nawk port installed, and cgminer tries to find an awk
implementation for its configuration, and decides to use nawk, but nawk is
not compatible with what the configuration wants to do. If you temporarily
deactivate the nawk port, then you should be able to build cgminer. You
can re-activate nawk later if you want.
{{{
sudo port clean cgminer
sudo port -f deactivate nawk
sudo port install cgminer
sudo port activate nawk
}}}
In other ports we've used the conflicts_build portgroup to handle this
conflict. Perhaps this could be added to this port as well.
--
Ticket URL: <https://trac.macports.org/ticket/39589#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list