LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AryaLinux (https://www.linuxquestions.org/questions/aryalinux-120/)
-   -   Build process for Aryalinux 2017 issues (https://www.linuxquestions.org/questions/aryalinux-120/build-process-for-aryalinux-2017-issues-4175598758/)

davidbrooke 02-01-2017 08:18 PM

Build process for Aryalinux 2017 issues
 
This is my first time using Aryalinux.
I ran into a few issues:

1. Starting the process.
I read the website instructions for installation located here:
http://aryalinux.org/docs/build-inst...in-details.php
The first step for installation (outside of disk prep) was:
Code:

cd scripts
./1.sh

I couldn't find the directory scripts or file 1.sh (using locate and updatedb) on the iso. After alot of searching I found this directory:
/root/aryalinux/base-system
which contained:
stage1, stage2, etc.... and build-arya. I decided to use the build-arya script since it seemed to be the latest method for the installation which contained all the steps / scripts to do a complete installation.
If I have found the proper method then the build instructions will need to be updated.

2. Install / Compile process.
I tried both the builder and the Mate iso's which resulted in the same issues. So I'm not concerned about which method so I'm reporting using the builder.
I ran into a couple of install/ compile issues and for now I'm only reporting the first one that was repeatable.
A. I started the process using the "build-arya" script.
B. After approximately 2 hours this error occurred:
Code:

make[2]: Leaving directory '/sources/cdrtools-3.01/libsiconv'
make[1]: Leaving directory '/sources/cdrtools-3.01/libsiconv'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libsiconv/tables"
make[1]: Entering directory '/sources/cdrtools-3.01/libsiconv/tables'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/sources/cdrtools-3.01/libsiconv/tables'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/btcflash"
make[1]: Entering directory '/sources/cdrtools-3.01/btcflash'
        ==> MAKING SYMLINKS in .
        ==> MAKING DIRECTORY "OBJ/x86_64-linux-cc"
        ==> MAKING SYMLINKS in .
        ==> MAKING SYMLINKS in .
        ==> MAKING SYMLINKS in .
        ==> MAKING DIRECTORY "OBJ/x86_64-linux-cc/man"
ln: failed to create symbolic link 'xxzzy.345': File exists
ln: failed to create symbolic link './cd_misc.c': File exists
ln: failed to create symbolic link './cd_misc.c': File exists
cp: '../readcd/io.c' and './io.c' are the same file
ln: failed to create symbolic link './io.c': File exists
cp: '../cdrecord/misc.c' and './misc.c' are the same file
ln: failed to create symbolic link './misc.c': File exists
cp: '../readcd/io.c' and './io.c' are the same file
ln: failed to create symbolic link './scsi_cdr.c': File exists
cp: '../cdrecord/scsi_cdr.c' and './scsi_cdr.c' are the same file
cp: '../cdrecord/misc.c' and './misc.c' are the same file
ln: failed to create symbolic link './scsi_scan.c': File exists
cp: '../cdrecord/scsi_scan.c' and './scsi_scan.c' are the same file
cp: '../cdrecord/scsi_cdr.c' and './scsi_cdr.c' are the same file
        ==> MAKING DEPENDENCIES "OBJ/x86_64-linux-cc/scsi_scan.d"
cp: '../cdrecord/scsi_scan.c' and './scsi_scan.c' are the same file
        ==> MAKING DEPENDENCIES "OBJ/x86_64-linux-cc/skel.d"
        ==> MAKING DEPENDENCIES "OBJ/x86_64-linux-cc/misc.d"
        ==> MAKING DEPENDENCIES "OBJ/x86_64-linux-cc/scsi_cdr.d"
        ==> MAKING DEPENDENCIES "OBJ/x86_64-linux-cc/cd_misc.d"
        ==> MAKING DEPENDENCIES "OBJ/x86_64-linux-cc/io.d"
 ==> COMPILING "OBJ/x86_64-linux-cc/skel.o"
 ==> COMPILING "OBJ/x86_64-linux-cc/io.o"
 ==> COMPILING "OBJ/x86_64-linux-cc/cd_misc.o"
 ==> COMPILING "OBJ/x86_64-linux-cc/scsi_cdr.o"
 ==> COMPILING "OBJ/x86_64-linux-cc/scsi_scan.o"
 ==> COMPILING "OBJ/x86_64-linux-cc/misc.o"
        ==> LINKING "OBJ/x86_64-linux-cc/btcflash"
make[1]: Leaving directory '/sources/cdrtools-3.01/btcflash'
        ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/cdda2wav"
make[1]: Entering directory '/sources/cdrtools-3.01/cdda2wav'
        ==> MAKING SYMLINKS in .
        ==> MAKING DIRECTORY "OBJ/x86_64-linux-cc"
        ==> MAKING SYMLINKS in .
        ==> MAKING SYMLINKS in .
        ==> MAKING DIRECTORY "OBJ/x86_64-linux-cc/man"
        ==> MAKING SYMLINKS in .
ln: failed to create symbolic link 'xxzzy.345': File exists
        ==> MAKING SYMLINKS in .
../RULES/local.cnf:46: OBJ/x86_64-linux-cc/local.cnf: No such file or directory
make[1]: *** No rule to make target 'autoconf.m4', needed by 'configure'.  Stop.
make[1]: *** Waiting for unfinished jobs....
        ==> MAKING DIRECTORY "OBJ/x86_64-linux-cc/Inull"
ln: failed to create symbolic link './cd_misc.c': File exists
ln: failed to create symbolic link './scsi_cdr.c': File exists
ln: failed to create symbolic link './scsi_scan.c': File exists
ln: failed to create symbolic link './priv.c': File exists
ln: failed to create symbolic link './acgeneral.m4': File exists
ln: failed to create symbolic link './aclocal.m4': File exists
ln: failed to create symbolic link './acoldnames.m4': File exists
ln: failed to create symbolic link './acspecific.m4': File exists
ln: failed to create symbolic link './autoconf.m4': File exists
ln: failed to create symbolic link './autoconf': File exists
ln: failed to create symbolic link './autoheader.m4': File exists
ln: failed to create symbolic link './config.guess': File exists
ln: failed to create symbolic link './config.sub': File exists
ln: failed to create symbolic link './install-sh': File exists
make[1]: *** [Makefile:13: install-sh] Error 1
make[1]: Leaving directory '/sources/cdrtools-3.01/cdda2wav'
make: *** [RULES/rules1.dir:25: all] Error 2
Error occured while running stage 4
root [ ~/aryalinux/base-system ]#

The first time this error occurred I restarted the "build-arya" script and it gave me two options:
1. New install
2. Resume install
I choose the number 2 option to resume the installation which it did continue to the next "install/ compile issue". I will report the next issue once we have resolved this one.
Thanks

chandrakant 02-04-2017 12:54 PM

Hi,

I think this issue is because of the existing extracted source tarball directory in /sources. Could you try this and report if it works:

Boot using the builder DVD/Pen Drive and run these commands in terminal(Replace <root partition> with the root partition you specified while running build-arya):

sudo su
cd /root/aryalinux/base-system
mkdir -pv /mnt/lfs
mount <root partition> /mnt/lfs
rm -r /mnt/lfs/sources/cdrtools-3.01
./umountal.sh

./build-arya

Then choose option 2 to resume the build and see if it works.

You have actually figured out the right script :-) The articles in the website are a little out of structure but would be putting them in order shortly. Sorry for the inconvenience.

davidbrooke 02-06-2017 07:11 AM

Thanks for the reply!
I not sure I understand your fix or you don't understand my problem....
Currently when the error happens...I work-around the issue by re-starting "./build-arya and selecting option 2 (resume)" and the issue is resolved.
You are asking me to remove the file that is having the issue and re-starting "./build-arya and selecting option 2 (resume)" which may resolve the issue.
Both scenario's will result in the same outcome.
I'm looking for a resolution that will eliminate the issue from ever occurring.
I hope this make sense, if not please let me know for further clarification.
Thanks

Update
Also to make it clear....
Each install I conduct starts with a newly formatted partition. Meaning that when the error occurs...it should only have the first download of the source file as per the script you have supplied.

chandrakant 02-06-2017 11:32 AM

Ok. So if I understand it right. This issue occurs always, no matter what. Right? And when you restart the build it just happens to work or ends up in the other issue.

I am starting a build myself. In a few hours, I'd get to the point where it occurs.

davidbrooke 02-06-2017 10:59 PM

I tried to install on 1/31/17 an 2/1/17

Steps to reproduce:
1. Download iso
2. Use "dd" to setup / install iso onto usb
3. Boot usb drive as "non-UEFI"
4. Run install script: ./build-arya
5. During stage 4 of the install process, "cdrtools" has an error

davidbrooke 02-11-2017 08:27 AM

I haven't heard anything so I went ahead re-tried a new install.
The result was the same error.
So I will wait to hear when the issue has been resolved before trying again.
Thanks

chandrakant 02-12-2017 08:07 AM

I tried the same twice, on two different systems, pretty different in terms of configurations and I could not reproduce the issue.

davidbrooke 02-12-2017 04:06 PM

I will try again some other time. I have several other distro's to test.
Thanks


All times are GMT -5. The time now is 08:08 PM.