Project

General

Profile

Trying to build Replicant from clean table

Added by johan sand about 4 years ago

Hi,

(not sure for right place, feel free to move)

Just installed fresh Trsiquel 7.0 and try to make everything ready for my first "free" phone (Galaxy SIII).

The following command:
(from http://redmine.replicant.us/projects/replicant/wiki/BuildDependenciesInstallation)

apt-get install git gnupg flex bison gperf build-essential zip curl openjdk-7-jre openjdk-7-jdk libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386

gave me following error...

------------------------
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: gcc (>= 4:4.4.3) but it is not going to be installed
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
g++-multilib : Depends: gcc-multilib (>= 4:4.8.2-1ubuntu6) but it is not going to be installed
Depends: g++ (>= 4:4.8.2-1ubuntu6) but it is not going to be installed
Depends: g++-4.8-multilib (>= 4.8.2-5~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
-----------------------

I'm I missing something or what?

before that I did these:

sudo apt-get install android-tools-adb
sudo apt-get install android-tools-fastboot
sudo apt-get install heimdall-flash
sudo apt-get install libsdl1.2debian openjdk-6-jdk ant

Everything was OK, after those. Try to search and test suggestion, but nothing worked. Is there some some kind of "How to do it from cleanTable Guide".

Do I need add some repos, so I can install all needed packages?

I love your idea, to do something "JUST BECAUSE I CAN"!

I'm ready to contribute my share, but I need something to work with :)


Replies (6)

RE: Trying to build Replicant from clean table - Added by johan sand about 4 years ago

Hi again,

Started from fresh Debian 8 and things are working.

However is https://git.replicant.us/ down or something? Can't pass repo init... Connection time out.

RE: Trying to build Replicant from clean table - Added by Paul Kocialkowski about 4 years ago

Well, it's unresponsive from here as well, I cannot even ssh to it. I'll notify the FSF sysadmins.

RE: Trying to build Replicant from clean table - Added by johan sand about 4 years ago

Up and Running!

Many thanks..

RE: Trying to build Replicant from clean table - Added by johan sand about 4 years ago

Back to the business..

repo init fails to following:

Fetching project replicant/kernel/goldelico/gta04
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
remote: Counting objects: 3239266, done.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
error: Cannot fetch replicant/kernel/goldelico/gta04

error: Exited sync due to fetch errors

Short searching points to the server side, but haven't dig deeper.

So this is just a quick comment for to notice someone :)

I dig deeper and try to find a way get sources. Let you know if find something useful..

Regards
GitNoob

RE: Trying to build Replicant from clean table - Added by johan sand about 4 years ago

Yep,

After searching for a while, I resolve the "problem" this way:

cp .repo/manifest.xml .repo/manifest_ORIG
nano .repo/manifest.xml

and just comment problem line out from manifest, so that I can go forward. Because at the moment I have Galaxy SIII.

I assume, I don't need gta04 kernel for that?

Just a moment, just when I'm writing this an other error occured...

--------------------
Fetching project replicant/kernel/samsung/aries
remote: Counting objects: 2097529, done.
remote: Compressing objects: 100% (333164/333164), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOFs: 30% (643286/2097529), 214.22 MiB | 15.00 KiB/s
fatal: index-pack failed
remote: Counting objects: 2097529, done.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
error: Cannot fetch replicant/kernel/samsung/aries

error: Exited sync due to fetch errors
--------------------

Same plan for this one. I keep you informed.

EDIT:

just a bit searching..

Can't skip this one?! Galaxy S needs this?

Anyway... I continue this way to the bitter end :) and let you know my findings..

RE: Trying to build Replicant from clean table - Added by Paul Kocialkowski about 4 years ago

Well, this is because our server is running out of RAM when cloning big repositories such as the kernel ones. You could retry until the server is less busy and succeeds at handling the repo without running out of RAM.

We have already notified the FSF sysadmins and we'll try to add more RAM to the machine soon.

    (1-6/6)