LinuxQuestions.org
Review your favorite Linux distribution.
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 05-09-2016, 10:51 AM   #1
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
AryaLinux 2016.04 Build Issues


This thread is for discussions related to build issues faced while building aryalinux
 
Old 05-09-2016, 10:51 AM   #2
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Original Poster
Rep: Reputation: Disabled
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.
Old 05-09-2016, 10:54 AM   #3
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
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'
 
Old 05-09-2016, 11:01 AM   #4
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
By the way, ncurses won't build with multicore set to 1... Bad package !
 
Old 05-09-2016, 11:02 AM   #5
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Original Poster
Rep: Reputation: Disabled
:-) there are few more.. Desktop file utils also follows ncurses in this regard
 
Old 05-09-2016, 11:05 AM   #6
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
Quote:
Originally Posted by chandrakant View Post
:-) 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...
 
Old 05-09-2016, 11:07 AM   #7
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Original Poster
Rep: Reputation: Disabled
Yeah.. That's right.. Builders from lfsland.. Just keep building... :-)
 
1 members found this post helpful.
Old 05-09-2016, 02:12 PM   #8
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
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 ?
 
Old 05-09-2016, 02:21 PM   #9
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
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
 
Old 05-09-2016, 03:51 PM   #10
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
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.
 
Old 05-09-2016, 05:13 PM   #11
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-09-2016, 05:15 PM   #12
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Original Poster
Rep: Reputation: Disabled
Or manually edit tarballs at /var/cache/alps/scripts. Though you might need superuser permissions to do so.
 
Old 05-10-2016, 04:31 AM   #13
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-10-2016, 05:43 AM   #14
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
Currently trying to build Xorg. Grabbed all xorg related patches
 
Old 05-10-2016, 05:47 AM   #15
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Original Poster
Rep: Reputation: Disabled
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.
 
  


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
Welcome to the AryaLinux Forum jeremy AryaLinux 6 05-09-2016 10:55 AM
LXer: Upcoming Features of Fedora 24 Linux, the Alpha Build Arrives on March 1, 2016 LXer Syndicated Linux News 0 01-12-2016 06:20 AM
Folding CD build issues injijagwalaafq Linux - Newbie 3 10-29-2013 10:15 PM
Compiling build 2.6.27.2 from 2.6.18 on SATA drive issues (Debian) Auxientius Linux - Kernel 25 10-26-2008 09:03 PM
Samba 3.0.7 build errors and issues. init Linux - Networking 0 10-01-2004 10:19 AM

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

All times are GMT -5. The time now is 03:39 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