Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#34929 closed defect (worksforme)

Packaging OpenCV 2.4.1 failed

Reported by: vlad.gubarev@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port:

Description

I am trying to make package for OpenCV:

sudo port mdmg opencv

This command stopped with error "Processing of port opencv failed". Running this command multiple times doesn't help.

According to log file the reason of fail is missed package during copy operations:

:info:pkg Command failed: cp -PR /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-2.4.1-component.pkg /opt/local/var/macports/build/_opt_local_var_macports_sources_r
sync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/mpkg_packages

Probably the problem is wrong name of package "opencv-2.4.1-component.pkg" in copy command which fails. I don't have such package but I have "opencv-2.4.1.pkg".

Attachments (1)

main.log (118.8 KB) - added by vlad.gubarev@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by vlad.gubarev@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

The log contains lines that say "Skipping completed" which shows that this was not a clean attempt. Please "sudo port clean opencv" and try again from the beginning. If that fails, attach the new main.log.

comment:2 Changed 12 years ago by vlad.gubarev@…

The logged attempt was not clean, because I tried to run "sudo port mdmg opencv" twice. Thus the attached log were generated in second attempt. Before that the ports was absolutely fresh (I just installed "opencv" and "ffmpeg +nonfree").

Anyway I have tried to run "sudo port clean opencv" and it helped me, now "sudo port mdmg opencv" works fine. Thanks!

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

This has been reported again in #37958.

Note: See TracTickets for help on using tickets.