Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2009 00:25:12 +0000 (UTC)
From:      Marcus Alves Grando <marcus@sbh.eng.br>
To:        Jorge Medina <jorge@bsdchile.cl>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mail/postfix-current error: conflicting types for 'closefrom'
Message-ID:  <alpine.BSF.2.00.0907300024200.81691@4016.jail.rootbsd.net>
In-Reply-To: <28d0e6b80907271413q792b4be5n101ae9e62294573d@mail.gmail.com>
References:  <28d0e6b80907271346w55892affv4bd5dd732a79233d@mail.gmail.com> <28d0e6b80907271413q792b4be5n101ae9e62294573d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--3236833153-902317902-1248913512=:81691
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

Fixed now. Please update ports tree and try again.

Best regards

On Mon, 27 Jul 2009, Jorge Medina wrote:
> On Mon, Jul 27, 2009 at 4:46 PM, Jorge Medina<jorge@bsdchile.cl> wrote:
>> FYI
>> set -e; for i in src/util src/global src/dns src/tls src/xsasl
>> src/milter src/master  src/postfix src/fsstone src/smtpstone
>> src/sendmail src/error src/pickup src/cleanup src/smtpd src/local
>> src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce  src/pipe
>> src/showq src/postalias src/postcat src/postconf src/postdrop
>> src/postkick src/postlock src/postlog src/postmap src/postqueue
>> src/postsuper src/qmqpd src/spawn src/flush src/verify  src/virtual
>> src/proxymap src/anvil src/scache src/discard src/tlsmgr
>> src/postmulti; do  (set -e; echo "[$i]"; cd $i; make 'CC=cc -DHAS_PCRE
>> -I/usr/local/include -DUSE_SASL_AUTH
>> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
>> -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include
>> -DSNAPSHOT' update MAKELEVEL=) || exit 1;  done
>> [src/util]
>> cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
>> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
>> -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
>>  -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c alldig.c
>> cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
>> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
>> -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
>>  -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c allprint.c
>> cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
>> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
>> -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
>>  -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c argv.c
>> cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
>> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
>> -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
>>  -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c argv_split.c
>> cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH
>> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/include
>> -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DSNAPSHOT
>>  -O2 -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c attr_clnt.c
>> In file included from attr_clnt.c:77:
>> /usr/include/unistd.h:329: error: conflicting types for 'closefrom'
>> ./sys_defs.h:1395: error: previous declaration of 'closefrom' was here
>> *** Error code 1
>>
>>
>> I change int closefrom(int) to void closefrom(int) like
>> /usr/include/unistd.h:329 in sys_defs.h and sys_defs.c and work ok
>>
> more information
> root@mail% uname -a
> FreeBSD mail.jp.cl 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Jul 27
> 15:01:32 CLT 2009     mnothic@mail.jp.cl:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> maybe the problem is in the line 329  of /usr/include/unistd.h
> because had a type conflict with __void closefrom(int);__ after update
> from source tree
>
> -- 
> Jorge Andrés Medina Oliva.
> System Manager & BSD Software Advocacy Leader
> From: http://www.bsdchile.cl
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>

--
Marcus Alves Grando
marcus(at)sbh.eng.br | Personal
mnag(at)FreeBSD.org  | FreeBSD.org
--3236833153-902317902-1248913512=:81691--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0907300024200.81691>