Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2013 13:45:08 GMT
From:      Nobuhiro Ban <ban.nobuhiro@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175829: openjdk7 build failed on FreeBSD 7
Message-ID:  <201302041345.r14Dj8xc012357@red.freebsd.org>
Resent-Message-ID: <201302041350.r14Do0Pc061537@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175829
>Category:       ports
>Synopsis:       openjdk7 build failed on FreeBSD 7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 04 13:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nobuhiro Ban
>Release:        FreeBSD 7.4-STABLE amd64
>Organization:
>Environment:
System: FreeBSD g3 7.4-STABLE FreeBSD 7.4-STABLE #62: Sat Jan 26 22:03:59 JST 2013     root@g3:/usr/obj/usr/src/sys/G3  amd64

>Description:
/usr/bin/patch on FreeBSD 7-STABLE does not accept long line.
So we can not build openjdk7 from ports.


Script log of portupgrade:
>How-To-Repeat:
always
>Fix:
Some ideas:

(a) Remove hotspot/test/runtime/7158804/Test7158804.sh from files/patch-set,
    and place it separately in files/.

or

(b) Use /usr/ports/devel/patch for patching on old FreeBSD.


>Release-Note:
>Audit-Trail:
>Unformatted:
 >env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openjdk-7.9.05_2 UPGRADE_PORT_VER=7.9.05_2 make clean
 >===>  Cleaning for openjdk-7.11.21_1
 >env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openjdk-7.9.05_2 UPGRADE_PORT_VER=7.9.05_2 make
 >===>  License GPLv2 accepted by the user
 >===>  Found saved configuration for openjdk-7.9.05_1
 >===>  Extracting for openjdk-7.11.21_1
 >=> SHA256 Checksum OK for openjdk-7u6-fcs-src-b24-09_aug_2012.zip.
 >=> SHA256 Checksum OK for apache-ant-1.8.4-bin.zip.
 >===>   openjdk-7.11.21_1 depends on file: /usr/local/bin/unzip - found
 >===>  Patching for openjdk-7.11.21_1
 >===>  Applying FreeBSD patches for openjdk-7.11.21_1
 >patch: **** malformed patch at line 2797: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa >.hotspotrc
 >=> Patch patch-set failed to apply cleanly.
 >=> Patch(es) patch-bsd_close.c patch-icedtea-web applied cleanly.
 >*** Error code 1
 >
 >Stop in /usr/ports/java/openjdk7.
 >*** Error code 1
 >
 >Stop in /usr/ports/java/openjdk7.
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302041345.r14Dj8xc012357>