Re: PowerDNS Authoritative Server 3.3 Release Candidate 2 available

[email protected]
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <[email protected]>
On 2013-06-28 16:35, Peter van Dijk wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everybody,
>
> Release Candidate 2 of the PowerDNS Authoritative Server 3.3 is
> available from:
>
> http://powerdnssec.org/downloads/pdns-3.3-rc2.tar.gz
> 
> http://powerdnssec.org/downloads/packages/pdns-static-3.3rc2-1.i386.rpm
> 
> http://powerdnssec.org/downloads/packages/pdns-static-3.3rc2-1.x86_64.rpm
> 
> http://powerdnssec.org/downloads/packages/pdns-static_3.3-rc2-1_amd64.deb
> 
> http://powerdnssec.org/downloads/packages/pdns-static_3.3-rc2-1_i386.deb
>
> You are cordially invited to (carefully) test this Release Candidate 
> for
> correct behaviour.

Compilation breaks on OSX 10.7 with a stack of errors (looking to each
other):

**********************************************************************
  <snip>
   CXX    lua-pdns.o
   CXX    lua-auth.o
echo '#ifndef VERSION_GENERATED_H' > version_generated.h
echo '#define VERSION_GENERATED_H' >> version_generated.h
echo '#define PDNS_VERSION "3.3-rc2"' >> version_generated.h
echo '#define DIST_HOST "[email protected]"' >> 
version_generated.h
echo '#define BUILD_DATE "20130628143802"' >> version_generated.h
echo '#define BUILD_HOST "[email protected]"' >> version_generated.h
echo '#endif //!VERSION_GENERATED_H' >> version_generated.h
   CXXLD  pdns_control
   CXXLD  pdnssec
unix_semaphore.cc:47:27: error: use of undeclared identifier 'm_lock'
   if (pthread_mutex_init(&m_lock, NULL) != 0) {
                           ^
unix_semaphore.cc:51:26: error: use of undeclared identifier 'm_gtzero'
   if (pthread_cond_init(&m_gtzero, NULL) != 0) {
                          ^
unix_semaphore.cc:52:28: error: use of undeclared identifier 'm_lock'
     pthread_mutex_destroy(&m_lock);
                            ^
unix_semaphore.cc:56:3: error: use of undeclared identifier 'm_count'
   m_count = (uint32_t) value;
   ^
   CXX    version.o
unix_semaphore.cc:57:3: error: use of undeclared identifier 
'm_nwaiters'
   m_nwaiters = 0;
   ^
unix_semaphore.cc:58:3: error: use of undeclared identifier 'm_magic'
   m_magic = SEM_MAGIC;
   ^
unix_semaphore.cc:63:23: error: use of undeclared identifier 'm_lock'
   pthread_mutex_lock(&m_lock);
                       ^
unix_semaphore.cc:65:3: error: use of undeclared identifier 'm_count'
   m_count++;
   ^
unix_semaphore.cc:66:7: error: use of undeclared identifier 
'm_nwaiters'
   if (m_nwaiters > 0) {
       ^
unix_semaphore.cc:67:26: error: use of undeclared identifier 'm_gtzero'
     pthread_cond_signal(&m_gtzero);
                          ^
unix_semaphore.cc:70:25: error: use of undeclared identifier 'm_lock'
   pthread_mutex_unlock(&m_lock);
                         ^
unix_semaphore.cc:77:23: error: use of undeclared identifier 'm_lock'
   pthread_mutex_lock(&m_lock);
                       ^
unix_semaphore.cc:79:10: error: use of undeclared identifier 'm_count'
   while (m_count == 0) {
          ^
unix_semaphore.cc:80:5: error: use of undeclared identifier 
'm_nwaiters'
     m_nwaiters++;
     ^
unix_semaphore.cc:81:24: error: use of undeclared identifier 'm_gtzero'
     pthread_cond_wait(&m_gtzero, &m_lock);
                        ^
unix_semaphore.cc:82:5: error: use of undeclared identifier 
'm_nwaiters'
     m_nwaiters--;
     ^
unix_semaphore.cc:85:3: error: use of undeclared identifier 'm_count'
   m_count--;
   ^
unix_semaphore.cc:87:25: error: use of undeclared identifier 'm_lock'
   pthread_mutex_unlock(&m_lock);
                         ^
unix_semaphore.cc:96:23: error: use of undeclared identifier 'm_lock'
   pthread_mutex_lock(&m_lock);
                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[4]: *** [unix_semaphore.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$
**********************************************************************

Anyone have ideas on how to fix?

Also, should I open an issue on GitHub for this too? :)

Regards and best wishes,

Justin Clift
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.