From owner-freebsd-ports@FreeBSD.ORG Sat Jan 17 18:25:24 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7D7239C for ; Sat, 17 Jan 2015 18:25:24 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8832A98B for ; Sat, 17 Jan 2015 18:25:24 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1YCY3p-000HtE-3Q; Sat, 17 Jan 2015 19:25:25 +0100 Date: Sat, 17 Jan 2015 19:25:25 +0100 From: Kurt Jaeger To: Marco Beishuizen Subject: Re: updating alpine port to new version (as a maintainer) Message-ID: <20150117182525.GU44537@home.opsec.eu> References: <20150117165844.GS44537@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2015 18:25:24 -0000 Hi! > > # then I check the build and stuff on my test system (10.1-amd64) > > rm -rf work && make check-plist > > [ some iterations later ] > > When I do the make check-plist I get an error: > > ===> License APACHE20 accepted by the user > ===> Found saved configuration for alpine-2.11_2 > ===> alpine-2.20 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by alpine-2.20 for building > ===> Extracting for alpine-2.20 > => SHA256 Checksum OK for alpine-2.20/alpine-2.20.tar.xz. > => SHA256 Checksum OK for alpine-2.20/maildir.patch.gz. > ===> Patching for alpine-2.20 > ===> Applying distribution patches for alpine-2.20 > ===> Applying FreeBSD patches for alpine-2.20 > Ignoring previously applied (or reversed) patch. > 2 out of 2 hunks ignored--saving rejects to ./alpine/alpine.c.rej > => Patch patch-alpine__alpine.c failed to apply cleanly. The patch files/patch-alpine__alpine.c no longer applies to the new version of the code. > Any ideas how to go from here? I normally proceed by moving all non-applying patches into a seperate directory and try if the build works: cd ~/myp/mail/alpine mkdir OLD mv files/patch-alpine__alpine.c OLD/ # and retry rm -rf work && make check-plist If the patch is required (but different), one has to dig into the code and find out what needs to change for the code to build. -- pi@opsec.eu +49 171 3101372 5 years to go !