Opened 11 years ago

Closed 11 years ago

#41772 closed defect (fixed)

mapm3: error: non-void function 'add_to_seg_dist' should return a value

Reported by: 474403670@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: mapm3

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

--->  Fetching archive for mapm3
--->  Attempting to fetch mapm3-3.0_3.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/mapm3
--->  Attempting to fetch mapm3-3.0_3.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/mapm3
--->  Attempting to fetch mapm3-3.0_3.darwin_13.x86_64.tbz2 from http://packages.macports.org/mapm3
--->  Fetching distfiles for mapm3
--->  Attempting to fetch mapm3-source.tar.Z from http://jog.id.distfiles.macports.org/macports/mpdistfiles/mapm3
--->  Verifying checksums for mapm3
--->  Extracting mapm3
--->  Applying patches to mapm3
--->  Configuring mapm3
--->  Building mapm3
Error: org.macports.build for port mapm3 returned: command execution failed
Please see the log file for port mapm3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mapm3/mapm3/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mapm3 failed

Attachments (1)

main.log (8.2 KB) - added by 474403670@… 11 years ago.
details

Download all attachments as: .zip

Change History (5)

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

Description: modified (diff)
Keywords: install problem removed
Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal

Please attach the main.log file.

Changed 11 years ago by 474403670@…

Attachment: main.log added

details

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

Status: newassigned
Summary: A failure happened when i install the port mapm3. What's the clue from"org.macports.build for port mapm3 returned: command execution failed"?mapm3: error: non-void function 'add_to_seg_dist' should return a value
Type: requestdefect

Ok, I see the same problem. It's a bug in the code that the clang compiler treats as an error. We should fix the code, since the developers won't since they seem to have abandoned this software long ago (the last release was 20 years ago). Until we fix the code, I would like to blacklist clang, except that this port is not UsingTheRightCompiler and therefore does not respect the blacklist.

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

Fixed port to use the right compiler and blacklisted clang in r114624 so now it at least builds. Later I can try to fix the code to make it compile with clang.

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

Resolution: fixed
Status: assignedclosed

Fixed build with clang in r114625.

Note: See TracTickets for help on using tickets.