Gentoo Archives: gentoo-alt

From: Richard Geary <richardg.work@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: Bootstrap rap fails on Fedora 20 x86_64
Date: Thu, 17 Jul 2014 03:44:27
Message-Id: CAMWPO3VWUzi72ZyTf4c05+gWUvR_D2bBDgWmrYst8u8Kdf+r6Q@mail.gmail.com
In Reply to: [gentoo-alt] Bootstrap rap fails on Fedora 20 x86_64 by Richard Geary
1 What is the current rap bootstrap script? There should be a link on the
2 main Prefix libc wiki page to the latest version of the script (
3 http://wiki.gentoo.org/wiki/Prefix/libc)
4
5 I was using this:
6 http://dev.gentoo.org/~heroxbd/bootstrap-rap.sh (via
7 http://gentoo.2317880.n4.nabble.com/Gentoo-RAP-bootstrap-script-td268948.html
8 )
9
10 But there appears to be a more recent bootstrap rap script here :
11
12 http://git.overlays.gentoo.org/gitweb/?p=dev/heroxbd.git;a=blob_plain;f=scripts/bootstrap-rap.sh
13
14 However, there's at least 2 bugs in the newer script for Fedora 20 - it
15 will now always bootstrap tar & gzip in phase 1, but that fails as tar 1.26
16 source code contains an outdated stdin.h which warns about gets without the
17 modern #if HAVE_RAW_DECL_GETS guard to check if the gets function still
18 exists. The tar 1.27 source fixes this.
19 Issue 2 in the new script is during phase 2, it tries to untar the missing
20 files rap-overlay-perl.tar.bz2, rap-overlay-openrc.tar.bz2
21 and rap-overlay-portage.tar.bz2
22
23 Any advice or pointers much appreciated!
24
25 Thanks,
26 Richard
27
28
29 On 16 July 2014 19:52, Richard Geary <richardg.work@×××××.com> wrote:
30
31 > Hi,
32 >
33 > Thanks for making RAP, before I found this project I was about to
34 > implement the same thing myself.
35 >
36 > However, on first attempt I can't get it to bootstrap. It appears to be
37 > missing gmp.h. I'm not sure how it's expecting to find it, the configure
38 > line doesn't mention ~/rap/usr/include. Bootstrap prefix works without
39 > issue. Any suggestions?
40 >
41 > *This is the location(s) of it in my partially constructed rap :*
42 > [gentoo@×××××××.home:~]$ find rap -name gmp.h
43 > rap/usr/include/gmp.h
44 > rap/tmp/usr/include/gmp.h
45 >
46 > *Error :*
47 > checking for gmp.h... no
48 > configure: error: gmp.h cannot be found or is unusable.
49 >
50 > !!! Please attach the following file when seeking support:
51 > !!!
52 > /home/gentoo/rap/var/tmp/portage/dev-libs/mpc-1.0.1/work/mpc-1.0.1/config.log
53 > * ERROR: dev-libs/mpc-1.0.1 failed (compile phase):
54 > * econf failed
55 > *
56 > * Call stack:
57 > * ebuild.sh, line 93: Called src_compile
58 > * environment, line 2537: Called econf '--disable-static'
59 > * phase-helpers.sh, line 521: Called die
60 > * The specific snippet of code:
61 > * die "econf failed"
62 > *
63 > * If you need support, post the output of `emerge --info
64 > '=dev-libs/mpc-1.0.1'`,
65 > * the complete build log and the output of `emerge -pqv
66 > '=dev-libs/mpc-1.0.1'`.
67 > * The complete build log is located at
68 > '/home/gentoo/rap/var/tmp/portage/dev-libs/mpc-1.0.1/temp/build.log'.
69 > * The ebuild environment file is located at
70 > '/home/gentoo/rap/var/tmp/portage/dev-libs/mpc-1.0.1/temp/environment'.
71 > * Working directory:
72 > '/home/gentoo/rap/var/tmp/portage/dev-libs/mpc-1.0.1/work/mpc-1.0.1'
73 > * S: '/home/gentoo/rap/var/tmp/portage/dev-libs/mpc-1.0.1/work/mpc-1.0.1'
74 >
75 >
76 > *Configure command in stdout :*
77 >
78 > >>> Source unpacked in
79 > /home/gentoo/rap/var/tmp/portage/dev-libs/mpc-1.0.1/work
80 > >>> Compiling source in
81 > /home/gentoo/rap/var/tmp/portage/dev-libs/mpc-1.0.1/work/mpc-1.0.1 ...
82 > ./configure --prefix=/home/gentoo/rap/usr --build=x86_64-pc-linux-gnu
83 > --host=x86_64-pc-linux-gnu --mandir=/home/gentoo/rap/usr/share/man
84 > --infodir=/home/gentoo/rap/usr/share/info
85 > --datadir=/home/gentoo/rap/usr/share --sysconfdir=/home/gentoo/rap/etc
86 > --localstatedir=/home/gentoo/rap/var/lib
87 > --libdir=/home/gentoo/rap/usr/lib64 --disable-static
88 >
89 > *emerge info :*
90 > Portage 2.2.01.22124-prefix
91 > (!/home/gentoo/rap/usr/local/portage/profiles/bootstrap/glibc, gcc-4.8.3,
92 > unavailable, 3.14.9-200.fc20.x86_64 x86_64)
93 > =================================================================
94 > System Settings
95 > =================================================================
96 > System uname: Linux-3.14.9-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
97 > KiB Mem: 32946684 total, 321388 free
98 > KiB Swap: 16523260 total, 16464792 free
99 > Timestamp of tree: Wed, 24 Jul 2013 22:05:52 +0000
100 > ld GNU ld version 2.23.2
101 > ccache version 3.1.9 [disabled]
102 > app-shells/bash: 4.1_p11
103 > Repositories: gentoo_prefix rap
104 > ACCEPT_KEYWORDS="amd64 ~amd64 ~amd64-linux"
105 > ACCEPT_LICENSE="* -@EULA"
106 > CBUILD="x86_64-pc-linux-gnu"
107 > CFLAGS="-O2 -pipe"
108 > CHOST="x86_64-pc-linux-gnu"
109 > CONFIG_PROTECT="/etc"
110 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release"
111 > CXXFLAGS="-O2 -pipe"
112 > DISTDIR="/home/gentoo/rap/usr/portage/distfiles"
113 > FCFLAGS="-O2 -pipe"
114 > FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks
115 > ebuild-locks fixlafiles force-prefix merge-sync parallel-fetch
116 > preserve-libs protect-owned sfperms strict unknown-features-warn
117 > unmerge-logs unmerge-orphans userfetch"
118 > FFLAGS="-O2 -pipe"
119 > GENTOO_MIRRORS="http://distfiles.gentoo.org"
120 > LANG="en_US.utf8"
121 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
122 > PKGDIR="/home/gentoo/rap/usr/portage/packages"
123 > PORTAGE_CONFIGROOT="/home/gentoo/rap/"
124 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
125 > --compress --force --whole-file --delete --stats --human-readable
126 > --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
127 > PORTAGE_TMPDIR="/home/gentoo/rap/var/tmp"
128 > PORTDIR="/home/gentoo/rap/usr/portage"
129 > PORTDIR_OVERLAY="/home/gentoo/rap/usr/local/portage"
130 > SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
131 > USE="amd64 bzip2 cli cracklib crypt cxx dri iconv ipv6 mmx modules mudflap
132 > ncurses nptl openmp prefix rap session sse sse2 tcpd unicode zlib"
133 > ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106
134 > cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
135 > intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
136 > APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias
137 > auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
138 > authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
139 > autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env
140 > expires ext_filter file_cache filter headers include info log_config logio
141 > mem_cache mime mime_magic negotiation rewrite setenvif speling status
142 > unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow
143 > plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2"
144 > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
145 > ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
146 > garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle
147 > oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
148 > INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
149 > cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
150 > LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
151 > OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4"
152 > PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2"
153 > RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel
154 > mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware
155 > dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
156 > ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
157 > logmark ipmark dhcpmac delude chaos account"
158 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
159 > MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
160 > PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
161 >
162 > Thanks,
163 > Richard
164 >

Replies