Opened 10 years ago
Last modified 5 years ago
#44485 closed defect
Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install ) — at Version 4
Reported by: | gregthrower@… | Owned by: | egall@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | open-cobol |
Description (last modified by mf2k (Frank Schima))
macbook-pro:tmp macbook$ cobc -x hello.cob clang: error: unknown argument: '-R/opt/local/lib' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future.
Hard error. Does not create executable. Should I forget running this on my MAC and just create a Linux partition?
Change History (4)
comment:1 Changed 10 years ago by cooljeanius (Eric Gallager)
comment:3 Changed 10 years ago by mf2k (Frank Schima)
Cc: | egall@… removed |
---|---|
Owner: | changed from macports-tickets@… to egall@… |
Port: | open-cobol added |
In the future, also use WikiFormatting and fill in the Port field.
comment:4 Changed 10 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
This was brought up on the mailing list previously: https://lists.macosforge.org/pipermail/macports-users/2014-May/035518.html
Because the mailing list archives do not follow threads over month boundaries, the June portion of it starts here: https://lists.macosforge.org/pipermail/macports-users/2014-June/035556.html
I am working on fixing this as part of an update of the open-cobol package to version 2.0, but then I ran into this bug which I filed upstream: https://sourceforge.net/p/open-cobol/bugs/73/ (which apparently has received some comments since I last checked it... but that is something else)
Anyways, in the meantime, I fix the issue of clang being too strict by adding this block of code to the open-cobol Portfile:
I am not sure if the
--disable-rpath
flag was around in the current version or if it was added in the version to which I am updating it though...(also, since I am the maintainer of this port, you should have cc-ed me on it, but as I saw this in time, I will just cc myself. I would appreciate it if a committer could change that cc to an assignment...)