id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 57852,monotone: error: const_cast from 'const real_pcre *' to 'pcre_t *',mojca,dbevans,"See [https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/84022/ logs from the buildbot]: {{{ src/pcrewrap.cc:107:25: error: const_cast from 'const real_pcre *' to 'pcre_t *' (aka 'real_pcre8_or_16 *') is not allowed pcre_free(const_cast(iter->second.first)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pcrewrap.cc:133:13: error: assigning to 'const struct real_pcre *' from incompatible type 'pcre_t *' (aka 'real_pcre8_or_16 *') basedat = pcre_compile2(pattern, flags_to_internal(options), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pcrewrap.cc:138:22: error: no matching function for call to 'pcre_study' pcre_extra *ed = pcre_study(basedat, 0, &err); ^~~~~~~~~~ /opt/local/include/pcre.h:633:27: note: candidate function not viable: cannot convert argument of incomplete type 'const struct real_pcre *' to 'const pcre_t *' (aka 'const real_pcre8_or_16 *') PCRE_EXP_DECL pcre_extra *pcre_study(const pcre *, int, const char **); ^ src/pcrewrap.cc:180:14: error: no matching function for call to 'pcre_exec' int rc = pcre_exec(basedat, extradat, ^~~~~~~~~ }}} There are two existing ancient tickets for this port: #38515, #40277. The problem surfaced while trying to build perl modules: #57848.",defect,closed,Normal,,ports,,fixed,,,monotone p5-monotone-automatestdio