[MacPorts] #48610: watch: build error with ncurses6
#48610: watch: build error with ncurses6 ------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: watch ------------------------+-------------------------------- trying to upgrade 'watch' to latest: 3.3.6_0 < 3.3.6_1 it depends on ncurses, which is currently 6.0, but is looking for /opt/local/bin/ncurses5-config and ultimately fails because it doesn't exist: {{{ :notice:build ---> Building watch :debug:build Executing proc-pre-org.macports.build-build-0 :error:build org.macports.build for port watch returned: couldn't execute "/opt/local/bin/ncurses5-config": no such file or directory :debug:build Error code: NONE :debug:build Backtrace: couldn't execute "/opt/local/bin/ncurses5-config": no such file or directory while executing }}} -- Ticket URL: <https://trac.macports.org/ticket/48610> MacPorts <https://www.macports.org/> Ports system for OS X
#48610: watch: build error with ncurses6 -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: watch | -------------------------+-------------------------------- Comment (by macports@…): sorry, forgot to note build environment: OS X Version 10.11 El Capitan Beta (15A243d) Xcode Version 7.0 beta 5 (7A176x) (in case its somehow caused by the OS X or Xcode public betas) -- Ticket URL: <https://trac.macports.org/ticket/48610#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48610: watch: build error with ncurses6 -------------------------+----------------------- Reporter: macports@… | Owner: mjhsieh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: watch | -------------------------+----------------------- Changes (by ryandesign@…): * keywords: => haspatch * owner: macports-tickets@… => mjhsieh@… * cc: ryandesign@… (added) Comment: ncurses doesn't provide an `ncurses-config` program; they only provide one with a version number in it. So if we change "ncurses5-config" to "ncurses6-config", this is just going to break again when ncurses 7 is released. So let's fix it right, by using `pkg-config`, since the pkg- config file doesn't have a version number in it. Patch attached. @mjhsieh, if there are no objections, I'm happy to commit it. -- Ticket URL: <https://trac.macports.org/ticket/48610#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48610: watch: build error with ncurses6 -------------------------+----------------------- Reporter: macports@… | Owner: mjhsieh@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: haspatch Port: watch | -------------------------+----------------------- Changes (by ryandesign@…): * status: new => closed * cc: cal@… (added) * resolution: => fixed Comment: Clemens fixed this in r139496. -- Ticket URL: <https://trac.macports.org/ticket/48610#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts