Opened 14 years ago
Closed 14 years ago
#26366 closed defect (duplicate)
orc fails to build when installing opencv
Reported by: | armundle@… | Owned by: | rmsfisher@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | opencv | Cc: | armundle@…, dbevans (David B. Evans), michaelld (Michael Dickens) |
Port: | orc |
Description
I am getting the following error when doing
sudo port install opencv
---> Verifying checksum(s) for orc ---> Extracting orc ---> Configuring orc ---> Building orc Error: Target org.macports.build returned: shell command failed Log for orc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_orc/main.log Error: Problem while installing orc Error: Unable to execute port: upgrade ffmpeg failed To report a bug, see <http://guide.macports.org/#project.tickets>
The log is
version:1 :msg:main ---> Computing dependencies for orc:info:main .:msg:main :debug:main Executing org.macports.main (orc) :debug:main Skipping completed org.macports.fetch (orc) :debug:main Skipping completed org.macports.checksum (orc) :debug:main Skipping completed org.macports.extract (orc) :debug:main Skipping completed org.macports.patch (orc) :debug:main Skipping completed org.macports.configure (orc) :msg:main ---> Building orc :debug:build build phase started at Sun Sep 5 23:04:14 EDT 2010 :debug:build Executing org.macports.build (orc) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_orc/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_orc/work/orc-0.4.7" && /usr/bin/make -j2 all' :info:build /usr/bin/make all-recursive :info:build Making all in orc :info:build make[2]: Nothing to be done for `all'. :info:build Making all in orc-test :info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -Wall -I.. -DORC_ENABLE_UNSTABLE_API -O2 -arch i386 -no-undefined -export-symbols-regex 'orc_' -L/opt/local/lib -arch i386 -o liborc-test-0.4.la -rpath /opt/local/lib liborc_test_0.4_la-orctest.lo liborc_test_0.4_la-orcarray.lo liborc_test_0.4_la-orcrandom.lo liborc_test_0.4_la-orcprofile.lo ../orc/liborc-0.4.la :info:build libtool: link: rm -fr .libs/liborc-test-0.4.exp :info:build libtool: link: /usr/bin/nm -p .libs/liborc_test_0.4_la-orctest.o .libs/liborc_test_0.4_la-orcarray.o .libs/liborc_test_0.4_la-orcrandom.o .libs/liborc_test_0.4_la-orcprofile.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/liborc-test-0.4.exp :info:build libtool: link: /usr/bin/grep -E -e "orc_" ".libs/liborc-test-0.4.exp" > ".libs/liborc-test-0.4.expT" :info:build libtool: link: mv -f ".libs/liborc-test-0.4.expT" ".libs/liborc-test-0.4.exp" :info:build libtool: link: sed 's,^,_,' < .libs/liborc-test-0.4.exp > .libs/liborc-test-0.4-symbols.expsym :info:build libtool: link: /usr/bin/gcc-4.0 -dynamiclib -o .libs/liborc-test-0.4.0.dylib .libs/liborc_test_0.4_la-orctest.o .libs/liborc_test_0.4_la-orcarray.o .libs/liborc_test_0.4_la-orcrandom.o .libs/liborc_test_0.4_la-orcprofile.o -L/opt/local/lib ../orc/.libs/liborc-0.4.dylib -arch i386 -arch i386 -install_name /opt/local/lib/liborc-test-0.4.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/liborc-test-0.4-symbols.expsym :info:build Undefined symbols: :info:build "_posix_memalign", referenced from: :info:build _orc_array_new in liborc_test_0.4_la-orcarray.o :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status :info:build make[2]: *** [liborc-test-0.4.la] Error 1 :info:build make[1]: *** [all-recursive] Error 1 :info:build make: *** [all] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_orc/work/orc-0.4.7" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for orc): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for orc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_orc/main.log
Change History (6)
comment:1 Changed 14 years ago by armundle@…
Cc: | armundle@… added |
---|
comment:2 Changed 14 years ago by dbevans (David B. Evans)
Cc: | devans@… added; maintainer@… removed |
---|---|
Keywords: | orc removed |
Owner: | changed from macports-tickets@… to rmsfisher@… |
Port: | orc added |
Summary: | open cv fail → orc fails to build when installing opencv |
comment:3 Changed 14 years ago by dbevans (David B. Evans)
when submitting a ticket
- cc the actual maintainer of the port, not maintainer@... (rmsfisher@.. in this case)
- set the port field to the name of the port that failed
comment:4 Changed 14 years ago by michaelld (Michael Dickens)
Priority: | High → Normal |
---|
comment:6 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Reopen the old ticket if it needs it.
Note: See
TracTickets for help on using
tickets.
Cc Me!