From owner-freebsd-ports@FreeBSD.ORG Mon Oct 13 05:28:09 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 399CB1065688 for ; Mon, 13 Oct 2008 05:28:09 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id BA61E8FC13 for ; Mon, 13 Oct 2008 05:28:08 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1109917fgb.35 for ; Sun, 12 Oct 2008 22:28:07 -0700 (PDT) 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=U2GQB/pgk3PZr3/sjC1jqlDTC6hrejD9FYq+GycF28o=; b=M6CDbRsFdWhHzQXZ0Ul8lz9okQOj5njaZvBbG23ruHjhDR7p3oQ09zQT2rqWFKL6pH +HVm67ROsiQ9qt1FdGSIo6G+eOGJGDaGpiH/c8CYAvE6Go7abTmdRdshEAt36WsuJkgF iuFou3Umhznzz44tn+QmN1cG3Gu3XGXxltMKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=teJ9C4VYXRvqsUq7lUILwfV7rx+tjaM9qv+1XKIfN0SN/ii7G0ycd+OBYEL1V5wvId fUQH/J6IY3Ph8Y7SrlvRX9qpwi+lU/vuq3nbS8m/n0PLU807hSzAeCbA9z4vQoMcrNyM Nliu7TmsbwbETb/zV12DSz10NYacgvT4CqLxs= Received: by 10.103.131.18 with SMTP id i18mr3211884mun.126.1223875687532; Sun, 12 Oct 2008 22:28:07 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Sun, 12 Oct 2008 22:28:07 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 03:28:07 -0200 From: "Carlos A. M. dos Santos" To: jason@tinisi.com In-Reply-To: <48F2B3ED.5060103@tinisi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48F2B3ED.5060103@tinisi.com> Cc: ports@freebsd.org, nork@freebsd.org Subject: Re: FreeBSD Port: DarwinStreamingServer-6.0.3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 05:28:09 -0000 On Mon, Oct 13, 2008 at 12:35 AM, Jason wrote: > nork, > I am trying to install this port on FreeBSD 6.0. I am getting this error > when I run "make all". Any ideas? I tried to execute the rest of the patch > by hand, but don't really know enough to do that ;-) > The reject file is pasted below the actual error from the make file. > > Jason > > # Error on make all > > ===> Applying distribution patches for DarwinStreamingServer-6.0.3 > ===> Applying FreeBSD patches for DarwinStreamingServer-6.0.3 > 1 out of 3 hunks failed--saving rejects to > CommonUtilitiesLib/OSHeaders.h.rej > => Patch patch-CommonUtilitiesLib::OSHeaders.h failed to apply cleanly. > => Patch(es) patch-Buildit applied cleanly. > *** Error code 1 > > Stop in /usr/ports/net/DarwinStreamingServer. > > > # CommonUtilitiesLib/OSHeaders.h.rej > > *************** > *** 27,37 **** > #define OSHeaders_H > #include > > #define kSInt16_Max USHRT_MAX > #define kUInt16_Max USHRT_MAX > > #define kSInt32_Max LONG_MAX > #define kUInt32_Max ULONG_MAX > > #define kSInt64_Max LONG_LONG_MAX > #define kUInt64_Max ULONG_LONG_MAX > --- 27,46 ---- > #define OSHeaders_H > #include > > + #ifdef __amd64__ > + #define CPU_64BIT > + #endif > + > #define kSInt16_Max USHRT_MAX > #define kUInt16_Max USHRT_MAX > > + #ifdef CPU_64BIT > + #define kSInt32_Max INT_MAX > + #define kUInt32_Max UINT_MAX > + #else > #define kSInt32_Max LONG_MAX > #define kUInt32_Max ULONG_MAX > + #endif > > #define kSInt64_Max LONG_LONG_MAX > #define kUInt64_Max ULONG_LONG_MAX I could not reproduce it here (FreeBSD 8.0-CURRENT + ports tree updated yesterday): # cd /usr/ports/net/DarwinStreamingServer/ # make patch ===> Vulnerability check disabled, database not found => DarwinStreamingSrvr6.0.3-Source.tar doesn't seem to exist in /local/FreeBSD/ports-distfiles/. => Attempting to fetch from http://dss.macosforge.org/downloads/. fetch: http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar: Moved Temporarily => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/. DarwinStreamingSrvr6.0.3-Source.tar 100% of 31 MB 98 kBps 00m00s => dss-6.0.3.patch doesn't seem to exist in /local/FreeBSD/ports-distfiles/. => Attempting to fetch from http://www.abrahamsson.com/. dss-6.0.3.patch 100% of 14 kB 17 kBps ===> Extracting for DarwinStreamingServer-6.0.3 => MD5 Checksum OK for DarwinStreamingSrvr6.0.3-Source.tar. => SHA256 Checksum OK for DarwinStreamingSrvr6.0.3-Source.tar. => MD5 Checksum OK for dss-6.0.3.patch. => SHA256 Checksum OK for dss-6.0.3.patch. ===> DarwinStreamingServer-6.0.3 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for DarwinStreamingServer-6.0.3 ===> DarwinStreamingServer-6.0.3 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying distribution patches for DarwinStreamingServer-6.0.3 ===> Applying FreeBSD patches for DarwinStreamingServer-6.0.3 # Are you sure that your ports tree is up-to-date? BTW, FreeBSD 6.0 was declared "end of life" a long time ago. Do you have any particular reason to keep using it? -- cd /usr/ports/sysutils/life make clean