Opened 21 months ago
Closed 21 months ago
#66941 closed defect (fixed)
opencv3: Applying patches forever
Reported by: | andrewhw (Andrew Wright) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | opencv3 |
Description
Having run "port upgrade outdated", opencv3 requires an update.
It got as far as "Applying patches to opencv3" and stayed there for more then 24 hours.
I interrupted, cleaned, and tried again -- same deal.
Looking at running processes (using ps) returns nothing using CPU.
Seems to be blocked waiting on some event that never happens (rather than being in an infinite loop, as there is no CPU time being consumed).
Is anyone else seeing this?
Any ideas how to debug this problem?
Change History (6)
comment:1 Changed 21 months ago by andrewhw (Andrew Wright)
comment:2 Changed 21 months ago by andrewhw (Andrew Wright)
The "opencv3-3.4.16" directory where patch is being run from is empty.
comment:3 Changed 21 months ago by andrewhw (Andrew Wright)
I am guessing that the directory "opencv3-3.4.16" is actually supposed to be a symlink to the companion "opencv-3.4.16" directory?
comment:4 Changed 21 months ago by kencu (Ken)
there was a change in base recently.
a few ports need to have their "worksrcdir" specified, if the extracted distfile doesn't match ${name}-${version
}. This one doesn't match, so will need to be fixed.
Something like this in the Portfile will likely fix it
worksrcdir opencv-${version}
comment:5 Changed 21 months ago by jmroot (Joshua Root)
Owner: | set to mascguy |
---|---|
Status: | new → assigned |
Summary: | Applying patches forever → opencv3: Applying patches forever |
Same problem as #66861.
comment:6 Changed 21 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I just realized that there is a "verbose mode" that will issue the command lines being run.
The problem is a malformed patch.
Once in directory:
the command
is being run.
When run at the command line, patch print a prompt "File to patch:" and is waiting (forever) for standard input.