Opened 9 years ago
Closed 9 years ago
#48610 closed defect (fixed)
watch: build error with ncurses6
Reported by: | macports@… | Owned by: | mjhsieh@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt), fracai, J.Gilbey@…, bsoder@…, macports@…, mndavidoff (Monte Davidoff), neverpanic (Clemens Lang) |
Port: | watch |
Description
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
Attachments (2)
Change History (10)
Changed 9 years ago by macports@…
comment:1 Changed 9 years ago 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)
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to mjhsieh@… |
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.
Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | watch.diff added |
---|
proposed patch
comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cal@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Clemens fixed this in r139496.
build log