Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618660 - dev-lisp/sbcl: ~x64-macos keyworded, doesn't merge when Xcode is not installed (macOS)
Summary: dev-lisp/sbcl: ~x64-macos keyworded, doesn't merge when Xcode is not installe...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-16 14:33 UTC by Yegor Timoshenko
Modified: 2021-01-06 20:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yegor Timoshenko 2017-05-16 14:33:49 UTC
make: Entering directory '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/work/sbcl-1.3.17/tools-for-build'
x86_64-apple-darwin16-clang -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.4 -arch x86_64 -fno-omit-frame-pointer -I../src/runtime -Wl,-dead_strip_dylibs  determine-endianness.c  -lSystem -lc -ldl -o determine-endianness
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
clang-3.9: error: dsymutil command failed with exit code 1 (use -v to see invocation)
make: *** [<builtin>: determine-endianness] Error 1
make: Leaving directory '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/work/sbcl-1.3.17/tools-for-build'
 * ERROR: dev-lisp/sbcl-1.3.17::gentoo_prefix failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called __call-ebuildshell 'src_compile'
 *     ebuild.sh, line 529:  Called src_compile
 *   environment, line 2529:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" PATH="${PATH}" CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" GNUMAKE=make ./make.sh "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" || die "make failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-lisp/sbcl-1.3.17::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.3.17::gentoo_prefix'`.
 * The complete build log is located at '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/temp/build.log'.
 * The ebuild environment file is located at '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/temp/environment'.
 * Working directory: '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/work/sbcl-1.3.17'
 * S: '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/work/sbcl-1.3.17'

>>> Failed to emerge dev-lisp/sbcl-1.3.17, Log file:

>>>  '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/temp/build.log'

 * Messages for package dev-lisp/sbcl-1.3.17:

 * ERROR: dev-lisp/sbcl-1.3.17::gentoo_prefix failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called __call-ebuildshell 'src_compile'
 *     ebuild.sh, line 529:  Called src_compile
 *   environment, line 2529:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" PATH="${PATH}" CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" GNUMAKE=make ./make.sh "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" || die "make failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-lisp/sbcl-1.3.17::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.3.17::gentoo_prefix'`.
 * The complete build log is located at '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/temp/build.log'.
 * The ebuild environment file is located at '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/temp/environment'.
 * Working directory: '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3.17/work/sbcl-1.3.17'
 * S: '/Users/yegortimoshenko/Documents/Gentoo/var/tmp/portage/dev-lisp/sbcl-1.3dsym.17/work/sbcl-1.3.17'
$ 
$ dsymutil
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
$ 
$ which dsymutil
/usr/bin/dsymutil
$ emerge --info
Portage 2.3.5-prefix (python 3.5.2-final-0, prefix/darwin/macos/10.12/x64, clang-3.9.1, unavailable, 16.5.0 x86_64)
=================================================================
System uname: Darwin-16.5.0-x86_64-i386-64bit
Timestamp of repository gentoo_prefix: Fri, 12 May 2017 17:26:51 +0000
sh bash 4.3_p48
app-shells/bash:      4.3_p48::gentoo_prefix
dev-java/java-config: 2.2.0-r3::gentoo_prefix
dev-lang/perl:        5.24.1-r1::gentoo_prefix
dev-lang/python:      2.7.12::gentoo_prefix, 3.5.2::gentoo_prefix
dev-util/cmake:       3.8.1::gentoo_prefix
dev-util/pkgconfig:   0.29.1::gentoo_prefix
sys-devel/autoconf:   2.69-r3::gentoo_prefix
sys-devel/automake:   1.14.1-r1::gentoo_prefix, 1.15-r2::gentoo_prefix
sys-devel/libtool:    2.4.6-r4::gentoo_prefix
sys-devel/make:       4.2.1-r1::gentoo_prefix
Repositories:

gentoo_prefix
    location: /Users/yegortimoshenko/Documents/Gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
    priority: -1000

ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin16"
CC="x86_64-apple-darwin16-clang"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-apple-darwin16"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXX="x86_64-apple-darwin16-clang++"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/Users/yegortimoshenko/Documents/Gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j3"
PKGDIR="/Users/yegortimoshenko/Documents/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/yegortimoshenko/Documents/Gentoo/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/Users/yegortimoshenko/Documents/Gentoo/var/tmp"
USE="aqua coreaudio cracklib cxx ipv6 modules ncurses objc objc++ prefix prefix-guest readline ssl unicode x64-macos zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Yegor Timoshenko 2017-05-16 19:33:20 UTC
Was trying to get dev-lisp/clozurecl compile, it relies on /usr/bin/mig to compile (which requires Xcode). So the same story as here.

Perhaps we should come up with some way to mark packages that require Xcode.
Comment 2 Yegor Timoshenko 2017-05-16 23:38:29 UTC
Or is Xcode assumed to be installed? This is not documented anywhere. It is needed for bootstrap, but should it be required to run Gentoo Prefix?
Comment 3 Fabian Groffen gentoo-dev 2017-05-17 06:39:05 UTC
I think one needs at least the command line utilities or something.  Depending on host installed Xcode isn't cool.  I thought mig is in one of the XXXX_cmds, perhaps we can add it to darwin-miscutils.
From your first post it appears as if you don't have the command line developer tools, it is complaining about that.
Comment 4 Fabian Groffen gentoo-dev 2021-01-06 20:21:29 UTC
commandline or xcode is needed, there's no way without it