Hi guys, Looking at the texinfo build log I stumbled over the following difference between the x86 and the arm build: ###### x86 ###### checking for tgetent in -lncurses... yes checking for library with termcap variables... checking ncurses/termcap.h usability... yes checking ncurses/termcap.h presence... yes checking for ncurses/termcap.h... yes ###### ARM ###### checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lterminfo... no configure: WARNING: probably need a terminal library, one of: ncurses curses termlib termcap terminfo checking for library with termcap variables... The build failure in the ARM package seems to be related: terminal.o: In function `terminal_goto_xy': /home/abuild/rpmbuild/BUILD/texinfo-4.13/info/terminal.c:235: undefined reference to `tgoto' If anyone is searching for a (potential) low hanging fruit, I hope this is one :). It is not an emulation bug btw - the native build fails the exact same way. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 20.11.2011, at 00:29, Alexander Graf wrote:
Hi guys,
Looking at the texinfo build log I stumbled over the following difference between the x86 and the arm build:
###### x86 ######
checking for tgetent in -lncurses... yes checking for library with termcap variables... checking ncurses/termcap.h usability... yes checking ncurses/termcap.h presence... yes checking for ncurses/termcap.h... yes
###### ARM ######
checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lterminfo... no configure: WARNING: probably need a terminal library, one of: ncurses curses termlib termcap terminfo checking for library with termcap variables...
The build failure in the ARM package seems to be related:
terminal.o: In function `terminal_goto_xy': /home/abuild/rpmbuild/BUILD/texinfo-4.13/info/terminal.c:235: undefined reference to `tgoto'
If anyone is searching for a (potential) low hanging fruit, I hope this is one :). It is not an emulation bug btw - the native build fails the exact same way.
Hrm, this one seem to stretch a bit further. There are more packages which seem to fail because of ncurses/termcap breakage: telnet, xterm, xorg-x11, probably others The offending change is the following: + 1321444800 werner@suse.de - Split libncurses(w) into libncurses(w)+libtinfo to be able to + link python against wide libncursesw and libreadline which is + linked with libtinfo only (bnc#729226) which makes sense, as the build complains about it: /usr/lib/gcc/armv7l-suse-linux-gnueabi/4.6/../../../../armv7l-suse-linux-gnueabi/bin/ld: xrestop.o: undefined reference to symbol 'halfdelay' /usr/lib/gcc/armv7l-suse-linux-gnueabi/4.6/../../../../armv7l-suse-linux-gnueabi/bin/ld: note: 'halfdelay' is defined in DSO /lib/libtinfo.so.5 so try adding it to the linker command line Anyone got an idea why it works for x86_64 but breaks on ARM? Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 21.11.2011, at 04:03, Alexander Graf wrote:
On 20.11.2011, at 00:29, Alexander Graf wrote:
Hi guys,
Looking at the texinfo build log I stumbled over the following difference between the x86 and the arm build:
###### x86 ######
checking for tgetent in -lncurses... yes checking for library with termcap variables... checking ncurses/termcap.h usability... yes checking ncurses/termcap.h presence... yes checking for ncurses/termcap.h... yes
###### ARM ######
checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lterminfo... no configure: WARNING: probably need a terminal library, one of: ncurses curses termlib termcap terminfo checking for library with termcap variables...
The build failure in the ARM package seems to be related:
terminal.o: In function `terminal_goto_xy': /home/abuild/rpmbuild/BUILD/texinfo-4.13/info/terminal.c:235: undefined reference to `tgoto'
If anyone is searching for a (potential) low hanging fruit, I hope this is one :). It is not an emulation bug btw - the native build fails the exact same way.
Hrm, this one seem to stretch a bit further. There are more packages which seem to fail because of ncurses/termcap breakage: telnet, xterm, xorg-x11, probably others
The offending change is the following:
+ 1321444800 werner@suse.de - Split libncurses(w) into libncurses(w)+libtinfo to be able to + link python against wide libncursesw and libreadline which is + linked with libtinfo only (bnc#729226)
which makes sense, as the build complains about it:
/usr/lib/gcc/armv7l-suse-linux-gnueabi/4.6/../../../../armv7l-suse-linux-gnueabi/bin/ld: xrestop.o: undefined reference to symbol 'halfdelay' /usr/lib/gcc/armv7l-suse-linux-gnueabi/4.6/../../../../armv7l-suse-linux-gnueabi/bin/ld: note: 'halfdelay' is defined in DSO /lib/libtinfo.so.5 so try adding it to the linker command line
Anyone got an idea why it works for x86_64 but breaks on ARM?
Heh, it also breaks on x86_64. So we're safe here. It's a general Factory issue atm. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (1)
-
Alexander Graf