[MacPorts] #40947: clamav 0.98 build fails under Mavericks

MacPorts noreply at macports.org
Fri Oct 25 13:53:42 PDT 2013


#40947: clamav 0.98 build fails under Mavericks
--------------------------+--------------------------------
 Reporter:  disposable@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.0
 Keywords:                |       Port:  clamav
--------------------------+--------------------------------
 Trying to build clamav 0.98 (or the universal variant) fails on one my
 10.9 computers with the error related to incorrect architecture of
 libraries with the error (I've added an ellipsis for brevity):

 {{{
 :info:build --->  Building clamav for architecture x86_64
 :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_sysutils_clamav/clamav/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.9'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_clamav/clamav/work/clamav-0.98-x86_64"
 && /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_ports_sysutils_clamav/clamav/work/clamav-0.98-x86_64"
 && /usr/bin/make -j4 -w all
 ...
 :info:build ld: warning: directory not found for option
 '-L/Users/gkhanna/build/x86_64-apple-darwin11.0.0/libstdc++-v3/src'
 :info:build ld: warning: directory not found for option
 '-L/Users/gkhanna/build/x86_64-apple-darwin11.0.0/libstdc++-v3/src/.libs'
 :info:build ld: warning: ignoring file ../libclamav/libclamav.map, file
 was built for unsupported file format ( 0x43 0x4C 0x41 0x4D 0x41 0x56 0x5F
 0x50 0x55 0x42 0x4C 0x49 0x43 0x20 0x7B 0x0A ) which is not the
 architecture being linked (x86_64): ../libclamav/libclamav.map
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::at(unsigned long) const", referenced from:
 :info:build       llvm::UpgradeIntrinsicFunction(llvm::Function*,
 llvm::Function*&) in libclamavcxx.a(AutoUpgrade.o)
 :info:build       llvm::UpgradeIntrinsicCall(llvm::CallInst*,
 llvm::Function*) in libclamavcxx.a(AutoUpgrade.o)
 :info:build       ExtendNEONArgs(llvm::CallInst*, llvm::Value*,
 llvm::Value*, llvm::Value*&, llvm::Value*&) in
 libclamavcxx.a(AutoUpgrade.o)
 :info:build       CallVABD(llvm::CallInst*, llvm::Value*, llvm::Value*) in
 libclamavcxx.a(AutoUpgrade.o)
 }}}

 I have followed the migration guide.  Including reinstalling MacPorts and
 ports a second time, just in case, and my macports.conf file does not
 differ from macports.conf.default.

-- 
Ticket URL: <https://trac.macports.org/ticket/40947>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list