Opened 14 years ago

Closed 14 years ago

#26761 closed defect (fixed)

minc @1.4 build error: 'MAX_NC_OPEN' undeclared

Reported by: asnedden@… Owned by: mhough@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), wiking@…, none2serious@…
Port: minc

Description (last modified by jmroot (Joshua Root))

Hello,

I recently tried to build minc-1.4 on my Macbook Pro (OS v. 10.6.3) and in the terminal I received this message.

Error: Target org.macports.build returned: shell command failed
Log for minc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_minc/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I have attached the terminal output and the main.log file that is referenced in the error. I would appreciate it if someone could give me some guidance to solve this issue.

Thank you for your time, Sincerely, Ali

Attachments (6)

README.macports (7.5 KB) - added by asnedden@… 14 years ago.
TERMINAL.output (7.0 KB) - added by asnedden@… 14 years ago.
main.log (35.9 KB) - added by asnedden@… 14 years ago.
main.log
minc.diff (1.6 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
update to 1.5 and fix URLs
minc-2.0.18.diff (1.6 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
minc-2.1.00.diff (1.8 KB) - added by wiking@… 14 years ago.
Portfile diff for using minc version 2.1.00

Download all attachments as: .zip

Change History (19)

Changed 14 years ago by asnedden@…

Attachment: README.macports added

Changed 14 years ago by asnedden@…

Attachment: TERMINAL.output added

Changed 14 years ago by asnedden@…

Attachment: main.log added

main.log

comment:1 Changed 14 years ago by asnedden@…

I am sorry but I cannot figure out how to delete one of the files submitted. README.macports and TERMINAL.output are essentially duplicates. README.macports

also contains notes to myself. I apologize for the inconvenience.

~Ali

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: minc-1.4 removed
Owner: changed from macports-tickets@… to mhough@…
Port: @1.4 removed
Summary: minc-1.4 Error: Target org.macports.build returned: shell command failedminc @1.4 Error: Target org.macports.build returned: shell command failed

Please remember to cc the maintainer.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Summary: minc @1.4 Error: Target org.macports.build returned: shell command failedminc @1.4 build error: 'MAX_NC_OPEN' undeclared

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: minc.diff added

update to 1.5 and fix URLs

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

Cc: ryandesign@… added

Attached is a patch that updates the homepage and master_sites and updates the version to 1.5 (the patch can also be deleted), but it fails with the same error as above. Can we just update to version 2.0.18, which is the latest at this time?

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: minc-2.0.18.diff added

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

I also tried updating the port to 2.0.18 (patch attached) which fails with the same error.

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

Here is a message about this problem and a possible solution:

http://www.bic.mni.mcgill.ca/pipermail/minc-development/2009-May.txt

Changed 14 years ago by wiking@…

Attachment: minc-2.1.00.diff added

Portfile diff for using minc version 2.1.00

comment:7 Changed 14 years ago by wiking@…

using minc version 2.1.00 will fix the problem with MAX_NC_OPEN being undeclared. Use the attached diff for upgrading your Portfile to use 2.1.00

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

The minc homepage says "The current stable release of MINC2 is: minc-2.0.18". If 2.1.00 is a development version, we don't want to update the port to that.

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

Cc: wiking@… added

@wiking: please see my note above; I forget to Cc you before.

comment:10 in reply to:  8 Changed 14 years ago by wiking@…

Replying to ryandesign@…:

The minc homepage says "The current stable release of MINC2 is: minc-2.0.18". If 2.1.00 is a development version, we don't want to update the port to that.

well yeah, but it works at least ;) would it be a possibility to add minc-devel port to macports that is 2.1.00?

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

That would be possible. However, since minc itself has been so undermaintained so far, I fear a new minc-devel wouldn't get updated either. I would rather update minc to 2.0.18 and apply the fix needed to get it to work with the latest netcdf.

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

Cc: none2serious@… added

#28449 is probably a duplicate.

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

Resolution: fixed
Status: newclosed

In r76896 I updated minc to 1.5.1 and applied a patch similar to the one they're already using in version 2.1.00 for dealing with the absence of MAX_NC_OPEN.

I'll file a new ticket for the remaining request to update this port to 2.0.x.

Note: See TracTickets for help on using tickets.