Opened 10 years ago

Closed 10 years ago

#45997 closed defect (duplicate)

vtk-devel: ld: 91 duplicate symbols for architecture x86_64

Reported by: adrain.stan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: vtk-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

main.log (1014.7 KB) - added by adrain.stan@… 10 years ago.
Complete log file of the vtk-devel Error on Yosemite

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by adrain.stan@…

Attachment: main.log added

Complete log file of the vtk-devel Error on Yosemite

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

Description: modified (diff)
Port: vtk-devel added
Priority: HighNormal
Resolution: duplicate
Status: newclosed
Summary: vtk-devel on Mac OSX 10.10.1 Yosemitevtk-devel: ld: 91 duplicate symbols for architecture x86_64

Duplicate of #45676.

Note: See TracTickets for help on using tickets.