Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] ncurses: build freezes without error with v5.7
@ 2010-07-14 16:09 Quotient Remainder
  2010-07-14 19:29 ` Gustavo Zacarias
  0 siblings, 1 reply; 16+ messages in thread
From: Quotient Remainder @ 2010-07-14 16:09 UTC (permalink / raw)
  To: buildroot

The following appears when I try to build with ncurses enabled.  No
error is displayed but the tic command never returns.  "top" shows that
tic is using 100% of CPU time.  I've let it run for 20 minutes or more
and it doesn't progress any further.
BR is current: c0e307b848d8de23e6f10a179c4f240c023c8b82.
Toolchain is external, CodeSourcery ARM GNU/Linux 2009q3-67.

        $ make V=1
        ...
        cd misc && /usr/bin/make DESTDIR="/home/qvr/obair/buildroot.org/output/staging" install
        make[2]: Entering directory `/home/qvr/obair/buildroot.org/output/build/ncurses-5.7/misc'
        /bin/sh ../mkdirs.sh /home/qvr/obair/buildroot.org/output/staging/usr/share/tabset
        /usr/bin/install -c ncurses-config /home/qvr/obair/buildroot.org/output/staging/usr/bin/ncurses5-config
        mkdir /home/qvr/obair/buildroot.org/output/staging/usr/share/tabset
        DESTDIR=/home/qvr/obair/buildroot.org/output/staging \
        	prefix=/usr \
        	exec_prefix=/usr \
        	bindir=/usr/bin \
        	top_srcdir=.. \
        	srcdir=. \
        	datadir=/usr/share \
        	ticdir=/usr/share/terminfo \
        	source=terminfo.tmp \
        	THIS_CC="/home/qvr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/qvr/obair/buildroot.org/output/staging" \
        	THAT_CC="gcc" \
        	/bin/sh ./run_tic.sh
        ** Building terminfo database, please wait...
        Running tic to install /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo ...
        
        	You may see messages regarding extended capabilities, e.g., AX.
        	These are extended terminal capabilities which are compiled
        	using
        		tic -x
        	If you have ncurses 4.2 applications, you should read the INSTALL
        	document, and install the terminfo without the -x option.


If I roll back to ncurses version 5.6, doing a make clean first, the
problem doesn't occur.

