LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 01-24-2019, 04:47 AM   #1
cliffhanger
Member
 
Registered: Jan 2017
Posts: 60

Rep: Reputation: Disabled
Resuming from errors


Hi. I'm building a basic system with xorg. Two questions: 1. when one resumes a build does it start from the failure/stoppage or does it delete the existing? 2. Can anyone tell me if there is a 'order of build' file for the project? Something that maybe can be edited. Thanks Cliff

Last edited by cliffhanger; 01-24-2019 at 05:14 AM.
 
Old 01-24-2019, 06:30 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
If it fails in configure, you can just run the configure script again. But if it fails in make, you should never resume the build. The results of doing so are quite unpredictable. Delete the old files with "make clean" and then run make again.

The various Makefiles in different directories can show you the order in which things get built, but they are difficult to read and not editable in practice.

Last edited by hazel; 01-24-2019 at 06:33 AM.
 
Old 01-24-2019, 07:08 AM   #3
cliffhanger
Member
 
Registered: Jan 2017
Posts: 60

Original Poster
Rep: Reputation: Disabled
Thanks Hazel. When I said resume the build I meant the whole build of an Ayralinux. Does it resume from where there was a stoppage or an error or does it start again? I'm thinking I could correct an error then resume. Cliff
 
Old 01-24-2019, 07:26 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,925

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
I don't know what are you trying to build. The general answer is: it depends on the actual build system. If it was good enough it can continue where is was stopped last time. Otherwise it can repeat steps (unnecessarily) or skip required parts. This is all about quality. If it was not good enough you need to restart it from the beginning again and again to avoid problems.

The order of builds (or build dependency chain/tree) is specified in the build environment and the quality of the build system highly depends on the perfection of that dependency tree.
 
Old 01-24-2019, 08:01 AM   #5
cliffhanger
Member
 
Registered: Jan 2017
Posts: 60

Original Poster
Rep: Reputation: Disabled
Right. I'm using the Ayralinux builder disk to build an lfs system with xorg. The build is failing at the infamous cdrtools. Why it's installing that at this stage I don't know. . Thanks again Cliff
 
Old 01-28-2019, 07:51 AM   #6
cliffhanger
Member
 
Registered: Jan 2017
Posts: 60

Original Poster
Rep: Reputation: Disabled
Right I've cured the cdrtool problem. I managed to edit the 'build log' and then install the package manually. Anyway starting Stage 5 I get another error following the admin-user install

Starting stage 5
umount: /mnt/lfs/dev/pts: no mount point specified.
umount: /mnt/lfs/dev/shm: no mount point specified.
umount: /mnt/lfs/dev: not mounted.
umount: /mnt/lfs/sys: not mounted.
umount: /mnt/lfs/proc: not mounted.
umount: /mnt/lfs/run: not mounted.
mount: /dev bound on /mnt/lfs/dev.
mount: devpts mounted on /mnt/lfs/dev/pts.
mount: proc mounted on /mnt/lfs/proc.
mount: sysfs mounted on /mnt/lfs/sys.
mount: tmpfs mounted on /mnt/lfs/run.
mount: tmpfs mounted on /mnt/lfs/dev/shm.
mount: /mnt/lfs/dev: mount point does not exist.
mount: /mnt/lfs/dev/pts: mount point does not exist.
mount: /mnt/lfs/proc: mount point does not exist.
mount: /mnt/lfs/sys: mount point does not exist.
mount: /mnt/lfs/run: mount point does not exist.
mount: /mnt/lfs/dev/shm: mount point does not exist.
chroot: failed to run command ‘/usr/bin/env’: No such file or directory
Traceback (most recent call last):
File "./build-arya", line 335, in <module>
freshBuild(stage)
File "./build-arya", line 201, in freshBuild
if getParamValue('CREATE_BACKUPS') == 'y' or getParamValue('CREATE_BACKUPS') == 'Y':
File "./build-arya", line 72, in getParamValue
with open(propsFile) as f:
IOError: [Errno 2] No such file or directory: 'build-properties'

What is happening here? i assume this is the chroot script?

thanks Cliff
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are these error harmful? -.sd1 Soft Errors: 0 Hard Errors: 6 Transport Errors: 0 manalisharmabe Solaris / OpenSolaris 2 10-04-2013 11:55 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM
errors,errors,errors!!! randell6564 Mandriva 2 01-15-2006 02:29 AM
Grub errors...grub errors...grub errors smattmac Linux - Newbie 1 06-13-2005 02:07 PM
Resuming upload with Proftpd JimKyle Linux - Networking 2 03-07-2002 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration