Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48300 closed defect (invalid)

Cannot install Opencv

Reported by: aaron.koe@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

Installation fails at dependency file gmp

AARONs-MBP:~ Aaron$ sudo port clean opencv
--->  Cleaning opencv
AARONs-MBP:~ Aaron$ sudo port install opencv
--->  Computing dependencies for opencv
--->  Dependencies to be installed: ffmpeg gnutls gmp libidn libtasn1 nettle p11-kit desktop-file-utils popt libxslt lame libass enca libbluray libmodplug libogg libopus libsdl xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 libedit python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg-xextproto xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx openjpeg15 jbigkit lcms2 schroedinger orc speex texinfo perl5.16 gdbm x264 xorg-libXfixes xorg-fixesproto yasm ilmbase jasper openexr
--->  Building gmp
Error: org.macports.build for port gmp returned: command execution failed
Error: Failed to install gmp
Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log
Error: The following dependencies were not installed: ffmpeg gnutls gmp libidn libtasn1 nettle p11-kit desktop-file-utils popt libxslt lame libass enca libbluray libmodplug libogg libopus libsdl xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 libedit python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg-xextproto xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx openjpeg15 jbigkit lcms2 schroedinger orc speex texinfo perl5.16 gdbm x264 xorg-libXfixes xorg-fixesproto yasm ilmbase jasper openexr
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port opencv failed
AARONs-MBP:~ Aaron$ 

log file:

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (gmp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Jul  9 21:43:22 CDT 2015
:notice:build --->  Building gmp
:debug:build Executing org.macports.build (gmp)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0'
:info:build /Applications/Xcode-beta 2.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make: /Applications/Xcode-beta: No such file or directory
:info:build make: *** [all] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port gmp returned: command execution failed
:debug:build Error code: CHILDSTATUS 19915 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for gmp: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install gmp
:debug:build Registry error: openexr not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port gmp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log

Change History (2)

comment:1 in reply to:  description Changed 9 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Resolution: invalid
Status: newclosed

Replying to aaron.koe@…:

:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0'
:info:build /Applications/Xcode-beta 2.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make: /Applications/Xcode-beta: No such file or directory
:info:build make: *** [all] Error 1

Your Xcode is installed as “Xcode-beta 2.app”, and the shim for GNU Make can’t deal with the space. Rename your Xcode.

% sudo mv '/Applications/Xcode-beta 2.app' /Applications/Xcode-beta2.app
% sudo xcode-select --switch /Applications/Xcode-beta2.app

comment:2 Changed 9 years ago by aaron.koe@…

incredibly helpful

incredibly quick response.

thank you

Note: See TracTickets for help on using tickets.