The following is a minimal .config file exhibiting the behaviour.
        $ cat .config
        #
        # Automatically generated make config: don't edit
        # Wed Jul 14 16:50:05 2010
        #
        BR2_HAVE_DOT_CONFIG=y
        BR2_VERSION="2010.08-git"
        # BR2_alpha is not set
        BR2_arm=y
        # BR2_armeb is not set
        # BR2_avr32 is not set
        # BR2_cris is not set
        # BR2_ia64 is not set
        # BR2_i386 is not set
        # BR2_m68k is not set
        # BR2_mips is not set
        # BR2_mipsel is not set
        # BR2_powerpc is not set
        # BR2_sh is not set
        # BR2_sh64 is not set
        # BR2_sparc is not set
        # BR2_sparc64 is not set
        # BR2_x86_64 is not set
        # BR2_xtensa is not set
        # BR2_generic_arm is not set
        # BR2_arm7tdmi is not set
        # BR2_arm610 is not set
        # BR2_arm710 is not set
        # BR2_arm720t is not set
        # BR2_arm920t is not set
        # BR2_arm922t is not set
        # BR2_arm926t is not set
        # BR2_arm10t is not set
        BR2_arm1136jf_s=y
        # BR2_arm1176jz_s is not set
        # BR2_arm1176jzf_s is not set
        
        #
        # cortex-A8 needs gcc >= 4.4.x
        #
        # BR2_cortex_a8 is not set
        # BR2_sa110 is not set
        # BR2_sa1100 is not set
        # BR2_xscale is not set
        # BR2_iwmmxt is not set
        BR2_ARM_TYPE="ARM1136JF_S"
        BR2_ARM_EABI=y
        # BR2_ARM_OABI is not set
        BR2_ARCH="arm"
        BR2_ENDIAN="LITTLE"
        BR2_GCC_TARGET_TUNE="arm1136jf-s"
        BR2_GCC_TARGET_ARCH="armv6j"
        BR2_GCC_TARGET_ABI="aapcs-linux"
        
        #
        # Target options
        #
        
        #
        # Preset Devices
        #
        # BR2_TARGET_ARMLTD is not set
        # BR2_TARGET_ATMEL is not set
        # BR2_TARGET_KWIKBYTE is not set
        BR2_TARGET_GENERIC_HOSTNAME="buildroot"
        BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot"
        BR2_TARGET_GENERIC_GETTY=y
        # BR2_TARGET_GENERIC_GETTY_NONE is not set
        # BR2_TARGET_GENERIC_GETTY_TTYS0 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYS1 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYS2 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYS3 is not set
        BR2_TARGET_GENERIC_GETTY_TTYAMA0=y
        # BR2_TARGET_GENERIC_GETTY_TTYAMA1 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYAMA2 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYAMA3 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYSAC0 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYSAC1 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYSAC2 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYSAC3 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYMXC0 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYMXC1 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYMXC2 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYUL0 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYUL1 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYUL2 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYUL3 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYPSC0 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYPSC1 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYPSC2 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYPSC3 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYCPM0 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYCPM1 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYCPM2 is not set
        # BR2_TARGET_GENERIC_GETTY_TTYCPM3 is not set
        BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
        # BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP is not set
        # BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 is not set
        # BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 is not set
        # BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 is not set
        # BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 is not set
        BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
        BR2_TARGET_GENERIC_GETTY_BAUDRATE="115200"
        
        #
        # Build options
        #
        
        #
        # Commands
        #
        BR2_WGET="wget --passive-ftp -nd"
        BR2_SVN_CO="svn co"
        BR2_SVN_UP="svn up"
        BR2_BZR_CO="bzr co"
        BR2_BZR_UP="bzr up"
        BR2_GIT="git clone"
        BR2_ZCAT="gzip -d -c"
        BR2_BZCAT="bzcat"
        BR2_TAR_OPTIONS=""
        BR2_DL_DIR="$(TOPDIR)/dl"
        BR2_STAGING_DIR="$(BASE_DIR)/staging"
        
        #
        # Mirrors and Download locations
        #
        BR2_PRIMARY_SITE=""
        BR2_BACKUP_SITE="http://sources.buildroot.net/"
        BR2_SOURCEFORGE_MIRROR="easynews"
        BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
        BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
        BR2_DEBIAN_MIRROR="http://ftp.debian.org"
        BR2_JLEVEL=4
        # BR2_DEPRECATED is not set
        # BR2_ENABLE_DEBUG is not set
        BR2_STRIP_strip=y
        # BR2_STRIP_sstrip is not set
        # BR2_STRIP_none is not set
        # BR2_OPTIMIZE_0 is not set
        # BR2_OPTIMIZE_1 is not set
        # BR2_OPTIMIZE_2 is not set
        # BR2_OPTIMIZE_3 is not set
        BR2_OPTIMIZE_S=y
        # BR2_PREFER_STATIC_LIB is not set
        # BR2_HAVE_DOCUMENTATION is not set
        # BR2_HAVE_DEVFILES is not set
        
        #
        # Advanced
        #
        BR2_CONFIG_CACHE=y
        
        #
        # Toolchain
        #
        # BR2_TOOLCHAIN_BUILDROOT is not set
        BR2_TOOLCHAIN_EXTERNAL=y
        # BR2_TOOLCHAIN_EXTERNAL_UCLIBC is not set
        BR2_TOOLCHAIN_EXTERNAL_GLIBC=y
        BR2_TOOLCHAIN_EXTERNAL_STRIP=y
        
        #
        # Gdb Options
        #
        # BR2_PACKAGE_GDB is not set
        
        #
        # Gdb debugger for the target needs WCHAR support in toolchain
        #
        # BR2_PACKAGE_GDB_SERVER is not set
        # BR2_PACKAGE_GDB_HOST is not set
        
        #
        # Common Toolchain Options
        #
        BR2_LARGEFILE=y
        BR2_INET_IPV6=y
        BR2_INET_RPC=y
        BR2_ENABLE_LOCALE=y
        BR2_ENABLE_LOCALE_PURGE=y
        BR2_ENABLE_LOCALE_WHITELIST="C ga en"
        BR2_USE_WCHAR=y
        BR2_PREFER_SOFT_FLOAT=y
        BR2_SOFT_FLOAT=y
        # BR2_USE_SSP is not set
        # BR2_PTHREADS_NONE is not set
        # BR2_PTHREADS is not set
        BR2_PTHREADS_OLD=y
        # BR2_PTHREADS_NATIVE is not set
        BR2_PROGRAM_INVOCATION=y
        BR2_GCC_CROSS_CXX=y
        BR2_INSTALL_LIBSTDCPP=y
        BR2_TARGET_OPTIMIZATION="-pipe"
        BR2_TOOLCHAIN_EXTERNAL_PATH="${HOME}/CodeSourcery/Sourcery_G++_Lite"
        BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-none-linux-gnueabi"
        
        #
        # Package Selection for the target
        #
        BR2_PACKAGE_BUSYBOX=y
        # BR2_BUSYBOX_VERSION_1_13_X is not set
        # BR2_BUSYBOX_VERSION_1_14_X is not set
        # BR2_BUSYBOX_VERSION_1_15_X is not set
        # BR2_BUSYBOX_VERSION_1_16_X is not set
        BR2_BUSYBOX_VERSION_1_17_X=y
        # BR2_PACKAGE_BUSYBOX_SNAPSHOT is not set
        BR2_BUSYBOX_VERSION="1.17.0"
        BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
        BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.17.x.config"
        # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
        # BR2_PACKAGE_BUSYBOX_SKELETON is not set
        # BR2_PACKAGE_CUSTOMIZE is not set
        
        #
        # Audio and video libraries and applications
        #
        # BR2_PACKAGE_ALSA_LIB is not set
        # BR2_PACKAGE_AUMIX is not set
        # BR2_PACKAGE_FLAC is not set
        # BR2_PACKAGE_FFMPEG is not set
        # BR2_PACKAGE_GSTREAMER is not set
        # BR2_PACKAGE_LIBCDAUDIO is not set
        # BR2_PACKAGE_LIBDVDREAD is not set
        # BR2_PACKAGE_LIBDVDNAV is not set
        # BR2_PACKAGE_LIBID3TAG is not set
        # BR2_PACKAGE_LIBMAD is not set
        # BR2_PACKAGE_LIBMMS is not set
        # BR2_PACKAGE_LIBMPD is not set
        # BR2_PACKAGE_LIBOGG is not set
        # BR2_PACKAGE_LIBSNDFILE is not set
        # BR2_PACKAGE_LIBTHEORA is not set
        # BR2_PACKAGE_LIBVORBIS is not set
        # BR2_PACKAGE_MADPLAY is not set
        # BR2_PACKAGE_MPG123 is not set
        # BR2_PACKAGE_MPLAYER is not set
        # BR2_PACKAGE_SPEEX is not set
        # BR2_PACKAGE_SWFDEC is not set
        # BR2_PACKAGE_FESTIVAL is not set
        # BR2_PACKAGE_TAGLIB is not set
        # BR2_PACKAGE_TREMOR is not set
        
        #
        # Compressors and decompressors
        #
        # BR2_PACKAGE_LZOP is not set
        # BR2_PACKAGE_LZMA is not set
        
        #
        # Debugging, profiling and benchmark
        #
        # BR2_PACKAGE_DMALLOC is not set
        # BR2_PACKAGE_KEXEC is not set
        # BR2_PACKAGE_LMBENCH is not set
        # BR2_PACKAGE_LSOF is not set
        # BR2_PACKAGE_LTRACE is not set
        # BR2_PACKAGE_MEMSTAT is not set
        # BR2_PACKAGE_NETPERF is not set
        # BR2_PACKAGE_OPROFILE is not set
        # BR2_PACKAGE_STRACE is not set
        
        #
        # Development tools
        #
        # BR2_PACKAGE_AUTOCONF is not set
        # BR2_PACKAGE_AUTOMAKE is not set
        # BR2_PACKAGE_BISON is not set
        # BR2_PACKAGE_BSDIFF is not set
        # BR2_PACKAGE_CVS is not set
        # BR2_PACKAGE_DISTCC is not set
        # BR2_PACKAGE_FAKEROOT is not set
        # BR2_PACKAGE_FLEX is not set
        
        #
        # native toolchain needs development files in target filesystem
        #
        # BR2_PACKAGE_LIBGMP is not set
        # BR2_PACKAGE_GPERF is not set
        # BR2_PACKAGE_INTLTOOL is not set
        # BR2_PACKAGE_MAKE is not set
        # BR2_PACKAGE_LIBMPFR is not set
        # BR2_PACKAGE_LIBTOOL is not set
        # BR2_PACKAGE_M4 is not set
        # BR2_PACKAGE_PKG_CONFIG is not set
        
        #
        # Games
        #
        # BR2_PACKAGE_GNUCHESS is not set
        # BR2_PACKAGE_PRBOOM is not set
        
        #
        # Graphic libraries and applications (graphic/text)
        #
        
        #
        # graphic libraries
        #
        # BR2_PACKAGE_DIRECTFB is not set
        # BR2_PACKAGE_FBDUMP is not set
        # BR2_PACKAGE_FBV is not set
        # BR2_PACKAGE_IMAGEMAGICK is not set
        # BR2_PACKAGE_LINUX_FUSION is not set
        # BR2_PACKAGE_SDL is not set
        
        #
        # other GUIs
        #
        # BR2_PACKAGE_QT is not set
        # BR2_PACKAGE_XORG7 is not set
        
        #
        # X libraries and helper libraries
        #
        # BR2_PACKAGE_LIBERATION is not set
        
        #
        # X Window managers
        #
        
        #
        # X applications
        #
        # BR2_PACKAGE_GOB2 is not set
        
        #
        # Hardware handling
        #
        # BR2_PACKAGE_CDRKIT is not set
        # BR2_PACKAGE_CRAMFS is not set
        
        #
        # dbus not available (need expat or libxml2)
        #
        # BR2_PACKAGE_DMRAID is not set
        # BR2_PACKAGE_DOSFSTOOLS is not set
        # BR2_PACKAGE_E2FSPROGS is not set
        # BR2_PACKAGE_EEPROG is not set
        # BR2_PACKAGE_FCONFIG is not set
        # BR2_PACKAGE_FIS is not set
        # BR2_PACKAGE_GADGETFS_TEST is not set
        # BR2_PACKAGE_GENEXT2FS is not set
        # BR2_PACKAGE_GENROMFS is not set
        # BR2_PACKAGE_GVFS is not set
        # BR2_PACKAGE_HAL is not set
        # BR2_PACKAGE_HWDATA is not set
        # BR2_PACKAGE_I2C_TOOLS is not set
        # BR2_PACKAGE_INPUT_TOOLS is not set
        # BR2_PACKAGE_IOSTAT is not set
        # BR2_PACKAGE_LM_SENSORS is not set
        # BR2_PACKAGE_LVM2 is not set
        # BR2_PACKAGE_MAKEDEVS is not set
        # BR2_PACKAGE_MDADM is not set
        # BR2_PACKAGE_MEMTESTER is not set
        # BR2_PACKAGE_MTD is not set
        # BR2_PACKAGE_NTFS_3G is not set
        # BR2_PACKAGE_NTFSPROGS is not set
        # BR2_PACKAGE_PCIUTILS is not set
        # BR2_PACKAGE_SETSERIAL is not set
        # BR2_PACKAGE_SMARTMONTOOLS is not set
        # BR2_PACKAGE_SQUASHFS is not set
        # BR2_PACKAGE_SYSSTAT is not set
        # BR2_PACKAGE_USB_MODESWITCH is not set
        # BR2_PACKAGE_USBMOUNT is not set
        # BR2_PACKAGE_USBUTILS is not set
        # BR2_PACKAGE_WIPE is not set
        # BR2_PACKAGE_XFSPROGS is not set
        
        #
        # Interpreter languages and scripting
        #
        # BR2_PACKAGE_HASERL is not set
        # BR2_PACKAGE_LUA is not set
        # BR2_PACKAGE_MICROPERL is not set
        # BR2_PACKAGE_PHP is not set
        # BR2_PACKAGE_PYTHON is not set
        # BR2_PACKAGE_RUBY is not set
        # BR2_PACKAGE_TCL is not set
        
        #
        # Libraries
        #
        
        #
        # Compression and decompression
        #
        # BR2_PACKAGE_LIBARCHIVE is not set
        # BR2_PACKAGE_LZO is not set
        # BR2_PACKAGE_ZLIB is not set
        
        #
        # Crypto
        #
        # BR2_PACKAGE_BEECRYPT is not set
        # BR2_PACKAGE_LIBGCRYPT is not set
        # BR2_PACKAGE_LIBGPG_ERROR is not set
        # BR2_PACKAGE_OPENSSL is not set
        
        #
        # Database
        #
        # BR2_PACKAGE_BERKELEYDB is not set
        # BR2_PACKAGE_MYSQL_CLIENT is not set
        # BR2_PACKAGE_SQLITE is not set
        
        #
        # Filesystem
        #
        # BR2_PACKAGE_GAMIN is not set
        # BR2_PACKAGE_LIBCONFIG is not set
        # BR2_PACKAGE_LIBCONFUSE is not set
        # BR2_PACKAGE_LIBFUSE is not set
        # BR2_PACKAGE_LIBLOCKFILE is not set
        # BR2_PACKAGE_LIBSYSFS is not set
        
        #
        # Graphics
        #
        # BR2_PACKAGE_ATK is not set
        # BR2_PACKAGE_CAIRO is not set
        # BR2_PACKAGE_FONTCONFIG is not set
        # BR2_PACKAGE_FREETYPE is not set
        # BR2_PACKAGE_JPEG is not set
        # BR2_PACKAGE_LIBART is not set
        # BR2_PACKAGE_LIBPNG is not set
        # BR2_PACKAGE_LIBSVGTINY is not set
        # BR2_PACKAGE_LIBUNGIF is not set
        # BR2_PACKAGE_PANGO is not set
        # BR2_PACKAGE_PIXMAN is not set
        # BR2_PACKAGE_TIFF is not set
        
        #
        # Hardware handling
        #
        # BR2_PACKAGE_LIBAIO is not set
        # BR2_PACKAGE_LIBRAW1394 is not set
        # BR2_PACKAGE_TSLIB is not set
        # BR2_PACKAGE_LIBUSB is not set
        
        #
        # Java
        #
        # BR2_PACKAGE_CLASSPATH is not set
        
        #
        # Networking
        #
        # BR2_PACKAGE_LIBCGI is not set
        # BR2_PACKAGE_LIBCGICC is not set
        # BR2_PACKAGE_LIBCURL is not set
        # BR2_PACKAGE_LIBDNET is not set
        # BR2_PACKAGE_LIBEXOSIP2 is not set
        # BR2_PACKAGE_LIBIDN is not set
        # BR2_PACKAGE_LIBMICROHTTPD is not set
        # BR2_PACKAGE_NEON is not set
        # BR2_PACKAGE_LIBNL is not set
        # BR2_PACKAGE_LIBPCAP is not set
        # BR2_PACKAGE_LIBOSIP2 is not set
        # BR2_PACKAGE_LIBRSYNC is not set
        # BR2_PACKAGE_LIBSOUP is not set
        # BR2_PACKAGE_LIBUPNP is not set
        
        #
        # Other
        #
        # BR2_PACKAGE_LIBATOMIC_OPS is not set
        # BR2_PACKAGE_LIBCAP is not set
        # BR2_PACKAGE_LIBDAEMON is not set
        # BR2_PACKAGE_LIBELF is not set
        # BR2_PACKAGE_LIBEVENT is not set
        # BR2_PACKAGE_LIBGLIB12 is not set
        # BR2_PACKAGE_LIBGLIB2 is not set
        # BR2_PACKAGE_LIBOIL is not set
        
        #
        # Text and terminal handling
        #
        # BR2_PACKAGE_ENCHANT is not set
        # BR2_PACKAGE_ICU is not set
        BR2_PACKAGE_NCURSES=y
        # BR2_PACKAGE_NCURSES_TARGET_PANEL is not set
        # BR2_PACKAGE_NCURSES_TARGET_FORM is not set
        # BR2_PACKAGE_NCURSES_TARGET_MENU is not set
        # BR2_PACKAGE_NEWT is not set
        # BR2_PACKAGE_PCRE is not set
        # BR2_PACKAGE_POPT is not set
        # BR2_PACKAGE_READLINE is not set
        # BR2_PACKAGE_SLANG is not set
        
        #
        # XML
        #
        # BR2_PACKAGE_EXPAT is not set
        # BR2_PACKAGE_EZXML is not set
        # BR2_PACKAGE_LIBXML_PARSER_PERL is not set
        # BR2_PACKAGE_LIBXML2 is not set
        # BR2_PACKAGE_LIBXSLT is not set
        # BR2_PACKAGE_XERCES is not set
        
        #
        # Miscellaneous
        #
        # BR2_PACKAGE_SHARED_MIME_INFO is not set
        
        #
        # Networking applications
        #
        # BR2_PACKAGE_ARGUS is not set
        # BR2_PACKAGE_AVAHI is not set
        # BR2_PACKAGE_AXEL is not set
        # BR2_PACKAGE_BIND is not set
        # BR2_PACKAGE_BMON is not set
        # BR2_PACKAGE_BRIDGE is not set
        # BR2_PACKAGE_CTORRENT is not set
        # BR2_PACKAGE_CUPS is not set
        # BR2_PACKAGE_DNSMASQ is not set
        # BR2_PACKAGE_DROPBEAR is not set
        # BR2_PACKAGE_ETHTOOL is not set
        # BR2_PACKAGE_HOSTAPD is not set
        # BR2_PACKAGE_IFPLUGD is not set
        # BR2_PACKAGE_IPERF is not set
        # BR2_PACKAGE_IPROUTE2 is not set
        # BR2_PACKAGE_IPSEC_TOOLS is not set
        # BR2_PACKAGE_IPTABLES is not set
        # BR2_PACKAGE_IW is not set
        # BR2_PACKAGE_KISMET is not set
        # BR2_PACKAGE_L2TP is not set
        # BR2_PACKAGE_LINKS is not set
        # BR2_PACKAGE_LRZSZ is not set
        # BR2_PACKAGE_MIIDIAG is not set
        # BR2_PACKAGE_MROUTED is not set
        # BR2_PACKAGE_MUTT is not set
        # BR2_PACKAGE_NBD is not set
        # BR2_PACKAGE_NCFTP is not set
        # BR2_PACKAGE_NETPLUG is not set
        
        #
        # lmbench is broken with external toolchains
        #
        # BR2_PACKAGE_NETSTAT_NAT is not set
        # BR2_PACKAGE_NFS_UTILS is not set
        # BR2_PACKAGE_NTP is not set
        # BR2_PACKAGE_OLSR is not set
        # BR2_PACKAGE_OPENNTPD is not set
        # BR2_PACKAGE_OPENSSH is not set
        # BR2_PACKAGE_OPENVPN is not set
        # BR2_PACKAGE_PORTMAP is not set
        # BR2_PACKAGE_PPPD is not set
        # BR2_PACKAGE_RADVD is not set
        # BR2_PACKAGE_PPTP_LINUX is not set
        # BR2_PACKAGE_PROFTPD is not set
        # BR2_PACKAGE_QUAGGA is not set
        # BR2_PACKAGE_RSYNC is not set
        # BR2_PACKAGE_SAMBA is not set
        # BR2_PACKAGE_SER2NET is not set
        # BR2_PACKAGE_SOCAT is not set
        # BR2_PACKAGE_SPAWN_FCGI is not set
        # BR2_PACKAGE_SQUID is not set
        # BR2_PACKAGE_STUNNEL is not set
        # BR2_PACKAGE_TCPDUMP is not set
        # BR2_PACKAGE_DHCPDUMP is not set
        # BR2_PACKAGE_TCPREPLAY is not set
        # BR2_PACKAGE_TN5250 is not set
        # BR2_PACKAGE_TTCP is not set
        # BR2_PACKAGE_UDPCAST is not set
        # BR2_PACKAGE_VPNC is not set
        # BR2_PACKAGE_VSFTPD is not set
        # BR2_PACKAGE_VTUN is not set
        # BR2_PACKAGE_WEBIF is not set
        # BR2_PACKAGE_WIRELESS_TOOLS is not set
        # BR2_PACKAGE_WPA_SUPPLICANT is not set
        
        #
        # Package managers
        #
        # BR2_PACKAGE_IPKG is not set
        
        #
        # Shell and utilities
        #
        # BR2_PACKAGE_AT is not set
        # BR2_PACKAGE_DIALOG is not set
        # BR2_PACKAGE_FILE is not set
        # BR2_PACKAGE_LOCKFILE_PROGS is not set
        # BR2_PACKAGE_LOGROTATE is not set
        # BR2_PACKAGE_SCREEN is not set
        # BR2_PACKAGE_SUDO is not set
        # BR2_PACKAGE_WHICH is not set
        
        #
        # System tools
        #
        
        #
        # Text editors and viewers
        #
        # BR2_PACKAGE_ED is not set
        # BR2_PACKAGE_NANO is not set
        # BR2_PACKAGE_UEMACS is not set
        
        #
        # Target filesystem options
        #
        BR2_ROOTFS_POST_BUILD_SCRIPT=""
        BR2_ROOTFS_DEVICE_TABLE="target/generic/device_table.txt"
        # BR2_TARGET_ROOTFS_CRAMFS is not set
        # BR2_TARGET_ROOTFS_CLOOP is not set
        # BR2_TARGET_ROOTFS_EXT2 is not set
        # BR2_TARGET_ROOTFS_JFFS2 is not set
        BR2_TARGET_ROOTFS_UBIFS=y
        BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f800
        BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800
        BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2048
        # BR2_TARGET_ROOTFS_UBIFS_RT_NONE is not set
        # BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB is not set
        BR2_TARGET_ROOTFS_UBIFS_RT_LZO=y
        BR2_TARGET_ROOTFS_UBIFS_NONE=y
        # BR2_TARGET_ROOTFS_UBIFS_GZIP is not set
        # BR2_TARGET_ROOTFS_UBIFS_BZIP2 is not set
        # BR2_TARGET_ROOTFS_UBIFS_LZMA is not set
        # BR2_TARGET_ROOTFS_SQUASHFS is not set
        # BR2_TARGET_ROOTFS_TAR is not set
        # BR2_TARGET_ROOTFS_CPIO is not set
        
        #
        # initramfs requires a Linux kernel to be built
        #
        # BR2_TARGET_ROOTFS_ROMFS is not set
        
        #
        # Bootloaders
        #
        # BR2_TARGET_BAREBOX is not set
        # BR2_TARGET_UBOOT is not set
        # BR2_TARGET_AT91BOOTSTRAP is not set
        # BR2_TARGET_DATAFLASHBOOT is not set
        
        #
        # Kernel
        #
        # BR2_LINUX_KERNEL is not set

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-14 16:09 [Buildroot] ncurses: build freezes without error with v5.7 Quotient Remainder
@ 2010-07-14 19:29 ` Gustavo Zacarias
  2010-07-15 11:09   ` Quotient Remainder
  0 siblings, 1 reply; 16+ messages in thread
