Opened 11 years ago
Closed 6 years ago
#48218 closed defect (fixed)
opencv @3.0.0_0: debug variant not producing debug symbols
| Reported by: | jeff@… | Owned by: | stromnov (Andrey Stromnov) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.3.3 |
| Keywords: | Cc: | ||
| Port: | opencv |
Description
Running port install opencv +debug doesn't produce any libraries that contain debugging symbols. Not sure what's going on.
Change History (7)
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
| Owner: | changed from macports-tickets@… to stromnov@… |
|---|---|
| Port: | opencv added |
| Summary: | opencv debug variant not producing debug symbols → opencv @3.0.0_0: debug variant not producing debug symbols |
comment:2 Changed 11 years ago by jeff@…
Sorry about that lack of notice.
So, I tested your hypothesis! OpenCV does actually support Debug builds and I was able to build a debug version with debug symbols from a checkout of 3.0.0 using cmake -DCMAKE_BUILD_TYPE=Debug
I'll see if I can't get a log from the Macports build.
comment:3 Changed 11 years ago by jeff@…
It looks like I just PEBKAC'ed something. Sorry. Feel free to close this as invalid.
comment:4 Changed 11 years ago by jeff@…
Oooor... actually I was correct. I just PEBKAC'ed my use of symbols.
Comparing the symbols in my hand-rolled Debug build to the one in macports definitely shows its definitely missing information about files, etc.
comment:5 Changed 11 years ago by jeff@…
Yeah, okay, no amount of keeplogs yes, port install -v or -d is getting me the info I need. Googling around for how to turn on more logging hasn't turned up anything either. Open to ideas! I'm sure there's a way to get what commands are actually being run.
comment:6 Changed 6 years ago by mascguy (Christopher Nielsen)
A formal +debug variant will be implemented via the following pull request:
https://github.com/macports/macports-ports/pull/9555
Can this be closed?
comment:7 Changed 6 years ago by Christopher Nielsen <mascguy@…>
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

Thanks for the report. In future tickets, please Cc any port maintainers (
port info --maintainers opencv).The +debug variant comes from the cmake-1.0 portgroup. I don’t know if the opencv port respects it. (Frankly, I wish cmake-1.0 didn’t force +debug onto every port that uses it.)