Re: [Replicant] Help with Replicant 7.1 build error

2018-02-25 Thread Joonas Kylmälä
Hi Josh,

Josh Branning:
> I can't even attempt to help because I can't seem to access git.putti.space

There's no HTTP server running there, only git daemon. You can get the
source code I use with "repo init -u
git://git.putti.space/replicant/manifest.git -b replicant-7.1-dev".
However, it's not quite the exact what I have because I still have some
changes locally. I will try get it into such shape next week so that
other people could build it, too.

> The best I have to go on is
> https://android.googlesource.com/platform/libcore/+/master/ojluni/src/main/java/java/util/stream/ReferencePipeline.java

Thanks for the link it helped hugely! I was using
https://github.com/LineageOS/android_libcore branch cm14.1 and it didn't
have that cast to type Node. After putting that cast it compiles!
There's the comment "Eclipse compiler requires explicit (Node) cast
below." and I'm guessing why LineageOS people are not having the same
build issue that I had is because they are using the Google modified and
prebuilt Eclipse compiler.

Thanks a lot again! :)

Joonas
___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant


Re: [Replicant] Help with Replicant 7.1 build error

2018-02-25 Thread Josh Branning

I can't even attempt to help because I can't seem to access git.putti.space

The best I have to go on is 
https://android.googlesource.com/platform/libcore/+/master/ojluni/src/main/java/java/util/stream/ReferencePipeline.java


Which takes one argument, a vector; IntFunction and uses Nodes as a 
global variable, rather than parsing Nodes and IntFunction (a 
non-vector) as a variable.


Josh

On 25/02/18 16:09, Joonas Kylmälä wrote:

Hi,

I'm trying to build the franken Replicant 7.1 that I have and I get the
following error that I cannot figure out how to solve:

ninja: Entering directory `.'
[ 20% 1/5] Ensure Jack server is installed and started
Jack server already installed in "/home/user/.jack-server"
Server is already running
Server updated, waiting for restart
[ 40% 2/5] Building with Jack:
/home/user/dev/replicant-7.1-dev/ou...n/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex
FAILED: /bin/bash
/home/user/dev/replicant-7.1-dev/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
ERROR:
/home/user/dev/replicant-7.1-dev/libcore/ojluni/src/main/java/java/util/stream/ReferencePipeline.java:439.28:
The method flatten(Node, IntFunction) in the type Nodes is not
applicable for the arguments (Node, IntFunction)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

Any tips on how to debug this? Maybe I'm using old version of some Java
library or tool and it is caused by that?

Joonas
___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant



___
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant