From MAILER-DAEMON Wed Nov 07 01:33:41 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IpeTt-0000x9-Lc for mharc-chicken-hackers@gnu.org; Wed, 07 Nov 2007 01:33:41 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpeTs-0000x0-0s for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 01:33:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpeTq-0000ui-1L for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 01:33:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpeTp-0000uf-QD for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 01:33:37 -0500 Received: from fk-out-0910.google.com ([209.85.128.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpeTp-0007ZH-Oe for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 01:33:37 -0500 Received: by fk-out-0910.google.com with SMTP id 19so4183972fkr for ; Tue, 06 Nov 2007 22:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dRq0Xxyn6aDA1K9LvAAZkviMRf+HgeB3RRUWuERu7/Y=; b=Vf+mHOMDWhcazBqE/0dn+Dr2Xjaui1HRNK1I7LOXcL4FEXdpJFTSdWQ/SLNJSmEu09Ydk1EYjiDuoQfw7fBEeUUQnH+sionoLkS31eo7Ui8lEQ/+K/D1Z0TJ3W5E7YahgyVNy8j8n+S0mVMmgxKAdTzBGWI/7obgn1jgAJIhpM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r/hKIZdJ+fOllfFyslhvFP97ym7/7ZBpB6R0JXb6omKpTKNMLjCvjhZCiahXp36gMxh90Al6gCm0WoW9T6JO9VwCWecjAGo0hhTEWD81oGJTRWiEVqsa5Tpg85AnOEenyWnYW6nXSewQIZmuoOZvRUvUv4CPTn3SewkV36CCe4U= Received: by 10.82.175.17 with SMTP id x17mr14288458bue.1194417215326; Tue, 06 Nov 2007 22:33:35 -0800 (PST) Received: by 10.82.172.7 with HTTP; Tue, 6 Nov 2007 22:33:35 -0800 (PST) Message-ID: Date: Wed, 7 Nov 2007 07:33:35 +0100 From: "felix winkelmann" To: "Kon Lovett" In-Reply-To: <370F515D-0DA8-45DB-BD65-1B6384EA8805@pacbell.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <370F515D-0DA8-45DB-BD65-1B6384EA8805@pacbell.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken Subject: [Chicken-hackers] Re: file-open returns a flonum w/ 2.735 X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 06:33:40 -0000 On Nov 6, 2007 9:46 PM, Kon Lovett wrote: > Hi Felix, > > The current Chicken trunk returns a flonum from file-open (in egg- > post-commit): > > Uploading files: > Error: (file-read) bad argument type - not a fixnum: 23546.0 > > Call history: > > [out.2487] ((lambda (fd.2491) ((lambda (data. > 2492) ((lambda () (begin (print* fname.2488 (quote " ")) (with-pro...... > [out.2487] (file-open fname.2488 open/read) > [out.2487] ((lambda (data.2492) ((lambda () > (begin (print* fname.2488 (quote " ")) (with-progress-indicator > (la...... > [out.2487] (first (file-read fd.2491 s.2490)) > [out.2487] (file-read fd.2491 s.2490) > [main] (k.3548 (lambda () (begin (print- > error-message ex.3549) (print-call-chain) (exit (quote 1))))) > [main] (print-error-message ex.3549) > [main] (print-call-chain) <-- > > Not sure where the problem is. > Argh - I should have mentioned that on the -hackers mailing list. "file-size" should handle >4GB files now and such can return a flonum. Due to a bootstrapping issue (ffi changed slightly), compiling posixunix.scm with the old chicken will always return a flonum. Just touch posixunix.scm and rebuild. cheers, felix From MAILER-DAEMON Wed Nov 07 02:17:17 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IpfA5-0007NH-HG for mharc-chicken-hackers@gnu.org; Wed, 07 Nov 2007 02:17:17 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpfA3-0007KY-JI for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 02:17:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpfA2-0007I5-3p for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 02:17:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpfA2-0007Hh-0s for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 02:17:14 -0500 Received: from fk-out-0910.google.com ([209.85.128.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpfA0-00029t-Uj for chicken-hackers@nongnu.org; Wed, 07 Nov 2007 02:17:13 -0500 Received: by fk-out-0910.google.com with SMTP id 19so4198450fkr for ; Tue, 06 Nov 2007 23:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=1i9B/bNy7tND52gypduryCfL7Yc875UiZyHeMiEKRVo=; b=mk8//6ksHUwX5oNMnwyY+sFfaIAjYDWJg0SxmSddDTk0+EwJx3+27a6AuPPfXRGZ3zP6KIZ4r7us5BUoS2KOlnTthwZQJFDWwmPTT3vi1e0sl0npLqokogZQJgR1cl6tAdh69a2+3YpLLc5rZeoboqMW2m9CjjKbxDbDXm6dkUg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XI3//aivUtkW0ow+sTPiIPinGSBRqMGXTSVvYSp7EU3hbh3fde3t4GexOBpnIRXSnX1flmqe5IPVB8nbv5A/w6wplxvAPRBsRRCNM1GzUpysPYxBj70eEj5k2/RNE6npnUk/DbRrdbdVVv6jh14dpR/8etwyi+gPtMlh/cyIlGE= Received: by 10.82.181.10 with SMTP id d10mr14515696buf.1194419831754; Tue, 06 Nov 2007 23:17:11 -0800 (PST) Received: by 10.82.172.7 with HTTP; Tue, 6 Nov 2007 23:17:11 -0800 (PST) Message-ID: Date: Wed, 7 Nov 2007 08:17:11 +0100 From: "felix winkelmann" To: chicken MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: [Chicken-hackers] tospace locking X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 07:17:15 -0000 Hi! The current trunk has a new build option to enable "tospace locking", which disables read/write access to the currently unused heap space. This is intended to catch bugs related to holding references to dead memory (for example in ffi code). Enable it by passing "LOCKTOSPACE=1" to the "make" invocation. I have not measured the performance impact yet. Moreover, it uses mprotect() on malloc()ed memory, which isn't available everywhere and according to POSIX not even defined (works in Linux, though). cheers, felix From MAILER-DAEMON Tue Nov 13 13:38:59 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Is0f5-0005Pd-7V for mharc-chicken-hackers@gnu.org; Tue, 13 Nov 2007 13:38:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Is0f3-0005PP-DO for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 13:38:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Is0ey-0005O8-40 for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 13:38:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is0ex-0005O1-Vy for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 13:38:52 -0500 Received: from pollux.sshunet.nl ([145.97.192.42]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Is0ev-0001ws-8f for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 13:38:51 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by pollux.sshunet.nl (Postfix) with ESMTP id 4EFAE580011 for ; Tue, 13 Nov 2007 19:38:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at pollux.warande.net Received: from pollux.sshunet.nl ([127.0.0.1]) by localhost (pollux.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XCb700kVNIVQ for ; Tue, 13 Nov 2007 19:38:28 +0100 (CET) Received: from [145.97.223.26] (26pc223.sshunet.nl [145.97.223.26]) by pollux.sshunet.nl (Postfix) with ESMTP for ; Tue, 13 Nov 2007 19:38:28 +0100 (CET) Message-ID: <4739EC3D.6080205@gentoo.org> Date: Tue, 13 Nov 2007 19:26:05 +0100 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: chicken X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: [Chicken-hackers] multiple issues in embedded PCRE X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2007 18:38:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, chicken ships its own copy of libpcre which has multiple vulnerabilities . Issues such as this one are the reason why local copies of libraries are bad. Currently there doesn't seem to be an option to build against the system libraries though. Please advize, Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOew9p/VmCx0OL2wRAtJKAJ4ik/AM7g6AeSPco3f5nzeGK6XJuwCgosWu T6j+tkSEzsSousyEQ0xWUx8= =WQlT -----END PGP SIGNATURE----- From MAILER-DAEMON Tue Nov 13 15:46:30 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Is2eU-0005eu-EF for mharc-chicken-hackers@gnu.org; Tue, 13 Nov 2007 15:46:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Is2eS-0005eO-KU for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 15:46:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Is2eP-0005dk-Ts for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 15:46:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is2eP-0005dh-Pq for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 15:46:25 -0500 Received: from earth.ccil.org ([192.190.237.11]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Is2eP-0003Sn-D5 for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 15:46:25 -0500 Received: from cowan by earth.ccil.org with local (Exim 4.63) (envelope-from ) id 1Is2eL-0000Sn-LY; Tue, 13 Nov 2007 15:46:21 -0500 Date: Tue, 13 Nov 2007 15:46:21 -0500 To: "Marijn Schouten (hkBst)" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071113204621.GB863@mercury.ccil.org> References: <4739EC3D.6080205@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4739EC3D.6080205@gentoo.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: John Cowan X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2007 20:46:28 -0000 Marijn Schouten (hkBst) scripsit: > chicken ships its own copy of libpcre which has multiple vulnerabilities > . It should definitely be upgraded, then. > Issues such as this one are the reason why local copies of libraries are bad. > Currently there doesn't seem to be an option to build against the system > libraries though. On non-Gentoo systems, it's extremely common for buggy and vulnerable libraries to remain around for years. Since that's the normal case, we adapt to it by packaging pcre. Indeed, that's the only way to guarantee i14y, since sufficiently old libpcre's don't even expose the same API. -- John Cowan http://ccil.org/~cowan cowan@ccil.org SAXParserFactory [is] a hideous, evil monstrosity of a class that should be hung, shot, beheaded, drawn and quartered, burned at the stake, buried in unconsecrated ground, dug up, cremated, and the ashes tossed in the Tiber while the complete cast of Wicked sings "Ding dong, the witch is dead." --Elliotte Rusty Harold on xml-dev From MAILER-DAEMON Tue Nov 13 19:04:53 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Is5kT-0005qj-Rg for mharc-chicken-hackers@gnu.org; Tue, 13 Nov 2007 19:04:53 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Is5kS-0005qZ-Bq for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:04:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Is5kQ-0005qA-1E for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:04:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is5kP-0005q7-Uv for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:04:49 -0500 Received: from castor.sshunet.nl ([145.97.192.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Is5kP-0001aa-B3 for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:04:49 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id 48B2857C00B for ; Wed, 14 Nov 2007 01:04:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HeKHFW5MFio4 for ; Wed, 14 Nov 2007 01:04:29 +0100 (CET) Received: from [145.97.223.26] (26pc223.sshunet.nl [145.97.223.26]) by castor.sshunet.nl (Postfix) with ESMTP for ; Wed, 14 Nov 2007 01:04:29 +0100 (CET) Message-ID: <473A38A5.6000402@gentoo.org> Date: Wed, 14 Nov 2007 00:52:05 +0100 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: chicken Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <20071113204621.GB863@mercury.ccil.org> In-Reply-To: <20071113204621.GB863@mercury.ccil.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 00:04:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Cowan wrote: > Marijn Schouten (hkBst) scripsit: > >> chicken ships its own copy of libpcre which has multiple vulnerabilities >> . > > It should definitely be upgraded, then. > >> Issues such as this one are the reason why local copies of libraries are bad. >> Currently there doesn't seem to be an option to build against the system >> libraries though. > > On non-Gentoo systems, it's extremely common for buggy and vulnerable > libraries to remain around for years. Since that's the normal case, we > adapt to it by packaging pcre. Indeed, that's the only way to guarantee > i14y, since sufficiently old libpcre's don't even expose the same API. Even if that is so, you don't solve any problems by adding another installation of libpcre. It doesn't make any system libraries go away. What it *does* do is create another point of failure. I also don't see what good it does to interoperability. The only thing you're doing is deciding where the breakage is by doing the upgrading of libpcre when *you* choose. Anyway, I'm sure this won't have convinced you, so please consider adding a configure switch to build with system libpcre instead of the shipped one. Thank you, Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOjilp/VmCx0OL2wRAi8oAJ45kuEB2Df7QpdS0Hk5PfFc1MKjdwCeIive y4GhbreU60qWKVJYfsL9TOc= =QMFQ -----END PGP SIGNATURE----- From MAILER-DAEMON Tue Nov 13 19:17:18 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Is5wU-00051U-40 for mharc-chicken-hackers@gnu.org; Tue, 13 Nov 2007 19:17:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Is5wR-0004xV-MB for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:17:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Is5wO-0004tX-Jd for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:17:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is5wO-0004t1-CE for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:17:12 -0500 Received: from smtp122.sbc.mail.sp1.yahoo.com ([69.147.64.95]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Is5wN-00056B-Rw for chicken-hackers@nongnu.org; Tue, 13 Nov 2007 19:17:12 -0500 Received: (qmail 29701 invoked from network); 14 Nov 2007 00:17:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=Received:X-YMail-OSG:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-Pgp-Agent:X-Mailer; b=saRkf5I0rscV9bJtO9pD8gfOt5IPuEL/Ad2unHmaCe6Br2KUYGvTZyqtLhShq0E1O61VEWF7HRmpRSm7HZgawxeUaPQIKoAFmIMyhjat+/VEJ5BSS6oNE3HBZAVtu8eV+jzuxhk61R/xPd75PKvwEEJ/QuSmdiVtOI8RK9viy7Y= ; Received: from unknown (HELO ?10.0.1.4?) (klovett@pacbell.net@69.226.227.183 with plain) by smtp122.sbc.mail.sp1.yahoo.com with SMTP; 14 Nov 2007 00:17:08 -0000 X-YMail-OSG: Cn1H1pkVM1nKD6Kum1MjcLTkVDMyk8CfmmCqPc6QfMEUfIZQQEs7u5Z_9c55cwjbVNgFMmHmwG0La_AcSRODrIoSrtsEH2wzlbfMJBnm80Sn6XpT6g-- In-Reply-To: <473A38A5.6000402@gentoo.org> References: <4739EC3D.6080205@gentoo.org> <20071113204621.GB863@mercury.ccil.org> <473A38A5.6000402@gentoo.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Kon Lovett Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE Date: Tue, 13 Nov 2007 16:17:06 -0800 To: Marijn Schouten (hkBst) X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 00:17:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 13, 2007, at 3:52 PM, Marijn Schouten (hkBst) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > John Cowan wrote: >> Marijn Schouten (hkBst) scripsit: >> >>> chicken ships its own copy of libpcre which has multiple >>> vulnerabilities >>> . >> >> It should definitely be upgraded, then. >> >>> Issues such as this one are the reason why local copies of >>> libraries are bad. >>> Currently there doesn't seem to be an option to build against the >>> system >>> libraries though. >> >> On non-Gentoo systems, it's extremely common for buggy and vulnerable >> libraries to remain around for years. Since that's the normal >> case, we >> adapt to it by packaging pcre. Indeed, that's the only way to >> guarantee >> i14y, since sufficiently old libpcre's don't even expose the same >> API. > > Even if that is so, you don't solve any problems by adding another > installation of libpcre. It doesn't make any system libraries go > away. What it > *does* do is create another point of failure. There is not "... another installation of libpcre." The only libraries Chicken installs are libchicken & libuchicken. > > I also don't see what good it does to interoperability. The only > thing you're > doing is deciding where the breakage is by doing the upgrading of > libpcre when > *you* choose. I think John means between the Chicken regex unit implementation & the pcre api. I doubt he was referring to other programs. > > Anyway, I'm sure this won't have convinced you, so please consider > adding a > configure switch to build with system libpcre instead of the > shipped one. > > Thank you, > > Marijn > > - -- > Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML > , #gentoo-{lisp,ml} on FreeNode > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHOjilp/VmCx0OL2wRAi8oAJ45kuEB2Df7QpdS0Hk5PfFc1MKjdwCeIive > y4GhbreU60qWKVJYfsL9TOc= > =QMFQ > -----END PGP SIGNATURE----- > > > _______________________________________________ > Chicken-hackers mailing list > Chicken-hackers@nongnu.org > http://lists.nongnu.org/mailman/listinfo/chicken-hackers Best Wishes, Kon -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iEYEARECAAYFAkc6PoIACgkQJJNoeGe+5O6hSACdHjUopj7yQiUkhcedD48e0PQ4 7GUAn1CdfUbqNrBfGbN9ie/seVtyWueW =w+U8 -----END PGP SIGNATURE----- From MAILER-DAEMON Mon Nov 19 01:45:10 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iu0Na-0002ld-3b for mharc-chicken-hackers@gnu.org; Mon, 19 Nov 2007 01:45:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu0NX-0002iw-NT for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 01:45:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu0NS-0002e8-VX for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 01:45:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu0NS-0002dx-NG for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 01:45:02 -0500 Received: from fk-out-0910.google.com ([209.85.128.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iu0NS-0007Io-0i for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 01:45:02 -0500 Received: by fk-out-0910.google.com with SMTP id 19so1358921fkr for ; Sun, 18 Nov 2007 22:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=3QD96WAZxOM8yXAHUAXYMtFFSRkUa5dopQ2WaNYuKSs=; b=Y+Hd4cFyS32lAR5PrxEK1lhuYRhERqP75uXl3wqvI6QGdGiA1mxDWQfSBhDfUmxcJhwowKAP5PoUURQDupVFAAcRQpynl2Gq9KTtFu9TrP3eRzp8SFTCLounr4d7l+VMl7kA2pA3uw0jqP/PWNWBKvelHYPOX8qOIKxMDnKfgJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IKC5p/8XFkkfIk/hzIq50Oz/OH+D6kvbQ+xf+FFgJaxvIEUqORQHBc6xE+1jLvSKowBnbJZCAqiYNhmAhECgU5RXvDBIPcWwZ2765GrFxHOVotkhBj5GEV6D/yNebqsyTRjRQAEPhHjrq90MpDAZWY3g1wTNnHqtCqA1y9lEGAc= Received: by 10.82.167.5 with SMTP id p5mr12917129bue.1195454700887; Sun, 18 Nov 2007 22:45:00 -0800 (PST) Received: by 10.82.172.7 with HTTP; Sun, 18 Nov 2007 22:45:00 -0800 (PST) Message-ID: Date: Mon, 19 Nov 2007 07:45:00 +0100 From: "felix winkelmann" To: chicken MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: [Chicken-hackers] mprotect on malloc'ed memory? X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 06:45:08 -0000 Hi! A question to the unix hackers: Is it legal to call mprotect() on memory allocated via malloc()? (yes, properly aligned to page boundaries). On Linux it seems to work, but according to POSIX it is undefined. What about BSD/Mac systems? cheers, felix From MAILER-DAEMON Mon Nov 19 02:26:29 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iu11Z-000341-GW for mharc-chicken-hackers@gnu.org; Mon, 19 Nov 2007 02:26:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu11Y-00033q-T6 for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 02:26:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu11X-00033U-Ag for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 02:26:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu11X-00033P-4q for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 02:26:27 -0500 Received: from ns0.oist.jp ([203.181.243.1] helo=ns0.irp.oist.jp) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Iu11W-0000Op-I6 for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 02:26:27 -0500 Received: from intra-022.oist.jp (smtp.irp.oist.jp [192.168.150.22]) by ns0.irp.oist.jp (Switch-3.1.10/Switch-3.1.10) with ESMTP id lAJ7QGhN013664; Mon, 19 Nov 2007 16:26:16 +0900 Received: from debian.oist.jp ([172.20.3.119]) by intra-022.oist.jp (8.13.1/8.13.1) with ESMTP id lAJ7Q9bV022570; Mon, 19 Nov 2007 16:26:09 +0900 To: "felix winkelmann" Subject: Re: [Chicken-hackers] mprotect on malloc'ed memory? References: From: Ivan Raikov Date: Mon, 19 Nov 2007 16:26:11 +0900 In-Reply-To: (felix winkelmann's message of "Mon\, 19 Nov 2007 07\:45\:00 +0100") Message-ID: <87sl32u25o.fsf@debian.oist.jp> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 07:26:29 -0000 I don't think you are supposed to call mprotect on malloc'ed memory. If it "worked" in Linux, that's probably because the glibc malloc _sometimes_ uses mmap, and _sometimes_ uses brk, and you were probably calling mprotect on mmapped pages. If the *BSD implementations of malloc also use mmap, then you might get lucky, but you are basically relying on unspecified behavior, and the results would probably be unpredictable. -Ivan "felix winkelmann" writes: > Hi! > > A question to the unix hackers: > > Is it legal to call mprotect() on memory allocated via malloc()? > (yes, properly aligned to page boundaries). On Linux it seems to > work, but according to POSIX it is undefined. What about BSD/Mac > systems? > > > cheers, > felix > From MAILER-DAEMON Mon Nov 19 07:28:54 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iu5kE-00058A-7g for mharc-chicken-hackers@gnu.org; Mon, 19 Nov 2007 07:28:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu5kB-000573-Kd for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 07:28:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu5k9-00055m-S6 for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 07:28:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu5k9-00055P-H8 for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 07:28:49 -0500 Received: from fk-out-0910.google.com ([209.85.128.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iu5k9-0007NF-5O for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 07:28:49 -0500 Received: by fk-out-0910.google.com with SMTP id 19so1449737fkr for ; Mon, 19 Nov 2007 04:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=kVQYUtdgq/UBbBa83lnMyWXiqCLyBsz/YrNcBkJGU1c=; b=jgu3H8RDCqPOK+GIiAf+ZAP7rJceZo6m/VT/27v94PBhkY6B3EuyHyjdE7mySzb+pL8z0P+IKv+HZOm3p8sDMhjC8jOO/n6Kl/MM0gVOvUZjr/vHeDnNP79C71F9EkwTSVEjcuU/WnValqUMFGhttsriNtU08fiT0hPYEnuJp2Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=TMsvw9SYpSCg3IGbrs2mFzfrsUgy3snurJ7uoKNOZ9KP+B8B2oriUdfTKlLG0CU/Rm6ed1Fj5BpjS86CL/dFHIW1sSbmNvfY+qCEfcpCCo42sObq9/bnBx8oI70R71+w1WdxOQWhYsg6gPNKRrrxnX6D2ZOXQ9pqItCl7mKLHVg= Received: by 10.82.181.10 with SMTP id d10mr13782345buf.1195475327587; Mon, 19 Nov 2007 04:28:47 -0800 (PST) Received: by 10.82.172.7 with HTTP; Mon, 19 Nov 2007 04:28:47 -0800 (PST) Message-ID: Date: Mon, 19 Nov 2007 13:28:47 +0100 From: "felix winkelmann" To: chicken MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: [Chicken-hackers] make fullcheck X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 12:28:52 -0000 Hi! I added a make target that performs a 3-stage bootstrap and compiles the stage-2 and 3 outputs (similar to gcc). Since chicken itself is a suitable test application, running "make PLATFORM=... fullcheck" might catch some problems (yes, this is mainly intended for me, being subject to careless coding). cheers, felix From MAILER-DAEMON Mon Nov 19 22:16:56 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IuJbb-0000K0-Q2 for mharc-chicken-hackers@gnu.org; Mon, 19 Nov 2007 22:16:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuJba-0000Hn-CR for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 22:16:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuJbX-0000EY-Vc for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 22:16:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuJbX-0000EV-PQ for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 22:16:51 -0500 Received: from adsl-68-126-45-147.dsl.pltn13.pacbell.net ([68.126.45.147] helo=tesseract.thetesseract.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IuJbX-0007Oi-89 for chicken-hackers@nongnu.org; Mon, 19 Nov 2007 22:16:51 -0500 Received: from tesseract.thetesseract.org (localhost [127.0.0.1]) by tesseract.thetesseract.org (8.12.11/8.12.11) with ESMTP id lAK3GTsV014027; Mon, 19 Nov 2007 19:16:29 -0800 Received: from localhost (elf@localhost) by tesseract.thetesseract.org (8.12.11/8.12.11/Submit) with ESMTP id lAK3GTZv014024; Mon, 19 Nov 2007 19:16:29 -0800 X-Authentication-Warning: tesseract.thetesseract.org: elf owned process doing -bs Date: Mon, 19 Nov 2007 19:16:29 -0800 (PST) From: Elf X-X-Sender: elf@tesseract.thetesseract.org To: felix winkelmann Subject: Re: [Chicken-hackers] mprotect on malloc'ed memory? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 03:16:54 -0000 um, if im understading the openbsd pages right, it might work, but it wont necessarily protect only the page. according to POSIX, its not undefined, its an error to use mprotect on anything but mmapped regions. at a guess, even if it does happen to work, you'll be looking at a lifetime of unpredictable and undebuggable SIGSEGVs. may i ask the intended purpose of mprotecting regular memory? -elf On Mon, 19 Nov 2007, felix winkelmann wrote: > Hi! > > A question to the unix hackers: > > Is it legal to call mprotect() on memory allocated via malloc()? (yes, properly > aligned to page boundaries). On Linux it seems to work, but according to > POSIX it is undefined. What about BSD/Mac systems? > > > cheers, > felix > > > _______________________________________________ > Chicken-hackers mailing list > Chicken-hackers@nongnu.org > http://lists.nongnu.org/mailman/listinfo/chicken-hackers > From MAILER-DAEMON Tue Nov 20 02:01:25 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IuN6r-0001SD-3j for mharc-chicken-hackers@gnu.org; Tue, 20 Nov 2007 02:01:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuN6q-0001Qd-2Y for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 02:01:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuN6n-0001MV-Ez for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 02:01:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuN6n-0001MD-8s for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 02:01:21 -0500 Received: from mu-out-0910.google.com ([209.85.134.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuN6m-0003Py-OF for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 02:01:20 -0500 Received: by mu-out-0910.google.com with SMTP id i2so3056691mue for ; Mon, 19 Nov 2007 23:01:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=pr9EamXdx1ij+S1kFoU4ew44kDGprZ1kJO+BugNZSWI=; b=hHHHjArM3UHUfB/LKv83ZArg89p1v+uLrdSSop1fvtY4TEQjnj35fnrlNPTpD359ZwrOP9ibYtVwsGRIgETc9zMBsP/V6lSVDtdBWH51DYlHg19vNozAGdF3CG12GVskMW7VDr4gFr7gr4a1h3+i0ZGE/JEaVOWTI4bVWZMLc5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f0mPKV1+Q+dLjJGEeJESo2cCf81zpS0/FbHtfTrO9bDCqxSAWPjbilJfaGxsNmV6ainWHwKvLzdrf6vBUDkmpM6dSWmiw7xLFzWZSP745eFsZspNJD9DXStdAe0zOBp8TSSQCJ6E+eyaeJS9kvkuMp6LQQotXoESZZzyf+PkuaI= Received: by 10.82.189.6 with SMTP id m6mr16039151buf.1195542078996; Mon, 19 Nov 2007 23:01:18 -0800 (PST) Received: by 10.82.172.7 with HTTP; Mon, 19 Nov 2007 23:01:18 -0800 (PST) Message-ID: Date: Tue, 20 Nov 2007 08:01:18 +0100 From: "felix winkelmann" To: Elf Subject: Re: [Chicken-hackers] mprotect on malloc'ed memory? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 07:01:24 -0000 On Nov 20, 2007 4:16 AM, Elf wrote: > > um, if im understading the openbsd pages right, it might work, but it wont > necessarily protect only the page. according to POSIX, its not undefined, its > an error to use mprotect on anything but mmapped regions. at a guess, even > if it does happen to work, you'll be looking at a lifetime of unpredictable > and undebuggable SIGSEGVs. may i ask the intended purpose of mprotecting > regular memory? > As a rather handy debugging aid: my making the current tospace (the unused half of the heap) non-accessable, usage of dead memory can be found (which happens frequently in FFI code by keeping references to already GC'd memory). It's just an optional debugging feature for the situations where you need every help you can get. cheers, felix From MAILER-DAEMON Tue Nov 20 18:07:59 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IucCE-0007yR-Sp for mharc-chicken-hackers@gnu.org; Tue, 20 Nov 2007 18:07:58 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IucCB-0007tt-Kn for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 18:07:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IucC7-0007op-R1 for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 18:07:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IucC7-0007oX-OQ for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 18:07:51 -0500 Received: from nz-out-0506.google.com ([64.233.162.236]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IucC7-000717-4R for chicken-hackers@nongnu.org; Tue, 20 Nov 2007 18:07:51 -0500 Received: by nz-out-0506.google.com with SMTP id f1so7501371nzc for ; Tue, 20 Nov 2007 15:07:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=EA7HTP7OfQGRfepN87jWG71jXvqLlQyi6z5cYA+UNVA=; b=lsKoA9QjTrEOJid0QJ9gA6tqlkuYp7yMUv3WCGvoYpurV64bROUZeBEzGVCyI12uUFUnqSTzCtE9GpRFz8CC6t+hH7R0aw7eHz3gQsHli2gvWRtumBgSBaA4qnu576EbkQquitIMp4hM5PJksUfWTG2shKqvTAhlqrAHi3SYXZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=i7KL4/PAtCgtHQQIkwHe8y3cW+3KoZkygNSwZKvSAxRaxxQVSlFihX3uVk7AyyqTy09RLOV+ezyaNH8D87qhnSolxti5oj0s2pTdygR4TRtutjmSv+utq5Lv6tdUdAThUWEZftY+tOynQHUWjw9yqmcRqruH1nnOr2mN0KA9OTo= Received: by 10.64.181.12 with SMTP id d12mr15345009qbf.1195600069606; Tue, 20 Nov 2007 15:07:49 -0800 (PST) Received: by 10.64.196.2 with HTTP; Tue, 20 Nov 2007 15:07:49 -0800 (PST) Message-ID: Date: Tue, 20 Nov 2007 18:07:49 -0500 From: "Ben Kurtz" Sender: ben.kurtz@gmail.com To: chicken-hackers@nongnu.org In-Reply-To: <200711201707.lAKH78kR005403@SMTP.WPI.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711201707.lAKH78kR005403@SMTP.WPI.EDU> X-Google-Sender-Auth: d1e913ec713a8e21 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: [Chicken-hackers] Re: Chicken-hackers Digest, Vol 15, Issue 5 X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 23:07:56 -0000 You're completely correct, the one big issue is page alignment. Assuming that you are malloc'ing exactly one page, this should work fine on OSX as well as Linux. Well, not "fine" exactly - This is undefined in POSIX because many things about memory page alignment are not standardized, which means that any code you write will be particularly susceptible to bit-rot (kernel or hardware changes could break it). Are you doing this to make a block executable? If you have some test code, I'd be happy to compile and run it on OSX for you. - B > On Mon, 19 Nov 2007, felix winkelmann wrote: > > > Hi! > > > > A question to the unix hackers: > > > > Is it legal to call mprotect() on memory allocated via malloc()? (yes, properly > > aligned to page boundaries). On Linux it seems to work, but according to > > POSIX it is undefined. What about BSD/Mac systems? > > > > > > cheers, > > felix > > > > > > _______________________________________________ > > Chicken-hackers mailing list > > Chicken-hackers@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/chicken-hackers > > > > > > > ------------------------------ > > Message: 2 > Date: Tue, 20 Nov 2007 08:01:18 +0100 > From: "felix winkelmann" > Subject: Re: [Chicken-hackers] mprotect on malloc'ed memory? > To: Elf > Cc: chicken > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On Nov 20, 2007 4:16 AM, Elf wrote: > > > > um, if im understading the openbsd pages right, it might work, but it wont > > necessarily protect only the page. according to POSIX, its not undefined, its > > an error to use mprotect on anything but mmapped regions. at a guess, even > > if it does happen to work, you'll be looking at a lifetime of unpredictable > > and undebuggable SIGSEGVs. may i ask the intended purpose of mprotecting > > regular memory? > > > > As a rather handy debugging aid: my making the current tospace (the unused > half of the heap) non-accessable, usage of dead memory can be found (which > happens frequently in FFI code by keeping references to already GC'd memory). > It's just an optional debugging feature for the situations where you need every > help you can get. > > > cheers, > felix > > > > > ------------------------------ > > _______________________________________________ > Chicken-hackers mailing list > Chicken-hackers@nongnu.org > http://lists.nongnu.org/mailman/listinfo/chicken-hackers > > > End of Chicken-hackers Digest, Vol 15, Issue 5 > ********************************************** > > From MAILER-DAEMON Wed Nov 21 07:02:59 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IuoIF-0005lq-Ch for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 07:02:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuoID-0005lZ-JX for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 07:02:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuoIB-0005lN-5U for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 07:02:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuoIA-0005lK-V4 for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 07:02:55 -0500 Received: from mu-out-0910.google.com ([209.85.134.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuoIA-0007wX-GX for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 07:02:54 -0500 Received: by mu-out-0910.google.com with SMTP id i2so3662998mue for ; Wed, 21 Nov 2007 04:02:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4SKkrvYuPgcC1lMUyn1HHn2g3RfmM5bBa/zAKTXErwU=; b=tZqJesrsL7ZsuLhwpQHukPVXfioqM3nwQPipBxBE3b/oUOCFaDdk/iTYX069+4M3rYFsZ8jthDC7UGUGAJAn1I7CiyKSz0UWtdr3ic6X4trNSn0tkBTCnuxJRLKPWFTD0wCCjAMQG9iBv2DhPeI0soyOprk9kvmnTu86FHXT4DE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DxIrtPfJcm6dEhQubHjaxJTPDANcuioebs0bAImR0ZP6E94/NGeH9sQ0qrD5SrmnHzkkTWN79354iz87fuTndzObPEn6Se40oFPeqcujbYnIa9IkKd7btAObEW0OTEtTJ2OsKip9uzgF4P45BVKBs2SOA23EvvpkA2A/xXDzk3U= Received: by 10.82.171.16 with SMTP id t16mr4796933bue.1195646569974; Wed, 21 Nov 2007 04:02:49 -0800 (PST) Received: by 10.82.172.7 with HTTP; Wed, 21 Nov 2007 04:02:49 -0800 (PST) Message-ID: Date: Wed, 21 Nov 2007 13:02:49 +0100 From: "felix winkelmann" To: "Ben Kurtz" Subject: Re: [Chicken-hackers] Re: Chicken-hackers Digest, Vol 15, Issue 5 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711201707.lAKH78kR005403@SMTP.WPI.EDU> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken-hackers@nongnu.org X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 12:02:58 -0000 On Nov 21, 2007 12:07 AM, Ben Kurtz wrote: > You're completely correct, the one big issue is page alignment. > Assuming that you are malloc'ing exactly one page, this should work > fine on OSX as well as Linux. > > Well, not "fine" exactly - This is undefined in POSIX because many > things about memory page alignment are not standardized, which means > that any code you write will be particularly susceptible to bit-rot > (kernel or hardware changes could break it). > > Are you doing this to make a block executable? > No, just to forbid read/write access to the currently inactive heap region. You can try it yourself by passing LOCKTOSPACE=1 to "make". Page-size is accessed with sysconf(), I don't know whether this is a portability issue. cheers, felix From MAILER-DAEMON Wed Nov 21 11:45:46 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iushu-0001SB-K1 for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 11:45:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iushs-0001Mq-4U for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 11:45:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iushr-0001LQ-BA for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 11:45:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iushr-0001L5-7E for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 11:45:43 -0500 Received: from castor.sshunet.nl ([145.97.192.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iushq-0007rS-CT for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 11:45:42 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id 7CF5357C00D for ; Wed, 21 Nov 2007 17:45:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jBqyH-d7ItKd for ; Wed, 21 Nov 2007 17:45:39 +0100 (CET) Received: from [145.97.223.169] (169pc223.sshunet.nl [145.97.223.169]) by castor.sshunet.nl (Postfix) with ESMTP for ; Wed, 21 Nov 2007 17:45:39 +0100 (CET) Message-ID: <47446080.4060109@gentoo.org> Date: Wed, 21 Nov 2007 17:44:48 +0100 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: chicken Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 16:45:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kon Lovett wrote: >> chicken ships its own copy of libpcre which has multiple vulnerabilities >> . > > Chicken ships w/ PCRE 7.4 No it doesn't. There are some nightly snapshots which contain this version, but no release. The 2.731 snapshot, (which I think is the latest that doesn't change anymore), fails make with: makeinfo --no-split chicken.texi echo "# define C_INSTALL_CC \"gcc\"" >>chicken-defaults.h Assembler messages: Fatal error: can't create apply-hack.x86-64/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file or directory This goes away if I don't build paralelly, but a similar error occurs a bit further down: echo "#define C_HACKED_APPLY" >>chicken-config.h cat chicken-defaults.h >>chicken-config.h gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \ -c -O2 -pipe -ggdb \ -DC_BUILDING_LIBCHICKEN library.c -o library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken Assembler messages: Fatal error: can't create library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file or directory library.c:36849: fatal error: error writing to -: Broken pipe compilation terminated. The bug is not reproducible, so it is likely a hardware or OS problem. And its snarky comment is a lie. This is very reproducible. Apparently it has some issues with directories. Using http://chicken.wiki.br/dev-snapshots/2007/11/21/chicken-2.732.tar.gz does nothing to improve the situation. I'll be talking to our security staff what to do, but you're making it very hard for me here, with only vulnerable releases and unusable snapshots. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRGCAp/VmCx0OL2wRAngDAJ4wf+CYDOjVLdiBf0osjtLVJSvbVgCgtTmY Dsb7lXjYDsIE84nncAUN2SY= =ZbZf -----END PGP SIGNATURE----- From MAILER-DAEMON Wed Nov 21 12:26:34 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IutLN-0004z1-Oc for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 12:26:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IutLM-0004xW-88 for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:26:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IutLJ-0004vK-OZ for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:26:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IutLJ-0004vH-K3 for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:26:29 -0500 Received: from atlas.ucpel.tche.br ([200.18.78.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IutLI-0003HR-N0 for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:26:29 -0500 Received: from localhost (localhost [127.0.0.1]) by atlas.ucpel.tche.br (Postfix) with ESMTP id C74A56141E6; Wed, 21 Nov 2007 15:26:07 -0200 (BRST) Received: from atlas.ucpel.tche.br ([127.0.0.1]) by localhost (atlas [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21630-09; Wed, 21 Nov 2007 15:26:06 -0200 (BRST) Received: by atlas.ucpel.tche.br (Postfix, from userid 2738) id 082D0614514; Wed, 21 Nov 2007 15:26:00 -0200 (BRST) Sender: mario@atlas.ucpel.tche.br To: "Marijn Schouten (hkBst)" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> From: Mario Domenech Goulart Date: 21 Nov 2007 15:26:00 -0200 In-Reply-To: <47446080.4060109@gentoo.org> Message-ID: Lines: 76 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ucpel.tche.br X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 17:26:32 -0000 Hi Marijn, On Wed, 21 Nov 2007 17:44:48 +0100 "Marijn Schouten (hkBst)" wrote: > Kon Lovett wrote: > >> chicken ships its own copy of libpcre which has multiple vulnerabilities > >> . > > > > Chicken ships w/ PCRE 7.4 > > No it doesn't. There are some nightly snapshots which contain this > version, but no release. The current release process is based on the nightly snapshots. The releases can be obtained from http://chicken.wiki.br/releases. The links actually point to the nightly snapshots dir structure. Some considerations about the nightly snapshots and the current development process: - the stable releases are obtained from svn chicken/branches/release, which is only updated when there is a new stable release (kind of obvious). - the development of chicken goes on other svn branches. The nightly snapshots are generated from the release branch, which is the most recent and stable chicken. Sorry if it all sounds confusing (or redundant, in case you know it already), but we had some changes in the development process recently, which are not very well documented. > The 2.731 snapshot, (which I think is the latest that doesn't change anymore), > fails make with: > > makeinfo --no-split chicken.texi > echo "# define C_INSTALL_CC \"gcc\"" >>chicken-defaults.h > Assembler messages: > Fatal error: can't create > apply-hack.x86-64/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file > or directory > > This goes away if I don't build paralelly, but a similar error occurs a bit > further down: > > echo "#define C_HACKED_APPLY" >>chicken-config.h > cat chicken-defaults.h >>chicken-config.h > gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \ > -c -O2 -pipe -ggdb \ > -DC_BUILDING_LIBCHICKEN library.c -o > library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken > Assembler messages: > Fatal error: can't create > library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file or > directory > library.c:36849: fatal error: error writing to -: Broken pipe > compilation terminated. > The bug is not reproducible, so it is likely a hardware or OS problem. > > And its snarky comment is a lie. This is very reproducible. Apparently it has > some issues with directories. Using > http://chicken.wiki.br/dev-snapshots/2007/11/21/chicken-2.732.tar.gz > does nothing to improve the situation. That's strange. chicken-2.732 has been being built on a x86 Linux machine every night to generate the daily release. Can you provide more info about your environment and the commands you are using to start the build process? Best wishes, Mario From MAILER-DAEMON Wed Nov 21 12:55:38 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IutnW-0000Pp-Kz for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 12:55:38 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IutnU-0000MM-M2 for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:55:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IutnT-0000Kz-Qy for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:55:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IutnT-0000Kn-Gw for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:55:35 -0500 Received: from castor.sshunet.nl ([145.97.192.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IutnS-00041q-Vj for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 12:55:35 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id EF60957C00D; Wed, 21 Nov 2007 18:55:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lAQo-9TafXMb; Wed, 21 Nov 2007 18:54:35 +0100 (CET) Received: from [145.97.223.169] (169pc223.sshunet.nl [145.97.223.169]) by castor.sshunet.nl (Postfix) with ESMTP; Wed, 21 Nov 2007 18:54:35 +0100 (CET) Message-ID: <474470A8.90904@gentoo.org> Date: Wed, 21 Nov 2007 18:53:44 +0100 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Mario Domenech Goulart Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 17:55:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mario Domenech Goulart wrote: > The nightly snapshots are generated from the release branch, which is > the most recent and stable chicken. Thanks for clarifying this. > Sorry if it all sounds confusing (or redundant, in case you know it > already), but we had some changes in the development process recently, > which are not very well documented. >> The 2.731 snapshot, (which I think is the latest that doesn't change anymore), >> fails make with: >> >> makeinfo --no-split chicken.texi >> echo "# define C_INSTALL_CC \"gcc\"" >>chicken-defaults.h >> Assembler messages: >> Fatal error: can't create >> apply-hack.x86-64/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file >> or directory >> >> This goes away if I don't build paralelly, but a similar error occurs a bit >> further down: >> >> echo "#define C_HACKED_APPLY" >>chicken-config.h >> cat chicken-defaults.h >>chicken-config.h >> gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \ >> -c -O2 -pipe -ggdb \ >> -DC_BUILDING_LIBCHICKEN library.c -o >> library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken >> Assembler messages: >> Fatal error: can't create >> library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file or >> directory >> library.c:36849: fatal error: error writing to -: Broken pipe >> compilation terminated. >> The bug is not reproducible, so it is likely a hardware or OS problem. >> >> And its snarky comment is a lie. This is very reproducible. Apparently it has >> some issues with directories. Using >> http://chicken.wiki.br/dev-snapshots/2007/11/21/chicken-2.732.tar.gz >> does nothing to improve the situation. > > That's strange. chicken-2.732 has been being built on a x86 Linux > machine every night to generate the daily release. > > Can you provide more info about your environment and the commands you > are using to start the build process? I'm working in directory /home/marijn/cvs/gentoo-x86/dev-scheme/chicken My build script unpacks the source to /var/tmp/portage/dev-scheme/chicken-2.731/work/chicken-2.731/ and runs make PLATFORM=linux PREFIX=/usr C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" after which it quickly fails with the above error. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRHCnp/VmCx0OL2wRAo5hAJ0aqHuqhac2OtCmzayKNS47jbzO8wCggswK 9qo42MRFm4uJ6frWTiZljkA= =wOii -----END PGP SIGNATURE----- From MAILER-DAEMON Wed Nov 21 14:27:30 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IuvEQ-0004M7-9w for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 14:27:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuvEO-0004K9-K9 for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 14:27:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuvEM-0004HY-SK for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 14:27:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuvEM-0004HE-H7 for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 14:27:26 -0500 Received: from earth.ccil.org ([192.190.237.11]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IuvEM-0002O6-5K for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 14:27:26 -0500 Received: from cowan by earth.ccil.org with local (Exim 4.63) (envelope-from ) id 1IuvEA-0000Oc-89; Wed, 21 Nov 2007 14:27:14 -0500 Date: Wed, 21 Nov 2007 14:27:14 -0500 To: "Marijn Schouten (hkBst)" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071121192714.GP10768@mercury.ccil.org> References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <474470A8.90904@gentoo.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: John Cowan X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 19:27:28 -0000 Marijn Schouten (hkBst) scripsit: > I'm working in directory > > /home/marijn/cvs/gentoo-x86/dev-scheme/chicken > > My build script unpacks the source to > > /var/tmp/portage/dev-scheme/chicken-2.731/work/chicken-2.731/ > > and runs > > make PLATFORM=linux PREFIX=/usr C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" This sounds like you are trying to build Chicken in a directory other than the source directory, but AFAIK current versions of Chicken don't support that. Furthermore, it's not enough to build the 2.732 snapshot, because it will not work against the current clutch of eggs; you have to just use it as a bootstrap and rebuild HEAD, or something very close to HEAD. It's also important to note that if you are building on a x86_64 system with a 32-bit userland, you need to say "ARCH=x86" on the "make" command line. -- John Cowan cowan@ccil.org I am a member of a civilization. --David Brin From MAILER-DAEMON Wed Nov 21 17:01:33 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IuxdV-00028b-84 for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 17:01:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuxdS-00024Y-9V for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:01:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuxdR-00022N-1x for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:01:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuxdQ-000222-MS for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:01:28 -0500 Received: from wa-out-1112.google.com ([209.85.146.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuxdI-0006u3-UM for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:01:28 -0500 Received: by wa-out-1112.google.com with SMTP id k22so3240589waf for ; Wed, 21 Nov 2007 14:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+NObIGKGpCrUKORWcXT35acgYt6um3buhCD7SiMrZfo=; b=B5E/YZEV4cAXx5P8gQUAiUwRMGcFIVgJTEpgUtYapQCpWHFjvhlnFc4Suv4j7DqVfkBcoLYQq53TyL6pawUpflsvN6OEfhCDtxLjqERwaL6EWkSjat7bIvuY1IYJ6UjrcrP2gu4X9EnYLDM9XKrUEPqM0Bl0DMgLfVZmISJ/Qt4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AhuuC/x0g1jgkpBMeNVYIYy9bHEn1YlwUT1KmrWdM+/nsFONWSaMKc6t+vgATLXLPDnR6GjspMxy+I03FYiJCsHAYtLiN4xC5IRH25ybt7HzIRrbR8y3mSgQAhKuLL8m6KgwtSKhldUJ3af8MaCjh5ofivEAAx1tRgK8hX8jShE= Received: by 10.114.124.1 with SMTP id w1mr996617wac.1195682477014; Wed, 21 Nov 2007 14:01:17 -0800 (PST) Received: by 10.114.160.2 with HTTP; Wed, 21 Nov 2007 14:01:16 -0800 (PST) Message-ID: <189d4a0b0711211401p5559afe2s9c5764b42ee006c5@mail.gmail.com> Date: Wed, 21 Nov 2007 16:01:16 -0600 From: Zbigniew To: "John Cowan" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE In-Reply-To: <20071121192714.GP10768@mercury.ccil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 22:01:30 -0000 On 11/21/07, John Cowan wrote: > because it will not work against the current clutch of eggs Although we've put talk of a module system on hold for the present, I must say that "clutch" is the first name for a module system that I actually like; not only for the chicken connotation, but for another meaning: "an arrangement for connecting and disconnecting the working parts of any machine". And it would be fun to say '(use clutch)'. Zb From MAILER-DAEMON Wed Nov 21 17:19:32 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iuxuu-00010L-8c for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 17:19:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iuxus-0000wZ-4B for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:19:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iuxuo-0000rQ-Of for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:19:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iuxuo-0000r5-IR for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:19:26 -0500 Received: from castor.sshunet.nl ([145.97.192.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iuxum-0005jJ-Mk for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 17:19:25 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id 1342457C007 for ; Wed, 21 Nov 2007 23:19:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TJ8Lza4omjQ6 for ; Wed, 21 Nov 2007 23:19:23 +0100 (CET) Received: from [145.97.223.169] (169pc223.sshunet.nl [145.97.223.169]) by castor.sshunet.nl (Postfix) with ESMTP for ; Wed, 21 Nov 2007 23:19:22 +0100 (CET) Message-ID: <4744AEB6.8040905@gentoo.org> Date: Wed, 21 Nov 2007 23:18:30 +0100 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: chicken Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> In-Reply-To: <20071121192714.GP10768@mercury.ccil.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 22:19:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Cowan wrote: > Marijn Schouten (hkBst) scripsit: > >> I'm working in directory >> >> /home/marijn/cvs/gentoo-x86/dev-scheme/chicken >> >> My build script unpacks the source to >> >> /var/tmp/portage/dev-scheme/chicken-2.731/work/chicken-2.731/ >> >> and runs >> >> make PLATFORM=linux PREFIX=/usr C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" > > This sounds like you are trying to build Chicken in a directory other > than the source directory, but AFAIK current versions of Chicken > don't support that. It's not what's happening. I'm unpacking, (implicitly) cd'ing to that directory and building there. I don't know how it is picking up the directory from which I'm running the script. > Furthermore, it's not enough to build the 2.732 snapshot, because > it will not work against the current clutch of eggs; you have > to just use it as a bootstrap and rebuild HEAD, or something very > close to HEAD. I don't fully understand. You're saying the current snapshot of the stable release is useless except for bootstrapping? Does this have anything to do with egg versioning or lack thereof? > It's also important to note that if you are building on a x86_64 > system with a 32-bit userland, you need to say "ARCH=x86" on the > "make" command line. I am building on amd64 with amd64 userland. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRK62p/VmCx0OL2wRApZfAJ4qn/1Wl3mpIWgjNG7vgeQQibn2DACfTajR w11OcVG1JxJrk4sHiiiDVzE= =Fwzm -----END PGP SIGNATURE----- From MAILER-DAEMON Wed Nov 21 21:47:16 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iv260-00051y-LF for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 21:47:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iv25y-0004zu-UP for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 21:47:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iv25x-0004xb-8A for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 21:47:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iv25x-0004xC-5P for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 21:47:13 -0500 Received: from earth.ccil.org ([192.190.237.11]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iv25w-0000Jx-Ir for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 21:47:12 -0500 Received: from cowan by earth.ccil.org with local (Exim 4.63) (envelope-from ) id 1Iv25t-0004J7-Gc; Wed, 21 Nov 2007 21:47:09 -0500 Date: Wed, 21 Nov 2007 21:47:09 -0500 To: "Marijn Schouten (hkBst)" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071122024709.GE15975@mercury.ccil.org> References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4744AEB6.8040905@gentoo.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: John Cowan X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 02:47:15 -0000 Marijn Schouten (hkBst) scripsit: > I don't fully understand. You're saying the current snapshot of the > stable release is useless except for bootstrapping? Does this have > anything to do with egg versioning or lack thereof? "Stable" is not a word applicable to Chicken at present, maybe not ever. The best available Chicken is HEAD, most of the time; when HEAD has a regression, Felix fixes it almost immediately. The egg infrastructure rebuilds all eggs against HEAD. However, you can't do a virgin build of HEAD, because HEAD doesn't contain the pre-compiled C source of the Chicken compiler, whereas the tarballs do. Therefore, you need to build a tarball first, then build HEAD thereafter. Only if you get too far behind HEAD will you need to grab another tarball. -- The Imperials are decadent, 300 pound John Cowan free-range chickens (except they have http://www.ccil.org/~cowan teeth, arms instead of wings, and dinosaurlike tails). --Elyse Grasso From MAILER-DAEMON Wed Nov 21 22:38:59 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iv2u3-0002Ly-HD for mharc-chicken-hackers@gnu.org; Wed, 21 Nov 2007 22:38:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iv2u0-0002L9-0U for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 22:38:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iv2ty-0002Jt-6N for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 22:38:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iv2ty-0002JY-1T for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 22:38:54 -0500 Received: from atlas.ucpel.tche.br ([200.18.78.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iv2tx-00062c-En for chicken-hackers@nongnu.org; Wed, 21 Nov 2007 22:38:53 -0500 Received: from localhost (localhost [127.0.0.1]) by atlas.ucpel.tche.br (Postfix) with ESMTP id D6C1C614561; Thu, 22 Nov 2007 01:38:34 -0200 (BRST) Received: from atlas.ucpel.tche.br ([127.0.0.1]) by localhost (atlas [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23028-08; Thu, 22 Nov 2007 01:38:33 -0200 (BRST) Received: by atlas.ucpel.tche.br (Postfix, from userid 2738) id 4E7BD6142DD; Thu, 22 Nov 2007 01:38:32 -0200 (BRST) Sender: mario@atlas.ucpel.tche.br To: John Cowan Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> From: Mario Domenech Goulart Date: 22 Nov 2007 01:38:31 -0200 In-Reply-To: <20071122024709.GE15975@mercury.ccil.org> Message-ID: Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ucpel.tche.br X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 03:38:56 -0000 Hi folks, On Wed, 21 Nov 2007 21:47:09 -0500 John Cowan wrote: > Marijn Schouten (hkBst) scripsit: > > > I don't fully understand. You're saying the current snapshot of the > > stable release is useless except for bootstrapping? Does this have > > anything to do with egg versioning or lack thereof? > > "Stable" is not a word applicable to Chicken at present, maybe not ever. > The best available Chicken is HEAD, most of the time; when HEAD has a > regression, Felix fixes it almost immediately. The egg infrastructure > rebuilds all eggs against HEAD. > > However, you can't do a virgin build of HEAD, because HEAD doesn't > contain the pre-compiled C source of the Chicken compiler, whereas the > tarballs do. Therefore, you need to build a tarball first, then build > HEAD thereafter. Only if you get too far behind HEAD will you need to > grab another tarball. Some more words: Stable releases => http://chicken.wiki.br/releases Also called "tarballs". The release tarballs _don't_ need chicken for bootstrapping. A C compiler is enough. The tarballs are generated every night from https://anonymous@chicken.wiki.br/svn/chicken-eggs/chicken/branches/release (the tarball-generator performs the bootstrapping using the most recent stable release available). Development code => https://anonymous@chicken.wiki.br/svn/chicken-eggs/chicken/branches/trunk (and other branches except "release") The code from svn trunk is used to build all the eggs once a day. The results are available at http://chicken.wiki.br/automated-builds. See more details about these processes at http://chicken.wiki.br/periodic-tasks. Best wishes, Mario From MAILER-DAEMON Thu Nov 22 17:04:58 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvKAM-00066d-Pi for mharc-chicken-hackers@gnu.org; Thu, 22 Nov 2007 17:04:58 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvKAK-00061J-9Q for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 17:04:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvKAI-0005xV-Ms for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 17:04:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvKAI-0005x5-By for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 17:04:54 -0500 Received: from earth.ccil.org ([192.190.237.11]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IvKAH-0000vB-QX for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 17:04:53 -0500 Received: from cowan by earth.ccil.org with local (Exim 4.63) (envelope-from ) id 1IvKA5-00025T-LI; Thu, 22 Nov 2007 17:04:41 -0500 Date: Thu, 22 Nov 2007 17:04:41 -0500 To: Mario Domenech Goulart Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071122220441.GC13281@mercury.ccil.org> References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: John Cowan X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 22:04:56 -0000 Mario Domenech Goulart scripsit: > Stable releases => http://chicken.wiki.br/releases These may be stable in the sense that the bits in them, exept for the most recent instance, don't change: but they are not "stable releases" as generally understood. They are not specially tested or debugged; about the only guarantee is that they do actually build. They may not work with the current egg repository or anything else. > Development code => https://anonymous@chicken.wiki.br/svn/chicken-eggs/chicken/branches/trunk Not chicken/branches/trunk but chicken/trunk. > The code from svn trunk is used to build all the eggs once a day. This is why I say that the HEAD of trunk is the best and most useful available Chicken, except when it happens to be regressed, in which case a complaint to Felix will almost always bring a quick fix. > See more details about these processes at http://chicken.wiki.br/periodic-tasks. The word "stable" does not appear on that page, and IMO should not. -- John Cowan http://www.ccil.org/~cowan It's like if you meet an really old, really rich guy covered in liver spots and breathing with an oxygen tank, and you say, "I want to be rich, too, so I'm going to start walking with a cane and I'm going to act crotchety and I'm going to get liver disease. --Wil Shipley From MAILER-DAEMON Thu Nov 22 18:28:28 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvLTA-0003Z3-QP for mharc-chicken-hackers@gnu.org; Thu, 22 Nov 2007 18:28:28 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvLT8-0003Xy-BF for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 18:28:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvLT6-0003XK-M5 for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 18:28:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvLT6-0003XF-Ha for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 18:28:24 -0500 Received: from atlas.ucpel.tche.br ([200.18.78.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvLT5-0007CA-Um for chicken-hackers@nongnu.org; Thu, 22 Nov 2007 18:28:24 -0500 Received: from localhost (localhost [127.0.0.1]) by atlas.ucpel.tche.br (Postfix) with ESMTP id A4D34614042; Thu, 22 Nov 2007 21:27:57 -0200 (BRST) Received: from atlas.ucpel.tche.br ([127.0.0.1]) by localhost (atlas [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12653-05; Thu, 22 Nov 2007 21:27:56 -0200 (BRST) Received: by atlas.ucpel.tche.br (Postfix, from userid 2738) id C84F6614005; Thu, 22 Nov 2007 21:27:56 -0200 (BRST) Sender: mario@atlas.ucpel.tche.br To: John Cowan Subject: Re: ***SPAM*** Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> <20071122220441.GC13281@mercury.ccil.org> From: Mario Domenech Goulart Date: 22 Nov 2007 21:27:56 -0200 In-Reply-To: <20071122220441.GC13281@mercury.ccil.org> Message-ID: Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ucpel.tche.br X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 23:28:26 -0000 Hi John and folks, On Thu, 22 Nov 2007 17:04:41 -0500 John Cowan wrote: > Mario Domenech Goulart scripsit: > > > Stable releases => http://chicken.wiki.br/releases > > These may be stable in the sense that the bits in them, exept for the > most recent instance, don't change: but they are not "stable releases" > as generally understood. They are not specially tested or debugged; > about the only guarantee is that they do actually build. They may not > work with the current egg repository or anything else. > > > Development code => https://anonymous@chicken.wiki.br/svn/chicken-eggs/chicken/branches/trunk > > Not chicken/branches/trunk but chicken/trunk. Yes, thanks for pointing that (I made a mistake when hand-editing the link). > > The code from svn trunk is used to build all the eggs once a day. > > This is why I say that the HEAD of trunk is the best and most useful > available Chicken, except when it happens to be regressed, in which case > a complaint to Felix will almost always bring a quick fix. Actually all the releases go through the salmonella runs. When Felix thinks it's stable enough, we have a new release. Eventually it may be buggy, as most (if not all) "stable" software are, but when it's released, it's supposed to be stable, specially in the sense that the code "won't change". When I say chicken- I know what code I'm talking about (even if it is buggy); when I say "chicken from svn trunk", it is a moving target -- it may contain fixes for bugs I found out yesterday and implemented a workaround, which may be invalid with the trunk I get today. Anyway, maybe that's just a slightly different view of the "stable" word. The fact is that we have a release tarball (supposedly "bug free"; given a version number, the code doesn't change and it doesn't need chicken to be compiled) and the svn branches code (development code, constantly changing and needs chicken to be bootstrapped). Best wishes, Mario From MAILER-DAEMON Fri Nov 23 00:19:59 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvQxL-0000KD-GG for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 00:19:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvQxK-0000Is-4p for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 00:19:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvQxI-0000Id-4Z for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 00:19:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvQxH-0000Ia-WD for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 00:19:56 -0500 Received: from earth.ccil.org ([192.190.237.11]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IvQxH-00075g-Gj for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 00:19:55 -0500 Received: from cowan by earth.ccil.org with local (Exim 4.63) (envelope-from ) id 1IvQx6-00036i-Fx; Fri, 23 Nov 2007 00:19:44 -0500 Date: Fri, 23 Nov 2007 00:19:44 -0500 To: Mario Domenech Goulart Subject: Re: ***SPAM*** Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071123051944.GH13281@mercury.ccil.org> References: <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> <20071122220441.GC13281@mercury.ccil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: John Cowan X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 05:19:58 -0000 Mario Domenech Goulart scripsit: > Anyway, maybe that's just a slightly different view of the "stable" > word. The fact is that we have a release tarball (supposedly "bug > free"; given a version number, the code doesn't change and it doesn't > need chicken to be compiled) and the svn branches code (development > code, constantly changing and needs chicken to be bootstrapped). Fair enough. Since the tarballs don't come with eggs (there is only one egg repository), in effect you have the best hope of using eggs if you have the trunk code replaced. To have what other projects mean by stable releases, we'd have to branch the egg repository with each release and make sure that chicken-setup from a tarball invokes the correct set of eggs. That way you could load 2.731 and get the 2.731-usable eggs with it. -- John Cowan http://ccil.org/~cowan cowan@ccil.org In might the Feanorians / that swore the unforgotten oath brought war into Arvernien / with burning and with broken troth. and Elwing from her fastness dim / then cast her in the waters wide, but like a mew was swiftly borne, / uplifted o'er the roaring tide. --the Earendillinwe From MAILER-DAEMON Fri Nov 23 06:37:12 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvWqO-0005ni-L3 for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 06:37:12 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvWqN-0005nP-04 for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:37:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvWqK-0005mn-Gi for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:37:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvWqK-0005mR-Az for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:37:08 -0500 Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvWqK-00012o-1s for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:37:08 -0500 Received: by nf-out-0910.google.com with SMTP id 30so3005043nfu for ; Fri, 23 Nov 2007 03:37:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=WfPbmtCmyOL2DvHmFnnBdRXenjZYsnge9trjW+k1+TA=; b=Ba2Uu4W7MTe29pvpkqtLx/vSsfjOSlcOZ1J0ilJu+3ckgKTsjRyOUN77Sec6QasYJza0gO/osJPiC3M2KrsQc87KpzyfCv3cTVwtvS7htdkbX5UeQVb+xOBZRhhxwaenCj96QtvXagK+myTtlpSZqTwYrvZtz9XOuP5mjc1VVL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P6drgKTq1c5EmiKQ2a9lFoLPZYCVCPM9wKRLtD5BRdSIkzMJoYC6FORshfeO3yLuUoZdVSfZ27CfkE+f6Fs/WtcLG/lMA7wc3IkwstyTXVd0tdLNxot6BU29VXbId7Y/mNo+FxNX4v1Bu/SfbCICFAK3OnoHegG/NDGLpiFJTEU= Received: by 10.82.138.6 with SMTP id l6mr2851069bud.1195817825975; Fri, 23 Nov 2007 03:37:05 -0800 (PST) Received: by 10.82.172.7 with HTTP; Fri, 23 Nov 2007 03:37:05 -0800 (PST) Message-ID: Date: Fri, 23 Nov 2007 12:37:05 +0100 From: "felix winkelmann" To: "Marijn Schouten (hkBst)" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE In-Reply-To: <47446080.4060109@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 11:37:11 -0000 On Nov 21, 2007 5:44 PM, Marijn Schouten (hkBst) wrote: > > echo "#define C_HACKED_APPLY" >>chicken-config.h > cat chicken-defaults.h >>chicken-config.h > gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \ > -c -O2 -pipe -ggdb \ > -DC_BUILDING_LIBCHICKEN library.c -o > library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken > Assembler messages: > Fatal error: can't create > library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file or > directory > library.c:36849: fatal error: error writing to -: Broken pipe > compilation terminated. > The bug is not reproducible, so it is likely a hardware or OS problem. > > And its snarky comment is a lie. This is very reproducible. Apparently it has > some issues with directories. Using > http://chicken.wiki.br/dev-snapshots/2007/11/21/chicken-2.732.tar.gz > does nothing to improve the situation. > How do you invoke "make"? cheers, felix From MAILER-DAEMON Fri Nov 23 06:40:01 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvWt7-0006pY-JS for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 06:40:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvWt5-0006oM-LY for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:39:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvWt3-0006mx-Ug for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:39:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvWt2-0006mN-Nv for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:39:57 -0500 Received: from mu-out-0910.google.com ([209.85.134.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvWt2-00022e-9E for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:39:56 -0500 Received: by mu-out-0910.google.com with SMTP id i2so4549227mue for ; Fri, 23 Nov 2007 03:39:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=eec9aOurIIxiZ7VzHeS5LMvOXLHN5zKQBt+/5jR2WzY=; b=YRpE0xZmljAi7m8MOfoq1Z1wvpnpgSOR73fBOoteBG/3z799vln93R1L796Ko5wyfF2iL36NRu82sHSylkwZ4xy3AXad4XWiAjMZKpxNbLyM8oHIJHJ/bIi06NO/25iw7H9uGLjhoGn3Eg/UqH5wF4H6KGI9u4vJSkRj3fk4DZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZDSL0cgixUNVkRFDz1teXRz5V256Ge2yZAJYb/2IWx7oGvr4mKr1UGmihydJbE1dujhb7jTH5YldkUIIl2m4skLXDhcnZgtZTCNlxDcuNyKZG58dcqq8V4g+KvWDZ0curmy+WrYJqWAtJGmpSbt14dKHfH8e3RCUm/1goj6vd9A= Received: by 10.82.106.14 with SMTP id e14mr26677832buc.1195817994459; Fri, 23 Nov 2007 03:39:54 -0800 (PST) Received: by 10.82.172.7 with HTTP; Fri, 23 Nov 2007 03:39:54 -0800 (PST) Message-ID: Date: Fri, 23 Nov 2007 12:39:54 +0100 From: "felix winkelmann" To: "John Cowan" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE In-Reply-To: <20071122220441.GC13281@mercury.ccil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> <20071122220441.GC13281@mercury.ccil.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 11:40:00 -0000 On Nov 22, 2007 11:04 PM, John Cowan wrote: > Mario Domenech Goulart scripsit: > > > Stable releases => http://chicken.wiki.br/releases > > These may be stable in the sense that the bits in them, exept for the > most recent instance, don't change: but they are not "stable releases" > as generally understood. They are not specially tested or debugged; > about the only guarantee is that they do actually build. They may not > work with the current egg repository or anything else. The tarballs get built from the release branch, which doesn't change that frequently (a new release is badly needed, but there still is a bit of work to do). It is very difficult to both react quickly to bug reports, and otherwise provide stability. cheers, felix From MAILER-DAEMON Fri Nov 23 06:44:21 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvWxJ-0000E5-9j for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 06:44:21 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvWxH-0000Co-St for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:44:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvWxG-0000BK-Ms for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:44:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvWxG-0000BA-Jr for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:44:18 -0500 Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvWxG-0003yD-0x for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 06:44:18 -0500 Received: by nf-out-0910.google.com with SMTP id 30so3006715nfu for ; Fri, 23 Nov 2007 03:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8F9lZmDnsDa3qVJ2S4sm11LFuWlD8PMzpPO6LsEyGJc=; b=Zi/uyLbX8pDqzrODdAjarAcHNm9GMkEIjHmhmPwLSA149JGUPen7JxobNE6oDDL/HunuLBuIemyW5YRYTs+2npnrvTLgOPumdHL1tem2V5Ospps83JqRHfsD48axYl3TDS5O/3hFZrjpdmvQZc2Y5az8IDhJpAboynitNXjtATE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jYHs4BvS9TKS5v9dSvhDv/iIP70G1PdW6om2dmKldLOH8Eh/IORpDVPc2KYJNB3LMB/2PJui87gt3AOpXG2XW7TPdNZnqCb91GtDp9N1DLQYEYTtQqWatnVG2gEH5XJy4d4vW8rEpCY60R2hvDHb/3P7RspEkRHGt4/n2L09uzQ= Received: by 10.82.184.2 with SMTP id h2mr1111794buf.1195818256453; Fri, 23 Nov 2007 03:44:16 -0800 (PST) Received: by 10.82.172.7 with HTTP; Fri, 23 Nov 2007 03:44:16 -0800 (PST) Message-ID: Date: Fri, 23 Nov 2007 12:44:16 +0100 From: "felix winkelmann" To: "John Cowan" Subject: Re: ***SPAM*** Re: [Chicken-hackers] multiple issues in embedded PCRE In-Reply-To: <20071123051944.GH13281@mercury.ccil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> <20071122220441.GC13281@mercury.ccil.org> <20071123051944.GH13281@mercury.ccil.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 11:44:20 -0000 On Nov 23, 2007 6:19 AM, John Cowan wrote: > > Fair enough. Since the tarballs don't come with eggs (there is only > one egg repository), in effect you have the best hope of using > eggs if you have the trunk code replaced. To have what other > projects mean by stable releases, we'd have to branch the > egg repository with each release and make sure that chicken-setup > from a tarball invokes the correct set of eggs. That way you > could load 2.731 and get the 2.731-usable eggs with it. > I lord... Even though I feel that this is the only really working solution, the amount of storage, bandwidth and the added complexity for the tools makes my head spin... Is this a viable approach? What do others think? How could one keep track of bugfixes merged from one branch to the other? Is svn flexible enough for this? Any opinions? cheers, felix From MAILER-DAEMON Fri Nov 23 07:31:11 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvXgd-0000zb-Eu for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 07:31:11 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvXgc-0000yz-1g for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:31:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvXgZ-0000yk-HP for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:31:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvXgZ-0000yf-D4 for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:31:07 -0500 Received: from pollux.sshunet.nl ([145.97.192.42]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvXgZ-000428-5R for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:31:07 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by pollux.sshunet.nl (Postfix) with ESMTP id 2D36D580010; Fri, 23 Nov 2007 13:31:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at pollux.warande.net Received: from pollux.sshunet.nl ([127.0.0.1]) by localhost (pollux.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2DOuXZ3O44yQ; Fri, 23 Nov 2007 13:31:04 +0100 (CET) Received: from [145.97.222.57] (57pc222.sshunet.nl [145.97.222.57]) by pollux.sshunet.nl (Postfix) with ESMTP; Fri, 23 Nov 2007 13:31:04 +0100 (CET) Message-ID: <4746C9D8.2050206@gentoo.org> Date: Fri, 23 Nov 2007 13:38:48 +0100 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: chicken Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 12:31:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 felix winkelmann wrote: > On Nov 21, 2007 5:44 PM, Marijn Schouten (hkBst) wrote: >> echo "#define C_HACKED_APPLY" >>chicken-config.h >> cat chicken-defaults.h >>chicken-config.h >> gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \ >> -c -O2 -pipe -ggdb \ >> -DC_BUILDING_LIBCHICKEN library.c -o >> library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken >> Assembler messages: >> Fatal error: can't create >> library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file or >> directory >> library.c:36849: fatal error: error writing to -: Broken pipe >> compilation terminated. >> The bug is not reproducible, so it is likely a hardware or OS problem. >> >> And its snarky comment is a lie. This is very reproducible. Apparently it has >> some issues with directories. Using >> http://chicken.wiki.br/dev-snapshots/2007/11/21/chicken-2.732.tar.gz >> does nothing to improve the situation. >> > > How do you invoke "make"? There is a src_compile function in ebuilds and for chicken I use: src_compile() { OPTIONS="PLATFORM=linux PREFIX=/usr" make ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" || die } it gets called from the directory wherein the source was unpacked (or else it would find no makefile). I'm not sure what else I can say about it. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRsnYp/VmCx0OL2wRAjghAJ9xoFyGzF+rq1SE3sy1jXy89XIYvgCgweiI bMl3+sUA1K+X2RsvrpxPgeI= =PzD4 -----END PGP SIGNATURE----- From MAILER-DAEMON Fri Nov 23 07:37:15 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvXmV-0005eY-JA for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 07:37:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvXmT-0005dm-Ha for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:37:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvXmR-0005dD-GF for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:37:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvXmR-0005d2-7B for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:37:11 -0500 Received: from atlas.ucpel.tche.br ([200.18.78.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvXmQ-0006QD-VX for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 07:37:11 -0500 Received: from localhost (localhost [127.0.0.1]) by atlas.ucpel.tche.br (Postfix) with ESMTP id E8B7B614252; Fri, 23 Nov 2007 10:37:05 -0200 (BRST) Received: from atlas.ucpel.tche.br ([127.0.0.1]) by localhost (atlas [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04146-02; Fri, 23 Nov 2007 10:37:05 -0200 (BRST) Received: by atlas.ucpel.tche.br (Postfix, from userid 2738) id E844B6141CC; Fri, 23 Nov 2007 10:37:04 -0200 (BRST) Sender: mario@atlas.ucpel.tche.br To: "Marijn Schouten (hkBst)" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> <4746C9D8.2050206@gentoo.org> From: Mario Domenech Goulart Date: 23 Nov 2007 10:37:04 -0200 In-Reply-To: <4746C9D8.2050206@gentoo.org> Message-ID: Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ucpel.tche.br X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 12:37:13 -0000 Hi Marijn, On Fri, 23 Nov 2007 13:38:48 +0100 "Marijn Schouten (hkBst)" wrote: > felix winkelmann wrote: > > > > How do you invoke "make"? > > There is a src_compile function in ebuilds and for chicken I use: > > src_compile() { > OPTIONS="PLATFORM=linux PREFIX=/usr" > make ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" || die > } > > it gets called from the directory wherein the source was unpacked (or else it > would find no makefile). I'm not sure what else I can say about it. Can you send me the ebuild file? My home machine runs Gentoo, so I can try the ebuild to see what happens. Best wishes, Mario From MAILER-DAEMON Fri Nov 23 08:00:43 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvY9D-0005eP-1P for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 08:00:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvY9A-0005dw-HL for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:00:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvY98-0005d0-18 for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:00:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvY97-0005cx-40 for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:00:37 -0500 Received: from atlas.ucpel.tche.br ([200.18.78.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvY95-0004so-PQ for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:00:37 -0500 Received: from localhost (localhost [127.0.0.1]) by atlas.ucpel.tche.br (Postfix) with ESMTP id 4B59B614406; Fri, 23 Nov 2007 11:00:28 -0200 (BRST) Received: from atlas.ucpel.tche.br ([127.0.0.1]) by localhost (atlas [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06682-07; Fri, 23 Nov 2007 11:00:27 -0200 (BRST) Received: by atlas.ucpel.tche.br (Postfix, from userid 2738) id 63CBC6143F6; Fri, 23 Nov 2007 11:00:27 -0200 (BRST) Sender: mario@atlas.ucpel.tche.br To: John Cowan Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <47446080.4060109@gentoo.org> <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> <20071122220441.GC13281@mercury.ccil.org> <20071123051944.GH13281@mercury.ccil.org> From: Mario Domenech Goulart Date: 23 Nov 2007 11:00:27 -0200 In-Reply-To: <20071123051944.GH13281@mercury.ccil.org> Message-ID: Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ucpel.tche.br X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 13:00:41 -0000 On Fri, 23 Nov 2007 00:19:44 -0500 John Cowan wrote: > Mario Domenech Goulart scripsit: > > > Anyway, maybe that's just a slightly different view of the "stable" > > word. The fact is that we have a release tarball (supposedly "bug > > free"; given a version number, the code doesn't change and it doesn't > > need chicken to be compiled) and the svn branches code (development > > code, constantly changing and needs chicken to be bootstrapped). > > Fair enough. Since the tarballs don't come with eggs (there is only > one egg repository), in effect you have the best hope of using > eggs if you have the trunk code replaced. Nowadays, as far as I can see, the eggs are informally "release-oriented", that is, egg authors tend to keep their eggs working for the latest release. The current trunk situation kind of illustrates this fact. Several eggs which work with the current release don't work with chicken from trunk (because of procedures/macros that have been removed), but it is not considered a serious issue because trunk code means development code. The opposite (i.e., eggs that work with trunk but not with the release) is quite rare and people usually complain when it happens. > To have what other projects mean by stable releases, we'd have to > branch the egg repository with each release and make sure that > chicken-setup from a tarball invokes the correct set of eggs. That > way you could load 2.731 and get the 2.731-usable eggs with it. Yeah, that would be the ideal situation. PS: sorry for the "*** SPAM ***" tag on the previous message. It was automatically inserted by the anti-spam software (which is pretty dumb sometimes). Best wishes, Mario From MAILER-DAEMON Fri Nov 23 08:02:14 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvYAg-00066Z-Aq for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 08:02:14 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvYAd-00066E-TC for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:02:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvYAV-00060l-4J for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:02:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvYAU-00060R-Ab for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:02:02 -0500 Received: from smtp-vbr15.xs4all.nl ([194.109.24.35]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvYAR-00052s-VM for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 08:02:02 -0500 Received: from frohike.homeunix.org (frohike.xs4all.nl [80.126.188.214]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAND19fH038646 for ; Fri, 23 Nov 2007 14:01:09 +0100 (CET) (envelope-from Peter.Bex@xs4all.nl) Received: by frohike.homeunix.org (Postfix, from userid 1000) id AB8BBF7DFAB; Fri, 23 Nov 2007 14:03:15 +0100 (CET) Date: Fri, 23 Nov 2007 14:03:15 +0100 From: Peter Bex To: chicken Subject: Re: ***SPAM*** Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071123130315.GH26363@frohike.homeunix.org> Mail-Followup-To: chicken References: <474470A8.90904@gentoo.org> <20071121192714.GP10768@mercury.ccil.org> <4744AEB6.8040905@gentoo.org> <20071122024709.GE15975@mercury.ccil.org> <20071122220441.GC13281@mercury.ccil.org> <20071123051944.GH13281@mercury.ccil.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NPukt5Otb9an/u20" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://sjamaan.ath.cx/pubkey.txt X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 13:02:12 -0000 --NPukt5Otb9an/u20 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 23, 2007 at 12:44:16PM +0100, felix winkelmann wrote: > On Nov 23, 2007 6:19 AM, John Cowan wrote: > > > > Fair enough. Since the tarballs don't come with eggs (there is only > > one egg repository), in effect you have the best hope of using > > eggs if you have the trunk code replaced. To have what other > > projects mean by stable releases, we'd have to branch the > > egg repository with each release and make sure that chicken-setup > > from a tarball invokes the correct set of eggs. That way you > > could load 2.731 and get the 2.731-usable eggs with it. > > >=20 > I lord... Even though I feel that this is the only really working solutio= n, > the amount of storage, bandwidth and the added complexity for the > tools makes my head spin... I don't think the tools need to be changed. You just need to point chicken-setup at a specific version of the egg tarball repository and it defaults to the one that matches the version, I think. > Is this a viable approach? What do others think? How could one keep > track of bugfixes merged from one branch to the other? Is svn flexible > enough for this? Any opinions? Do we really need a branch? Just tagging the egg repos should be enough once a version is released, no? The egg repos wouldn't change, since the chicken version is pinned to a stable non-changing version too. Afaik you can only merge properly in one direction in svn. You can merge bugfixes from a branch you're working on to other branches and to trunk. I think if you always merge every change from the branch to all branches, you can control it pretty easily. You know the revision numbers to merge because you can ask 'svn info' the version before you start fixing the bug and you get it after checked in your changes (message "commited revision X") Otherwise, you could keep a list of merges from branch revisions in the branch directory of other versions, but that quickly becomes a headache unless you have a clear protocol on how to go about merging. You can't apply the same diff twice to a branch so this can easily cause problems. My colleague tells me the svn team is working towards a solution for this problem. Cheers, Peter --=20 http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth --NPukt5Otb9an/u20 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (NetBSD) iQEVAwUBR0bPk9OrBFwYag3gAQK1Vgf+NzN8ZVwo4oRF+C6UNA/GfKS6vUzNa7Fb 1QtPNgY/IQ9iCWFfkqqRa3lkC045v96d3wZd2Purr31aLCZCKXDqgv85YyRqJxWE NKMvxtI784r4nW361TWWSNCua5BVu6MU2Nd/CZu4wcuwGK40AUB5uUWCxYXNhAur waR4Vqy2WJg/DBNFmunZ8vrXc1fxY5g7LE8KmkI/7/lEyxfuf6/009IQtoenymd2 KJhZ/4Aa5dU9ktMORKp365lTxMwZioI/nOCNhhDunZ0mocifQqfwG8KD4vF83nfP w7Prtf+/EakZvOJ1cpax9NPS4kcWNmNM2y1aS3WgavxqBjZquMEodA== =WtZJ -----END PGP SIGNATURE----- --NPukt5Otb9an/u20-- From MAILER-DAEMON Fri Nov 23 09:15:21 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvZJQ-0003nX-Qo for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 09:15:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvZJP-0003lz-7x for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 09:15:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvZJN-0003kf-Cj for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 09:15:18 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvZJN-0003kN-7M for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 09:15:17 -0500 Received: from mx.asu.ru ([82.179.20.33] helo=ns.asu.ru) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IvZJM-0006Zn-Fw for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 09:15:16 -0500 Received: (qmail 24919 invoked by uid 1002); 23 Nov 2007 14:15:08 -0000 Received: from unknown (HELO th2.phys.asu.ru) (82.179.21.199) by ns.asu.ru with SMTP; 23 Nov 2007 14:15:08 -0000 Received: from localhost ([127.0.0.1] helo=cherry.siamics.int) by th2.phys.asu.ru with esmtp (Exim 4.63) (envelope-from ) id 1IvZJE-0004pR-JE; Fri, 23 Nov 2007 20:15:09 +0600 To: chicken-hackers@nongnu.org From: Ivan Shmakov Date: Fri, 23 Nov 2007 20:15:07 +0600 Message-ID: Lines: 39 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Draft-From: ("nndir:/var/home/ivan/tmp/suck/articles/gmane.lisp.scheme.chicken.devel") MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Cc: Subject: [Chicken-hackers] .egg -> .deb packaging issues X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ivan Shmakov List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 14:15:19 -0000 I'm still interested in packaging pre-built binary extensions for Chicken with `dpkg'. There're a few issues still unresolved, IIRC: * Debian packages for other languages' extensions usually follow libEXTENSION-LANGUAGE convention (e. g., libocamlnet-ocaml); could this convention be adopted for Chicken's extensions? * currently, Chicken seems to search for extensions in, roughly, $CHICKEN_REPOSITORY and $CHICKEN_HOME; it's not enough, since there's to be a distribution-wide repository of pre-compiled packages (/usr/lib/chicken/), a system-local one (/usr/local/...) and a user's own one (e. g., ~/lib/chicken/); a facility for selecting any number of directories to search for the packages needs to be added (perhaps, a CHICKEN_LIBRARY_PATH environment variable); * on the other hand, `chicken-setup' needs exactly one directory to install the packages into; thus, CHICKEN_REPOSITORY variable is to be preserved in its current meaning; BTW, as a convenience, a default repository for `chicken-setup' could be changed to point to a directory below $HOME; thus, `chicken-setup' will behave sensibly even for non-privileged accounts on system-wide Chicken installations; * there's to be a tool which analyzes the source and shows the discrepancies between it and the `debian/control' file (Depends: and Build-Depends: fields are to be watched carefully, in particular.) I believe that the ``library path'' issues aren't specific to Debian packaging and deserve some careful thought irrespective to which system or distribution one's using. With an APT-repository of Debian packages available, deploying a feature-rich version of Chicken-based Scheme programming environment could be made lightning-fast. I believe this will make Chicken a viable alternative to other languages (such as Perl or Python), at least in Debian-based GNU systems. From MAILER-DAEMON Fri Nov 23 10:10:47 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvaB5-0001c9-Hl for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 10:10:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvaB3-0001bN-Pp for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 10:10:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvaB3-0001b3-5n for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 10:10:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvaB2-0001ay-0Y for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 10:10:44 -0500 Received: from ns.asu.ru ([82.179.20.33]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IvaB1-00070p-0N for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 10:10:43 -0500 Received: (qmail 1591 invoked by uid 1002); 23 Nov 2007 15:10:36 -0000 Received: from unknown (HELO th2.phys.asu.ru) (82.179.21.199) by ns.asu.ru with SMTP; 23 Nov 2007 15:10:36 -0000 Received: from localhost ([127.0.0.1] helo=cherry.siamics.int) by th2.phys.asu.ru with esmtp (Exim 4.63) (envelope-from ) id 1IvaAu-00051h-2y; Fri, 23 Nov 2007 21:10:36 +0600 To: felix winkelmann From: Ivan Shmakov Date: Fri, 23 Nov 2007 21:10:34 +0600 In-Reply-To: (felix winkelmann's message of "Tue, 20 Nov 2007 08:01:18 +0100") Message-ID: Lines: 19 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Draft-From: ("nndir:/var/home/ivan/tmp/suck/articles/gmane.lisp.scheme.chicken.devel" 453) References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Cc: chicken Subject: [Chicken-hackers] Re: mprotect on malloc'ed memory? X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ivan Shmakov List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 15:10:46 -0000 >>>>> "fw" == felix winkelmann writes: >> um, if im understading the openbsd pages right, it might work, but >> it wont necessarily protect only the page. according to POSIX, its >> not undefined, its an error to use mprotect on anything but mmapped >> regions. at a guess, even if it does happen to work, you'll be >> looking at a lifetime of unpredictable and undebuggable SIGSEGVs. >> may i ask the intended purpose of mprotecting regular memory? > As a rather handy debugging aid: my making the current tospace (the > unused half of the heap) non-accessable, usage of dead memory can be > found (which happens frequently in FFI code by keeping references to > already GC'd memory). It's just an optional debugging feature for > the situations where you need every help you can get. You could use mmap () (where available) to allocate the heap and use mprotect () on it afterwards. An option (either compile- or run-time) to control which way the heap is allocated is to be added then. From MAILER-DAEMON Fri Nov 23 15:19:55 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ivf0F-0005ZQ-NA for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 15:19:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ivf0D-0005XU-SS for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 15:19:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ivf0C-0005Wh-UK for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 15:19:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ivf0C-0005WX-Mf for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 15:19:52 -0500 Received: from outbound-mail-02.bluehost.com ([69.89.21.12]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ivf0C-0005Sk-7S for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 15:19:52 -0500 Received: (qmail 29066 invoked by uid 0); 23 Nov 2007 20:19:48 -0000 Received: from unknown (HELO box25.bluehost.com) (69.89.18.25) by mailproxy1.bluehost.com with SMTP; 23 Nov 2007 20:19:48 -0000 Received: from ip70-190-70-168.ph.ph.cox.net ([70.190.70.168] helo=xena.local) by box25.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Ivf07-0007rB-W3 for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 13:19:48 -0700 From: Matthew Welland Organization: kiatoa.com To: chicken Subject: Re: ***SPAM*** Re: [Chicken-hackers] multiple issues in embedded PCRE Date: Fri, 23 Nov 2007 13:20:08 -0700 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <20071123130315.GH26363@frohike.homeunix.org> In-Reply-To: <20071123130315.GH26363@frohike.homeunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711231320.09876.matt@kiatoa.com> X-Identified-User: {32296:box25.bluehost.com:kiatoaco:kiatoa.com} {sentby:smtp auth 70.190.70.168 authed with matt+kiatoa.com} X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 20:19:54 -0000 On Friday 23 November 2007 06:03:15 am Peter Bex wrote: > On Fri, Nov 23, 2007 at 12:44:16PM +0100, felix winkelmann wrote: > > On Nov 23, 2007 6:19 AM, John Cowan wrote: > > > Fair enough. Since the tarballs don't come with eggs (there is only > > > one egg repository), in effect you have the best hope of using > > > eggs if you have the trunk code replaced. To have what other > > > projects mean by stable releases, we'd have to branch the > > > egg repository with each release and make sure that chicken-setup > > > from a tarball invokes the correct set of eggs. That way you > > > could load 2.731 and get the 2.731-usable eggs with it. > > > > I lord... Even though I feel that this is the only really working > > solution, the amount of storage, bandwidth and the added complexity for > > the tools makes my head spin... > > I don't think the tools need to be changed. You just need to point > chicken-setup at a specific version of the egg tarball repository and > it defaults to the one that matches the version, I think. This doesn't seem that hard from my (posibly naive) perspective. In every release an "svn cp .../eggs .../rel-a.b.c/eggs" is done. chicken-setup merely needs to a) know the version and b) get the eggs from .../rel-a.b.c/eggs > > Is this a viable approach? What do others think? How could one keep > > track of bugfixes merged from one branch to the other? Is svn flexible > > enough for this? Any opinions? Simply don't do it. Bound your scope. NO BACKPORTING OF FIXES. All bug fixes are applied to the head. All the branches are locked and check ins are NOT allowed. BTW how merging like this works in svn is one more reason to not love svn :-) > Do we really need a branch? Just tagging the egg repos should be enough > once a version is released, no? The egg repos wouldn't change, since the > chicken version is pinned to a stable non-changing version too. A branch and a tag in svn are effectively the same thing. > Afaik you can only merge properly in one direction in svn. You can merge > bugfixes from a branch you're working on to other branches and to trunk. > I think if you always merge every change from the branch to all branches, > you can control it pretty easily. You know the revision numbers to merge > because you can ask 'svn info' the version before you start fixing the > bug and you get it after checked in your changes (message "commited > revision X") > > Otherwise, you could keep a list of merges from branch revisions in the > branch directory of other versions, but that quickly becomes a headache > unless you have a clear protocol on how to go about merging. You can't > apply the same diff twice to a branch so this can easily cause problems. > My colleague tells me the svn team is working towards a solution for this > problem. Preaching to the choir I'm sure but other SCM systems don't have this problem (if I understand the issue correctly). My experience is limitied to bitkeeper and monotone, I have evaluated darcs, mecurial, git and a couple others also but settled on monotone. Anyhow, in monotone for example I can "propagate" a changeset to a branch quite easily. If I propagate again no harm is done. However what you describe sounds dangerously close to cherry picking and down that road lies insanity. I recommend not going there. I have used svn extensively for several years and once I ramped up on monotone I find using svn very limiting. Don't even think about cherry picking in svn. Well, ok. go ahead and cherry pick just don't attempt to use svn itself for the cherry picking. Create patches using svn diff. The manually apply those patches. Even after writing the previous paragraph I still say *NO BACKPORTING FIXES*!!!! The goal is NOT to make stable releases that can be picked up at any time and used. The goal (IMHO) is to make it easy for end users to stick with something that is already working for them. The end users can then move to a new release knowing that it is fairly easy to get back to where they were for either debugging wierd issues or proving that something *used* to work. I really want to be able to seamlessly install a historical version of chicken and an associated suite of eggs all at the "right" version. > Cheers, > Peter Matt -- http://www.kiatoa.com, fight for a better world. From MAILER-DAEMON Fri Nov 23 16:27:37 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ivg3l-0004R6-Ki for mharc-chicken-hackers@gnu.org; Fri, 23 Nov 2007 16:27:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ivg3k-0004QY-HR for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 16:27:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ivg3j-0004QK-UH for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 16:27:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ivg3j-0004QF-Qa for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 16:27:35 -0500 Received: from earth.ccil.org ([192.190.237.11]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ivg3j-0006Mu-Ft for chicken-hackers@nongnu.org; Fri, 23 Nov 2007 16:27:35 -0500 Received: from cowan by earth.ccil.org with local (Exim 4.63) (envelope-from ) id 1Ivg3i-0001yw-Cs; Fri, 23 Nov 2007 16:27:34 -0500 Date: Fri, 23 Nov 2007 16:27:34 -0500 To: Matthew Welland Subject: Re: ***SPAM*** Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071123212734.GJ13281@mercury.ccil.org> References: <20071123130315.GH26363@frohike.homeunix.org> <200711231320.09876.matt@kiatoa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200711231320.09876.matt@kiatoa.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: John Cowan X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 21:27:36 -0000 Matthew Welland scripsit: > In every release an "svn cp .../eggs .../rel-a.b.c/eggs" is done. > chicken-setup merely needs to a) know the version and b) get the eggs > from .../rel-a.b.c/eggs Correct. And to placate Felix, "svn cp" only takes small amounts of extra disk space, just enough to cover the metadata. > Simply don't do it. Bound your scope. NO BACKPORTING OF FIXES. All bug fixes > are applied to the head. All the branches are locked and check ins are NOT > allowed. I agree absolutely. The only possible exception would be a security-related bug, but I don't think we really have those except maybe in the web server. > > Do we really need a branch? Just tagging the egg repos should be enough > > once a version is released, no? The egg repos wouldn't change, since the > > chicken version is pinned to a stable non-changing version too. > > A branch and a tag in svn are effectively the same thing. Indeed. It's just a matter of convention that a svn repository has top-level directories called trunk, branches, and tags. For my project TagSoup, I store the released version under branches, but they don't change, so they are semantically speaking tags. > Preaching to the choir I'm sure but other SCM systems don't have this > problem (if I understand the issue correctly). My experience is limitied to > bitkeeper and monotone, I have evaluated darcs, mecurial, git and a couple > others also but settled on monotone. All of those are change-oriented systems, where you can in principle have 2^n versions from n changes (though of course most of those combinations won't even build). Version-oriented systems like rcs, cvs, and svn (and remember that svn is only intended to replace cvs, which it has done successfully) only have n versions from n changes. > Even after writing the previous paragraph I still say *NO BACKPORTING > FIXES*!!!! The goal is NOT to make stable releases that can be picked up at > any time and used. The goal (IMHO) is to make it easy for end users to > stick with something that is already working for them. The end users can > then move to a new release knowing that it is fairly easy to get back to > where they were for either debugging wierd issues or proving that something > *used* to work. I agree entirely. > > I really want to be able to seamlessly install a historical version of > chicken and an associated suite of eggs all at the "right" version. And that's what distros want too. -- John Cowan http://ccil.org/~cowan cowan@ccil.org Economists were put on this planet to make astrologers look good. --Leo McGarry From MAILER-DAEMON Sat Nov 24 07:08:55 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ivtoc-0005Ad-Th for mharc-chicken-hackers@gnu.org; Sat, 24 Nov 2007 07:08:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ivtob-00058a-Ns for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 07:08:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ivtoa-000568-5u for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 07:08:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ivtoa-000562-3Q for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 07:08:52 -0500 Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvtoZ-0004yD-Bl for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 07:08:51 -0500 Received: by wa-out-1112.google.com with SMTP id k22so131906waf for ; Sat, 24 Nov 2007 04:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UUJKJ1hq3p/s8nSumOxUg/omqfYQneu0Ggwzz9da+3M=; b=jV8WCIsoBJ10bOcQY+xmE9Y7ecy5niPWjObgGmYc/mZSv+0FbQ09isBswLalZhq6p+mXtVCXpEAivQz5CBunZlVaj3/sM43ZIhpxrXyr/wgYDwR4DPXKaZqrh1BORRGNqrrW6Fr99AswdnKQGwcezJk+iXzJYESJxiB420mv4X0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=prWjDjjAPTmKVOZSalhEJIpP6FYJD/MDC4NjOV/GFELvwEQMb+emth22xc2hRQVf8D4cCKzZ8lVD8la3uTpcFSkY3Za64FUfPiTdxOrzAqAbIU0WZhHZVsWTn8QS4PzbZLX/S8eADZEgag4huvP1qj61nNDHiPEghna8YbSxnhM= Received: by 10.114.161.11 with SMTP id j11mr399575wae.1195906127502; Sat, 24 Nov 2007 04:08:47 -0800 (PST) Received: by 10.114.88.11 with HTTP; Sat, 24 Nov 2007 04:08:47 -0800 (PST) Message-ID: <54e12800711240408x5886da67pe6567e45fe00f525@mail.gmail.com> Date: Sat, 24 Nov 2007 09:08:47 -0300 From: "Alex Queiroz" To: "John Cowan" Subject: Re: ***SPAM*** Re: [Chicken-hackers] multiple issues in embedded PCRE In-Reply-To: <20071123212734.GJ13281@mercury.ccil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071123130315.GH26363@frohike.homeunix.org> <200711231320.09876.matt@kiatoa.com> <20071123212734.GJ13281@mercury.ccil.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 12:08:54 -0000 Hallo, On Nov 23, 2007 6:27 PM, John Cowan wrote: > > > Preaching to the choir I'm sure but other SCM systems don't have this > > problem (if I understand the issue correctly). My experience is limitied to > > bitkeeper and monotone, I have evaluated darcs, mecurial, git and a couple > > others also but settled on monotone. > > All of those are change-oriented systems, where you can in principle > have 2^n versions from n changes (though of course most of those > combinations won't even build). Version-oriented systems like rcs, > cvs, and svn (and remember that svn is only intended to replace cvs, > which it has done successfully) only have n versions from n changes. > Monotone stores versions, not patches. Cheers, -- -alex http://www.ventonegro.org/ From MAILER-DAEMON Sat Nov 24 08:38:30 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IvvDK-0000T7-Is for mharc-chicken-hackers@gnu.org; Sat, 24 Nov 2007 08:38:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvvDJ-0000Sw-Ai for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 08:38:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvvDG-0000SJ-GE for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 08:38:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvvDG-0000SG-BM for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 08:38:26 -0500 Received: from atlas.ucpel.tche.br ([200.18.78.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvvDF-0003Ps-Ir for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 08:38:25 -0500 Received: from localhost (localhost [127.0.0.1]) by atlas.ucpel.tche.br (Postfix) with ESMTP id 8F378614200; Sat, 24 Nov 2007 11:38:10 -0200 (BRST) Received: from atlas.ucpel.tche.br ([127.0.0.1]) by localhost (atlas [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00427-03; Sat, 24 Nov 2007 11:38:09 -0200 (BRST) Received: by atlas.ucpel.tche.br (Postfix, from userid 2738) id A4109614222; Sat, 24 Nov 2007 11:38:09 -0200 (BRST) Sender: mario@atlas.ucpel.tche.br To: Matthew Welland Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <20071123130315.GH26363@frohike.homeunix.org> <200711231320.09876.matt@kiatoa.com> From: Mario Domenech Goulart Date: 24 Nov 2007 11:38:09 -0200 In-Reply-To: <200711231320.09876.matt@kiatoa.com> Message-ID: Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ucpel.tche.br X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 13:38:29 -0000 Hi Matthew and folks, On Fri, 23 Nov 2007 13:20:08 -0700 Matthew Welland wrote: > On Friday 23 November 2007 06:03:15 am Peter Bex wrote: > > On Fri, Nov 23, 2007 at 12:44:16PM +0100, felix winkelmann wrote: > > > On Nov 23, 2007 6:19 AM, John Cowan wrote: > > > > Fair enough. Since the tarballs don't come with eggs (there is only > > > > one egg repository), in effect you have the best hope of using > > > > eggs if you have the trunk code replaced. To have what other > > > > projects mean by stable releases, we'd have to branch the > > > > egg repository with each release and make sure that chicken-setup > > > > from a tarball invokes the correct set of eggs. That way you > > > > could load 2.731 and get the 2.731-usable eggs with it. > > > > > > I lord... Even though I feel that this is the only really working > > > solution, the amount of storage, bandwidth and the added complexity for > > > the tools makes my head spin... > > > > I don't think the tools need to be changed. You just need to point > > chicken-setup at a specific version of the egg tarball repository and > > it defaults to the one that matches the version, I think. > > This doesn't seem that hard from my (posibly naive) perspective. > > In every release an "svn cp .../eggs .../rel-a.b.c/eggs" is done. > chicken-setup merely needs to a) know the version and b) get the eggs > from .../rel-a.b.c/eggs That would be a good approach. However, the chicken-setup part is not so simple. chicken-setup fetches eggs using HTTP from www.call-with-current-continuation.org. The svn repository is hosted at chicken.wiki.br; eggs are uploaded to call/cc.org preiodically. So, it seems to me that there are two main alternatives: 1. uploading multiple versions of eggs to call/cc.org (I don't know its disk space restrictions). chicken.wiki.br's machine (aka galinha) is available for making eggs available, of course (and for whatever chicken-related job), in case disk space on call/cc.org is a problem. 2. make chicken-setup act as an svn client to access the eggs repository directly. Don't know how difficult it would be. Best wishes, Mario From MAILER-DAEMON Sat Nov 24 20:18:37 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iw68r-0003Xz-B7 for mharc-chicken-hackers@gnu.org; Sat, 24 Nov 2007 20:18:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iw68p-0003Wo-FI for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 20:18:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iw68l-0003SP-I2 for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 20:18:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw68l-0003SG-ET for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 20:18:31 -0500 Received: from ns0.oist.jp ([203.181.243.1] helo=ns0.irp.oist.jp) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Iw68k-0001nG-Sy for chicken-hackers@nongnu.org; Sat, 24 Nov 2007 20:18:31 -0500 Received: from intra-022.oist.jp (smtp.irp.oist.jp [192.168.150.22]) by ns0.irp.oist.jp (Switch-3.1.10/Switch-3.1.10) with ESMTP id lAP1ICAi004619; Sun, 25 Nov 2007 10:18:12 +0900 Received: from debian.oist.jp ([172.20.3.119]) by intra-022.oist.jp (8.13.1/8.13.1) with ESMTP id lAP1I7P5022795; Sun, 25 Nov 2007 10:18:07 +0900 To: Ivan Shmakov Subject: Re: [Chicken-hackers] .egg -> .deb packaging issues References: From: Ivan Raikov Date: Sun, 25 Nov 2007 10:18:07 +0900 In-Reply-To: (Ivan Shmakov's message of "Fri\, 23 Nov 2007 20\:15\:07 +0600") Message-ID: <87bq9jp1gw.fsf@debian.oist.jp> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Cc: chicken-hackers@nongnu.org X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 01:18:35 -0000 I am also still interested in packaging Chicken eggs for Debian. But, to add to your list of issues, the current version of Chicken in Debian testing is 2.5. There is a wishlist item filed to upgrade Chicken to 2.7, but so far no response on part of the package maintainer. So we will either have to use unofficial Debian packages with more recent Chicken, or find a way to get in touch with the maintainer: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418747 And I have some responses to the other issues below: * package naming convention -- I actually prefer the naming convention for Common Lisp packages, which is cl-PACKAGE (in our case, chicken-PACKAGE). The libPACKAGE-LANGUAGE seems overly verbose. * more extension repository locations -- good idea, I could use CHICKEN_LIBRARY_PATH to direct Chicken to look into my home directory for extensions first. By the way, the current Debian location for Chicken extensions is /var/lib/chicken/. * default repository for chicken-setup -- perhaps an even more sensible default would be to check if the current user is root, and if so, install the extension in the system-wide /var/lib/chicken, otherwise install into $HOME/var/lib/chicken, or something along those lines. What do people think? > > With an APT-repository of Debian packages available, deploying > a feature-rich version of Chicken-based Scheme programming > environment could be made lightning-fast. I believe this will > make Chicken a viable alternative to other languages (such as > Perl or Python), at least in Debian-based GNU systems. > Preach on, brother ;-) -Ivan Ivan Shmakov writes: > I'm still interested in packaging pre-built binary extensions > for Chicken with `dpkg'. There're a few issues still > unresolved, IIRC: > > * Debian packages for other languages' extensions usually follow > libEXTENSION-LANGUAGE convention (e. g., libocamlnet-ocaml); > could this convention be adopted for Chicken's extensions? > > * currently, Chicken seems to search for extensions in, roughly, > $CHICKEN_REPOSITORY and $CHICKEN_HOME; it's not enough, since > there's to be a distribution-wide repository of pre-compiled > packages (/usr/lib/chicken/), a system-local > one (/usr/local/...) and a user's own one (e. g., > ~/lib/chicken/); a facility for selecting any > number of directories to search for the packages needs to be > added (perhaps, a CHICKEN_LIBRARY_PATH environment variable); > > * on the other hand, `chicken-setup' needs exactly one directory > to install the packages into; thus, CHICKEN_REPOSITORY > variable is to be preserved in its current meaning; BTW, as a > convenience, a default repository for `chicken-setup' could be > changed to point to a directory below $HOME; thus, > `chicken-setup' will behave sensibly even for non-privileged > accounts on system-wide Chicken installations; From MAILER-DAEMON Sun Nov 25 04:23:44 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IwDiJ-0007QO-Rd for mharc-chicken-hackers@gnu.org; Sun, 25 Nov 2007 04:23:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwDiH-0007LN-RS for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 04:23:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwDiF-0007Es-8N for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 04:23:41 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwDiF-0007ES-3y for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 04:23:39 -0500 Received: from mx.asu.ru ([82.179.20.33] helo=ns.asu.ru) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IwDiE-00063F-0z for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 04:23:38 -0500 Received: (qmail 14059 invoked by uid 1002); 25 Nov 2007 08:56:41 -0000 Received: from unknown (HELO th2.phys.asu.ru) (82.179.21.199) by ns.asu.ru with SMTP; 25 Nov 2007 08:56:40 -0000 Received: from localhost ([127.0.0.1] helo=cherry.siamics.int) by th2.phys.asu.ru with esmtp (Exim 4.63) (envelope-from ) id 1Iw9uE-00073d-QT; Sun, 25 Nov 2007 11:19:47 +0600 To: chicken-hackers@nongnu.org Subject: Re: [Chicken-hackers] .egg -> .deb packaging issues From: Ivan Shmakov Date: Sun, 25 Nov 2007 11:19:45 +0600 In-Reply-To: <87bq9jp1gw.fsf@debian.oist.jp> (Ivan Raikov's message of "Sun, 25 Nov 2007 10:18:07 +0900") Message-ID: Lines: 103 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Draft-From: ("nnimap+main:INBOX" 1513) References: <87bq9jp1gw.fsf@debian.oist.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Cc: X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ivan Shmakov List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 09:23:42 -0000 >>>>> Ivan Raikov writes: >> I'm still interested in packaging pre-built binary extensions >> for Chicken with `dpkg'. There're a few issues still >> unresolved, IIRC: > I am also still interested in packaging Chicken eggs for Debian. But, > to add to your list of issues, the current version of Chicken in Debian > testing is 2.5. There is a wishlist item filed to upgrade Chicken to > 2.7, but so far no response on part of the package maintainer. So we > will either have to use unofficial Debian packages with more recent > Chicken, I believe it's quite acceptable for now. > or find a way to get in touch with the maintainer: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418747 Or, if the maintainer has lost his interest to maintain the Debian package, a new maintainer has to make a step forward. > And I have some responses to the other issues below: > * package naming convention -- I actually prefer the naming > convention for Common Lisp packages, which is cl-PACKAGE (in our > case, chicken-PACKAGE). Python packages follow the same convention, BTW. > The libPACKAGE-LANGUAGE seems overly verbose. It's just three letters more long. > * more extension repository locations -- good idea, I could use > CHICKEN_LIBRARY_PATH to direct Chicken to look into my home directory > for extensions first. By the way, the current Debian location for > Chicken extensions is /var/lib/chicken/. Yes. And the reason is, in my opinion, the inability to search for extensions in multiple locations. > * default repository for chicken-setup -- perhaps an even more > sensible default would be to check if the current user is root, and > if so, install the extension in the system-wide /var/lib/chicken, I disagree with using /var as a place to install software. FHS specifies /usr/lib[/PACKAGE-NAME] and /usr/local/lib[/PACKAGE-NAME] as the appropriate locations for libraries. Debian Bug#388644 reads: --cut-- Chicken-setup installs extensions (eggs) to /usr/lib/chicken which might be mounted as read-only. http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#PURPOSE31 "/var is specified here in order to make it possible to mount /usr read-only. Everything that once went into /usr that is written to during system operation (as opposed to installation and software maintenance) must be in /var." --cut-- However, using `chicken-setup' is clearly falls below ``installation and software maintenance'', thus /usr and /usr/local are the appropriate locations. As soon as Chicken will support searching for libraries in multiple locations, /usr should be made a designated place for dpkg-installed libraries, while /usr/local should be used for the ones installed by `chicken-setup' (as root.) Of course, it applies only to FHS-compliant systems. Different systems may have different policies regarding the filesystem hierarchies and Chicken shouldn't enforce FHS-based policy on non-FHS-compliant systems. > otherwise install into $HOME/var/lib/chicken, or something along > those lines. What do people think? `$HOME/lib' could be a default place for user to install his own set of libraries. Personally, I prefer following the FHS layout (although not very closely) for /usr in my `$HOME'. As in: $ mkdir build $ cd build $ ../configure --prefix="$HOME" ... >> With an APT-repository of Debian packages available, deploying >> a feature-rich version of Chicken-based Scheme programming >> environment could be made lightning-fast. I believe this will >> make Chicken a viable alternative to other languages (such as >> Perl or Python), at least in Debian-based GNU systems. > Preach on, brother ;-) Well, either Chicken will become more rapid to deploy, or I'll get fired. (Or I'll have to switch to Perl, or Python... doesn't looks like a good outcome at all.) From MAILER-DAEMON Sun Nov 25 05:47:18 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IwF1C-0000Nd-FP for mharc-chicken-hackers@gnu.org; Sun, 25 Nov 2007 05:47:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwF1A-0000NY-Qh for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 05:47:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwF19-0000NK-6B for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 05:47:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwF19-0000NH-3P for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 05:47:15 -0500 Received: from smtp-vbr9.xs4all.nl ([194.109.24.29]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IwF18-0005is-HB for chicken-hackers@nongnu.org; Sun, 25 Nov 2007 05:47:14 -0500 Received: from frohike.homeunix.org (frohike.xs4all.nl [80.126.188.214]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAPAlAe1050017 for ; Sun, 25 Nov 2007 11:47:10 +0100 (CET) (envelope-from Peter.Bex@xs4all.nl) Received: by frohike.homeunix.org (Postfix, from userid 1000) id 07A71F7DFAB; Sun, 25 Nov 2007 11:49:16 +0100 (CET) Date: Sun, 25 Nov 2007 11:49:16 +0100 From: Peter Bex To: chicken Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE Message-ID: <20071125104916.GJ26363@frohike.homeunix.org> Mail-Followup-To: chicken References: <20071123130315.GH26363@frohike.homeunix.org> <200711231320.09876.matt@kiatoa.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6lCXDTVICvIQMz0h" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://sjamaan.ath.cx/pubkey.txt X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 10:47:17 -0000 --6lCXDTVICvIQMz0h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 24, 2007 at 11:38:09AM -0200, Mario Domenech Goulart wrote: > > This doesn't seem that hard from my (posibly naive) perspective.=20 > >=20 > > In every release an "svn cp .../eggs .../rel-a.b.c/eggs" is done.=20 > > chicken-setup merely needs to a) know the version and b) get the eggs= =20 > > from .../rel-a.b.c/eggs >=20 > That would be a good approach. However, the chicken-setup part is not > so simple. chicken-setup fetches eggs using HTTP from > www.call-with-current-continuation.org. The svn repository is hosted > at chicken.wiki.br; eggs are uploaded to call/cc.org preiodically. >=20 > So, it seems to me that there are two main alternatives: >=20 > 1. uploading multiple versions of eggs to call/cc.org (I don't know > its disk space restrictions). chicken.wiki.br's machine (aka > galinha) is available for making eggs available, of course (and for > whatever chicken-related job), in case disk space on call/cc.org is > a problem. This only becomes a problem after a lot of releases. Of course, nobody said we have to keep ALL old releases. We could decide to remove releases older than, say, a year. > 2. make chicken-setup act as an svn client to access the eggs > repository directly. Don't know how difficult it would be. You'd need to make the svn-client egg part of base chicken. I'm not sure that would be desirable. Cheers, Peter --=20 http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth --6lCXDTVICvIQMz0h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (NetBSD) iQEVAwUBR0lTK9OrBFwYag3gAQKt+ggArDRsacmgipzLhxEJ6L2va2rITTam0ld6 zqVjgZP6LgcCEoyC73+JHCiswDi+sTl7npnWbiwMZScDUP8+YfVjw3HsrufKFcm9 31oUoQwYUQppz6hHRYJdbOQzFPBuNeYjHHDSykJHzpQBmNYWFCwHmjb4k9nLscgm YiKQqs0RFI50Ar75wpGSsOo/s2RJy847X0J+iDpLvp4f/r6Ip+9ZR6qBx0GA7Xq9 oupfky0tEv1rhzeiHlzpNuq9EQbcfYsZl716Cc4f3niq9VwuFanCZpCDyhfptfDl W9DJ8FHxdOxl5cMdoGCLhdoATi8jaR6ra0CTrw7LvyFWWm988dlKjA== =kN08 -----END PGP SIGNATURE----- --6lCXDTVICvIQMz0h-- From MAILER-DAEMON Mon Nov 26 01:46:46 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IwXjy-0001qN-0z for mharc-chicken-hackers@gnu.org; Mon, 26 Nov 2007 01:46:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwXjw-0001qF-4h for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 01:46:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwXjt-0001pq-J9 for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 01:46:42 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwXjt-0001pn-Ca for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 01:46:41 -0500 Received: from mu-out-0910.google.com ([209.85.134.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IwXjt-00007J-1D for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 01:46:41 -0500 Received: by mu-out-0910.google.com with SMTP id i2so830786mue for ; Sun, 25 Nov 2007 22:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=5TjvPTfkjvHUDUT11KQDfKpnxt7RMidz18ShUBvNEGM=; b=HOWIdQe1MAAwgIdmCcoqG/taqcej8Ad3HjZqVtGadOvtaaJCOFZevRucT2UDrt8zH5sR94/ynnVi4f/NUcjAKUJJ9ioNyAIzbcZFARf72lfb/3bc9GeIHBxm05h5qMIaaicD3t8KeAnuanO+sA0mB2RIdteau/7R6XQbiDnI10w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bLI+YeXcJpzWafnLpnP/6JyrrjwdfJubk5n0Da924+7/KATqDjl+Tyx1l6u09AkAqnYyrxQh8opiuw4wFw4xRvZ/glQe1qAjmjc2etn3NOzFYP3P9wWtCF/9lLnJzgOE4FQNfB23VlI+zlTm3+qzGkuiPCDURvSDSgJXP4+BKgI= Received: by 10.82.175.17 with SMTP id x17mr6332834bue.1196059598392; Sun, 25 Nov 2007 22:46:38 -0800 (PST) Received: by 10.82.172.7 with HTTP; Sun, 25 Nov 2007 22:46:38 -0800 (PST) Message-ID: Date: Mon, 26 Nov 2007 07:46:38 +0100 From: "felix winkelmann" To: chicken Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE In-Reply-To: <20071125104916.GJ26363@frohike.homeunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071123130315.GH26363@frohike.homeunix.org> <200711231320.09876.matt@kiatoa.com> <20071125104916.GJ26363@frohike.homeunix.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2007 06:46:44 -0000 On Nov 25, 2007 11:49 AM, Peter Bex wrote: > > This only becomes a problem after a lot of releases. Of course, nobody > said we have to keep ALL old releases. We could decide to remove releases > older than, say, a year. > Yep. > > 2. make chicken-setup act as an svn client to access the eggs > > repository directly. Don't know how difficult it would be. > > You'd need to make the svn-client egg part of base chicken. I'm not sure > that would be desirable. > No, not at all. But the whole thing is a bit more complicated: 1. for each major release, create a branch in the egg repo (we keep the old toplevel dirs for backward compatibility). 2. create a directory for each major release in call/cc.org/eggs. 3. modify egg-post-commit to figure out the proper location of the egg on call/cc.org and upload the egg/modify the repofile there. 4. modify chicken-setup to download from the right directory from call/cc.org. It's nothing particularly hard, but there will be a period of "transition", and we all know how that goes... What interests me more, is how to maintain eggs in such a situation? If the currently "active" egg branch is maintained, everything is ok. But people *will* backport fixes, simply to get things running on, say, debian boxes with old chicken versions installed. I wouldn't even want to be restricted to change the current (or newer) versions. And also the situation will arrive then fixes get forgotten to be merged into newer versions. We probably need some sort of process for keeping the confusion at a minimum. cheers, felix From MAILER-DAEMON Mon Nov 26 21:10:56 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iwpua-0003La-FW for mharc-chicken-hackers@gnu.org; Mon, 26 Nov 2007 21:10:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwpuX-0003KW-Gh for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 21:10:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwpuV-0003Ju-F6 for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 21:10:52 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwpuV-0003Jp-2Z for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 21:10:51 -0500 Received: from atlas.ucpel.tche.br ([200.18.78.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IwpuU-0004pJ-NN for chicken-hackers@nongnu.org; Mon, 26 Nov 2007 21:10:51 -0500 Received: from localhost (localhost [127.0.0.1]) by atlas.ucpel.tche.br (Postfix) with ESMTP id C04906143D6; Tue, 27 Nov 2007 00:10:32 -0200 (BRST) Received: from atlas.ucpel.tche.br ([127.0.0.1]) by localhost (atlas [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06914-05; Tue, 27 Nov 2007 00:10:31 -0200 (BRST) Received: by atlas.ucpel.tche.br (Postfix, from userid 2738) id 88106614264; Tue, 27 Nov 2007 00:10:31 -0200 (BRST) Sender: mario@atlas.ucpel.tche.br To: "Marijn Schouten (hkBst)" Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> From: Mario Domenech Goulart Date: 27 Nov 2007 00:10:31 -0200 In-Reply-To: <47446080.4060109@gentoo.org> Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ucpel.tche.br X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 02:10:53 -0000 Hi Marijn, Sorry for the late response. Comments bellow. On Wed, 21 Nov 2007 17:44:48 +0100 "Marijn Schouten (hkBst)" wrote: > echo "#define C_HACKED_APPLY" >>chicken-config.h > cat chicken-defaults.h >>chicken-config.h > gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \ > -c -O2 -pipe -ggdb \ > -DC_BUILDING_LIBCHICKEN library.c -o > library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken > Assembler messages: > Fatal error: can't create > library-static/home/marijn/cvs/gentoo-x86/dev-scheme/chicken: No such file or > directory > library.c:36849: fatal error: error writing to -: Broken pipe > compilation terminated. > The bug is not reproducible, so it is likely a hardware or OS problem. The problem seems to be related to environment variables clash. Both chicken's rules.make and Portage uses the `O' variable which seems to be causing the problem. Here's the error message I get: Assembler messages: FATAL: can't create library-static/usr/portage/dev-scheme/chicken: No such file or directory make[1]: *** [library-static/usr/portage/dev-scheme/chicken] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-scheme/chicken-2.732/work/chicken-2.732' make: *** [all] Error 2 Here's the corresponding snippet from rules.make: $(C_COMPILER_BUILD_RUNTIME_OPTIONS) $< $(C_COMPILER_OUTPUT_OPTION) $@library-static$(O): library.c chicken.h $(CHICKEN_CONFIG_H) Here's the relevant snipped from the execution of `env' from the ebuild file: O=/usr/portage/dev-scheme/chicken So, it seems that the O value from the environment is being passed to make, which concatenates "library-static" and "/usr/portage/dev-scheme/chicken". Hope this helps. Best wishes, Mario From MAILER-DAEMON Wed Nov 28 13:06:54 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IxRJG-0000yq-PO for mharc-chicken-hackers@gnu.org; Wed, 28 Nov 2007 13:06:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxRJG-0000ye-2t for chicken-hackers@nongnu.org; Wed, 28 Nov 2007 13:06:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxRJE-0000xo-42 for chicken-hackers@nongnu.org; Wed, 28 Nov 2007 13:06:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxRJE-0000xl-1E for chicken-hackers@nongnu.org; Wed, 28 Nov 2007 13:06:52 -0500 Received: from castor.sshunet.nl ([145.97.192.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IxRJD-00019m-J1 for chicken-hackers@nongnu.org; Wed, 28 Nov 2007 13:06:51 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.sshunet.nl (Postfix) with ESMTP id 9FFDD57C023; Wed, 28 Nov 2007 19:06:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at castor.sshunet.nl Received: from castor.sshunet.nl ([127.0.0.1]) by localhost (castor.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P+d2uWwmHrjX; Wed, 28 Nov 2007 19:06:49 +0100 (CET) Received: from [145.97.222.65] (65pc222.sshunet.nl [145.97.222.65]) by castor.sshunet.nl (Postfix) with ESMTP; Wed, 28 Nov 2007 19:06:49 +0100 (CET) Message-ID: <474DAFC5.4020604@gentoo.org> Date: Wed, 28 Nov 2007 19:13:25 +0100 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Mario Domenech Goulart Subject: Re: [Chicken-hackers] multiple issues in embedded PCRE References: <4739EC3D.6080205@gentoo.org> <47446080.4060109@gentoo.org> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: chicken X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 18:06:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mario Domenech Goulart wrote: > Hi Marijn, > > Both chicken's rules.make and Portage uses the `O' variable which > seems to be causing the problem. Thanks Mario, indeed it was a bug in portage and not chicken. It has been fixed now and I have committed chicken-2.731 to our tree. Much thanks for the diagnosis. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML , #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHTa/Fp/VmCx0OL2wRAnC1AJ95sMXThKXrMHrftXvkNE4QYNPqwgCeKJna Cd2w9vRJg+Nr/o4yMUqMcZY= =KTKq -----END PGP SIGNATURE----- From MAILER-DAEMON Thu Nov 29 03:09:17 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IxeSS-0007MV-Ro for mharc-chicken-hackers@gnu.org; Thu, 29 Nov 2007 03:09:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxeSR-0007MM-92 for chicken-hackers@nongnu.org; Thu, 29 Nov 2007 03:09:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxeSP-0007MA-7w for chicken-hackers@nongnu.org; Thu, 29 Nov 2007 03:09:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxeSP-0007M7-2q for chicken-hackers@nongnu.org; Thu, 29 Nov 2007 03:09:13 -0500 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IxeSN-0007XR-N5 for chicken-hackers@nongnu.org; Thu, 29 Nov 2007 03:09:12 -0500 Received: from nf-out-0910.google.com ([64.233.182.185]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IxeSM-0001rW-Ev for chicken-hackers@nongnu.org; Thu, 29 Nov 2007 03:09:10 -0500 Received: by nf-out-0910.google.com with SMTP id 30so1929196nfu for ; Thu, 29 Nov 2007 00:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=o+jyfA/s9VqFbTsiUdMIolXO0UmR/XhEUYzGk0jVJnY=; b=FaPc4fPEL/CAbJURnQ3313S+o/52fdE4VcTki07sFZsSo5c/j69aoMazMtgZkXx3LDUubWIvqiAPrk3iLahcbhSvnAZ16i5pijEQCpEZi8p2rhjaADKe5YvoxYxmdNpse6wKZwkyGMm8hC/7AIBV3CWOr1gAbLO0+wZ9BWWxY5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e/IYHokTxcyrk4DLymdQhFCwiDJfuIjuBHva2TVTaz3LHB1fGQs3w6Jr6PYbKspk0Th2/qmY98yYsRfaxA6rbdu3SM1fkqoe+cs6RWFSBsAeCvNpg8/x83w5enAKcfpt3ux5qKE+ZgqLOL0xkkDDKxhq8tTBTEJbPnQo+V86pXQ= Received: by 10.82.162.14 with SMTP id k14mr618972bue.1196323748694; Thu, 29 Nov 2007 00:09:08 -0800 (PST) Received: by 10.82.167.3 with HTTP; Thu, 29 Nov 2007 00:09:08 -0800 (PST) Message-ID: Date: Thu, 29 Nov 2007 09:09:08 +0100 From: "felix winkelmann" To: "Ivan Shmakov" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: chicken Subject: [Chicken-hackers] Re: mprotect on malloc'ed memory? X-BeenThere: chicken-hackers@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CHICKEN developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 08:09:15 -0000 On Nov 23, 2007 4:10 PM, Ivan Shmakov wrote: > > You could use mmap () (where available) to allocate the heap and > use mprotect () on it afterwards. An option (either compile- or > run-time) to control which way the heap is allocated is to be > added then. Good idea, Ivan. I have to try that out. cheers, felix