From: Gustavo Zacarias @ 2010-07-14 19:29 UTC (permalink / raw)
  To: buildroot

On 07/14/2010 01:09 PM, Quotient Remainder wrote:

> The following appears when I try to build with ncurses enabled.  No
> error is displayed but the tic command never returns.  "top" shows that
> tic is using 100% of CPU time.  I've let it run for 20 minutes or more
> and it doesn't progress any further.
> BR is current: c0e307b848d8de23e6f10a179c4f240c023c8b82.
> Toolchain is external, CodeSourcery ARM GNU/Linux 2009q3-67.

Try this patch from gentoo:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/ncurses/files/ncurses-5.7-tic-cross-detection.patch?revision=1.1
Sounds a lot like your problem.
Regards.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-14 19:29 ` Gustavo Zacarias
@ 2010-07-15 11:09   ` Quotient Remainder
  2010-07-15 12:06     ` Mitch Davis
  0 siblings, 1 reply; 16+ messages in thread
From: Quotient Remainder @ 2010-07-15 11:09 UTC (permalink / raw)
  To: buildroot

Unfortunately it doesn't work, still stuck at the same place, though the
patch has changed the variable list passed.

        DESTDIR=/home/crehill/obair/buildroot.org/output/staging \
        	prefix=/usr \
        	exec_prefix=/usr \
        	bindir=/usr/bin \
        	top_srcdir=.. \
        	srcdir=. \
        	datadir=/usr/share \
        	ticdir=/usr/share/terminfo \
        	source=terminfo.tmp \
        	cross_compiling="yes" \
        	/bin/sh ./run_tic.sh
        ** Building terminfo database, please wait...
        Running tic to install /home/crehill/obair/buildroot.org/output/staging/usr/share/terminfo ...
        
        	You may see messages regarding extended capabilities, e.g., AX.
        	These are extended terminal capabilities which are compiled
        	using
        		tic -x
        	If you have ncurses 4.2 applications, you should read the INSTALL
        	document, and install the terminfo without the -x option.
        

On C?ad, 2010-07-14 at 16:29 -0300, Gustavo Zacarias wrote:
> On 07/14/2010 01:09 PM, Quotient Remainder wrote:
> 
> > The following appears when I try to build with ncurses enabled.  No
> > error is displayed but the tic command never returns.  "top" shows that
> > tic is using 100% of CPU time.  I've let it run for 20 minutes or more
> > and it doesn't progress any further.
> > BR is current: c0e307b848d8de23e6f10a179c4f240c023c8b82.
> > Toolchain is external, CodeSourcery ARM GNU/Linux 2009q3-67.
> 
> Try this patch from gentoo:
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/ncurses/files/ncurses-5.7-tic-cross-detection.patch?revision=1.1
> Sounds a lot like your problem.
> Regards.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-15 11:09   ` Quotient Remainder
@ 2010-07-15 12:06     ` Mitch Davis
  2010-07-15 14:06       ` Quotient Remainder
  0 siblings, 1 reply; 16+ messages in thread
From: Mitch Davis @ 2010-07-15 12:06 UTC (permalink / raw)
  To: buildroot

On Thu, Jul 15, 2010 at 9:09 PM, Quotient Remainder
<quotientvremainder@gmail.com> wrote:
> Unfortunately it doesn't work, still stuck at the same place, though the
> patch has changed the variable list passed.
>
> ? ? ? ?DESTDIR=/home/crehill/obair/buildroot.org/output/staging \
> ? ? ? ? ? ? ? ?prefix=/usr \
> ? ? ? ? ? ? ? ?exec_prefix=/usr \
> ? ? ? ? ? ? ? ?bindir=/usr/bin \
> ? ? ? ? ? ? ? ?top_srcdir=.. \
> ? ? ? ? ? ? ? ?srcdir=. \
> ? ? ? ? ? ? ? ?datadir=/usr/share \
> ? ? ? ? ? ? ? ?ticdir=/usr/share/terminfo \
> ? ? ? ? ? ? ? ?source=terminfo.tmp \
> ? ? ? ? ? ? ? ?cross_compiling="yes" \
> ? ? ? ? ? ? ? ?/bin/sh ./run_tic.sh
> ? ? ? ?** Building terminfo database, please wait...
> ? ? ? ?Running tic to install /home/crehill/obair/buildroot.org/output/staging/usr/share/terminfo ...

I don't know if this is helpful or not, but can you run strace -p
$(pidof tic) and show the result?  That might tell us what tic is
doing.  In addition, you may consider adding "set -x" to run_tic.sh.
That will tell us how tic is being invoked.

