Opened 7 years ago

Closed 7 years ago

#54155 closed defect (duplicate)

I can't install g95 package

Reported by: avalenzuelanav Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: avalenzuelanav
Port: g95

Description

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

Attachments (1)

main.log (6.7 MB) - added by avalenzuelanav 7 years ago.
mail.log file after the install crashes

Change History (6)

Changed 7 years ago by avalenzuelanav

Attachment: main.log added

mail.log file after the install crashes

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Keywords: build crash error install removed
Owner: set to tenomoto
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers g95), if any.

comment:3 Changed 7 years ago by avalenzuelanav

Cc: avalenzuelanav added

comment:4 Changed 7 years ago by avalenzuelanav

I tried this, but the problem remains

sudo port clean g95
sudo port selfupdate
sudo port install g95

Thanks in advance for your help

comment:5 Changed 7 years ago by tenomoto (Takeshi Enomoto)

Resolution: duplicate
Status: assignedclosed

Duplicate of #52990.

Note: See TracTickets for help on using tickets.