I edit the dangerous_build_bootstrap.sh and dangerous_build_rest.sh and they finished.
When it finished it doesn't seem like gnome,desktop,libreoffice and programming where installed.
Do I have to use the scripts at http://kaarpux.kaarposoft.dk/complete.html from gnome on to finish?
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
dangerous_build_rest.sh should build and install everything, i.e. no need to run other build scripts.
Did you look at the output from running dangerous_build_rest.sh: was the stuff that you are missing build or not?
(You should have a "build.log" file, where you can check that).
What do you mean by "doesn't seem like ... where installed" ? Where they not in the log? Do you not see them in the file system? Or???
/Henrik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry I didn't notice the error.
I 2014-05-24_02:35:47 KX_PKG_INFO Installing opt package: [icedtea7]
I 2014-05-24_02:35:52 KX_PKG_DONE [icedtea7] took [9825] seconds elapsed
E 2014-05-24_02:50:01 KX_PKG_FAIL Building opt package [thunderbird] FAILED [2]
E 2014-05-24_02:50:01 KX_PAR_FAIL Parallel build failed: [ thunderbird ]
In your main docs of step by step, you state "The rest of the build process must be run under X11"
I thought that have been why the gnome build didn't work.
Steve
Last edit: Stephen 2014-05-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The requirement to run under X11 is actually only for testing, not for the building itself.
So if you have KX_DISABLE_TEST=yes then it should not matter.
If you have come this far in the build process, GNOME should actually have been build and installed already.
So you should be able to start GNOME:
systemctl start graphical.target
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, all working, just some minor issue when I use the gdm as root and gnome boots I can't do anything in the gnome screen. If I run this command
ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target
I found at http://www.freedesktop.org/wiki/Software/systemd/FrequentlyAskedQuestions/
Then reboot and get a gnome login and it all works.
do you want my edits to the scripts?
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I edit the dangerous_build_bootstrap.sh and dangerous_build_rest.sh and they finished.
When it finished it doesn't seem like gnome,desktop,libreoffice and programming where installed.
Do I have to use the scripts at http://kaarpux.kaarposoft.dk/complete.html from gnome on to finish?
Steve
dangerous_build_rest.sh should build and install everything, i.e. no need to run other build scripts.
Did you look at the output from running dangerous_build_rest.sh: was the stuff that you are missing build or not?
(You should have a "build.log" file, where you can check that).
What do you mean by "doesn't seem like ... where installed" ? Where they not in the log? Do you not see them in the file system? Or???
/Henrik
Sorry I didn't notice the error.
I 2014-05-24_02:35:47 KX_PKG_INFO Installing opt package: [icedtea7]
I 2014-05-24_02:35:52 KX_PKG_DONE [icedtea7] took [9825] seconds elapsed
E 2014-05-24_02:50:01 KX_PKG_FAIL Building opt package [thunderbird] FAILED [2]
E 2014-05-24_02:50:01 KX_PAR_FAIL Parallel build failed: [ thunderbird ]
In your main docs of step by step, you state "The rest of the build process must be run under X11"
I thought that have been why the gnome build didn't work.
Steve
Last edit: Stephen 2014-05-23
The requirement to run under X11 is actually only for testing, not for the building itself.
So if you have KX_DISABLE_TEST=yes then it should not matter.
If you have come this far in the build process, GNOME should actually have been build and installed already.
So you should be able to start GNOME:
the end of the thunderbird build log
clang: error: unable to execute command: Killed
clang: error: linker command failed due to signal (use -v to see invocation)
/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/mozilla/config/rules.mk:1023: recipe for target 'libxul.so' failed
make[5]: [libxul.so] Error 254
make[5]: Leaving directory '/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/obj-x86_64-unknown-linux-gnu/mozilla/toolkit/library'
/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/mozilla/config/makefiles/target_libs.mk:16: recipe for target 'libs_tier_platform' failed
make[4]: [libs_tier_platform] Error 2
make[4]: Leaving directory '/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/obj-x86_64-unknown-linux-gnu/mozilla'
/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/mozilla/config/rules.mk:737: recipe for target 'tier_platform' failed
make[3]: [tier_platform] Error 2
make[3]: Leaving directory '/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/obj-x86_64-unknown-linux-gnu/mozilla'
/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/mozilla/config/rules.mk:670: recipe for target 'default' failed
make[2]: [default] Error 2
make[2]: Leaving directory '/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/obj-x86_64-unknown-linux-gnu/mozilla'
Makefile:45: recipe for target 'default' failed
make[1]: [default] Error 2
make[1]: Leaving directory '/home/kaarpux/kaarpux/linux/build/opt/thunderbird-24.5.0/obj-x86_64-unknown-linux-gnu'
client.mk:346: recipe for target 'build' failed
make: [build] Error 2
Command exited with non-zero status 2
Command being timed: "/home/kaarpux/kaarpux/linux/scripts/opt/thunderbird_BUILD.sh"
User time (seconds): 4132.33
System time (seconds): 323.41
Percent of CPU this job got: 41%
Elapsed (wall clock) time (h:mm:ss or m:ss): 2:57:54
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 1893260
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 39582
Minor (reclaiming a frame) page faults: 130757158
Voluntary context switches: 354967
Involuntary context switches: 1688320
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 2
Steve
My guess is, that you have run out of memory!
Try
and look for oom
(How much physical RAM does your machine have?)
If lack of memory is the problem, there are two options.
First of all, you could of course add a swap partition.
However, a better way may be to not build icedtea and thunderbird in parallel:
Edit master.yaml like this:
i.e. remove the - parallel: and delete two spaces in front of - pkg: for both icedtea7 and thunderbird
And do not forget to run make_scripts.sh afterwards...
I am not quite sure what the minimal amount of memory needed is for building KaarPux, but my logs show those Maximum resident set size in Giga Bytes:
thunderbird: 2.5
firefox: 3.1
icedtea7: 0.7
So I would guess that at least 4GB (physical or swap) would be needed
Ok, this maybe the problem. my fstab is all wrong, no swap and vda1 for hard drive.
I'll go through the script. and see where the issue is.
Steve
file system mount-point type options dump fsck
order
/dev/vda1 / ext4 defaults 1 1
none swap swap pri=1 0 0
I do not think the wrong root partition in fstab is a problem.
The root partition is mounted early by the initramfs, and the fstab probably not used. If you where able to boot, this must have been OK.
However, if you have too little physical RAM, the lack of a swap partition may be the problem...
A weird thing, at boot there normally a delay while its uncompressing the kernal image, it seems to boot with no delays, is that normal.
Steve
Grub will usually show something like
Followed by the output from the booted kernel.
As far as I can tell, the two Loading lines are displayed before any of the two actions are taken.
happens so quick can't tell :)
Steve
Ok, all working, just some minor issue when I use the gdm as root and gnome boots I can't do anything in the gnome screen. If I run this command
ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target
I found at
http://www.freedesktop.org/wiki/Software/systemd/FrequentlyAskedQuestions/
Then reboot and get a gnome login and it all works.
do you want my edits to the scripts?
Steve
See
http://kaarpux.kaarposoft.dk/gdm_startup.html
which is part of
http://kaarpux.kaarposoft.dk/post_install.html