[MacPorts] #45997: vtk-devel: ld: 91 duplicate symbols for architecture x86_64 (was: vtk-devel on Mac OSX 10.10.1 Yosemite)

MacPorts noreply at macports.org
Mon Nov 24 06:55:44 PST 2014


#45997: vtk-devel: ld: 91 duplicate symbols for architecture x86_64
----------------------------+--------------------------------
  Reporter:  adrain.stan@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:  duplicate      |   Keywords:
      Port:  vtk-devel      |
----------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * priority:  High => Normal
 * resolution:   => duplicate
 * port:   => vtk-devel


Old description:

> '''sudo port install vtk-devel'''
>
> --->  Computing dependencies for vtk-devel
>
> --->  Fetching archive for vtk-devel
>
> --->  Attempting to fetch vtk-
> devel-5.4.2_2+cocoa+data+doc+examples+shared+testing.darwin_14.x86_64.tbz2
> from http://lil.fr.packages.macports.org/vtk-devel
>
> --->  Attempting to fetch vtk-
> devel-5.4.2_2+cocoa+data+doc+examples+shared+testing.darwin_14.x86_64.tbz2
> from http://mse.uk.packages.macports.org/sites/packages.macports.org/vtk-
> devel
>
> --->  Attempting to fetch vtk-
> devel-5.4.2_2+cocoa+data+doc+examples+shared+testing.darwin_14.x86_64.tbz2
> from http://nue.de.packages.macports.org/macports/packages/vtk-devel
>
> --->  Fetching distfiles for vtk-devel
>
> --->  Verifying checksums for vtk-devel
>
> --->  Extracting vtk-devel
>
> --->  Configuring vtk-devel
>
> --->  Building vtk-devel
>
> '''Error''': org.macports.build for port vtk-devel returned: command
> execution failed
>
> Please see the log file for port vtk-devel for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_graphics_vtk-devel/vtk-devel/main.log
> To report a bug, follow the instructions in the guide:
>
>     http://guide.macports.org/#project.tickets
>
> '''Error''': Processing of port vtk-devel failed
>
> id076:~ adrianstan$ vi
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_graphics_vtk-devel/vtk-devel/main.log
>

>
> ----
>

> ''...and the last part of the log file (see attachment) reads:''
>
> :info:build duplicate symbol ___sputc in:
>
> :info:build     CMakeFiles/vtktiff.dir/tif_aux.o
>
> :info:build     CMakeFiles/vtktiff.dir/tif_extension.o
>
> :info:build duplicate symbol ___sputc in:
>
> :info:build     CMakeFiles/vtktiff.dir/tif_aux.o
>
> :info:build     CMakeFiles/vtktiff.dir/tif_unix.o
>
> :info:build ld: 91 duplicate symbols for architecture x86_64
>
> :info:build clang: '''error''': linker command failed with exit code 1
> (use -v to see invocation)
>
> :info:build gnumake[2]: *** [bin/libvtktiff.5.4.2.dylib] '''Error''' 1
>
> :info:build gnumake[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_graphics_vtk-devel/vtk-
> devel/work/vtk-5.4-build'
>
> :info:build gnumake[1]: ***
> [Utilities/vtktiff/CMakeFiles/vtktiff.dir/all] '''Error''' 2
>
> :info:build gnumake[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_graphics_vtk-devel/vtk-
> devel/work/vtk-5.4-build'
>
> :info:build gnumake: *** [all] '''Error''' 2
>
> :info:build gnumake: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_graphics_vtk-devel/vtk-
> devel/work/vtk-5.4-build'
>
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_graphics_vtk-devel/vtk-
> devel/work/vtk-5.4-build" && /usr/bin/gnumake -w all
>
> :info:build Exit code: 2
>
> :error:build org.macports.build for port vtk-devel returned: command
> execution failed
>
> :debug:build Error code: CHILDSTATUS 2706 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 vtk-devel:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
>
> :notice:build Please see the log file for port vtk-devel for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_graphics_vtk-devel/vtk-devel/main.log

New description:

 {{{
 sudo port install vtk-devel
 --->  Computing dependencies for vtk-devel
 --->  Fetching archive for vtk-devel
 --->  Attempting to fetch vtk-
 devel-5.4.2_2+cocoa+data+doc+examples+shared+testing.darwin_14.x86_64.tbz2
 from http://lil.fr.packages.macports.org/vtk-devel
 --->  Attempting to fetch vtk-
 devel-5.4.2_2+cocoa+data+doc+examples+shared+testing.darwin_14.x86_64.tbz2
 from http://mse.uk.packages.macports.org/sites/packages.macports.org/vtk-
 devel
 --->  Attempting to fetch vtk-
 devel-5.4.2_2+cocoa+data+doc+examples+shared+testing.darwin_14.x86_64.tbz2
 from http://nue.de.packages.macports.org/macports/packages/vtk-devel
 --->  Fetching distfiles for vtk-devel
 --->  Verifying checksums for vtk-devel
 --->  Extracting vtk-devel
 --->  Configuring vtk-devel
 --->  Building vtk-devel
 Error: org.macports.build for port vtk-devel returned: command execution
 failed
 Please see the log file for port vtk-devel for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_vtk-devel/vtk-devel/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port vtk-devel failed
 id076:~ adrianstan$ vi
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_vtk-devel/vtk-devel/main.log
 }}}


 ...and the last part of the log file (see attachment) reads:

 {{{
 :info:build duplicate symbol ___sputc in:
 :info:build     CMakeFiles/vtktiff.dir/tif_aux.o
 :info:build     CMakeFiles/vtktiff.dir/tif_extension.o
 :info:build duplicate symbol ___sputc in:
 :info:build     CMakeFiles/vtktiff.dir/tif_aux.o
 :info:build     CMakeFiles/vtktiff.dir/tif_unix.o
 :info:build ld: 91 duplicate symbols for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build gnumake[2]: *** [bin/libvtktiff.5.4.2.dylib] Error 1
 :info:build gnumake[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_vtk-devel/vtk-
 devel/work/vtk-5.4-build'
 :info:build gnumake[1]: *** [Utilities/vtktiff/CMakeFiles/vtktiff.dir/all]
 Error 2
 :info:build gnumake[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_vtk-devel/vtk-
 devel/work/vtk-5.4-build'
 :info:build gnumake: *** [all] Error 2
 :info:build gnumake: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_vtk-devel/vtk-
 devel/work/vtk-5.4-build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_vtk-devel/vtk-
 devel/work/vtk-5.4-build" && /usr/bin/gnumake -w all
 :info:build Exit code: 2
 :error:build org.macports.build for port vtk-devel returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 2706 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 vtk-devel:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Please see the log file for port vtk-devel for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_vtk-devel/vtk-devel/main.log
 }}}

--

Comment:

 Duplicate of #45676.

-- 
Ticket URL: <https://trac.macports.org/ticket/45997#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list