[MacPorts] #49386: Binutils @2.24_0 fails to install
#49386: Binutils @2.24_0 fails to install ---------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: binutils ---------------------------+-------------------------------- Binutils fails to install. Find attached log file for details. {{{ sudo port install binutils ---> Computing dependencies for binutils ---> Installing binutils @2.24_0 Error: org.macports.install for port binutils returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_binutils/binutils/work/destroot }}} Info: there is a more recent version of binutils available [http://www.gnu.org/software/binutils/binutils.html]. Maybe this update solves the issue? -- Ticket URL: <https://trac.macports.org/ticket/49386> MacPorts <https://www.macports.org/> Ports system for OS X
#49386: Binutils @2.24_0 fails to install ----------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: binutils | ----------------------------+-------------------------------- Comment (by ryandesign@…): "no destroot found" means you need to "sudo port clean binutils" and try again. -- Ticket URL: <https://trac.macports.org/ticket/49386#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49386: Binutils @2.24_0 fails to install ----------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: binutils | ----------------------------+-------------------------------- Comment (by ben.haefele@…): Thanks, it did help somehow. Never the less I get an error. {{{ sudo port clean binutils ---> Cleaning binutils }}} {{{ sudo port install binutils ---> Computing dependencies for binutils ---> Fetching archive for binutils ---> Attempting to fetch binutils-2.24_0.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/binutils ---> Attempting to fetch binutils-2.24_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/binutils ---> Attempting to fetch binutils-2.24_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/binutils ---> Fetching distfiles for binutils ---> Attempting to fetch binutils-2.24.tar.bz2 from ftp://ftp.lip6.fr/pub/gnu/binutils ---> Verifying checksums for binutils ---> Extracting binutils ---> Configuring binutils ---> Building binutils Error: org.macports.build for port binutils returned: command execution failed }}} For details see new log-file. -- Ticket URL: <https://trac.macports.org/ticket/49386#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49386: Binutils @2.24_0 fails to install ----------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: binutils | ----------------------------+-------------------------------- Comment (by ryandesign@…): The log says the reason it failed to build is: {{{ :info:build In file included from ./cp-demangle.c:128: :info:build ./../include/libiberty.h:88:23: error: expected ';' after top level declarator :info:build extern void expandargv PARAMS ((int *, char ***)); :info:build ^ :info:build ; :info:build ./../include/libiberty.h:92:21: error: expected ';' after top level declarator :info:build extern int writeargv PARAMS ((char **, FILE *)); :info:build ^ :info:build ; }}} but I do not see this problem on my El Capitan system; it builds fine for me so there is something different about your system. What version of Xcode do you have? -- Ticket URL: <https://trac.macports.org/ticket/49386#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49386: Binutils @2.24_0 fails to install ----------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: binutils | ----------------------------+-------------------------------- Comment (by ben.haefele@…): I hope this is the information you are looking for: {{{ Apple LLVM version 7.0.0 (clang-700.1.76) Xcode Version 7.1 (7B91b) }}} -- Ticket URL: <https://trac.macports.org/ticket/49386#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49386: Binutils @2.24_0 fails to install ----------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: binutils | ----------------------------+-------------------------------- Comment (by liangz@…): Replying to [comment:4 ben.haefele@…]:
I hope this is the information you are looking for:
{{{ Apple LLVM version 7.0.0 (clang-700.1.76) Xcode Version 7.1 (7B91b) }}}
How does it going I think I have the same problem. I have uploaded my log file (binutils_3.log). version information is given in the log file. -- Ticket URL: <https://trac.macports.org/ticket/49386#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49386: Binutils @2.24_0 fails to install ----------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: binutils | ----------------------------+-------------------------------- Comment (by macports@…): Had the same problem with clang 7.0.2 on El Capitan. The errors made it seem like the "ansidecl.h" file in ../include when argv.c in ibiberty was being compiled wasn't even being read. A look at the command line revealed /opt/local/include was being looked at before ../include. Sure enough, in my /opt/local/include was ANOTHER ansidecl.h, apparently insufficient to the task. So I moved it out of the way, cleaned and the binutils built OK for me. DId not bother to investigate where that ansidecl.h was from or why it's def of the PARAMS macro and friends was no good. -- Ticket URL: <https://trac.macports.org/ticket/49386#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49386: Binutils @2.24_0 fails to install ----------------------------+-------------------------------- Reporter: ben.haefele@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: binutils | ----------------------------+-------------------------------- Comment (by macports@…): ...seems the /opt/local/binutils.h may have been from the gdb port.... -- Ticket URL: <https://trac.macports.org/ticket/49386#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts