Opened 4 years ago

Closed 4 years ago

#60657 closed defect (fixed)

molden not compiling with gcc10

Reported by: valerie-vallet Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: molden

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

When installing the latest molden version, it uses gcc10, and stops because of several error messages.

Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/REAL(4)).

Thanks for fixing this bug.

Also to build gmolden automatically the following lines must be changed:

build.target        molden **gmolden**
    xinstall -W ${worksrcpath} molden **gmolden** ${destroot}${prefix}/bin

Thanks for the fixes, Valérie

Change History (5)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to ryandesign
Status: newassigned

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Priority: HighNormal
Status: assignedaccepted

comment:3 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to valerie-vallet:

When installing the latest molden version, it uses gcc10, and stops because of several error messages.

Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/REAL(4)).

Thanks for fixing this bug.

I have seen several other ports experience errors like this. I have not investigated how to solve it yet.

Also to build gmolden automatically the following lines must be changed:

build.target        molden **gmolden**
    xinstall -W ${worksrcpath} molden **gmolden** ${destroot}${prefix}/bin

That's #51722.

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

Presumably you could work around the build failure for now by using:

sudo port clean molden
sudo port install molden +gcc9

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 349da6e4eb5c70aa690358077b62f87c1bc6f479/macports-ports (master):

molden: Prevent the use of gcc10 for now

Closes: #60657

Note: See TracTickets for help on using tickets.