[MacPorts] #39202: mailsync @5.2.1 can't find c-client
#39202: mailsync @5.2.1 can't find c-client ---------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: mailsync ---------------------+-------------------------------- Error in log (complete build and config logs attached): {{{ :info:configure checking if c-client works without -fno-operator-names in c++... no :info:configure checking if adding -fno-operator-names helps... no :info:configure configure: error: a working c-client installation is required for building mailsync :info:configure Command failed: cd "/__PATH__/var/macports/build/___PATH___var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/work/mailsync-5.2.1" && ./configure --prefix=/__PATH__ --with-c-client=/__PATH__ --with- krb5=/__PATH__ --with-openssl=/__PATH__ --mandir=/__PATH__/share/man :info:configure Exit code: 1 :error:configure org.macports.configure for port mailsync returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for mailsync: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Please see the log file for port mailsync for details: /__PATH__/var/macports/logs/___PATH___var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/39202> MacPorts <http://www.macports.org/> Ports system for OS X
#39202: mailsync @5.2.1 can't find c-client -----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: mailsync | -----------------------+-------------------------------- Comment (by mtb19@…): Errors from config: {{{ In file included from conftest.cc:33: /__PATH__/include/c-client/c-client.h:36:9: error: C++ operator 'and' cannot be used as a macro name #define and cclientAnd /* C99 doesn't realize that ISO 646 is dead */ ^ /__PATH__/include/c-client/c-client.h:37:9: error: C++ operator 'or' cannot be used as a macro name #define or cclientOr ^ /__PATH__/include/c-client/c-client.h:38:9: error: C++ operator 'not' cannot be used as a macro name #define not cclientNot ^ In file included from conftest.cc:33: In file included from /__PATH__/include/c-client/c-client.h:41: /__PATH__/include/c-client/mail.h:940:13: error: expected member name or ';' after declaration specifiers SEARCHOR *or; /* or'ed in programs */ ~~~~~~~~ ^ /__PATH__/include/c-client/mail.h:941:18: error: expected member name or ';' after declaration specifiers SEARCHPGMLIST *not; /* and'ed not program */ ~~~~~~~~~~~~~ ^ 5 errors generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/39202#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39202: mailsync @5.2.1 can't find c-client -----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: mailsync | -----------------------+-------------------------------- Comment (by larryv@…): Can you try using LLVM-GCC? {{{ % sudo port clean mailsync % sudo port install mailsync configure.compiler=llvm-gcc-4.2 }}} -- Ticket URL: <https://trac.macports.org/ticket/39202#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39202: mailsync @5.2.1 can't find c-client -----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: mailsync | -----------------------+-------------------------------- Comment (by mtb19@…): That worked. Is it possible to incorporate this as part of the port? Are there such things as conditional build dependencies (i.e., if platform X, build tools Y, depend on llvm-gcc-4.2, etc.)? My apologies for my ignorance.... -- Ticket URL: <https://trac.macports.org/ticket/39202#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39202: mailsync @5.2.1: configure fails with clang -----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: mailsync | -----------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => fixed Comment: MacPorts maintains [[source:tags/release_2_1_3/base/src/port1.0/portconfigure.tcl#L445|lists of compilers]] that it prefers to use, based on Xcode version. Ideally someone would patch the source to build correctly with Clang, but I have neither the time nor interest to do so, especially with such an old piece of software. I just blacklisted all Clang values in r106366. -- Ticket URL: <https://trac.macports.org/ticket/39202#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39202: mailsync @5.2.1: configure fails with clang -----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: mailsync | -----------------------+-------------------------------- Comment (by jeremyhu@…): That error seems to have nothing to do with clang... reverted in r110463 You've got a ton of __PATH__ tokens in configure for some reason... Works for me, so just removing the blacklisting. -- Ticket URL: <https://trac.macports.org/ticket/39202#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39202: mailsync @5.2.1: configure fails with clang -----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: mailsync | -----------------------+-------------------------------- Comment (by mtb19@…): The __PATH__ tokens are from a search-and-replace I did on the logs. I was trying to highlight that MacPorts was installed in a non-standard place. If I didn't already mention it, my installation is also a user installation (e.g., installed in /home/[USER]/.macports or something similar). -- Ticket URL: <https://trac.macports.org/ticket/39202#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39202: mailsync @5.2.1: configure fails with clang -----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: mailsync | -----------------------+-------------------------------- Comment (by jeremyhu@…): Ah. Sorry for not understanding that. I've verified that the issue exists with 2.9 and 3.0, so blacklisting those and < 400 in r110553 -- Ticket URL: <https://trac.macports.org/ticket/39202#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts