From owner-freebsd-current Sun Mar 24 17:35:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-104-17.dsl.lsan03.pacbell.net [64.169.104.17]) by hub.freebsd.org (Postfix) with ESMTP id 8582037B405; Sun, 24 Mar 2002 17:35:14 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F260866D19; Sun, 24 Mar 2002 17:35:13 -0800 (PST) Date: Sun, 24 Mar 2002 17:35:13 -0800 From: Kris Kennaway To: bsdimp@FreeBSD.org, current@FreeBSD.org Cc: peter@FreeBSD.org Subject: stdout changes break some ports Message-ID: <20020324173513.A75429@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The changes to the definitions of stdout/stdin/stderr from a while back caused a number of ports to break (somewhere around 84, according to bento). For example, the cap port fails like this: http://bento.freebsd.org/errorlogs/5-latest/cap-6.0.198.log cc -DBYTESWAPPED -DPHASE2 -O -I/mnt/ports/net/cap/work/cap60 -DLWSRV_LPR_LOG -DSTAT_CACHE -DREREAD_AFPVOLS -DUSR_FILE_TYPES -DCREATE_AFPVOL=\"mac\" -DPID_FILE=\"/var/run/aufs.pid\" -DUSEVPRINTF -c ablog.c ablog.c:69: initializer element is not constant where the offending line is: static FILE *lfp = stderr; David O'Brien committed a workaround to the clog port yesterday to move the initializer to main() instead of trying to do it statically. Is this something which is supposed to work? Kris --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8nn7RWry0BWjoQKURAgnXAJ9ow2Do0o6pnfZBKLSE3HhG5Njl9gCgi19E i8FkJNnuksdCkxCn6v/PBDU= =i5LL -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message