On 2020/11/23 14:05, Dimitri Karamazov wrote:
> On Mon, November 23, 2020 12:43, Stuart Henderson wrote:
> > On 2020/11/23 09:13, Dimitri Karamazov wrote:
> >
> >> Forgot to add REVISION bump.
> >> The below changes are necessary, unless JAVA_HOME is manually appended to 
> >> PATH
> >> while building, not a thing to leave up to chance.
> >
> > This script is not called in the build.
> >
> >
> >
> ??
> 
> /usr/obj/ports/i2p-0.9.47/i2p-0.9.47/core/c/build.sh[12]: jar: not found
> Native code built into jbigi.jar

sigh, I was looking on i386 and of course it isn't built there because
tanukiwrapper fails, so I looked in i2pd.log rather than i2p.log by mistake.

> The above error is caused even on amd64, so I fix the jar location
> by making changes to ${WRKSRC}/core/c/build.sh which is called here.
> 
> post-build:
>        cd ${WRKSRC}/core/c && CC=${CC} BITS=${BITS} \
>               ${WRKSRC}/core/c/build.sh
> 
> I didn't catch it earlier since JAVA_HOME was appended to PATH.

also because the script is stupid and does no error checking...
Thanks, committed and I changed it to use #!/bin/sh -e.

Reply via email to