porting icedtea6 to FreeBSD

Andrew Hughes ahughes at redhat.com
Mon Apr 16 06:59:00 PDT 2012



----- Original Message -----
> 
> 
> 
> On Thu, Mar 29, 2012 at 5:04 PM, Jason Helfman < jgh at freebsd.org >
> wrote:
> 
> 
> On Thu, Mar 29, 2012 at 06:49:25PM -0400, Andrew Hughes thus spake:
> 
> 
> 
> I don't know what's available on FreeBSD. We've tended to use gcj to
> get
> off the starting blocks, but OpenJDK6 works too.
> 
> I'll try openjdk6 first, and then if I can get it to work try others.
> 
> 
> 
> 
> 
> What makes you say I am not using the latest? I did update to 1.11.1
> for
> this latest build.
> https://redports.org/browser/ jgh/java/icedtea6/Makefile
> 
> Ok I didn't see that. Sorry.
> As I say, you may still find hg useful for contributing back.
> 
> Ok, I'll keep this in mind.
> 
> 
> 
> 
> 
> 
> Yes, I noticed this with the change to 1.11.1, and removed those from
> my
> Makefile.
> 
> Good.
> 
> 
> 
> >> 
> >> This has been resolved with later releases, and the patching is
> >> probably a
> >> result of misconfigured configured options.
> > 
> >I doubt it from what I've seen of what you're doing.
> > 
> >The issue seems to be that your OpenJDK sources are not in the
> >expected state.
> 
> It is the same checksum, though, and the same location that is
> fetched
> during the icedtea build. I just pre-fetch them, and assign it as a
> configure option.
> Here is a link to the files with the checksums that are used:
> https://redports.org/browser/ jgh/java/icedtea6/distinfo
> 
> 
> Can you provide a log of what happens when you run make? Something
> is clearly going wrong, but I can't see what if the tarballs are ok.
> Are you starting from a clean directory?
> 
> I am starting from a clean directory every time I build.
> Attached is the log you've requested.
> 
> Thanks!
> 
> 
> 
> Any thoughts on any of this?
> Thanks, again.
> 
> -jgh
> 
> 

What are you doing here?

/usr/bin/sed -i.bak -e 's|--dry-run||g' /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.am /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.in
/usr/bin/sed -i.bak -e 's|--check|-q|g' /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.am /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.in

If you're removing --dry-run, you're going to be applying the patch twice, which is why it's failing.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list