Opened 9 years ago

Closed 7 years ago

#47323 closed defect (wontfix)

apt 0.5.27 failed to build on OS X Yosemite.

Reported by: jiapu.mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: apt

Description

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);

Attachments (1)

main.log (68.9 KB) - added by jiapu.mail@… 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by jiapu.mail@…

Attachment: main.log added

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

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.

comment:2 Changed 7 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: newclosed

Port removed in [5bc6caf1f1/macports-ports].

Note: See TracTickets for help on using tickets.