Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: "一和 李" <winmikedows@×××××××.com>
Cc: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: An error occurred when running bootstrap-prefix.sh
Date: Sat, 31 Dec 2016 09:39:16
Message-Id: 20161231093909.GI1462@gentoo.org
1 Hi Mick,
2
3 Are you sure your bootstrap-prefix.sh is up-to-date? I believe I've
4 fixed this particular error already about a week ago.
5
6 Fabian
7
8
9 On 31-12-2016 05:50:02 +0000, 一和 李 wrote:
10 > I first download the latest Command Line Tools For macOS Sierra 10.12.1
11 > at [1]http://developer.apple.com/download/more
12 > Install it
13 > I now have gcc, g++, clang, clang++, ld, etc.
14 > I’m using fish(/usr/local/bin/fish) for my shell, it’s installed by homebrew
15 > I also have system bash(version 3.2.57(1)-release, /bin/bash) and homebrewed
16 > bash(version 4.4.5(1)-release, /usr/local/bin/bash)
17 > /bin/bash, /usr/local/bin/bash, /usr/local/bin/fish are all in /etc/shells
18 > g++ -v:
19 > $ g++ -v
20 > Configured with: --prefix=/Library/Developer/CommandLineTools/usr
21 > --with-gxx-include-dir=/usr/include/c++/4.2.1
22 > Apple LLVM version 8.0.0 (clang-800.0.42.1)
23 > Target: x86_64-apple-darwin16.1.0
24 > Thread model: posix
25 > InstalledDir: /Library/Developer/CommandLineTools/usr/bin
26 >
27 > I download the bootstrap-prefix.sh script
28 > from [2]http://rsync.prefix.bitzolder.nl/scripts/bootstrap-prefix.sh
29 > do chmod +x ./boostrap-prefix.sh
30 > then ./bootstrap-prefix.sh
31 >
32 > my system is macOS Sierra 10.12.1, EPREFIX is /Users/Mick/Gentoo, stage1
33 > successfully finished
34 > when it went to stage2, it try to install sys-apps/darwin-miscutils
35 > and show the following error:
36 > …...
37 > 325 warnings generated.
38 > in
39 > /Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/work/developer_cmds-63/hexdump:
40 >
41 > /Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/environment:
42 > line 1037: cd:
43 > /Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/work/developer_cmds-63/hexdump:
44 > No such file or directory
45 > * ERROR: sys-apps/darwin-miscutils-11::gentoo_prefix failed (compile phase):
46 > *   (no error message)
47 > *
48 > * Call stack:
49 > *     ebuild.sh, line 133:  Called src_compile
50 > *   environment, line 1037:  Called die
51 > * The specific snippet of code:
52 > *           cd "${TS}/${t}" || die;
53 > *
54 > * If you need support, post the output of `emerge --info
55 > '=sys-apps/darwin-miscutils-11::gentoo_prefix'`,
56 > * the complete build log and the output of `emerge -pqv
57 > '=sys-apps/darwin-miscutils-11::gentoo_prefix'`.
58 > * The complete build log is located at
59 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/build.log'.
60 > * The ebuild environment file is located at
61 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/environment'.
62 > * Working directory:
63 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/work/developer_cmds-63/asa'
64 > * S:
65 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/work'
66 >
67 > >>> Failed to emerge sys-apps/darwin-miscutils-11, Log file:
68 >
69 > >>>
70 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/build.log'
71 >
72 > * Messages for package sys-apps/darwin-miscutils-11:
73 >
74 > * ERROR: sys-apps/darwin-miscutils-11::gentoo_prefix failed (compile phase):
75 > *   (no error message)
76 > *
77 > * Call stack:
78 > *     ebuild.sh, line 133:  Called src_compile
79 > *   environment, line 1037:  Called die
80 > * The specific snippet of code:
81 > *           cd "${TS}/${t}" || die;
82 > *
83 > * If you need support, post the output of `emerge --info
84 > '=sys-apps/darwin-miscutils-11::gentoo_prefix'`,
85 > * the complete build log and the output of `emerge -pqv
86 > '=sys-apps/darwin-miscutils-11::gentoo_prefix'`.
87 > * The complete build log is located at
88 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/build.log'.
89 > * The ebuild environment file is located at
90 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/environment'.
91 > * Working directory:
92 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/work/developer_cmds-63/asa'
93 > * S:
94 > '/Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/work'
95 >
96 > Odd!  Running
97 > /usr/local/bin/bash ./bootstrap-prefix.sh "/Users/Mick/Gentoo" stage2
98 > failed! :(  Details might be found in the build log:
99 >
100 > /Users/Mick/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/build.log
101 > (no build logs found?!?)
102 > I have no clue, really.  Please find friendly folks in #gentoo-prefix on
103 > [3]irc.gentoo.org, [4]gentoo-alt@l.g.o mailing list, or file a
104 > bug
105 > at [5]bugs.gentoo.org under Gentoo/Alt, Prefix Support. I am defeated.
106 > I am of no use here any more.
107 > Maybe you can find some clues in /Users/Mick/Gentoo/stage2.log
108 >
109 > I found emerge in ~/Gentoo/tmp/usr/bin/emerge
110 > /Users/Mick/Gentoo/tmp/usr/bin/emerge --info
111 > ‘=sys-apps/darwin-miscutils-11::gentoo_prefix’ output:
112 > $ /Users/Mick/Gentoo/tmp/usr/bin/emerge --info
113 > '=sys-apps/darwin-miscutils-11::gentoo_prefix'
114 > !!! No gcc found. You probably need to 'source /etc/profile'
115 > !!! to update the environment of this terminal and possibly
116 > !!! other terminals also.
117 > Portage 2.2.28-prefix (python 2.7.3-final-0, prefix/darwin/macos/10.12/x64,
118 > [unavailable], unavailable, 16.1.0 x86_64)
119 > =================================================================
120 >                     System Settings
121 > =================================================================
122 > System uname: Darwin-16.1.0-x86_64-i386-64bit
123 > Timestamp of repository gentoo_prefix: Thu, 22 Dec 2016 22:57:51 +0000
124 > sh bash 4.3_p48
125 > app-shells/bash: 4.3_p48::gentoo_prefix
126 > Repositories:
127 >
128 > gentoo_prefix
129 > location: /Users/Mick/Gentoo/usr/portage
130 > sync-type: rsync
131 > sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
132 > priority: -1000
133 >
134 > ACCEPT_KEYWORDS="~x64-macos"
135 > ACCEPT_LICENSE="* -@EULA"
136 > CBUILD="x86_64-apple-darwin16"
137 > CFLAGS="-march=native -O2 -pipe"
138 > CHOST="x86_64-apple-darwin16"
139 > CONFIG_PROTECT="/etc"
140 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release
141 > /etc/terminfo"
142 > CXXFLAGS="-march=native -O2 -pipe"
143 > DISTDIR="/Users/Mick/Gentoo/tmp/usr/portage/distfiles"
144 > FCFLAGS=""
145 > FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect
146 > config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix
147 > merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms
148 > strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
149 > FFLAGS=""
150 > GENTOO_MIRRORS="[6]http://distfiles.gentoo.org"
151 > LANG="zh_CN.UTF-8"
152 > LDFLAGS="-Wl,-dead_strip_dylibs"
153 > MAKEOPTS="-j3"
154 > PKGDIR="/Users/Mick/Gentoo/tmp/usr/portage/packages"
155 > PORTAGE_CONFIGROOT="/Users/Mick/Gentoo/tmp/"
156 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
157 > --omit-dir-times --compress --force --whole-file --delete --stats
158 > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
159 > --exclude=/packages --exclude=/.git"
160 > PORTAGE_TMPDIR="/Users/Mick/Gentoo/tmp/var/tmp"
161 > USE="aqua coreaudio cracklib cxx ipv6 mmx mmxext modules ncurses nls objc
162 > objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib"
163 > ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd
164 > actions alias auth_basic authn_alias authn_anon authn_dbm authn_default
165 > authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner
166 > authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir
167 > disk_cache env expires ext_filter file_cache filter headers include info
168 > log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
169 > speling status unique_id userdir usertrack vhost_alias"
170 > CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon
171 > braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load
172 > memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2"
173 > ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
174 > garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle
175 > oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox
176 > ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad
177 > cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
178 > LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
179 > OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6"
180 > PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4
181 > python3_5" RUBY_TARGETS="ruby21" USERLAND="GNU" XTABLES_ADDONS="quota2 psd
182 > pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
183 > tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
184 > Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
185 > LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
186 > PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
187 >
188 > the complete build log (at
189 > ~/Gentoo/tmp/var/tmp/portage/sys-apps/darwin-miscutils-11/temp/build.log) is
190 > in this text file:
191 >
192 > /Users/Mick/Gentoo/tmp/usr/bin/emerge -pqv
193 > '=sys-apps/darwin-miscutils-11::gentoo_prefix’ output:
194 > $ /Users/Mick/Gentoo/tmp/usr/bin/emerge -pqv
195 > '=sys-apps/darwin-miscutils-11::gentoo_prefix'
196 > [ebuild  N    ] sys-apps/darwin-miscutils-11
197 >
198 > How can I solve this problem?
199 > thanks!
200 >
201 >
202 > References:
203 > 1. http://developer.apple.com/download/more
204 > 2. http://rsync.prefix.bitzolder.nl/scripts/bootstrap-prefix.sh
205 > 3. http://irc.gentoo.org
206 > 4. mailto:gentoo-alt@l.g.o
207 > 5. http://bugs.gentoo.org
208 > 6. http://distfiles.gentoo.org
209 >
210
211
212
213 --
214 Fabian Groffen
215 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature