pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45782: mail/cyrus-imapd2[34]: build failed



>Number:         45782
>Category:       pkg
>Synopsis:       mail/cyrus-imapd2[34]: build failed
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 05 10:05:00 +0000 2012
>Originator:     Andrey N. Oktyabrski
>Release:        DragonFly BSD 2.10
>Organization:
>Environment:
$ uname -a
DragonFly duffy.bestmx.ru 2.10-RELEASE DragonFly v2.10.1.54.gf3d3b-RELEASE #0: 
Fri Dec 16 05:14:42 MSK 2011     
ano%duffy.bestmx.ru@localhost:/usr/obj/usr/src/sys/DUFFY  x86_64
$ cc -v
Using built-in specs.
Target: x86_64-pc-dragonflybsd
Configured with: DragonFly/x86_64 system compiler
Thread model: posix
gcc version 4.4.5 (DragonFly)

>Description:
### Making all in 
/tmp/pkgwrk/mail/cyrus-imapd24/work/cyrus-imapd-2.4.13/com_err/et
cc -c -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/pkg/include/db4 
-I/usr/include -I/usr/pkg/include -I/usr/include -I/include -I/usr/include 
-DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -I/usr/pkg/include/db4 
-I/usr/include -I/usr/pkg/include error_message.c
In file included from internal.h:47,
                 from error_message.c:58:
/usr/include/errno.h:43: error: thread-local declaration of 'errno' follows 
non-thread-local declaration
error_table.h:66: note: previous declaration of 'errno' was here
*** Error code 1

Stop.
bmake: stopped in 
/tmp/pkgwrk/mail/cyrus-imapd24/work/cyrus-imapd-2.4.13/com_err/et
*** Error code 1

>How-To-Repeat:
cd /usr/pkgsrc/mail/cyrus-imapd24 && bmake
>Fix:
--- com_err/et/error_table.h.orig        2012-01-06 02:52:56 +0400
+++ com_err/et/error_table.h     2012-01-06 02:53:28 +0400
@@ -63,7 +63,7 @@
 #else
 #define INTERFACE
 #define INTERFACE_C
-extern int errno;
+#include "internal.h"
 #endif

 struct error_table {



Home | Main Index | Thread Index | Old Index