[MacPorts] #47323: apt 0.5.27 failed to build on OS X Yosemite.

MacPorts noreply at macports.org
Tue Mar 31 17:54:47 PDT 2015


#47323: apt 0.5.27 failed to build on OS X Yosemite.
--------------------------+--------------------------------
 Reporter:  jiapu.mail@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.3
 Keywords:                |       Port:  apt
--------------------------+--------------------------------
 apt failed to be install due to compiler error. This is on OS X 10.10.2
 and Xcode 6.2. The error message is:


 {{{
 :info:build In file included from cachefile.cc:22:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_apt/apt/work/apt-0.5.27/build/include
 /apt-pkg/pkgcachegen.h:56:54: error: redefinition of parameter 'Pkg'
 :info:build    bool NewPackage(pkgCache::PkgIterator &Pkg,string Pkg);
 :info:build                                                      ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_apt/apt/work/apt-0.5.27/build/include
 /apt-pkg/pkgcachegen.h:56:43: note: previous declaration is here
 :info:build    bool NewPackage(pkgCache::PkgIterator &Pkg,string Pkg);
 }}}

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


More information about the macports-tickets mailing list