LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AryaLinux (https://www.linuxquestions.org/questions/aryalinux-120/)
-   -   AryaLinux 2016.04 Build Issues (https://www.linuxquestions.org/questions/aryalinux-120/aryalinux-2016-04-build-issues-4175579333/)

chandrakant 05-09-2016 10:51 AM

AryaLinux 2016.04 Build Issues
 
This thread is for discussions related to build issues faced while building aryalinux

chandrakant 05-09-2016 10:51 AM

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


FredBezies 05-09-2016 10:54 AM

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'

FredBezies 05-09-2016 11:01 AM

By the way, ncurses won't build with multicore set to 1... Bad package !

chandrakant 05-09-2016 11:02 AM

:-) there are few more.. Desktop file utils also follows ncurses in this regard

FredBezies 05-09-2016 11:05 AM

Quote:

Originally Posted by chandrakant (Post 5542696)
:-) 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... :D

chandrakant 05-09-2016 11:07 AM

Yeah.. That's right.. Builders from lfsland.. Just keep building... :-)

FredBezies 05-09-2016 02:12 PM

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 !

https://farm8.staticflickr.com/7087/...17da06567f.jpg

Related to the fact 3.sh didn't finished its work on first try ?

FredBezies 05-09-2016 02:21 PM

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 :

https://farm8.staticflickr.com/7180/...fd7bed5552.jpg

At least, I have a built Aryalinux to play with now :)

FredBezies 05-09-2016 03:51 PM

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.

chandrakant 05-09-2016 05:13 PM

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

chandrakant 05-09-2016 05:15 PM

Or manually edit tarballs at /var/cache/alps/scripts. Though you might need superuser permissions to do so.

chandrakant 05-10-2016 04:31 AM

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.

FredBezies 05-10-2016 05:43 AM

Currently trying to build Xorg. Grabbed all xorg related patches ;)

chandrakant 05-10-2016 05:47 AM

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 04:33 PM.