AryaLinux This forum is for the discussion of AryaLinux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
05-09-2016, 10:51 AM
#1
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep:
AryaLinux 2016.04 Build Issues
This thread is for discussions related to build issues faced while building aryalinux
05-09-2016, 10:51 AM
#2
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Original Poster
Rep:
In case build fails while running 3.sh in ncurses, then try removing ncurses directory in /sources and retry:
Code:
rm -rf ncurses-6.0
./3.sh
If it still fails again, then change the value of MULTICORE from "y" to "n", in case you opted for it while running 1.sh and then retry:
Code:
rm -rf ncurses-6.0
./3.sh
1 members found this post helpful.
05-09-2016, 10:54 AM
#3
LQ Newbie
Registered: May 2016
Distribution: ArchLinux
Posts: 20
Rep:
Don't forget to remove also /usr/share/doc/ncurses-6.0/
By the way, here is a full error log. Trying with multicore disabled now.
Quote:
touch config.h
touch config.h
gawk -f MKterm.h.awk ./Caps > term.h
gawk -f MKterm.h.awk ./Caps > term.h
/bin/sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h
/bin/sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h
** edit: HAVE_TCGETATTR 1
** edit: HAVE_TCGETATTR 1
** edit: HAVE_TERMIOS_H 1
mv: cannot stat 'term.h': No such file or directory
** edit: HAVE_TERMIOS_H 1
sed: can't read save25259: No such file or directory
mv: cannot stat 'term.h': No such file or directory
** edit: HAVE_TERMIO_H 1
** edit: HAVE_TERMIO_H 1
sed: can't read save25259: No such file or directory
** edit: BROKEN_LINKER 0
mv: cannot stat 'term.h': No such file or directory
** edit: BROKEN_LINKER 0
sed: can't read save25256: No such file or directory
make[1]: Leaving directory '/sources/ncurses-6.0/include'
cd ncurses && make DESTDIR="" RPATH_LIST="/usr/lib" libs
make[1]: Leaving directory '/sources/ncurses-6.0/include'
cd ncurses && make DESTDIR="" RPATH_LIST="/usr/lib" sources
make[1]: Entering directory '/sources/ncurses-6.0/ncurses'
gawk -f ./tinfo/MKcodes.awk bigstrings=1 ./../include/Caps >codes.c
make[1]: Entering directory '/sources/ncurses-6.0/ncurses'
gawk -f ./tinfo/MKcodes.awk bigstrings=1 ./../include/Caps >codes.c
gcc -o make_hash -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include -I./../include -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 ./tinfo/make_hash.c
gcc -o make_hash -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include -I./../include -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 ./tinfo/make_hash.c
/bin/sh -e ./tty/MKexpanded.sh "gcc -E" -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG > expanded.c
/bin/sh -e ./tty/MKexpanded.sh "gcc -E" -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG > expanded.c
/bin/sh -e ./tinfo/MKfallback.sh /usr/share/terminfo ../misc/terminfo.src /usr/bin/tic >fallback.c
/bin/sh -e ./tinfo/MKfallback.sh /usr/share/terminfo ../misc/terminfo.src /usr/bin/tic >fallback.c
/bin/sh -e ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG" "gawk" generated <../include/curses.h >lib_gen.c
/bin/sh -e ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG" "gawk" generated <../include/curses.h >lib_gen.c
.. adding -P option to work around gcc 5.3.0
.. adding -P option to work around gcc 5.3.0
AWK=gawk /bin/sh ./tinfo/MKkeys_list.sh ../include/Caps | sort >keys.list
AWK=gawk /bin/sh ./tinfo/MKkeys_list.sh ../include/Caps | sort >keys.list
/bin/sh -e ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG" "gawk" implemented <../include/curses.h >link_test.c
/bin/sh -e ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG" "gawk" implemented <../include/curses.h >link_test.c
.. adding -P option to work around gcc 5.3.0
.. adding -P option to work around gcc 5.3.0
gawk -f ./tinfo/MKnames.awk bigstrings=1 ./../include/Caps >names.c
gawk -f ./tinfo/MKnames.awk bigstrings=1 ./../include/Caps >names.c
echo | gawk -f ./base/MKunctrl.awk bigstrings=1 >unctrl.c
echo | gawk -f ./base/MKunctrl.awk bigstrings=1 >unctrl.c
gcc -o make_keys -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include -I./../include -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 ./tinfo/make_keys.c
gcc -o make_keys -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include -I./../include -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 ./tinfo/make_keys.c
gcc -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 -fPIC -c ../ncurses/./tty/hardscroll.c -o ../obj_s/hardscroll.o
/bin/sh -e ./tinfo/MKcaptab.sh gawk 1 ./tinfo/MKcaptab.awk ./../include/Caps > comp_captab.c
gawk -f ./base/MKkeyname.awk bigstrings=1 keys.list > lib_keyname.c
./make_keys keys.list > init_keytry.h
make[1]: Leaving directory '/sources/ncurses-6.0/ncurses'
cd progs && make DESTDIR="" RPATH_LIST="/usr/lib" sources
make[1]: Entering directory '/sources/ncurses-6.0/progs'
/bin/sh ./MKtermsort.sh gawk ./../include/Caps >termsort.c
In file included from ./curses.priv.h:390:0,
from ../ncurses/./tty/hardscroll.c:148:
../include/term_entry.h:75:2: error: unknown type name 'TERMTYPE'
TERMTYPE tterm;
^
In file included from ./curses.priv.h:390:0,
from ../ncurses/./tty/hardscroll.c:148:
../include/term_entry.h:147:45: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_init_entry (TERMTYPE *const);
^
../include/term_entry.h:148:46: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_merge_entry (TERMTYPE *const, TERMTYPE *const);
^
../include/term_entry.h:148:63: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_merge_entry (TERMTYPE *const, TERMTYPE *const);
^
../include/term_entry.h:152:49: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_align_termtype (TERMTYPE *, TERMTYPE *);
^
../include/term_entry.h:152:61: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_align_termtype (TERMTYPE *, TERMTYPE *);
^
../include/term_entry.h:153:48: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_copy_termtype (TERMTYPE *, const TERMTYPE *);
^
../include/term_entry.h:153:66: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_copy_termtype (TERMTYPE *, const TERMTYPE *);
^
../include/term_entry.h:156:48: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_free_termtype (TERMTYPE *);
^
../include/term_entry.h:162:46: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(char *) _nc_trim_sgr0 (TERMTYPE *);
^
../include/term_entry.h:174:46: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_write_entry (TERMTYPE *const);
^
../include/term_entry.h:182:62: error: unknown type name 'TERMTYPE'
extern NCURSES_IMPEXP void NCURSES_API (*_nc_check_termtype)(TERMTYPE *); /* obs 20040705 */
^
../include/term_entry.h:183:63: error: unknown type name 'TERMTYPE'
extern NCURSES_IMPEXP void NCURSES_API (*_nc_check_termtype2)(TERMTYPE *, bool);
^
../include/term_entry.h:186:47: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_trace_xnames (TERMTYPE *);
^
In file included from ../ncurses/./tty/hardscroll.c:148:0:
./curses.priv.h:765:5: error: unknown type name 'TERMINAL'
TERMINAL *last_term;
^
./curses.priv.h:961:2: error: unknown type name 'TTY'
TTY *saved_tty; /* savetty/resetty information */
^
./curses.priv.h:1009:2: error: unknown type name 'TERMINAL'
TERMINAL *_term; /* terminal type information */
^
./curses.priv.h:1010:2: error: unknown type name 'TTY'
TTY _saved_tty; /* savetty/resetty information */
^
In file included from ../ncurses/./tty/hardscroll.c:148:0:
./curses.priv.h:1942:53: error: unknown type name 'TERMINAL'
extern NCURSES_EXPORT(int) _nc_locale_breaks_acs(TERMINAL *);
^
./curses.priv.h:1944:47: error: unknown type name 'TERMINAL'
extern NCURSES_EXPORT(void) _nc_tinfo_cmdch(TERMINAL *, int);
^
./curses.priv.h:2010:59: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(ENTRY *) _nc_delink_entry (ENTRY *, TERMTYPE *);
^
In file included from ./curses.priv.h:50:0,
from ../ncurses/./tty/hardscroll.c:148:
./curses.priv.h:2012:23: error: unknown type name 'TERMINAL'
extern NCURSES_EXPORT(TERMINAL*) _nc_get_cur_term (void);
^
../include/ncurses_dll.h:96:47: note: in definition of macro 'NCURSES_EXPORT'
# define NCURSES_EXPORT(type) NCURSES_IMPEXP type NCURSES_API
^
In file included from ../ncurses/./tty/hardscroll.c:148:0:
./curses.priv.h:2029:71: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(int) _nc_read_termcap_entry (const char *const, TERMTYPE *const);
^
./curses.priv.h:2030:58: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(int) _nc_setup_tinfo(const char *, TERMTYPE *);
^
./curses.priv.h:2036:54: error: unknown type name 'TERMTYPE'
extern NCURSES_EXPORT(void) _nc_free_entry (ENTRY *, TERMTYPE *);
^
./curses.priv.h:2206:45: error: unknown type name 'TTY'
extern NCURSES_EXPORT(int) _nc_set_tty_mode(TTY *);
^
./curses.priv.h:2207:45: error: unknown type name 'TTY'
extern NCURSES_EXPORT(int) _nc_get_tty_mode(TTY *);
^
Makefile:889: recipe for target '../obj_s/hardscroll.o' failed
make[1]: *** [../obj_s/hardscroll.o] Error 1
make[1]: Leaving directory '/sources/ncurses-6.0/ncurses'
Makefile:137: recipe for target 'libs' failed
make: *** [libs] Error 2
make: *** Waiting for unfinished jobs....
echo "#ifndef __TRANSFORM_H" >transform.h
echo "#define __TRANSFORM_H 1" >>transform.h
echo "#include <progs.priv.h>" >>transform.h
echo "extern bool same_program(const char *, const char *);" >>transform.h
/bin/sh -c 'if test -n "" ; then echo "#define SUFFIX_IGNORED """>>transform.h; fi'
echo "#define PROG_CAPTOINFO "`echo captoinfo| sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"" >>transform.h
echo "#define PROG_INFOTOCAP "`echo infotocap| sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"" >>transform.h
echo "#define PROG_RESET "`echo reset| sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"" >>transform.h
echo "#define PROG_INIT "`echo init| sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"" >>transform.h
echo "#endif /* __TRANSFORM_H */" >>transform.h
make[1]: Leaving directory '/sources/ncurses-6.0/progs'
cd panel && make DESTDIR="" RPATH_LIST="/usr/lib" sources
make[1]: Entering directory '/sources/ncurses-6.0/panel'
rm -f ../include/panel.h
cp ./panel.h ../include/panel.h
make[1]: Leaving directory '/sources/ncurses-6.0/panel'
cd menu && make DESTDIR="" RPATH_LIST="/usr/lib" sources
make[1]: Entering directory '/sources/ncurses-6.0/menu'
rm -f ../include/menu.h
rm -f ../include/eti.h
cp ./menu.h ../include/menu.h
cp ./eti.h ../include/eti.h
rm -f ../include/mf_common.h
cp ./mf_common.h ../include/mf_common.h
make[1]: Leaving directory '/sources/ncurses-6.0/menu'
cd form && make DESTDIR="" RPATH_LIST="/usr/lib" sources
make[1]: Entering directory '/sources/ncurses-6.0/form'
rm -f ../include/form.h
cp ./form.h ../include/form.h
make[1]: Leaving directory '/sources/ncurses-6.0/form'
cd test && make DESTDIR="" RPATH_LIST="/usr/lib" sources
make[1]: Entering directory '/sources/ncurses-6.0/test'
make[1]: Nothing to be done for 'sources'.
make[1]: Leaving directory '/sources/ncurses-6.0/test'
cd misc && make DESTDIR="" RPATH_LIST="/usr/lib" sources
make[1]: Entering directory '/sources/ncurses-6.0/misc'
WHICH_XTERM=xterm-new \
XTERM_KBS=BS \
datadir=/usr/share \
/bin/sh ./gen_edit.sh >run_tic.sed
echo '** adjusting tabset paths'
** adjusting tabset paths
sed -f run_tic.sed ../misc/terminfo.src >terminfo.tmp
make[1]: Leaving directory '/sources/ncurses-6.0/misc'
05-09-2016, 11:01 AM
#4
LQ Newbie
Registered: May 2016
Distribution: ArchLinux
Posts: 20
Rep:
By the way, ncurses won't build with multicore set to 1... Bad package !
05-09-2016, 11:02 AM
#5
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Original Poster
Rep:
:-) there are few more.. Desktop file utils also follows ncurses in this regard
05-09-2016, 11:05 AM
#6
LQ Newbie
Registered: May 2016
Distribution: ArchLinux
Posts: 20
Rep:
Quote:
Originally Posted by
chandrakant
:-) there are few more.. Desktop file utils also follows ncurses in this regard
Well, at least, I know what to do if there is a broken build process. Bad packages...
05-09-2016, 11:07 AM
#7
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Original Poster
Rep:
Yeah.. That's right.. Builders from lfsland.. Just keep building... :-)
1 members found this post helpful.
05-09-2016, 02:12 PM
#8
LQ Newbie
Registered: May 2016
Distribution: ArchLinux
Posts: 20
Rep:
Another bug. There is no /home/name-of-user directory created. When I reboot and login for the first time with my normal user account, I got an error telling me :
No directory, logging with HOME=/
See attached screenshot.
By the way, /etc/vconsole.conf wasn't created. So keyboard is in english by default ! Ouch !
Related to the fact 3.sh didn't finished its work on first try ?
05-09-2016, 02:21 PM
#9
LQ Newbie
Registered: May 2016
Distribution: ArchLinux
Posts: 20
Rep:
Deleted my automatically created user account. Created a new one with useradd and it works. Oops !
Also I created /etc/vconsole.conf with vim :
Code:
KEYMAP=fr-latin9
FONT=lat9w-16
Here is the content for my french enabled version of Aryalinux :
At least, I have a built Aryalinux to play with now
05-09-2016, 03:51 PM
#10
LQ Newbie
Registered: May 2016
Distribution: ArchLinux
Posts: 20
Rep:
A little question : for both pciutils and usbutils, sources are grabbed from ftp.kernel.org. But I get a timeout every time. Could it be possible to replace ftp.kernel.org by
www.kernel.org in sources URL ?
Thanks a lot.
Last edited by FredBezies; 05-09-2016 at 03:51 PM .
Reason: Added some infos.
05-09-2016, 05:13 PM
#11
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Original Poster
Rep:
Yes.. Or better still Google for the tarballs and do alps src <URL of tarball>. That would download the tarballs to right place. Then you can continue
05-09-2016, 05:15 PM
#12
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Original Poster
Rep:
Or manually edit tarballs at /var/cache/alps/scripts. Though you might need superuser permissions to do so.
05-10-2016, 04:31 AM
#13
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Original Poster
Rep:
If a build-failure occurs during the installation of webkitgtk, please run:
sudo alps updatescripts
and then continue.
The webkitgtk scripts has been updated to include a sed at the beginning which prevents the build failure.
05-10-2016, 05:43 AM
#14
LQ Newbie
Registered: May 2016
Distribution: ArchLinux
Posts: 20
Rep:
Currently trying to build Xorg. Grabbed all xorg related patches
05-10-2016, 05:47 AM
#15
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Original Poster
Rep:
Ok. In case you get stuck with llvm. Make sure you waste no time and get ccache configured before that. Saves a lot of time. Also in the SVN version of the book a certain patch for xserver is mentioned wrongly. I guess the name is wayland patch or something. I guess its got something to provide support for wayland but am not sure. Honestly I dont have a clue what would be the side effect of leaving this patch out because till now I have not seen any adverse effects.
Anyways good luck with your build. I am building gnome-desktop as of now. In case its successful, would update the scripts online. Gnome is taking really long. But its smooth. Hardly any glitch except missing packages.
All times are GMT -5. The time now is 03:39 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News