From owner-freebsd-ports@FreeBSD.ORG Mon Oct 13 13:25:35 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 987B71065694; Mon, 13 Oct 2008 13:25:35 +0000 (UTC) (envelope-from jason@tinisi.com) Received: from mail.onholyground.com (altar.onholyground.com [216.165.189.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4B41B8FC1B; Mon, 13 Oct 2008 13:25:34 +0000 (UTC) (envelope-from jason@tinisi.com) Received: from [10.1.1.100] (h69-129-137-194.69-129.unk.tds.net [69.129.137.194]) (authenticated bits=0) by mail.onholyground.com (8.13.6/8.13.1) with ESMTP id m9DDPYW8023489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Oct 2008 08:25:35 -0500 Message-ID: <48F34C4E.1020600@tinisi.com> Date: Mon, 13 Oct 2008 08:25:34 -0500 From: Jason User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: "Carlos A. M. dos Santos" References: <48F2B3ED.5060103@tinisi.com> In-Reply-To: X-Scanned-By: MIMEDefang 2.63 on 216.165.189.196 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 Reply-To: jason@tinisi.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 13:25:35 -0000 Carlos, Thanks for the reply. I downloaded just the Streaming Server port from the FreeBSD web site, I haven't upgraded my entire ports tree. But, if I understand this particular problem, the only factors are the actual patch file and the file being patched, so as long as those are in sync, it should work. Is the port posted on the FreeBSD web the latest? The web access to cvs shows the port I am using at revision 1.35. Has something else fundamental changed like make itself or the patch utility since 6.0 was released? As far as why I am still on 6.0, please chalk it up to admin laziness. I know it is time to upgrade, but I usually like to skip a version or two and then do the work of rebuilding my production server from scratch. Just need to find that free weekend to rebuild and install all the apps I depend on. Thanks a lot for the response, if I thought that my outdated version of FreeBSd was causing this problem, I would not have bugged you about this. I am only hoping that once this compiles it will work for me, as the older version of DSS that I have installed at the moment has pretty much stopped working. Jason Carlos A. M. dos Santos wrote: > 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? > >