[MacPorts] #54155: I can't install g95 package
MacPorts
noreply at macports.org
Fri May 12 04:35:01 UTC 2017
#54155: I can't install g95 package
------------------------------------------+-----------------
Reporter: avalenzuelanav | Owner:
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version:
Keywords: build, crash, error, install | Port: g95
------------------------------------------+-----------------
When I try to instal g95 on macOS 10.12.4 Sierra, the build crashes.
I read the log, I thought that it might be for two reasons: the clang I'm
using doesn't recognize the character # for comments, or that a folder
called "lbzip2" it moved from the location where it supposed to be.
The box below is what shows the terminal while running with on debug mode.
{{{
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
/usr/bin/clang -DHAVE_CONFIG_H -I. -DHAVE_REAL_10=3 -Os -std=gnu89
-arch x86_64 -MT x87.o -MD -MP -MF .deps/x87.Tpo -c -o x87.o `test -f
'math/x87.S' || echo './'`math/x87.S
math/x87.S:2:1: error: unexpected token at start of statement
## Some of the code here is transliterated from the x87 glibc code
^
math/x87.S:3:1: error: unexpected token at start of statement
## originally written by J.T. Conklin and Ulrich Drepper.
^
make[1]: *** [x87.o] Error 1
make: *** [all] Error 2
Command failed: cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_g95/g95/work/g95-0.93/libf95.a-0.93;
export CC="/usr/bin/clang"; export CFLAGS="-Os -std=gnu89 -arch x86_64";
./configure --prefix=/opt/local --build=x86_64-apple-darwin16
--host=x86_64-apple-darwin16; make
Exit code: 2
Error: Failed to build g95: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: command execution failed
while executing
"$post $targetname"
DEBUG: Failed to locate 'lbzip2' in path:
'/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
MacPorts configuration time location, did you move it?
while executing
"error "$eMessage or at its MacPorts configuration time location, did you
move it?""
invoked from within
"try -pass_signal {
set cmd_path [macports::binaryInPath $prog]
return $cmd_path
} catch {{*} eCode eMessage} {
..."
(procedure "macports::findBinary" line 5)
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_g95/g95/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port esopipe-kmos-all failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54155>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list