Mitch.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-15 12:06     ` Mitch Davis
@ 2010-07-15 14:06       ` Quotient Remainder
  2010-07-15 14:30         ` Mitch Davis
  0 siblings, 1 reply; 16+ messages in thread
From: Quotient Remainder @ 2010-07-15 14:06 UTC (permalink / raw)
  To: buildroot

Hello Mitch,

Ar D?ar, 2010-07-15 ag 22:06 +1000, scr?obh Mitch Davis:


> I don't know if this is helpful or not, but can you run strace -p
> $(pidof tic) and show the result?  That might tell us what tic is
> doing.  In addition, you may consider adding "set -x" to run_tic.sh.
> That will tell us how tic is being invoked.

I'd actually done both of these before but drew nothing from them
myself, then again I don't really know what "tic" does so I'm at an
immediate disadvantage.  "strace -p pid" doesn't work since it doesn't
seem to be looping.  So, editing
"output/build/ncurses-5.7/misc/run_tic.sh" to add "set -x" after
#!/bin/sh and adding strace before the tic call:

        $ make ncurses
        ...
        make[2]: Entering directory `/home/qvr/obair/buildroot.org/output/build/ncurses-5.7/misc'
        DESTDIR=/home/qvr/obair/buildroot.org/output/staging \
        	prefix=/usr \
        	exec_prefix=/usr \
        	bindir=/usr/bin \
        	top_srcdir=.. \
        	srcdir=. \
        	datadir=/usr/share \
        	ticdir=/usr/share/terminfo \
        	source=terminfo.tmp \
        	cross_compiling="yes" \
        	/bin/sh ./run_tic.sh
        /usr/bin/install -c ncurses-config /home/qvr/obair/buildroot.org/output/staging/usr/bin/ncurses5-config
        + echo '** Building terminfo database, please wait...'
        ** Building terminfo database, please wait...
        + :
        + : /home/qvr/obair/buildroot.org/output/staging
        + : /usr
        + : /usr
        + : /usr/bin
        + : ..
        + : .
        + : /usr/share
        + : /usr/share/terminfo
        + : terminfo.tmp
        + : 'ln -s'
        + : yes
        + : 1
        + test -z /home/qvr/obair/buildroot.org/output/staging
        + test yes '!=' yes
        + SHLIB=
        + suffix=
        + SHLIB_PATH=/home/qvr/bin:/home/qvr/CodeSourcery/Sourcery_G++_Lite/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin
        + export SHLIB_PATH
        + SHLIB_HOST=linux-gnu
        + export SHLIB_HOST
        + TERMINFO=/home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo
        + export TERMINFO
        + umask 022
        ++ echo /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo
        ++ sed -e 's%/share/\([^/]*\)$%/lib/\1%'
        + TICDIR=/home/qvr/obair/buildroot.org/output/staging/usr/lib/terminfo
        + test -d /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo
        + test 1 = 1
        + cat
        Running tic to install /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo ...
        
        	You may see messages regarding extended capabilities, e.g., AX.
        	These are extended terminal capabilities which are compiled
        	using
        		tic -x
        	If you have ncurses 4.2 applications, you should read the INSTALL
        	document, and install the terminfo without the -x option.
        
        + strace tic -x -s -o /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo terminfo.tmp
        execve("/usr/bin/tic", ["tic", "-x", "-s", "-o", "/home/qvr/obair/buildroot.or", "terminfo.tmp"], [/* 55 vars */]) = 0
        brk(0)                                  = 0x8b16000
        access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
        open("/etc/ld.so.cache", O_RDONLY)      = 3
        fstat64(3, {st_mode=S_IFREG|0644, st_size=65791, ...}) = 0
        mmap2(NULL, 65791, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fcf000
        close(3)                                = 0
        open("/usr/lib/libncursesw.so.5", O_RDONLY) = 3
        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\371S\0004\0\0\0"..., 512) = 512
        fstat64(3, {st_mode=S_IFREG|0755, st_size=330428, ...}) = 0
        mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fce000
        mmap2(0x530000, 330212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x530000
        mmap2(0x578000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x48) = 0x578000
        mmap2(0x580000, 2532, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x580000
        close(3)                                = 0
        open("/lib/libdl.so.2", O_RDONLY)       = 3
        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\272O\0004\0\0\0"..., 512) = 512
        fstat64(3, {st_mode=S_IFREG|0755, st_size=16428, ...}) = 0
        mmap2(0x4fb000, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4fb000
        mmap2(0x4fd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x4fd000
        close(3)                                = 0
        open("/lib/libc.so.6", O_RDONLY)        = 3
        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\3779\0004\0\0\0"..., 512) = 512
        fstat64(3, {st_mode=S_IFREG|0755, st_size=1611564, ...}) = 0
        mmap2(0x38a000, 1332676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x38a000
        mprotect(0x4c9000, 4096, PROT_NONE)     = 0
        mmap2(0x4ca000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0x4ca000
        mmap2(0x4cd000, 9668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4cd000
        close(3)                                = 0
        mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fcd000
        set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fcd6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
        mprotect(0x4fd000, 4096, PROT_READ)     = 0
        mprotect(0x4ca000, 8192, PROT_READ)     = 0
        mprotect(0x386000, 4096, PROT_READ)     = 0
        munmap(0xb7fcf000, 65791)               = 0
        brk(0)                                  = 0x8b16000
        brk(0x8b37000)                          = 0x8b37000
        open("terminfo.tmp", O_RDONLY|O_LARGEFILE) = 3
        fstat64(3, {st_mode=S_IFREG|0644, st_size=949524, ...}) = 0
        fstat64(3, {st_mode=S_IFREG|0644, st_size=949524, ...}) = 0
        mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fdf000
        _llseek(3, 0, [0], SEEK_CUR)            = 0
        read(3, "######## TERMINAL TYPE DESCRIPTI"..., 4096) = 4096
        read(3, "is nicer (among other things, it"..., 4096) = 4096
        read(3, "ode (black on white)\n#\t-s\tEnable"..., 4096) = 4096
        read(3, "he headers for each manufacturer"..., 4096) = 4096
        read(3, "ming terminal has bold; not dim,"..., 4096) = 4096
        read(3, " by the Intel\n# Binary Compatibi"..., 4096) = 4096
        read(3, "cansi-m|pcansi-mono|ibm-pc termi"..., 4096) = 4096
        brk(0x8b58000)                          = 0x8b58000
        read(3, "th ansi.sys also affects PC-DOS "..., 4096) = 4096
        read(3, ".13 (at least) set the screen si"..., 4096) = 4096
        read(3, "c=+\\020\\,\\021-\\030.^Y0\\333`\\004a"..., 4096) = 4096
        read(3, "\\E[19~, kf9=\\E[20~,\n\tkhome=\\E[1~"..., 4096) = 4096
        read(3, "t|AT&T WGS 6386 console,\n\tam, bw"..., 4096) = 4096
        read(3, "l describing the VT100 sequences"..., 4096) = 4096
        read(3, "clo=\\EOV, kclr=\\E[J, kcmd=\\EOu, "..., 4096) = 4096
        read(3, "ry used to be known as ibmx.\n# I"..., 4096) = 4096
        read(3, "h, mcud1=\\E/>1l\\E/>9h, mcuf=\\E/>"..., 4096) = 4096
        read(3, "e, I translated these into termi"..., 4096) = 4096
        brk(0x8b79000)                          = 0x8b79000
        read(3, "l=^G, blink=\\E[5m$<2>, bold=\\E[1"..., 4096) = 4096
        read(3, "bel=^G, blink=\\E[5m, bold=\\E[1m,"..., 4096) = 4096
        read(3, "o ansi mode),\n\tlines#30, use=con"..., 4096) = 4096
        read(3, "cr=^M, cub=\\E[%p1%dD, cub1=^H,\n\t"..., 4096) = 4096
        read(3, "ferent modes: Cursor Mode and Ap"..., 4096) = 4096
        read(3, "h legacy termcap\n# support:\nvt10"..., 4096) = 4096
        read(3, " mc5=\\E[5i,\n\trc=\\E8, rev=\\E[7m$<"..., 4096) = 4096
        brk(0x8b9a000)                          = 0x8b9a000
        read(3, "0 description maps F5--F9 to the"..., 4096) = 4096
        read(3, "f2=pf2, lf3=pf3, lf4=pf4, mc0=\\2"..., 4096) = 4096
        read(3, "E[0$},\n\thome=\\E[H, ht=^I, hts=\\E"..., 4096) = 4096
        read(3, "l=\\E[2$~\\E[1$}\\E[1;%dH,\n\n# DEC d"..., 4096) = 4096
        read(3, " 21) then value = key + 1;\n#    "..., 4096) = 4096
        read(3, "vt525: I added <rmam>/<smam> bas"..., 4096) = 4096
        read(3, "[%i%p1%d;%p2%dH, cuu=\\E[%p1%dA, "..., 4096) = 4096
        read(3, "\\263y\\363z\\362{\\343|\\330}\\234~\\3"..., 4096) = 4096
        read(3, " a minimal subset of a vt100 (co"..., 4096) = 4096
        brk(0x8bbb000)                          = 0x8bbb000
        read(3, "M, knp=\\E[6~, kpp=\\E[5~,\n\tkslt=\\"..., 4096) = 4096
        read(3, "%t;7%;%?%p4%t;5%;m%?%p9%t\\016%e\\"..., 4096) = 4096
        read(3, "[5C,\n\tkRIT6=\\E[6C, kRIT7=\\E[7C, "..., 4096) = 4096
        read(3, "on,\n\tOTbs, am, bce, km, mc5i, mi"..., 4096) = 4096
        read(3, "sgr, npc, xenl, AX,\n\tcolors#8, c"..., 4096) = 4096
        read(3, ", cuu1=\\EA, ed=\\EJ, el=\\EK,\n\thom"..., 4096) = 4096
        read(3, "et colors (along with everything"..., 4096) = 4096
        brk(0x8bdc000)                          = 0x8bdc000
        read(3, "ay automatically use the content"..., 4096) = 4096
        read(3, "11@, kf12@, kf13@, kf14@, kf15@,"..., 4096) = 4096
        read(3, "s=\\E(B, rmam=\\E[?7l, rmcup=\\E[?1"..., 4096) = 4096
        read(3, "[ 5 ^    ESC [ 5 @\n#  Next      "..., 4096) = 4096
        read(3, "=\\E[5$, kRIT=\\E[c, kcub1=\\E[D, k"..., 4096) = 4096
        read(3, "rm-256color|Eterm with xterm 256"..., 4096) = 4096
        read(3, "nal emulator with color,\n\tccc,\n\t"..., 4096) = 4096
        read(3, "9=\\E[33~,\n\tkf4=\\EOt, kf40=\\E[34~"..., 4096) = 4096
        brk(0x8bfd000)                          = 0x8bfd000
        read(3, ", il=\\E[%p1%dL,\n\til1=\\E[L, ind=\\"..., 4096) = 4096
        read(3, " esr)\n#\n# 'screen' defines exten"..., 4096) = 4096
        read(3, "s those (tested with screen 4.00"..., 4096) = 4096
        read(3, "sed on xterm-vt220,\n# xterm+sl, "..., 4096) = 4096
        read(3, "tty\" entry;\n# as an added bonus,"..., 4096) = 4096
        read(3, "n-nic|sune|Sun Microsystems Work"..., 4096) = 4096
        brk(0x8c1e000)                          = 0x8c1e000
        read(3, "=^H,\n\tkcud1=^J, nel=^M^J,\n\n#### "..., 4096) = 4096
        read(3, "wp511|nwp-511|nwp-511 vt100,\n\tOT"..., 4096) = 4096
        read(3, "e are as distributed with EMX 0."..., 4096) = 4096
        read(3, "plemented\n#   khome [home key] r"..., 4096) = 4096
        read(3, "bc=\\E[2g, vpa=\\E[%i%p1%dd, use=v"..., 4096) = 4096
        read(3, "E[H, ht=^I, ich=\\E[%p1%d@, ich1="..., 4096) = 4096
        read(3, "=^I, hts=\\EH$<2/>, ind=\\ED$<5/>,"..., 4096) = 4096
        brk(0x8c3f000)                          = 0x8c3f000
        read(3, "mmon, but have proprietary comma"..., 4096) = 4096
        read(3, "ON CONSOLES section for the 700s"..., 4096) = 4096
        read(3, "621-fl,\n\n# Needed for UCB ARPAVA"..., 4096) = 4096
        read(3, "d.\n#\nhp2640a|hp 2640a,\n\tcup@, rm"..., 4096) = 4096
        read(3, "rmcap -- esr)\nhp+labels|\"standar"..., 4096) = 4096
        brk(0x8c60000)                          = 0x8c60000
        read(3, "\\Ev\\r,\n\tkf8=\\Ew\\r, khome=\\Eh, ki"..., 4096) = 4096
        read(3, "\n\tif=/usr/share/tabset/std, il1="..., 4096) = 4096
        read(3, "dalf.moria> 11 Jan 93\n#\n\n# Honey"..., 4096) = 4096
        read(3, "(\\r, home=^^, ht=^I,\n\tkbs=^H, kc"..., 4096) = 4096
        read(3, "-Siegler ADM 31.\n#\n# Main board:"..., 4096) = 4096
        read(3, "OFF selects Conversation Mode - "..., 4096) = 4096
        read(3, "$$<200/>\\E$P,\n\thome=\\E$B, ht=^I,"..., 4096) = 4096
        brk(0x8c81000)                          = 0x8c81000
        read(3, "0, lines#24, xmc#0,\n\tbel=^G, cbt"..., 4096) = 4096
        read(3, " use=adm+sgr,\n# From: Alan R. Ro"..., 4096) = 4096
        read(3, "#  TVI-920B || tvi920b\n#  TVI-92"..., 4096) = 4096
        read(3, " Closed:\tNot allowed\n#\n# 5 Close"..., 4096) = 4096
        read(3, "t for the page print mode\n# sequ"..., 4096) = 4096
        read(3, " option \"visible bell\"; no attri"..., 4096) = 4096
        read(3, "suppress tic warning -- esr)\ntvi"..., 4096) = 4096
        read(3, "------------------------\n# 2\t\t\tX"..., 4096) = 4096
        read(3, "ideo|Transmiss'n| Hz  |Click|\n# "..., 4096) = 4096
        read(3, " 950 with two pages adds the fol"..., 4096) = 4096
        brk(0x8ca2000)                          = 0x8ca2000
        read(3, "=\\ED, cuf1=\\E[C, cup=\\E[%i%p1%d;"..., 4096) = 4096
        read(3, "6-9050.\n# Or visit White Pine on"..., 4096) = 4096
        read(3, "verbose. maybe\n# an initializati"..., 4096) = 4096
        read(3, ", wsl#45,\n\tacsc=0wa_h[jukslrmqnx"..., 4096) = 4096
        read(3, "p9%t\\EH\\002%e\\EH\\003%;,\n\tsgr0=\\E"..., 4096) = 4096
        read(3, "n\n#\talt-charset mode.  Try \\EcE\\"..., 4096) = 4096
        read(3, "=^J, kcuf1=^L, kcuu1=^K, kdch1=\\"..., 4096) = 4096
        brk(0x8cc3000)                          = 0x8cc3000
        read(3, "n 9600 baud.  No padding is need"..., 4096) = 4096
        read(3, ", rmxon=\\Ec20\\Ec30,\n\trs2=\\Eu\\E~4"..., 4096) = 4096
        read(3, "-w-vb|wy160-wvb|wyse160-wvb|Wyse"..., 4096) = 4096
        read(3, "1%dX, ed=\\E[J$<110>, el=\\E[K$<1>"..., 4096) = 4096
        read(3, "lays 25 lines.  These lines may "..., 4096) = 4096
        read(3, "%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p"..., 4096) = 4096
        read(3, "\n\ttbc=\\E[3g, tsl=\\E[40l\\E[40h\\E7"..., 4096) = 4096
        brk(0x8ce4000)                          = 0x8ce4000
        read(3, "programmed to generate BS in smc"..., 4096) = 4096
        read(3, "w|wyse 520 in 132-column mode wi"..., 4096) = 4096
        read(3, "!  <clear> does\n# not work, but "..., 4096) = 4096
        read(3, "4i\\E[m\\E[r\\E[2$~,\n\tsc=\\E7, sgr0="..., 4096) = 4096
        read(3, "<smacs>/<smul>/<smso> capabiliti"..., 4096) = 4096
        read(3, "#\n\n#### AT&T (att, tty)\n#\n# This"..., 4096) = 4096
        read(3, "3>, el1=\\E[1K$<3>,\n\tenacs=\\E(B\\E"..., 4096) = 4096
        read(3, "\n# Note that this mode permits p"..., 4096) = 4096
        brk(0x8d05000)                          = 0x8d05000
        read(3, "4, lm#72,\n\tbel=^G, clear=\\EH\\EJ,"..., 4096) = 4096
        read(3, "?6;97;99l\\E[?7h\\E[4i\\Ex\\E[25;1j\\"..., 4096) = 4096
        read(3, " key 16 corresponds to the right"..., 4096) = 4096
        read(3, "?, smso=\\E[7m,\n\tsmul=\\E[4m, tbc="..., 4096) = 4096
        read(3, "r0=\\E[0m, smso=\\E[7m, smul=\\E[4m"..., 4096) = 4096
        read(3, ", kclr=\\E[2J, kcub1=\\E[D, kcud1="..., 4096) = 4096
        read(3, ", kf32=\\EOS, kf33=\\EOw, kf34=\\EO"..., 4096) = 4096
        read(3, "what's going onm in the init str"..., 4096) = 4096
        read(3, "EOl, kf41=\\EOq, kf42=\\EOr,\n\tkf43"..., 4096) = 4096
        read(3, "s#24, use=att730r,\n\n# The follow"..., 4096) = 4096
        read(3, " line mode\n#                    "..., 4096) = 4096
        read(3, "ET version 1 24 lines,\n\tlines#24"..., 4096) = 4096
        brk(0x8d26000)                          = 0x8d26000
        read(3, "E+, cnorm=\\E.4, cub1=^H, cud1=^V"..., 4096) = 4096
        read(3, "e/LF is down one line, same colu"..., 4096) = 4096
        read(3, "nn arbor ambassador/24 lines+rev"..., 4096) = 4096
        read(3, "4;97;100p\\E8\\E[J, smcup=\\E[44p,\n"..., 4096) = 4096
        brk(0x8d47000)                          = 0x8d47000
        read(3, "s have bad ROMs that foo up on ^"..., 4096) = 4096
        read(3, " on a980, check internal switch "..., 4096) = 4096
        read(3, "r=\\E[%i%p1%d;%p2%dr, cub=\\E[%p1%"..., 4096) = 4096
        read(3, "%{32}%+%c,\n\tcuu1=^W, el=^K, home"..., 4096) = 4096
        read(3, " cuf=\\E[%p1%dC, cuf1=\\E[C,\n\tcup="..., 4096) = 4096
        read(3, "which the\n# terminal recognizes "..., 4096) = 4096
        read(3, "\n#\t\t\t\\177\\E$Q\\177\n#\t\t\\E[45;1u\t\ts"..., 4096) = 4096
        read(3, "e 'O' in kf43 to kf46 to a '$'.\n"..., 4096) = 4096
        read(3, "uals, but based on other ansi/vt"..., 4096) = 4096
        read(3, "e/no status line,\n\tflash=\\E[=205"..., 4096) = 4096
        brk(0x8d68000)                          = 0x8d68000
        read(3, ", kf35=\\233205z,\n\tkf36=\\233206z,"..., 4096) = 4096
        read(3, "%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%"..., 4096) = 4096
        read(3, "\tcuu1=\\E[A, ed=\\E[J, el=\\E[K, ho"..., 4096) = 4096
        read(3, "p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5"..., 4096) = 4096
        read(3, "5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{"..., 4096) = 4096
        read(3, " smacs=^N, use=dgkeys+7b, use=d4"..., 4096) = 4096
        brk(0x8d89000)                          = 0x8d89000
        read(3, "ral D414/D464 in wide DG-UNIX mo"..., 4096) = 4096
        read(3, "7b-w|Data General DASHER D577 in"..., 4096) = 4096
        read(3, "ts/Char   0=7    1=8\n# \tCRT Save"..., 4096) = 4096
        read(3, ">, cr=^M, csr=\\E[%i%p1%d;%p2%dr,"..., 4096) = 4096
        brk(0x8daa000)                          = 0x8daa000
        read(3, "p@, is2@, kclr=^^, kdch1=\\EW, kd"..., 4096) = 4096
        read(3, "to phone conversation\n# with mfr"..., 4096) = 4096
        read(3, " description is tricky: being ab"..., 4096) = 4096
        read(3, "ame along with\n# Harris. They ha"..., 4096) = 4096
        read(3, "sert. That's in insert mode whil"..., 4096) = 4096
        read(3, "ge,\n\trmcup=\\E>B, s0ds=\\E>B, s1ds"..., 4096) = 4096
        read(3, "51,\n\tuse=ibm+color,\nibmega-c|ibm"..., 4096) = 4096
        brk(0x8dcb000)                          = 0x8dcb000
        read(3, "0K,\n\thome=\\E[H, hpa=\\E[%i%p1%dG,"..., 4096) = 4096
        read(3, ", cuf1=^Y, cuu1=^\\,\n\ted=^K, ind="..., 4096) = 4096
        read(3, "l mode only)\n#ESC N           se"..., 4096) = 4096
        read(3, "1 = 3  screen 4\n#ESC o p1 p2    "..., 4096) = 4096
        read(3, ",\n\tcuf1=\\E[C, cup=\\E[%i%p1%d;%p2"..., 4096) = 4096
        read(3, "me=^^,\n\tkich1=\\EQ, kil1=\\EE, tsl"..., 4096) = 4096
        read(3, "\n\tind=^J, kbs=^H, khome=^A, vpa="..., 4096) = 4096
        read(3, "rmir=\\E[4l, rmso=\\E[27m, rmul=\\E"..., 4096) = 4096
        brk(0x8dec000)                          = 0x8dec000
        read(3, "args on Sytek multiplexors.  No "..., 4096) = 4096
        read(3, "J,\n# This came from University o"..., 4096) = 4096
        read(3, "ng various attributes is not vit"..., 4096) = 4096
        read(3, "p1%d;%p2%dH$<30>,\n\tis2=\\E[!p\\E[?"..., 4096) = 4096
        read(3, "=\\E[10~, kf5=\\E[M, kf6=\\E[17~,\n\t"..., 4096) = 4096
        read(3, "p1%{15}%=%t%{56}%;\\Edy%c11$<100>"..., 4096) = 4096
        read(3, "r, msgr, xon,\n\tcols#80, lines#24"..., 4096) = 4096
        read(3, "0vt200an,\nncr160vt200pp|NCR 2900"..., 4096) = 4096
        brk(0x8e0d000)                          = 0x8e0d000
        read(3, "<==> Dim attribute parameter\n# F"..., 4096) = 4096
        read(3, "500,\n\nndr9500-25|NDR 9500 with 2"..., 4096) = 4096
        read(3, "cs=\\EF, smam=\\E[?7m, smso=\\E[7m,"..., 4096) = 4096
        read(3, "sc=, rmacs=\\E^O, smacs=\\E^N, use"..., 4096) = 4096
        read(3, " ht=^I,\n\til1=\\013\\035ili;, ind=^"..., 4096) = 4096
        read(3, "\tOTbs, OTpt, msgr, xon,\n\tOTkn#8,"..., 4096) = 4096
        read(3, "207 with sysline but no memory,\n"..., 4096) = 4096
        brk(0x8e2e000)                          = 0x8e2e000
        read(3, "=\\E[L, ind=^J, invis=\\E[8m, kbs="..., 4096) = 4096
        read(3, "0, it#8, lines#30, ncv#49, pairs"..., 4096) = 4096
        read(3, "olker-Craig (vc)\n#\n# If you saw "..., 4096) = 4096
        read(3, "II\n#\n# Apple II firmware console"..., 4096) = 4096
        read(3, ", eo, xt,\n\tcols#80, lines#24,\n\ta"..., 4096) = 4096
        read(3, ", bold=\\E[1m, clear=\\E[H\\E[2J, c"..., 4096) = 4096
        read(3, "st\n# applications.\n#\n# It provid"..., 4096) = 4096
        read(3, ",\n\tdsl=\\E]2;\\007, fsl=^G, tsl=\\E"..., 4096) = 4096
        brk(0x8e4f000)                          = 0x8e4f000
        read(3, "section of System Prefs to make "..., 4096) = 4096
        read(3, "7,\n\tkcub1=\\EOD, kcud1=\\EOB, kcuf"..., 4096) = 4096
        read(3, "win-128x40-m|Darwin PowerPC Cons"..., 4096) = 4096
        brk(0x8e70000)                          = 0x8e70000
        read(3, "which comes with all Ataris now\n"..., 4096) = 4096
        read(3, "cs=^O, rmcup=\\233?7h, rmso=\\2330"..., 4096) = 4096
        read(3, "%c%p2%{32}%+%c, cuu1=^K, dch1=\\E"..., 4096) = 4096
        read(3, "el=\\EK, home=\\EH, ht=^I, ind=^J,"..., 4096) = 4096
        read(3, "# From: Igor Tamitegama <igor@pp"..., 4096) = 4096
        read(3, "loned its parts, and the Blit wa"..., 4096) = 4096
        read(3, "1=\\E[A,\n\tdl1=\\E[M$<2*>, ed=\\E[J$"..., 4096) = 4096
        read(3, "c=\\E[2g,\n\ttsl=\\EPY99\\:98\\E\\\\\\E[0"..., 4096) = 4096
        brk(0x8e91000)                          = 0x8e91000
        read(3, "mns terminal,\n\tam, eo, eslok, hs"..., 4096) = 4096
        read(3, "\tcsi 6 3 ; 1 \" p\n#\tChar. and Lin"..., 4096) = 4096
        read(3, "3~,\n\tkf7=\\23324~, kf8=\\23325~, k"..., 4096) = 4096
        read(3, "7800 wide 72 lines,\n\tcols#132, l"..., 4096) = 4096
        read(3, "16\\0\\230\\0\\317\\025\\027\\030\\E\\004"..., 4096) = 4096
        read(3, "|decwriter IV,\n\tOTbs, am, hc, os"..., 4096) = 4096
        read(3, "[1C, cup=\\E[%i%p1%d;%p2%dH,\n\tcuu"..., 4096) = 4096
        brk(0x8eb2000)                          = 0x8eb2000
        read(3, "and changing it back to H19 mode"..., 4096) = 4096
        read(3, "E[0m, smacs=\\E(0,\n\tsmir=\\E[4h, s"..., 4096) = 4096
        read(3, "s personal computers long ago in"..., 4096) = 4096
        read(3, "Q, kf3=\\EOR, kf4=\\EOS, rc=\\E8, r"..., 4096) = 4096
        read(3, "cols#40, lines#24,\n\tclear=^L, cu"..., 4096) = 4096
        read(3, "^^F, smso=^^^V,\n\n#### Synertek\n#"..., 4096) = 4096
        read(3, "4,\n\tbel=^G, clear=^L, cr=^M, cub"..., 4096) = 4096
        read(3, "317~,\n\tkf10=\\23328~, kf11=\\23329"..., 4096) = 4096
        brk(0x8ed3000)                          = 0x8ed3000
        read(3, "34~, kf2=\\23318~, kf3=\\23319~, k"..., 4096) = 4096
        read(3, "his display while running X11.  "..., 4096) = 4096
        read(3, "f colors (as well as all\n# other"..., 4096) = 4096
        read(3, "uf1=\\EOC, kcuu1=\\EOA, kf1=\\EOP, "..., 4096) = 4096
        read(3, "d=\\Eh, ht=^I, hu=\\EH,\n\tind=^J,\na"..., 4096) = 4096
        read(3, "%t;1%;m$<2>,\n\tuse=vt100,\n# These"..., 4096) = 4096
        read(3, "als\n# (3221) cost about $1500 ea"..., 4096) = 4096
        read(3, "     Parameter   or\n# Mnemonic  "..., 4096) = 4096
        read(3, "         ^I                  -  "..., 4096) = 4096
        read(3, " Char. Spacing *    \\E [ Ps SPC "..., 4096) = 4096
        read(3, "ue.  ECMA-48 calls this \"Cursor "..., 4096) = 4096
        read(3, " = Editing Boundary Mode, 20 = L"..., 4096) = 4096
        read(3, ", DSR, ED, EL, HTS, HVP, IND,\n# "..., 4096) = 4096
        read(3, "rase in line\n#\tCSI <n>L\t(il)\tins"..., 4096) = 4096
        read(3, " invented to take advantage of t"..., 4096) = 4096
        read(3, "\n# making perfectly synchronized"..., 4096) = 4096
        read(3, "es removed.\n#\t* Small fixes merg"..., 4096) = 4096
        read(3, "* Added entry for QNX console.\n#"..., 4096) = 4096
        read(3, "ansi-m entry.\n#\t* Corrected ansi"..., 4096) = 4096
        read(3, "3:08 EST 1996):\n#\t* Another swee"..., 4096) = 4096
        read(3, "rious terminals.\n#\t* Sun entry c"..., 4096) = 4096
        read(3, "u9 to sun-il description\n# 10.1."..., 4096) = 4096
        read(3, "--------------------------------"..., 4096) = 4096
        read(3, " modify ncv to add 'dim' -TD\n#\t*"..., 4096) = 4096
        read(3, "pple_Terminal\" entries -TD\n#\t* m"..., 4096) = 4096
        read(3, "TD\n#\t* update xterm-new and xter"..., 4096) = 4096
        read(3, "(km sends ESC rather than settin"..., 4096) = 3348
        read(3, "", 4096)                       = 0
        brk(0x8ef4000)                          = 0x8ef4000
        brk(0x8f15000)                          = 0x8f15000
        brk(0x8f14000)                          = 0x8f14000
        brk(0x8f35000)                          = 0x8f35000
        brk(0x8f34000)                          = 0x8f34000
        brk(0x8f55000)                          = 0x8f55000
        brk(0x8f54000)                          = 0x8f54000

I've also run ltrace instead of strace and the following is output.  I
have *not* chopped off the end of the output (at 0x80495d0); that's all
that appears.

        + ltrace tic -x -s -o /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo terminfo.tmp
        __libc_start_main(0x804b580, 6, 0xbff47ed4, 0x804f488, 0x804f480 <unfinished ...>
        _nc_rootname(0xbff497df, 0, 0, 0, 0)                                                                                        = 0xbff497df
        use_extended_names(0, 0, 0, 0, 0)                                                                                           = 1
        getopt(6, 0xbff47ed4, "0123456789CILNR:TUVace:fGgo:rstv"...)                                                                = 120
        __ctype_b_loc()                                                                                                             = 0xb7f21690
        use_extended_names(1, 0xbff47ed4, 0x804fe9c, 0, 0)                                                                          = 0
        getopt(6, 0xbff47ed4, "0123456789CILNR:TUVace:fGgo:rstv"...)                                                                = 115
        __ctype_b_loc()                                                                                                             = 0xb7f21690
        getopt(6, 0xbff47ed4, "0123456789CILNR:TUVace:fGgo:rstv"...)                                                                = 111
        __ctype_b_loc()                                                                                                             = 0xb7f21690
        getopt(6, 0xbff47ed4, "0123456789CILNR:TUVace:fGgo:rstv"...)                                                                = -1
        fopen64("terminfo.tmp", "r")                                                                                                = 0x8a65008
        fileno(0x8a65008)                                                                                                           = 3
        __fxstat64(3, 3, 0xbff45d1c)                                                                                                = 0
        _nc_set_source(0xbff49830, 0xbff47ed4, 0x804fe9c, 0, 0)                                                                     = 0xbff49830
        _nc_read_entry_source(0x8a65008, 0, 0, 0, 0x80495d0)                                                                        = 0x580364
        _nc_resolve_uses2(1, 0, 0, 0, 0x80495d0

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-15 14:06       ` Quotient Remainder
@ 2010-07-15 14:30         ` Mitch Davis
  2010-07-15 14:44           ` Quotient Remainder
  0 siblings, 1 reply; 16+ messages in thread
From: Mitch Davis @ 2010-07-15 14:30 UTC (permalink / raw)
  To: buildroot

On Fri, Jul 16, 2010 at 12:06 AM, Quotient Remainder
<quotientvremainder@gmail.com> wrote:
>
> I'd actually done both of these before but drew nothing from them
> myself, then again I don't really know what "tic" does

These might help:

  http://tldp.org/HOWTO/Text-Terminal-HOWTO-16.html#ss16.2
  http://en.wikipedia.org/wiki/Terminfo

> #!/bin/sh and adding strace before the tic call:

Ok.

> ? ? ? ?+ strace tic -x -s -o /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo terminfo.tmp

If you run this from the command line (ie, not via buildroot), what
happens?  Does it still hang?  Are you able to find out whether the
tic that's being called is from buildroot, or the tic installed as
part of your host operating system?  (adding "type -p tic" before tic
is called will show this).

> I've also run ltrace instead of strace and the following is output. ?I
> have *not* chopped off the end of the output (at 0x80495d0); that's all
> that appears.

That's really odd... as if the system call isn't returning.  Never
mind, I look forward to seeing the results of the above tests.

Mitch.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-15 14:30         ` Mitch Davis
@ 2010-07-15 14:44           ` Quotient Remainder
  2010-07-15 16:33             ` Mitch Davis
  0 siblings, 1 reply; 16+ messages in thread
From: Quotient Remainder @ 2010-07-15 14:44 UTC (permalink / raw)
  To: buildroot

Ar Aoine, 2010-07-16 ag 00:30 +1000, scr?obh Mitch Davis:

Thanks for the links, will read.


> If you run this from the command line (ie, not via buildroot), what
> happens?  Does it still hang?

Yes, same result.

> Are you able to find out whether the
> tic that's being called is from buildroot, or the tic installed as
> part of your host operating system?  (adding "type -p tic" before tic
> is called will show this).

As far as I know, host-tic isn't built so it has to be using the one
installed on the system (remember, I'm cross compiling so the main
buildroot tic is no use to me for RFS generation).

        + type -p tic
        /usr/bin/tic

That confirms that.

> That's really odd... as if the system call isn't returning.  Never
> mind, I look forward to seeing the results of the above tests.
> 

Here's another potentially relevant bit of information.  System is RHEL5
and:
        $ yum provides /usr/bin/tic
        ...
        ncurses-5.5-24.20060715.i386 : A terminal handling library
        Repo        : installed

I wonder if this 5.5 version of tic is too old to handle something in
the terminfo file generated by 5.7 or something?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-15 14:44           ` Quotient Remainder
@ 2010-07-15 16:33             ` Mitch Davis
  2010-07-15 16:52               ` Quotient Remainder
  0 siblings, 1 reply; 16+ messages in thread
From: Mitch Davis @ 2010-07-15 16:33 UTC (permalink / raw)
  To: buildroot

On Fri, Jul 16, 2010 at 12:44 AM, Quotient Remainder
<quotientvremainder@gmail.com> wrote:
>
>> If you run this from the command line (ie, not via buildroot), what
>> happens? ?Does it still hang?
>
> Yes, same result.

Good.  Now what happens if you run tic manually from the command line
under gdb?  If you wait until it hangs, then press ^C, then run "bt"
in gdb, what happens?  (You may like to install debug info for tic.
In Fedora, I'd do this:

  yum install yum-utils

then either:

  debuginfo-install ncurses

or

  yum --enable-repo=fedora-debuginfo install ncurses-debuginfo

Then I'd start gdb /usr/bin/tic, and use "set args" in gdb, then
"run".  You might find things vary under RHEL5.

> I wonder if this 5.5 version of tic is too old to handle something in
> the terminfo file generated by 5.7 or something?

It's possible.  Buildroot's ncurses package may need to be changed so
it builds a host version of tic, to work around this.

Mitch.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-15 16:33             ` Mitch Davis
@ 2010-07-15 16:52               ` Quotient Remainder
  2010-07-16  1:28                 ` Mitch Davis
  0 siblings, 1 reply; 16+ messages in thread
From: Quotient Remainder @ 2010-07-15 16:52 UTC (permalink / raw)
  To: buildroot

Ar Aoine, 2010-07-16 ag 02:33 +1000, scr?obh Mitch Davis:
> On Fri, Jul 16, 2010 at 12:44 AM, Quotient Remainder
> <quotientvremainder@gmail.com> wrote:
> >
> >> If you run this from the command line (ie, not via buildroot), what
> >> happens?  Does it still hang?
> >
> > Yes, same result.
> 
> Good.  Now what happens if you run tic manually from the command line
> under gdb?  If you wait until it hangs, then press ^C, then run "bt"
> in gdb, what happens?  (You may like to install debug info for tic.
> In Fedora, I'd do this:
> 

Unfortunately I don't have root on this machine so debug symbols are not
available.

        $ gdb tic
        GNU gdb Fedora (6.8-37.el5)
        Copyright (C) 2008 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
        and "show warranty" for details.
        This GDB was configured as "i386-redhat-linux-gnu"...
        (no debugging symbols found)
        (gdb) run -x -s -o /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo terminfo.tmp
        Starting program: /usr/bin/tic -x -s -o /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo terminfo.tmp
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        (no debugging symbols found)
        
        Program received signal SIGINT, Interrupt.
        0x0055c6e3 in ?? () from /usr/lib/libncursesw.so.5
        (gdb) bt
        #0  0x0055c6e3 in ?? () from /usr/lib/libncursesw.so.5
        #1  0x0055cd72 in ?? () from /usr/lib/libncursesw.so.5
        #2  0x0055d2e5 in _nc_align_termtype () from /usr/lib/libncursesw.so.5
        #3  0x0055bcb6 in _nc_merge_entry () from /usr/lib/libncursesw.so.5
        #4  0x0056061a in _nc_resolve_uses2 () from /usr/lib/libncursesw.so.5
        #5  0x0804b913 in ?? ()
        #6  0x0039fe9c in __libc_start_main () from /lib/libc.so.6
        #7  0x08049541 in ?? ()

If I run it again, I stop it in a slightly different place, naturally
enough but it's always in somewhere called from _nc_align_termtype().

        #0  0x0055c6cd in ?? () from /usr/lib/libncursesw.so.5
        #1  0x0055cd1e in ?? () from /usr/lib/libncursesw.so.5
        #2  0x0055d2e5 in _nc_align_termtype () from /usr/lib/libncursesw.so.5
        ...

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-15 16:52               ` Quotient Remainder
@ 2010-07-16  1:28                 ` Mitch Davis
  2010-07-16  9:25                   ` Quotient Remainder
  0 siblings, 1 reply; 16+ messages in thread
From: Mitch Davis @ 2010-07-16  1:28 UTC (permalink / raw)
  To: buildroot

On Fri, Jul 16, 2010 at 2:52 AM, Quotient Remainder
<quotientvremainder@gmail.com> wrote:
> Ar Aoine, 2010-07-16 ag 02:33 +1000, scr?obh Mitch Davis:
>> On Fri, Jul 16, 2010 at 12:44 AM, Quotient Remainder
>> <quotientvremainder@gmail.com> wrote:
>> >
>> >> If you run this from the command line (ie, not via buildroot), what
>> >> happens? ?Does it still hang?
>> >
>> > Yes, same result.
>>
>> Good. ?Now what happens if you run tic manually from the command line
>> under gdb? ?If you wait until it hangs, then press ^C, then run "bt"
>> in gdb, what happens? ?(You may like to install debug info for tic.
>> In Fedora, I'd do this:
>>
>
> Unfortunately I don't have root on this machine so debug symbols are not
> available.

If you're keen you can grab the debug RPM and use rpm2cpio to extract
the contents, then point gdb at it.  It would be nice to know the line
of code at 0x0055d2e5...

Yes it looks like a problem with the RHEL tic command.  Since it
appears that tic is being found on your path, is there a chance that
you can compile ncurses for yourself (--prefix=$HOME or similar) and
use that tic instead?

Mitch.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-16  1:28                 ` Mitch Davis
@ 2010-07-16  9:25                   ` Quotient Remainder
       [not found]                     ` <AANLkTim6BMXBWILqIwNMe02j3PDl9TAWhT1n_pkUdBBI@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Quotient Remainder @ 2010-07-16  9:25 UTC (permalink / raw)
  To: buildroot

Ar Aoine, 2010-07-16 ag 11:28 +1000, scr?obh Mitch Davis:
> If you're keen you can grab the debug RPM and use rpm2cpio to extract
> the contents, then point gdb at it.  It would be nice to know the line
> of code at 0x0055d2e5...
> 
        $ gdb
        ...
        (gdb) set debug-file-directory /home/qvr/debuginfo/fs/usr/lib/debug
        (gdb) file /usr/bin/tic
        Reading symbols from /usr/bin/tic...Reading symbols from /home/qvr/debuginfo/fs/usr/lib/debug/usr/bin/tic.debug...done.
        done.
        (gdb) run -x -s -o /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo terminfo.tmp
        Starting program: /usr/bin/tic -x -s -o /home/qvr/obair/buildroot.org/output/staging/usr/share/terminfo terminfo.tmp
        
        Program received signal SIGINT, Interrupt.
        adjust_cancels (to=<value optimized out>, from=<value optimized out>) at ../../ncurses/tinfo/alloc_ttype.c:351
        351	../../ncurses/tinfo/alloc_ttype.c: No such file or directory.
        	in ../../ncurses/tinfo/alloc_ttype.c
        (gdb) bt
        #0  adjust_cancels (to=<value optimized out>, from=<value optimized out>) at ../../ncurses/tinfo/alloc_ttype.c:351
        #1  0x0055d2e5 in _nc_align_termtype (to=<value optimized out>, from=<value optimized out>) at ../../ncurses/tinfo/alloc_ttype.c:415
        #2  0x0055bcb6 in _nc_merge_entry (to=<value optimized out>, from=<value optimized out>) at ../../ncurses/tinfo/alloc_entry.c:239
        #3  0x0056061a in _nc_resolve_uses2 (fullresolve=<value optimized out>, literal=<value optimized out>) at ../../ncurses/tinfo/comp_parse.c:398
        #4  0x0804b913 in main (argc=6, argv=0xbfb073f4) at ../../progs/tic.c:692

And on for a second run:

        (gdb) bt
        #0  _nc_find_ext_name (tp=<value optimized out>, name=<value optimized out>, token_type=<value optimized out>) at ../../ncurses/tinfo/alloc_ttype.c:205
        #1  0x0055cd72 in adjust_cancels (to=<value optimized out>, from=<value optimized out>) at ../../ncurses/tinfo/alloc_ttype.c:359
        #2  0x0055d2e5 in _nc_align_termtype (to=<value optimized out>, from=<value optimized out>) at ../../ncurses/tinfo/alloc_ttype.c:415
        #3  0x0055bcb6 in _nc_merge_entry (to=<value optimized out>, from=<value optimized out>) at ../../ncurses/tinfo/alloc_entry.c:239
        #4  0x0056061a in _nc_resolve_uses2 (fullresolve=<value optimized out>, literal=<value optimized out>) at ../../ncurses/tinfo/comp_parse.c:398
        #5  0x0804b913 in main (argc=6, argv=0xbfe6d554) at ../../progs/tic.c:692

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
       [not found]                       ` <1279288154.15465.18.camel@dubciaranr1.verifone.com>
@ 2010-07-19 10:31                         ` Quotient Remainder
  2010-07-19 11:39                           ` Mitch Davis
  2010-07-19 14:05                           ` Thomas Petazzoni
  0 siblings, 2 replies; 16+ messages in thread
From: Quotient Remainder @ 2010-07-19 10:31 UTC (permalink / raw)
  To: buildroot

[Replies fell off the list so resending...]

Ar Aoine, 2010-07-16 ag 22:07 +1000, scr?obh Mitch Davis:

> Yeah you're keen :-)

Keen to get the damn thing fixed, alright! ;-)

> I think you're right, this 2006 software is too old for the data
> that's being put through it.  Even if you find the problem, no-one
> will want the patch when a modern tic works ok.  To help yourself, is
> it possible to self compile a newer tic and have it in the path?
> 
> Good luck dude!

OK, thanks for the tips, I'll either stick with 5.6 for now or do as you
say.

BTW, do you have any idea why, if I have a build that fails in ncurses
and I just do "rm -rf output/build/ncurses-5.7" and "make", it fails
making the static library because $(AR_FLAGS) is empty?

        /home/qvr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar  ../lib/libncurses.a ../objects/hardscroll.o ../objects/hashmap.o ../objects/lib_addch.o ../objects/lib_addstr.o ../objects/lib_beep.o ../objects/lib_bkgd.o ../objects/lib_box.o ../objects/lib_chgat.o ../objects/lib_clear.o ../objects/lib_clearok.o ../objects/lib_clrbot.o ../objects/lib_clreol.o ../objects/lib_color.o ../objects/lib_colorset.o ../objects/lib_delch.o ../objects/lib_delwin.o ../objects/lib_echo.o ../objects/lib_endwin.o ../objects/lib_erase.o ../objects/lib_flash.o ../objects/lib_gen.o ../objects/lib_getch.o ../objects/lib_getstr.o ../objects/lib_hline.o ../objects/lib_immedok.o ../objects/lib_inchstr.o ../objects/lib_initscr.o ../objects/lib_insch.o ../objects/lib_insdel.o ../objects/lib_insnstr.o ../objects/lib_instr.o ../objects/lib_isendwin.o ../objects/lib_leaveok.o ../objects/lib_mouse.o ../objects/lib_move.o ../objects/lib_mvcur.o ../objects/lib_mvwin.o ../objects/lib_newterm.o ../objects/lib_newwin.o ../objects/lib_nl.o ../objects/lib_overlay.o ../objects/lib_pad.o ../objects/lib_printw.o ../objects/lib_redrawln.o ../objects/lib_refresh.o ../objects/lib_restart.o ../objects/lib_scanw.o ../objects/lib_screen.o ../objects/lib_scroll.o ../objects/lib_scrollok.o ../objects/lib_scrreg.o ../objects/lib_set_term.o ../objects/lib_slk.o ../objects/lib_slkatr_set.o ../objects/lib_slkatrof.o ../objects/lib_slkatron.o ../objects/lib_slkatrset.o ../objects/lib_slkattr.o ../objects/lib_slkclear.o ../objects/lib_slkcolor.o ../objects/lib_slkinit.o ../objects/lib_slklab.o ../objects/lib_slkrefr.o ../objects/lib_slkset.o ../objects/lib_slktouch.o ../objects/lib_touch.o ../objects/lib_tstp.o ../objects/lib_ungetch.o ../objects/lib_vidattr.o ../objects/lib_vline.o ../objects/lib_wattroff.o ../objects/lib_wattron.o ../objects/lib_winch.o ../objects/lib_window.o ../objects/nc_panel.o ../objects/safe_sprintf.o ../objects/tty_update.o ../objects/varargs.o ../objects/memmove.o ../objects/vsscanf.o ../objects/lib_freeall.o ../objects/expanded.o ../objects/legacy_coding.o ../objects/lib_dft_fgbg.o ../objects/lib_print.o ../objects/resizeterm.o ../objects/use_screen.o ../objects/use_window.o ../objects/wresize.o ../objects/access.o ../objects/add_tries.o ../objects/alloc_ttype.o ../objects/codes.o ../objects/comp_error.o ../objects/db_iterator.o ../objects/doalloc.o ../objects/entries.o ../objects/fallback.o ../objects/free_ttype.o ../objects/getenv_num.o ../objects/home_terminfo.o ../objects/init_keytry.o ../objects/lib_acs.o ../objects/lib_baudrate.o ../objects/lib_cur_term.o ../objects/lib_data.o ../objects/lib_has_cap.o ../objects/lib_kernel.o ../objects/lib_keyname.o ../objects/lib_longname.o ../objects/lib_napms.o ../objects/lib_options.o ../objects/lib_raw.o ../objects/lib_setup.o ../objects/lib_termcap.o ../objects/lib_termname.o ../objects/lib_tgoto.o ../objects/lib_ti.o ../objects/lib_tparm.o ../objects/lib_tputs.o ../objects/lib_trace.o ../objects/lib_ttyflags.o ../objects/lib_twait.o ../objects/name_match.o ../objects/names.o ../objects/read_entry.o ../objects/read_termcap.o ../objects/setbuf.o ../objects/strings.o ../objects/tries.o ../objects/trim_sgr0.o ../objects/unctrl.o ../objects/visbuf.o ../objects/define_key.o ../objects/hashed_db.o ../objects/key_defined.o ../objects/keybound.o ../objects/keyok.o ../objects/version.o
        /home/qvr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar: illegal option -- .
        Usage: /home/qvr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
               /home/qvr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar -M [<mri-script]
         commands:
          d            - delete file(s) from the archive
          m[ab]        - move file(s) in the archive
          p            - print file(s) found in the archive
          q[f]         - quick append file(s) to the archive
          r[ab][f][u]  - replace existing or insert new file(s) into the archive
          t            - display contents of archive
          x[o]         - extract file(s) from the archive
         command specific modifiers:
          [a]          - put file(s) after [member-name]
          [b]          - put file(s) before [member-name] (same as [i])
          [D]          - use zero for timestamps and uids/gids
          [N]          - use instance [count] of name
          [f]          - truncate inserted file names
          [P]          - use full path names when matching
          [o]          - preserve original dates
          [u]          - only replace files that are newer than current archive contents
         generic modifiers:
          [c]          - do not warn if the library had to be created
          [s]          - create an archive index (cf. ranlib)
          [S]          - do not build a symbol table
          [T]          - make a thin archive
          [v]          - be verbose
          [V]          - display the version number
          @<file>      - read options from <file>
         emulation options: 
          No emulation specific options
        /home/qvr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar: supported targets: elf32-littlearm elf32-bigarm elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
        make[2]: *** [../lib/libncurses.a] Error 1
        make[2]: Leaving directory `/home/qvr/obair/buildroot.org/output/build/ncurses-5.7/ncurses'
        make[1]: *** [all] Error 2
        make[1]: Leaving directory `/home/qvr/obair/buildroot.org/output/build/ncurses-5.7'
        make: *** [/home/qvr/obair/buildroot.org/output/build/ncurses-5.7/.stamp_built] Error 2

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-19 10:31                         ` Quotient Remainder
@ 2010-07-19 11:39                           ` Mitch Davis
  2010-07-19 13:58                             ` Quotient Remainder
  2010-07-19 14:05                           ` Thomas Petazzoni
  1 sibling, 1 reply; 16+ messages in thread
From: Mitch Davis @ 2010-07-19 11:39 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 19, 2010 at 8:31 PM, Quotient Remainder
<quotientvremainder@gmail.com> wrote:
>
> OK, thanks for the tips, I'll either stick with 5.6 for now or do as you
> say.

I had a look, let me see if I get this right: this is only a problem
with ncurses 5.7, because ncurses 5.6 works fine for you?

Mitch.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-19 11:39                           ` Mitch Davis
@ 2010-07-19 13:58                             ` Quotient Remainder
  0 siblings, 0 replies; 16+ messages in thread
From: Quotient Remainder @ 2010-07-19 13:58 UTC (permalink / raw)
  To: buildroot

Ar Luan, 2010-07-19 ag 21:39 +1000, scr?obh Mitch Davis:
> On Mon, Jul 19, 2010 at 8:31 PM, Quotient Remainder
> <quotientvremainder@gmail.com> wrote:
> >
> > OK, thanks for the tips, I'll either stick with 5.6 for now or do as you
> > say.
> 
> I had a look, let me see if I get this right: this is only a problem
> with ncurses 5.7, because ncurses 5.6 works fine for you?
> 

The original problem - tic freezing - only happens with 5.7, yes.
The rebuild problem happens with both 5.6 and 5.7.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-19 10:31                         ` Quotient Remainder
  2010-07-19 11:39                           ` Mitch Davis
@ 2010-07-19 14:05                           ` Thomas Petazzoni
  2010-07-19 14:19                             ` Quotient Remainder
  1 sibling, 1 reply; 16+ messages in thread
From: Thomas Petazzoni @ 2010-07-19 14:05 UTC (permalink / raw)
  To: buildroot

On Mon, 19 Jul 2010 11:31:45 +0100
Quotient Remainder <quotientvremainder@gmail.com> wrote:

> BTW, do you have any idea why, if I have a build that fails in ncurses
> and I just do "rm -rf output/build/ncurses-5.7" and "make", it fails
> making the static library because $(AR_FLAGS) is empty?

I could reproduce here two. I suspect that if you add

NCURSES_USE_CONFIG_CACHE=NO

into ncurses.mk, the problem should go away. However, this is just a
workaround, not a proper fix.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] ncurses: build freezes without error with v5.7
  2010-07-19 14:05                           ` Thomas Petazzoni
@ 2010-07-19 14:19                             ` Quotient Remainder
  0 siblings, 0 replies; 16+ messages in thread
From: Quotient Remainder @ 2010-07-19 14:19 UTC (permalink / raw)
  To: buildroot

Ar Luan, 2010-07-19 ag 16:05 +0200, scr?obh Thomas Petazzoni:
> NCURSES_USE_CONFIG_CACHE=NO
> 

Indeed that does make the rebuild work.

Probably not relevant, but if I have already built a v5.6 and then "rm
-rf output/build/ncurses-5.6" and then edit
"packages/ncurses/ncurses.mk" to use v5.7 and do make, I get this:

        /home/qvr/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/qvr/obair/buildroot.org/output/staging -pipe -Os  -mtune=arm1136jf-s -march=armv6j -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  --param max-inline-insns-single=1200  -o ditto ../obj_s/ditto.o -Wl,-rpath,/home/qvr/obair/buildroot.org/output/build/ncurses-5.7/lib -L/home/qvr/obair/buildroot.org/output/staging/lib -L/home/qvr/obair/buildroot.org/output/staging/usr/lib -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -pipe -Os  -mtune=arm1136jf-s -march=armv6j -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  --param max-inline-insns-single=1200  -fPIC  `echo "-L../lib -lform -lmenu -lpanel -lncurses    " | sed -e 's/-lform.*-lpanel[^ ]*//'` -lutil  -lm 
        ../obj_s/ditto.o: In function `main':
        ditto.c:(.text+0x228): undefined reference to `use_screen'
        ditto.c:(.text+0x278): undefined reference to `use_screen'
        ditto.c:(.text+0x2ac): undefined reference to `use_screen'
        ditto.c:(.text+0x2e4): undefined reference to `use_screen'
        collect2: ld returned 1 exit status
        make[2]: *** [ditto] Error 1
        make[2]: Leaving directory `/home/qvr/obair/buildroot.org/output/build/ncurses-5.7/test'
        make[1]: *** [all] Error 2
        make[1]: Leaving directory `/home/qvr/obair/buildroot.org/output/build/ncurses-5.7'
        make: *** [/home/qvr/obair/buildroot.org/output/build/ncurses-5.7/.stamp_built] Error 2

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-07-19 14:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 16:09 [Buildroot] ncurses: build freezes without error with v5.7 Quotient Remainder
2010-07-14 19:29 ` Gustavo Zacarias
2010-07-15 11:09   ` Quotient Remainder
2010-07-15 12:06     ` Mitch Davis
2010-07-15 14:06       ` Quotient Remainder
2010-07-15 14:30         ` Mitch Davis
2010-07-15 14:44           ` Quotient Remainder
2010-07-15 16:33             ` Mitch Davis
2010-07-15 16:52               ` Quotient Remainder
2010-07-16  1:28                 ` Mitch Davis
2010-07-16  9:25                   ` Quotient Remainder
     [not found]                     ` <AANLkTim6BMXBWILqIwNMe02j3PDl9TAWhT1n_pkUdBBI@mail.gmail.com>
     [not found]                       ` <1279288154.15465.18.camel@dubciaranr1.verifone.com>
2010-07-19 10:31                         ` Quotient Remainder
2010-07-19 11:39                           ` Mitch Davis
2010-07-19 13:58                             ` Quotient Remainder
2010-07-19 14:05                           ` Thomas Petazzoni
2010-07-19 14:19                             ` Quotient Remainder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox