Displaying 19 results from an estimated 19 matches for "_xpg6".
2016 Aug 02
2
OpenSSH 7.3p1 can't be build on Solaris 10
...[[ return (isblank('a')); ]])],
[AC_DEFINE([HAVE_ISBLANK], [1], [Define if you have isblank(3C).])
])
before that the mblen test didn't have XOPEN_SOURCE.
The failing condition is "if defined(_STDC_C99) &&
(defined(__XOPEN_OR_POSIX) && !defined(_XPG6))". The above explains
where the XOPEN came from. As to why you're seeing it, my guess is
your version of gcc defaults to -std=c99 and mine doesn't. You can
try adding "-std=c89" to your CFLAGS and see if it builds.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6...
2016 Aug 01
4
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
configure:17280: result: no
configure:17300: checking for mblen
configure:17356: gcc -o conftest -O3 -m64 -mtune=native -pipe -Wall
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
2018 Sep 12
1
make check (pigeonhole)
...ch>
(fedora):
|diff -up dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt
dovecot-2.3.0.1/src/auth/mycrypt.c ---
dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt 2018-02-28
15:28:58.000000000 +0100 +++ dovecot-2.3.0.1/src/auth/mycrypt.c
2018-03-27 10:57:38.447769201 +0200 @@ -14,6 +14,7 @@ # define _XPG6 /*
Some Solaris versions require this, some break with this */ #endif
#include <unistd.h> +#include <crypt.h> #include "mycrypt.h" All works
well now. Thanks for your help Eric |
On 9/12/2018 12:35 AM, Aki Tuomi wrote:
>
> I tried reproducing your problem and I only...
2018 Sep 19
2
Dovecot User Listing Error - getpwent() failed: Invalid Argument
...3.0.1/src/auth/mycrypt.c.libxcrypt
> dovecot-2.3.0.1/src/auth/mycrypt.c
> --- dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt?????? 2018-02-28
> 15:28:58.000000000 +0100
> +++ dovecot-2.3.0.1/src/auth/mycrypt.c 2018-03-27 10:57:38.447769201
> +0200
> @@ -14,6 +14,7 @@
> ?#? define _XPG6 /* Some Solaris versions require this, some break
> with this */
> ?#endif
> ?#include <unistd.h>
> +#include <crypt.h>
>
> ?#include "mycrypt.h"
>
> That fixed the build problem I had, but the warning below remains.
>
> (Tracking master-2.3 git)...
2018 Aug 08
1
Reproducible SIGSEGV when Dovecot 2.3 compiled against glibc-2.28
...-up dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt dovecot-2.3.0.1/src/auth/mycrypt.c
> --- dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt 2018-02-28 15:28:58.000000000 +0100
> +++ dovecot-2.3.0.1/src/auth/mycrypt.c 2018-03-27 10:57:38.447769201 +0200
> @@ -14,6 +14,7 @@
> # define _XPG6 /* Some Solaris versions require this, some break with this */
> #endif
> #include <unistd.h>
> +#include <crypt.h>
>
> #include "mycrypt.h"
>
> -------->8--------
Ok, well....after running 'make check' I also saw a failure due to a
se...
2018 Sep 19
1
Dovecot User Listing Error - getpwent() failed: Invalid Argument
....3.0.1/src/auth/mycrypt.c
>>> --- dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt?????? 2018-02-28
>>> 15:28:58.000000000 +0100
>>> +++ dovecot-2.3.0.1/src/auth/mycrypt.c 2018-03-27 10:57:38.447769201
>>> +0200
>>> @@ -14,6 +14,7 @@
>>> ??#? define _XPG6 /* Some Solaris versions require this, some break
>>> with this */
>>> ??#endif
>>> ??#include <unistd.h>
>>> +#include <crypt.h>
>>>
>>> ??#include "mycrypt.h"
>>>
>>> That fixed the build problem I had,...
2018 Sep 19
2
Dovecot User Listing Error - getpwent() failed: Invalid Argument
This is bit of a longshot, but can you try applying
https://github.com/dovecot/core/commit/63a74b9.patch and see if this helps?
Aki
On 19.09.2018 10:33, Reuben Farrelly wrote:
> glibc-2.28.
>
> There was a posting by Michael Marley on 31/08 saying he saw something
> similar to this problem after upgrading to 2.28 as well with 'doveadm
> purge'.
>
> Reuben
>
>
2018 Aug 08
0
Reproducible SIGSEGV when Dovecot 2.3 compiled against glibc-2.28
...--8<--------
diff -up dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt dovecot-2.3.0.1/src/auth/mycrypt.c
--- dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt 2018-02-28 15:28:58.000000000 +0100
+++ dovecot-2.3.0.1/src/auth/mycrypt.c 2018-03-27 10:57:38.447769201 +0200
@@ -14,6 +14,7 @@
# define _XPG6 /* Some Solaris versions require this, some break with this */
#endif
#include <unistd.h>
+#include <crypt.h>
#include "mycrypt.h"
-------->8--------
Cheers,
Thore
PS: Sorry Reuben for duplicate mail, forgot to Cc the list...
--
Thore B?decker
GPG ID: 0xD622431AF...
2018 Sep 12
0
make check (pigeonhole)
...diff -up dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt
> dovecot-2.3.0.1/src/auth/mycrypt.c ---
> dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt 2018-02-28
> 15:28:58.000000000 +0100 +++ dovecot-2.3.0.1/src/auth/mycrypt.c
> 2018-03-27 10:57:38.447769201 +0200 @@ -14,6 +14,7 @@ # define _XPG6
> /* Some Solaris versions require this, some break with this */ #endif
> #include <unistd.h> +#include <crypt.h> #include "mycrypt.h" All works
> well now. Thanks for your help Eric |
>
> On 9/12/2018 12:35 AM, Aki Tuomi wrote:
>>
>> I tried repr...
2005 May 05
1
Compiling on Solaris 10
Trying to compile Dovecot on Solaris 10. I have tried the 99.14
release and today's 1.0-stable release. In both cases I get the
following error message:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I../../src/
lib-sql -I../../src/lib-settings -I../../src/lib-ntlm -
DAUTH_MODULE_DIR=\""/usr/local/lib/dovecot/auth"\" -DPKG_LIBEXECDIR=
2005 Aug 29
0
Re: dovecot Digest, Vol 28, Issue 61
...> On Sun, 2005-08-21 at 04:34 -0400, Lisandro Grullon wrote:
>> /usr/include/sys/feature_tests.h:332:2: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
>
> Some versions of Solaris 10 want "#define _XPG6" at the beginning of the
> mycrypt.c file, but most other versions give error if it's there. Do you
> have a final release of Solaris 10 or some pre-release? Maybe I should
> put this check to configure if it happens with non-prereleases too..
Oh, yes please. This also happens w...
2005 Aug 30
0
Re: dovecot Digest, Vol 28, Issue 61
...> On Sun, 2005-08-21 at 04:34 -0400, Lisandro Grullon wrote:
>> /usr/include/sys/feature_tests.h:332:2: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
>
> Some versions of Solaris 10 want "#define _XPG6" at the beginning of the
> mycrypt.c file, but most other versions give error if it's there. Do you
> have a final release of Solaris 10 or some pre-release? Maybe I should
> put this check to configure if it happens with non-prereleases too..
Oh, yes please. This also happens w...
2018 Sep 19
0
Dovecot User Listing Error - getpwent() failed: Invalid Argument
...some time:
diff -up dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt
dovecot-2.3.0.1/src/auth/mycrypt.c
--- dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt 2018-02-28
15:28:58.000000000 +0100
+++ dovecot-2.3.0.1/src/auth/mycrypt.c 2018-03-27 10:57:38.447769201 +0200
@@ -14,6 +14,7 @@
# define _XPG6 /* Some Solaris versions require this, some break with
this */
#endif
#include <unistd.h>
+#include <crypt.h>
#include "mycrypt.h"
That fixed the build problem I had, but the warning below remains.
(Tracking master-2.3 git)
Reuben
On 19/09/2018 5:34 pm, Aki Tuomi...
2009 Nov 20
2
Problem compiling dovecot 1.2.8 on Solaris 10?
...-DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth -I../../src/lib-mail -I../../src/lib-imap -I../../src/lib-index -I../../src/lib-storage/index/maildir -I../../src/auth -DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\" -I/usr/local/include -I/usr/local/ssl/include -D_XPG6 -L/usr/local/lib -L/usr/local/ssl/lib -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc99 -I/usr/local/include -I/usr/local/ssl/include -L/usr/local/lib -L/usr/local/ssl/lib -D_XPG6 -xstrconst -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c authtest.c
"authtest.c", line 1...
2018 Sep 12
2
make check (pigeonhole)
I'll give those a look and make change accordingly.
On 9/11/2018 9:26 PM, Aki Tuomi wrote:
> You know we have rpm packages for 2.3.2.1 available at
> https://repo.dovecot.org if you are in a hurry?
>
>
>
> ---
> Aki Tuomi
> Dovecot oy
>
> -------- Original message --------
> From: Eric Broch <ebroch at whitehorsetc.com>
> Date: 12/09/2018 00:35
2018 Sep 19
0
Dovecot User Listing Error - getpwent() failed: Invalid Argument
...crypt
>> dovecot-2.3.0.1/src/auth/mycrypt.c
>> --- dovecot-2.3.0.1/src/auth/mycrypt.c.libxcrypt?????? 2018-02-28
>> 15:28:58.000000000 +0100
>> +++ dovecot-2.3.0.1/src/auth/mycrypt.c 2018-03-27 10:57:38.447769201
>> +0200
>> @@ -14,6 +14,7 @@
>> ?#? define _XPG6 /* Some Solaris versions require this, some break
>> with this */
>> ?#endif
>> ?#include <unistd.h>
>> +#include <crypt.h>
>>
>> ?#include "mycrypt.h"
>>
>> That fixed the build problem I had, but the warning below remains.
&...
2005 Aug 21
1
Installation error on "make"
I am not sure what the problem is. I try ./configure as the intallation point out;however, when I try make I am getting the bellow error.
PS. I am running Solaris 10 X86, GNU gcc.
1.
[04:05:24][root at www:~/dovecot-1.0.alpha1]$ make
2.
make all-recursive
3.
Making all in src
4.
Making all in lib
5.
Making all in lib-sql
6.
Making all in
2018 Aug 08
3
Reproducible SIGSEGV when Dovecot 2.3 compiled against glibc-2.28
Hi,
The link to the release notes seems should have an 'l' on the end:
Try: https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html
This with gdb:
thunderstorm /usr/src/dovecot/dovecot-2.3/src/auth # gdb
/root/dovecot-auth-crash/auth /root/dovecot-auth-crash/core.auth.29667
GNU gdb (Gentoo 8.1.1 p1) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU
2006 Nov 05
1
RC11 Build Failure on FreeBSD 6.1
...checking Linux compatible mremap()... no
checking whether shared mmaps get updated by write()s... yes
checking whether fd passing works... yes
checking for sendfile in -lsendfile... no
checking Linux compatible sendfile()... no
checking FreeBSD compatible sendfile()... yes
checking if we should use _XPG6 macro for crypt()... yes
checking if statvfs.f_mntfromname exists... no
checking if statfs.f_mntfromname exists... yes
checking if struct dqblk.dqb_curblocks exists... yes
checking if struct dqblk.dqb_curspace exists... no
checking if struct Q_QUOTACTL ioctl exists... no
checking for an implementat...