Opened 11 years ago

Last modified 11 years ago

#39589 closed defect

cgminer @3.2.2 - build failure — at Version 1

Reported by: havier25099amph@… Owned by: ram@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: cgminer

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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!

Change History (2)

Changed 11 years ago by havier25099amph@…

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: bitcoin removed
Milestone: MacPorts 2.2.0
Owner: changed from macports-tickets@… to ram@…
Port: @3.2.2 removed

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.

Note: See TracTickets for help on using tickets.