Opened 2 years ago

Closed 2 years ago

#64576 closed defect (fixed)

lanHEP fails to build on 10.5.8

Reported by: barracuda156 Owned by: evanmiller (Evan Miller)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, Leopard, ppc64 Cc:
Port: lanHEP

Description

fu1.c: In function ‘ProcOption’:
fu1.c:902: warning: integer constant is too large for ‘long’ type
fu1.c:902: warning: right shift count >= width of type
fu1.c:908: warning: integer constant is too large for ‘long’ type
fu1.c:909: warning: integer constant is too large for ‘long’ type
fu1.c:914: warning: integer constant is too large for ‘long’ type
fu1.c:914: warning: right shift count >= width of type
fu1.c:915: warning: integer constant is too large for ‘long’ type
fu1.c:915: warning: left shift count >= width of type
fu1.c:916: warning: integer constant is too large for ‘long’ type
fu1.c:923: warning: integer constant is too large for ‘long’ type
fu1.c:1332: warning: integer constant is too large for ‘long’ type
fu1.c:1333: warning: integer constant is too large for ‘long’ type
fu1.c:1350: warning: integer constant is too large for ‘long’ type
fu1.c:1351: warning: integer constant is too large for ‘long’ type
fu1.c:1368: warning: integer constant is too large for ‘long’ type
fu1.c:1369: warning: integer constant is too large for ‘long’ type
fu1.c:1386: warning: integer constant is too large for ‘long’ type
fu1.c:1387: warning: integer constant is too large for ‘long’ type
fu1.c:1404: warning: integer constant is too large for ‘long’ type
fu1.c:1405: warning: integer constant is too large for ‘long’ type
make: *** [fu1.o] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lanHEP/lanHEP/work/lanhep400'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lanHEP/lanHEP/work/lanhep400" && /usr/bin/make -j1 -w CC=/usr/bin/gcc-4.2 CFLAGS="-Os -arch ppc" LD=/usr/bin/gcc-4.2 LOPT="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc" FC=/opt/local/bin/gfortran-mp-7 FFLAGS="-Os -m32" 
Exit code: 2
Error: Failed to build lanHEP: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_lanHEP/lanHEP/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port lanHEP failed

Attachments (1)

main.log (737.3 KB) - added by barracuda156 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 2 years ago by kencu (Ken)

our old friend

error: ‘for’ loop initial declaration used outside C99 mode

probably setting -std=c99 would be enough….maybe:) ?

comment:2 Changed 2 years ago by evanmiller (Evan Miller)

Owner: set to evanmiller
Resolution: fixed
Status: newclosed

In 9f987c145d562d27aa764ad99275da23f67bd399/macports-ports (master):

lanHEP: fix compiler selection and require C99

Closes: #64576

Note: See TracTickets for help on using tickets.