From nobody@FreeBSD.org  Fri Sep 14 11:28:08 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A41E7106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Sep 2012 11:28:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8FAA48FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Sep 2012 11:28:08 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8EBS865079022
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 14 Sep 2012 11:28:08 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8EBS8aK079021;
	Fri, 14 Sep 2012 11:28:08 GMT
	(envelope-from nobody)
Message-Id: <201209141128.q8EBS8aK079021@red.freebsd.org>
Date: Fri, 14 Sep 2012 11:28:08 GMT
From: Andrei Lavreniyuk <andy.lavr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] cannot build devel/yajl
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171639
>Category:       ports
>Synopsis:       [PATCH] cannot build devel/yajl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bapt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 14 11:30:11 UTC 2012
>Closed-Date:    Sat Oct 27 17:44:55 UTC 2012
>Last-Modified:  Sat Oct 27 17:44:55 UTC 2012
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 9.1-PRERELEASE
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD datacenter.technica-03.local 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Sep 13 14:36:57 EEST 2012     root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64
>Description:

 Cannot build port devel/yajl.

Please view patch.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u ./yajl.orig/Makefile ./yajl/Makefile
--- ./yajl.orig/Makefile	2012-09-10 16:08:51.000000000 +0300
+++ ./yajl/Makefile	2012-09-14 14:01:46.000000000 +0300
@@ -7,6 +7,9 @@
 
 PORTNAME=	yajl
 PORTVERSION=	2.0.4
+PKGNAMEPREFIX=  lloyd-
+PKGNAMESUFFIX=  -0-gfee1ebe
+DISTNAME=       ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
 PORTREVISION=	1
 CATEGORIES=	devel
 
diff -u ./yajl.orig/distinfo ./yajl/distinfo
--- ./yajl.orig/distinfo	2012-09-10 16:08:51.000000000 +0300
+++ ./yajl/distinfo	2012-09-14 14:01:49.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (yajl-2.0.4.tar.gz) = c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118
-SIZE (yajl-2.0.4.tar.gz) = 82814
+SHA256 (lloyd-yajl-2.0.4-0-gfee1ebe.tar.gz) = c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118
+SIZE (lloyd-yajl-2.0.4-0-gfee1ebe.tar.gz) = 82814


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bapt 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Sep 14 11:30:24 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171639 

From: Baptiste Daroussin <bapt@freebsd.org>
To: bug-followup@freebsd.org, andy.lavr@gmail.com
Cc:  
Subject: Re: ports/171639: [PATCH] cannot build devel/yajl
Date: Fri, 14 Sep 2012 13:55:41 +0200

 Can't reproduce, the GH macros do take care, of your additions to the makefile.
 
 So it should also work for you, are you sure your bsd.*.mk are up to date?
 
 regards,
 Bapt

From: Andrei Lavreniyuk <andy.lavr@gmail.com>
To: Baptiste Daroussin <bapt@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/171639: [PATCH] cannot build devel/yajl
Date: Fri, 14 Sep 2012 15:08:40 +0300

 2012/9/14 Baptiste Daroussin <bapt@freebsd.org>:
 > Can't reproduce, the GH macros do take care, of your additions to the makefile.
 >
 > So it should also work for you, are you sure your bsd.*.mk are up to date?
 
 
 Yes.
 
 
 
 ===>  License BSD accepted by the user
 => yajl-2.0.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 => Attempting to fetch
 https://nodeload.github.com/lloyd/yajl/tarball/2.0.4?dummy=/yajl-2.0.4.tar.gz
 --2012-09-14 15:04:51--
 https://nodeload.github.com/lloyd/yajl/tarball/2.0.4?dummy=/yajl-2.0.4.tar.gz
 Resolving nodeload.github.com (nodeload.github.com)... 207.97.227.252
 Connecting to nodeload.github.com
 (nodeload.github.com)|207.97.227.252|:443... connected.
 HTTP request sent, awaiting response... 200 OK
 
     The file is already fully retrieved; nothing to do.
 
 ===>  Extracting for yajl-2.0.4_1
 cannot open yajl-2.0.4.tar.gz: No such file or directory
 *** [checksum] Error code 2
 
 Stop in /usr/ports/devel/yajl.

From: Andrei Lavreniyuk <andy.lavr@gmail.com>
To: Baptiste Daroussin <bapt@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/171639: [PATCH] cannot build devel/yajl
Date: Fri, 14 Sep 2012 15:26:25 +0300

 2012/9/14 Baptiste Daroussin <bapt@freebsd.org>:
 > On Fri, Sep 14, 2012 at 12:10:08PM +0000, Andrei Lavreniyuk wrote:
 >> The following reply was made to PR ports/171639; it has been noted by GNATS.
 >>
 >> From: Andrei Lavreniyuk <andy.lavr@gmail.com>
 >> To: Baptiste Daroussin <bapt@freebsd.org>
 >> Cc: bug-followup@freebsd.org
 >> Subject: Re: ports/171639: [PATCH] cannot build devel/yajl
 >> Date: Fri, 14 Sep 2012 15:08:40 +0300
 >>
 >>  2012/9/14 Baptiste Daroussin <bapt@freebsd.org>:
 >>  > Can't reproduce, the GH macros do take care, of your additions to the makefile.
 >>  >
 >>  > So it should also work for you, are you sure your bsd.*.mk are up to date?
 >>
 >>
 >>  Yes.
 >>
 >>
 >>
 >>  ===>  License BSD accepted by the user
 >>  => yajl-2.0.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 >>  => Attempting to fetch
 >>  https://nodeload.github.com/lloyd/yajl/tarball/2.0.4?dummy=/yajl-2.0.4.tar.gz
 >>  --2012-09-14 15:04:51--
 >>  https://nodeload.github.com/lloyd/yajl/tarball/2.0.4?dummy=/yajl-2.0.4.tar.gz
 >>  Resolving nodeload.github.com (nodeload.github.com)... 207.97.227.252
 >>  Connecting to nodeload.github.com
 >>  (nodeload.github.com)|207.97.227.252|:443... connected.
 >>  HTTP request sent, awaiting response... 200 OK
 >>
 >>      The file is already fully retrieved; nothing to do.
 >
 >
 > ====> This is not normal you should at this point have a fetch of a
 > yajl-2.0.4.tar.gz which goes in /usr/ports/distfiles
 >
 > I tested on different boxes, I can't reproduce your problem.
 >
 > What do you have in your make.conf?
 >
 
 FETCH_CMD=wget
 FETCH_BEFORE_ARGS= -c -t 3
 FETCH_OUTPUT_ARGS= -O
 DISABLE_SIZE=yes
 
 If use default fetch then download fine.
 
 
 
 >>
 >>  ===>  Extracting for yajl-2.0.4_1
 >>  cannot open yajl-2.0.4.tar.gz: No such file or directory
 >>  *** [checksum] Error code 2
 >>
 >>  Stop in /usr/ports/devel/yajl.
 >
 > regards,
 > Bapt
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Sat Oct 27 17:44:54 UTC 2012 
State-Changed-Why:  
Nothing I can do about wget being able to work with USE_GITHUB, sorry 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171639 
>Unformatted:
