View previous topic :: View next topic |
Author |
Message |
seansmr n00b
Joined: 04 Dec 2011 Posts: 52 Location: Bangkok
|
Posted: Fri May 09, 2014 12:55 pm Post subject: Ncurses problem - 4 packages fail to emerge. [Solved] |
|
|
I am sorry, I am just not good at asking questions.
Edit: I have just tried compiling these four packages in the original i586 install, before any CHOST changes. None of them work. So, this is a system issue, nothing to do with CHOST. I have changed the title to reflect this.
I guess that I will post the logs for the other package separately.
I saw a comment by a dev in another post, he said you should always fix the system, you shouldn't reinstall. So here I am.
Also, I can say that the conditions that made these packages fail could have been a long time ago, if there was no upgrade we wouldn't know.
cmake is an upgrade, I remember that it failed in, maybe, October 2013.I know that rtorrent was working sometime over a year ago, I tried the newer masked version. Other than that all packages were updated a few times a year. Compiling was done in a chroot on a Core2 and copied to a compact flash card. It always worked, it was all that I knew how to at the time.
/edit
Background:
A long time ago I installed i486 gentoo on an embedded device with an i586 SoC. All compiling was done on a core2 in a chroot.
Later, I changed the CHOST to i586. It worked perfectly and I had no problems. I had recompile system and then world, everythig worked.
A while later I change the profile to hardened, this also worked perfectly. This ran 24/7 for years, until the device failed.
Now I have an Atom D2550 based device, so I changed the CHOST to i686 and recompiled. Using -march=atom did not work in the Core2 chroot, so I moved the whole thing to the Atom device and recompiled there. The Atom is surprisingly fast.
Everything worked fine except for 4 packages:
readline-6.2_p1
util-linux-2.22.2
rtorrent-0.8.9
cmake-2.8.12.2
System was compiled twice except for readline and util-linux which failed.
I have searched and tried to find a solution to this, but I am not able solve it myself. I would greatly appreciate it if anyone could help to figure this out.
Here is the required output for readline:
Code: | emerge --info '=sys-libs/readline-6.2_p1::gentoo'
Portage 2.2.8-r1 (hardened/linux/x86, gcc-4.7.3, glibc-2.17, 3.13.6-hardened-r3 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.13.6-hardened-r3-i686-Intel-R-_Atom-TM-_CPU_D2550_@_1.86GHz-with-gentoo-2.2
KiB Mem: 4123412 total, 3791884 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Fri, 09 May 2014 01:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.5-r3, 3.3.3
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.69
sys-devel/automake: 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://gentoo.aditsu.net:8000/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages-atom"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="/ acl acpi apache2 bzip2 color cracklib crypt cxx dri fastcgi fbcon gd gdbm gpm hardened iconv lm_sensors mmx modules mysql mysqli ncurses nls nptl openmp pam pax_kernel pcre php pic readline samba session sse sse2 sse3 ssl ssse3 tcpd unicode urandom vhosts x86 xtpax zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="cgi actions alias auth_basic authn_default authn_file / authz_default authz_host authz_owner authz_user autoindex cache / deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio / mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
=================================================================
Package Settings
=================================================================
sys-libs/readline-6.2_p1 was built with the following:
USE=""
CHOST="i586-pc-linux-gnu"
CFLAGS="-O2 -march=i586 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=i586 -pipe -fomit-frame-pointer"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L."
|
Code: | emerge -pqv '=sys-libs/readline-6.2_p1::gentoo'
[ebuild R ] sys-libs/readline-6.2_p1
|
/var/tmp/portage/sys-libs/readline-6.2_p1/temp/build.log
http://pastebin.com/ZzRrw1yf
/var/tmp/portage/sys-libs/readline-6.2_p1/temp/environment
http://pastebin.com/NbHSsvA3
Working directory:
Code: |
ls -l /var/tmp/portage/sys-libs/readline-6.2_p1/work/readline-6.2/examples/rlfe
total 300
-rw-r--r-- 1 portage portage 1339 Nov 5 2004 ChangeLog
-rw-r--r-- 1 portage portage 5265 Feb 23 2009 Makefile.in
-rw-r--r-- 1 portage portage 2892 Nov 5 2004 README
-rw-r--r-- 1 portage portage 9323 Nov 9 2006 config.h.in
-rw-r--r-- 1 portage portage 16685 May 10 00:47 config.log
-rwxr-xr-x 1 portage portage 181150 Feb 23 2009 configure
-rw-r--r-- 1 portage portage 9011 Nov 9 2006 configure.in
-rw-r--r-- 1 portage portage 1416 Nov 20 2006 extern.h
lrwxrwxrwx 1 portage portage 18 May 10 00:47 libhistory.a -> ../../libhistory.a
lrwxrwxrwx 1 portage portage 29 May 10 00:47 libhistory.so -> ../../shlib/libhistory.so.6.2
lrwxrwxrwx 1 portage portage 19 May 10 00:47 libreadline.a -> ../../libreadline.a
lrwxrwxrwx 1 portage portage 30 May 10 00:47 libreadline.so -> ../../shlib/libreadline.so.6.2
-rw-r--r-- 1 portage portage 12299 Mar 25 2010 os.h
-rw-r--r-- 1 portage portage 8301 Nov 9 2006 pty.c
lrwxrwxrwx 1 portage portage 5 May 10 00:46 readline -> ../..
-rw-r--r-- 1 portage portage 19968 Dec 1 2008 rlfe.c
-rw-r--r-- 1 portage portage 60 Nov 5 2004 screen.h
|
Code: | ls -l /var/tmp/portage/sys-libs/readline-6.2_p1/work/readline-6.2
total 2656
-rw-r--r-- 1 portage portage 27532 Dec 29 2010 CHANGELOG
-rw-r--r-- 1 portage portage 51509 Jan 11 2011 CHANGES
-rw-r--r-- 1 portage portage 35147 Aug 12 2008 COPYING
-rw-r--r-- 1 portage portage 12304 Nov 15 2010 INSTALL
-rw-r--r-- 1 portage portage 2666 Jul 26 2010 MANIFEST
-rw-r--r-- 1 portage portage 17614 May 10 00:47 Makefile
-rw-r--r-- 1 portage portage 17514 May 10 00:46 Makefile.in
-rw-r--r-- 1 portage portage 918 Nov 15 2010 NEWS
-rw-r--r-- 1 portage portage 7680 Nov 15 2010 README
-rw-r--r-- 1 portage portage 2025 Jul 23 1999 USAGE
-rw-r--r-- 1 portage portage 133337 Jul 6 2010 aclocal.m4
-rw-r--r-- 1 portage portage 1437 Aug 12 2008 ansi_stdlib.h
-rw-r--r-- 1 portage portage 58936 Feb 11 2011 bind.c
-rw-r--r-- 1 portage portage 37904 May 10 00:47 bind.o
-rw-r--r-- 1 portage portage 7515 May 10 00:46 callback.c
-rw-r--r-- 1 portage portage 5544 May 10 00:47 callback.o
-rw-r--r-- 1 portage portage 4551 Jan 5 2009 chardefs.h
-rw-r--r-- 1 portage portage 2413 Jan 5 2009 compat.c
-rw-r--r-- 1 portage portage 3268 May 10 00:47 compat.o
-rw-r--r-- 1 portage portage 79852 Jan 17 2011 complete.c
-rw-r--r-- 1 portage portage 32196 May 10 00:47 complete.o
-rw-r--r-- 1 portage portage 6514 May 10 00:47 config.h
-rw-r--r-- 1 portage portage 6104 Mar 10 2009 config.h.in
-rw-r--r-- 1 portage portage 99794 May 10 00:47 config.log
-rwxr-xr-x 1 portage portage 31859 May 10 00:47 config.status
-rwxr-xr-x 1 portage portage 323161 Nov 15 2010 configure
-rw-r--r-- 1 portage portage 7684 Nov 15 2010 configure.in
-rw-r--r-- 1 portage portage 83200 Sep 27 2009 display.c
-rw-r--r-- 1 portage portage 36836 May 10 00:47 display.o
drwxr-xr-x 2 portage portage 4096 May 10 00:47 doc
-rw-r--r-- 1 portage portage 37643 Jan 5 2009 emacs_keymap.c
drwxr-xr-x 4 portage portage 4096 May 10 00:47 examples
-rw-r--r-- 1 portage portage 9152 May 31 2010 funmap.c
-rw-r--r-- 1 portage portage 12276 May 10 00:47 funmap.o
-rw-r--r-- 1 portage portage 40948 Jul 26 2010 histexpand.c
-rw-r--r-- 1 portage portage 18444 May 10 00:47 histexpand.o
-rw-r--r-- 1 portage portage 13859 Jul 26 2010 histfile.c
-rw-r--r-- 1 portage portage 5864 May 10 00:47 histfile.o
-rw-r--r-- 1 portage portage 2324 Jan 5 2009 histlib.h
-rw-r--r-- 1 portage portage 12725 Jul 26 2010 history.c
-rw-r--r-- 1 portage portage 10078 Jan 5 2009 history.h
-rw-r--r-- 1 portage portage 8808 May 10 00:47 history.o
-rw-r--r-- 1 portage portage 4864 Jan 5 2009 histsearch.c
-rw-r--r-- 1 portage portage 2892 May 10 00:47 histsearch.o
-rw-r--r-- 1 portage portage 12878 May 31 2010 input.c
-rw-r--r-- 1 portage portage 7844 May 10 00:47 input.o
-rw-r--r-- 1 portage portage 20026 Sep 7 2010 isearch.c
-rw-r--r-- 1 portage portage 9260 May 10 00:47 isearch.o
-rw-r--r-- 1 portage portage 3812 Jul 26 2010 keymaps.c
-rw-r--r-- 1 portage portage 3163 Jul 7 2010 keymaps.h
-rw-r--r-- 1 portage portage 21696 May 10 00:47 keymaps.o
-rw-r--r-- 1 portage portage 15642 Dec 7 2010 kill.c
-rw-r--r-- 1 portage portage 10404 May 10 00:47 kill.o
-rw-r--r-- 1 portage portage 48752 May 10 00:47 libhistory.a
-rw-r--r-- 1 portage portage 396020 May 10 00:47 libreadline.a
-rw-r--r-- 1 portage portage 6917 Jan 5 2009 macro.c
-rw-r--r-- 1 portage portage 4916 May 10 00:47 macro.o
-rw-r--r-- 1 portage portage 8976 May 30 2009 mbutil.c
-rw-r--r-- 1 portage portage 4044 May 10 00:47 mbutil.o
-rw-r--r-- 1 portage portage 15753 Jul 26 2010 misc.c
-rw-r--r-- 1 portage portage 11296 May 10 00:47 misc.o
-rw-r--r-- 1 portage portage 6090 Jul 26 2010 nls.c
-rw-r--r-- 1 portage portage 2076 May 10 00:47 nls.o
-rw-r--r-- 1 portage portage 4509 Apr 20 2009 parens.c
-rw-r--r-- 1 portage portage 3244 May 10 00:47 parens.o
-rw-r--r-- 1 portage portage 49 Jan 14 2010 patchlevel
-rw-r--r-- 1 portage portage 1960 Aug 12 2008 posixdir.h
-rw-r--r-- 1 portage portage 1235 Aug 12 2008 posixjmp.h
-rw-r--r-- 1 portage portage 1364 Apr 19 2009 posixselect.h
-rw-r--r-- 1 portage portage 4318 Aug 12 2008 posixstat.h
-rw-r--r-- 1 portage portage 33401 Jul 26 2010 readline.c
-rw-r--r-- 1 portage portage 36517 Jan 17 2011 readline.h
-rw-r--r-- 1 portage portage 17520 May 10 00:47 readline.o
-rw-r--r-- 1 portage portage 2189 Jan 5 2009 rlconf.h
-rw-r--r-- 1 portage portage 4724 Jan 5 2009 rldefs.h
-rw-r--r-- 1 portage portage 5084 Jan 5 2009 rlmbutil.h
-rw-r--r-- 1 portage portage 15742 Nov 8 2010 rlprivate.h
-rw-r--r-- 1 portage portage 1258 Jan 5 2009 rlshell.h
-rw-r--r-- 1 portage portage 1546 Jan 5 2009 rlstdc.h
-rw-r--r-- 1 portage portage 22724 Jul 31 2010 rltty.c
-rw-r--r-- 1 portage portage 2531 Jan 5 2009 rltty.h
-rw-r--r-- 1 portage portage 8488 May 10 00:47 rltty.o
-rw-r--r-- 1 portage portage 2845 Jan 5 2009 rltypedefs.h
-rw-r--r-- 1 portage portage 2205 Jan 5 2009 rlwinsize.h
-rw-r--r-- 1 portage portage 1290 Aug 3 2010 savestring.c
-rw-r--r-- 1 portage portage 14532 Jul 26 2010 search.c
-rw-r--r-- 1 portage portage 8948 May 10 00:47 search.o
-rw-r--r-- 1 portage portage 4531 Jul 26 2010 shell.c
-rw-r--r-- 1 portage portage 2924 May 10 00:47 shell.o
drwxr-xr-x 2 portage portage 4096 May 10 00:47 shlib
-rw-r--r-- 1 portage portage 17294 Feb 11 2011 signals.c
-rw-r--r-- 1 portage portage 9016 May 10 00:47 signals.o
-rw-r--r-- 1 portage portage 1 May 10 00:47 stamp-h
drwxr-xr-x 2 portage portage 4096 May 10 00:47 support
-rw-r--r-- 1 portage portage 1587 Jan 5 2009 tcap.h
-rw-r--r-- 1 portage portage 18770 Jan 3 2011 terminal.c
-rw-r--r-- 1 portage portage 12612 May 10 00:47 terminal.o
-rw-r--r-- 1 portage portage 37948 Nov 8 2010 text.c
-rw-r--r-- 1 portage portage 25044 May 10 00:47 text.o
-rw-r--r-- 1 portage portage 13192 Jul 26 2010 tilde.c
-rw-r--r-- 1 portage portage 3046 Jan 5 2009 tilde.h
-rw-r--r-- 1 portage portage 4480 May 10 00:47 tilde.o
-rw-r--r-- 1 portage portage 7126 Sep 8 2009 undo.c
-rw-r--r-- 1 portage portage 5244 May 10 00:47 undo.o
-rw-r--r-- 1 portage portage 10764 May 31 2010 util.c
-rw-r--r-- 1 portage portage 8848 May 10 00:47 util.o
-rw-r--r-- 1 portage portage 36524 Jul 30 2009 vi_keymap.c
-rw-r--r-- 1 portage portage 45171 May 10 00:46 vi_mode.c
-rw-r--r-- 1 portage portage 33368 May 10 00:47 vi_mode.o
-rw-r--r-- 1 portage portage 1539 Jul 26 2010 xfree.c
-rw-r--r-- 1 portage portage 1340 May 10 00:47 xfree.o
-rw-r--r-- 1 portage portage 2060 Jul 26 2010 xmalloc.c
-rw-r--r-- 1 portage portage 1312 Jan 5 2009 xmalloc.h
-rw-r--r-- 1 portage portage 2196 May 10 00:47 xmalloc.o
|
Edit: forgot this one:
/var/tmp/portage/sys-libs/readline-6.2_p1/work/readline-6.2/examples/rlfe/config.log
http://pastebin.com/DZ4YKNL0
I have just included the info for readline, in case it is the same solution for all, otherwise I can add more info.
Thanks in advance for any help provided.
Last edited by seansmr on Sun May 11, 2014 12:17 pm; edited 4 times in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Fri May 09, 2014 9:51 pm Post subject: |
|
|
It looks like it's bombing on trying to use your ncurses. What version of ncurses are you using, and are you holding it back for any reason?
Perhaps try emerge -1 ncurses to update it first, then try again?
I think it has been suggested that changing CHOST values is not recommended, but I don't think this is the problem here, and you're using very similar 32-bit systems so it's not nearly as problematic.
(Wow, I think my N270 Atom is slooow.... Granted it blows my Arm A8 to smithereens but doesn't hold a candle to my i7...) |
|
Back to top |
|
|
seansmr n00b
Joined: 04 Dec 2011 Posts: 52 Location: Bangkok
|
Posted: Sat May 10, 2014 9:08 am Post subject: response to above |
|
|
ncurses has been rebuilt at least 2 times.
Code: |
[ebuild R ] sys-libs/ncurses-5.9-r2:5 USE="cxx gpm tinfo unicode -ada -debug -doc -minimal -profile -static-libs -trace"
|
ncurses is what I found when I researched the problem, also screen. Other people have got this error with screen. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Sat May 10, 2014 3:30 pm Post subject: |
|
|
My ncurses is +cxx +gpm +unicode -ada -debug -doc -minimal -profile -static-libs -tinfo -trace ...
And I have both these installed just fine (ncurses-5.9 and readline-6.2)...You must have some old libraries or includes installed and tricking readline and/or screen's configure... a reinstall would clean those up of course. Have you tried emerge -e world in the past, it may also clean up some of these things.
Finding out which one without reinstall probably sits in your hands... it'd make it much easier if we had access to your machine to search for culprit files. Basically would have to manually go through the configure script and see what file/contents of files would trigger it to fail; my machines do not model the behavior of yours.
This is unless someone has run across this before and debugged it already. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
gienah Developer
Joined: 24 Nov 2010 Posts: 212 Location: AU
|
Posted: Sun May 11, 2014 3:09 am Post subject: |
|
|
The current versions should build with sys-libs/ncurses-5.9-r3 with the tinfo USE flag:
Code: | dev-util/cmake-2.8.12.2-r1
sys-apps/util-linux-2.24.1-r3
sys-libs/readline-6.3_p5-r1 |
That version of rtorrent also builds for me:
Code: | net-p2p/rtorrent-0.8.9 |
|
|
Back to top |
|
|
seansmr n00b
Joined: 04 Dec 2011 Posts: 52 Location: Bangkok
|
Posted: Sun May 11, 2014 4:20 am Post subject: |
|
|
All packages that don't work depend on ncurses. I tried to uninstall ncurses, but it keeps the libraries that others depends on. So I just tried to re-compile ncurses again. That still does not work.
However, I just downgraded ncusrses to ncurses-5.9-r1:5 and readline does compile correctly.
Now to try the other 3 packages.
I am testing this on the old i586 system |
|
Back to top |
|
|
seansmr n00b
Joined: 04 Dec 2011 Posts: 52 Location: Bangkok
|
Posted: Sun May 11, 2014 4:39 am Post subject: 3 out of 4 work now |
|
|
After I downgraded ncurses, now 3 packages, readline, util-linux and cmake all compile correctly.
So there is something wrong with ncurses-5.9-r2:5 and rtorrent-0.8.9
Next I tried the masked ncurses-5.9-r3:5 With this version of ncurses, the 3 packages, above, also worked,
Edit:
Does anyone want to access my system to see what is wrong with using ncurses-5.9-r2:5?
The atom box still has the r2 version of ncurses, and still has the problem.
Also, rtorrent-0.8.9 still does not work.
OK, so I have now tried rtorrent-0.9.2 and it works.
I have essentially got the whole thing working by unmasking higher versions of 2 packages. However, I still would like to know what the problem was. Why does everybody else's system work and mine doesn't?
And, I have yet to compile for preserved libs, and one is MySQL.
Last edited by seansmr on Sun May 11, 2014 5:28 am; edited 1 time in total |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun May 11, 2014 5:08 am Post subject: |
|
|
It's because you build ncurse with tinfo use flag, do not enable it.
rebuild ncurse without it should fix readline configure that should find termcap functions provide by ncurse and not by libtinfo
Code: | checking which library has the termcap functions... using libtinfo |
|
|
Back to top |
|
|
seansmr n00b
Joined: 04 Dec 2011 Posts: 52 Location: Bangkok
|
Posted: Sun May 11, 2014 5:29 am Post subject: |
|
|
OK, thanks. I will try that now. |
|
Back to top |
|
|
seansmr n00b
Joined: 04 Dec 2011 Posts: 52 Location: Bangkok
|
Posted: Sun May 11, 2014 7:10 am Post subject: ncurses without the tinfo flag |
|
|
Using the current version of ncurses, 5.9-r2, without the tinfo flag works, mostly.
The 3 packages compile correctly. rtorrent does not.
I had the tinfo use flag in because portage said to put it in when I emerged the ncurses-5.9-r2 update some time ago.
It looks like this is almost solved.
However, should I go with ncurses-5.9-r2 without tinfo or should I use the masked ncurses-5.9-r3 with tinfo?
---------
I just thought to try this on my desktop. The tinfo flag was not set there, so I tried using it with ncurses ... and ... readline does not compile there either. |
|
Back to top |
|
|
gienah Developer
Joined: 24 Nov 2010 Posts: 212 Location: AU
|
Posted: Sun May 11, 2014 8:24 am Post subject: |
|
|
Quote: | However, should I go with ncurses-5.9-r2 without tinfo or should I use the masked ncurses-5.9-r3 with tinfo? |
Unless you need some package that requires ncurses built with the tinfo flag, then (as krinn already advised)
it is best to build (either version) of ncurses without tinfo. This tracker bug is used to keep track of which
packages have problems with ncurses built with tinfo:
https://bugs.gentoo.org/show_bug.cgi?id=457530 |
|
Back to top |
|
|
seansmr n00b
Joined: 04 Dec 2011 Posts: 52 Location: Bangkok
|
Posted: Sun May 11, 2014 12:15 pm Post subject: Solved |
|
|
OK, I get it now. I took out the tinfo flag,
Many thanks to those who have helped. I understand a bit more now.
I am amazed how Gentoo just keeps working. I couldn't live without it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|