Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405923 - dev-java/netcdf-4.3 (wtk overlay) Failed Patch: 4.3-build-xml.patch
Summary: dev-java/netcdf-4.3 (wtk overlay) Failed Patch: 4.3-build-xml.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: W. Trevor King
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 16:28 UTC by Darek
Modified: 2012-02-28 02:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-java/netcdf-4.3 (wtk overlay) build.log, emerge --info (dev-java_netcdf.txt,7.04 KB, text/plain)
2012-02-26 16:28 UTC, Darek
Details
4.3-build-xml.patch.out (4.3-build-xml.patch.out,2.91 KB, text/plain)
2012-02-26 16:35 UTC, Darek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darek 2012-02-26 16:28:41 UTC
Created attachment 303381 [details]
dev-java/netcdf-4.3 (wtk overlay) build.log, emerge --info

Hello,

I have a problem with package from wtk overlay: dev-java/netcdf-4.3 - the patch 4.3-build-xml.patch doesn't working. build.log and other attachments included.

I have changed SRC_URI in dev-java/netcdf-4.3.ebuild because previous file doesn't exist:

if [[ "${PV}" == "9999" ]]; then
        inherit git-2
        EGIT_REPO_URI="git://github.com/Unidata/thredds.git"
        SRC_URI=""
else
        SRC_URI="ftp://ftp.unidata.ucar.edu/pub/${PN}-java/v${PV}/netcdfAll-${PV}.zip"
fi

Original link was:
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/${PN}-java/v${PV}/ncSrc-${PV}.zip"

----------------------------
There is also something in dev-java/joda-convert-1.1.ebuild, there should be something like this in else part:

src_unpack() {
        # Work around GitHub's "${PN}-<SHA1>" directory name
        if [[ "${PV}" == "9999" ]]; then
                git-2_src_unpack
        else
                unpack "${A}"
                mkdir joda-convert-1.1
                mv JodaOrg*/* joda-convert-1.1/
                S=$(pwd)/joda-convert-1.1
                #mv *-"${PN}"-*/* "${S}"
        fi
}

This code works for me.

Best regards,
Darek
Comment 1 Darek 2012-02-26 16:35:01 UTC
Created attachment 303383 [details]
4.3-build-xml.patch.out
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2012-02-27 11:07:28 UTC
Reassigning as the wtk overlay isn't maintained by the Gentoo Java Team.
Comment 3 W. Trevor King 2012-02-28 02:36:47 UTC
Should be fixed now for the 9999 ebuild.  Thanks for the report!

I've removed the 4.3 ebuild because "4.3" isn't a single release, and I'm not fast enough to track 4.3.x.  See the ChangeLog for details.