[MacPorts] #44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install )
#44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install ) ---------------------------+-------------------------------- Reporter: gregthrower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: ---------------------------+-------------------------------- 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? -- Ticket URL: <https://trac.macports.org/ticket/44485> MacPorts <http://www.macports.org/> Ports system for OS X
#44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install ) ----------------------------+-------------------------------- Reporter: gregthrower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: | ----------------------------+-------------------------------- Comment (by egall@…): This was brought up on the mailing list previously: [https://lists.macosforge.org/pipermail/macports- users/2014-May/035518.html] [[BR]] 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: {{{ # https://lists.macosforge.org/pipermail/macports- users/2014-May/035518.html if {[string match *clang* ${configure.compiler}]} { configure.args-append --disable-rpath configure.cppflags-append -std=gnu89 pre-configure { ui_warn "${name} has issues with clang" } } }}} 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...) -- Ticket URL: <https://trac.macports.org/ticket/44485#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install ) ----------------------------+--------------------- Reporter: gregthrower@… | Owner: egall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: open-cobol | ----------------------------+--------------------- Changes (by mf2k@…): * cc: egall@… (removed) * owner: macports-tickets@… => egall@… * port: => open-cobol Comment: In the future, also use WikiFormatting and fill in the Port field. -- Ticket URL: <https://trac.macports.org/ticket/44485#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install ) ----------------------------+--------------------- Reporter: gregthrower@… | Owner: egall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: open-cobol | ----------------------------+--------------------- Description changed by mf2k@…: Old description:
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?
New description: {{{ 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? -- -- Ticket URL: <https://trac.macports.org/ticket/44485#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install ) ----------------------------+--------------------- Reporter: gregthrower@… | Owner: egall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: open-cobol | ----------------------------+--------------------- Comment (by egall@…): I have an update ticket open that should fix this: #44501 -- Ticket URL: <https://trac.macports.org/ticket/44485#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts