From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1371 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: libusb, cups compatability... Date: Wed, 25 Jul 2012 11:13:54 -0400 Message-ID: <20120725151354.GQ544@brightrain.aerifal.cx> References: <30520.132.241.65.164.1343198198.squirrel@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1343229251 29631 80.91.229.3 (25 Jul 2012 15:14:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2012 15:14:11 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1372-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 25 17:14:12 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Su3Hv-0006f1-6y for gllmg-musl@plane.gmane.org; Wed, 25 Jul 2012 17:14:11 +0200 Original-Received: (qmail 14296 invoked by uid 550); 25 Jul 2012 15:14:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14288 invoked from network); 25 Jul 2012 15:14:10 -0000 Content-Disposition: inline In-Reply-To: <30520.132.241.65.164.1343198198.squirrel@lavabit.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1371 Archived-At: On Tue, Jul 24, 2012 at 11:36:38PM -0700, idunham@lavabit.com wrote: > I've been needing to set up printing, so I went ahead and compiled libusb > 1.0.9 and cups 1.5.3. Nice. > libusb needs the TIMESPEC_TO_TIMEVAL macro; for the time being, I added > the definition to libusb (diff attached for Gregor's sake). > It probably should go in sys/time.h with gnu | bsd visibility instead. > Other than that, libusb compiles. Is there a corresponding opposite-direction macro that should be added? > CUPS builds for the most part; in ppdc, genstrings segfaults (haven't > built gdb, can't say what the issue is). make || make would finish, > though... This suggests a broken makefile, though most makefiles are broken in the same regard... Because the program crashed while writing a target, that target, probably corrupted, exists with a valid timestamp and causes make to think it doesn't need to be generated the next time around. Really, any command in make should move the successfully-built file into place _atomically_ (e.g. first writing to a temp file then moving it) so this can't happen. Anyway, to get back on-topic, I suspect the generated file was incomplete/corrupt and this might be causing problems later down the line. Rich