[MacPorts] #47323: apt 0.5.27 failed to build on OS X Yosemite.
#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
#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 Resolution: | Keywords: Port: apt | ---------------------------+-------------------------------- Comment (by ryandesign@…): It is known that apt 0.5.27 cannot be built with clang, which is why the portfile blacklists clang. Unfortunately, clang is the only compiler available in Xcode 5 and later, which means this port cannot be built on versions of OS X that use Xcode 5 or later, which includes Yosemite. It also doesn't build with gcc-4.2; see #34412. The port is many years out of date; see #13425. Updating the port may help. The port has no maintainer, so someone will have to volunteer to do that. -- Ticket URL: <https://trac.macports.org/ticket/47323#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts