Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge sbcl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mrfabiolo
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2011
Posts: 90

PostPosted: Thu Jan 16, 2014 7:49 pm    Post subject: Failed to emerge sbcl Reply with quote

When I try to do:
Code:
emerge --ask wxmaxima


This is the error, (of the dependence "sdcl"). (i think just look at the last lines...)
Code:
beginning GENESIS, creating headers in "src/runtime/genesis"
NIL
* //entering make-target-1.sh
//building runtime system and symbol table file
make: Entering directory `/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55/src/runtime'
rm -f *.[do] sbcl sbcl.nm sbcl.h core *.tmp
make: Leaving directory `/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55/src/runtime'
make: Entering directory `/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55/src/runtime'
echo '#include "genesis/config.h"' >sbcl.h
echo '#include "genesis/constants.h"' >>sbcl.h
make: Leaving directory `/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55/src/runtime'
make: Entering directory `/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55/src/runtime'
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o alloc.o alloc.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o backtrace.o backtrace.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o breakpoint.o breakpoint.c
breakpoint.c: In function 'compute_offset':
breakpoint.c:119:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o coreparse.o coreparse.c
coreparse.c:31:0: warning: "_BSD_SOURCE" redefined [enabled by default]
In file included from /usr/include/stdio.h:27:0,
                 from coreparse.c:17:
/usr/include/features.h:188:0: note: this is the location of the previous definition
coreparse.c: In function 'load_core_file':
coreparse.c:404:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o dynbind.o dynbind.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o funcall.o funcall.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o gc-common.o gc-common.c
gc-common.c: In function 'scav_vector':
gc-common.c:1717:14: warning: variable 'kv_vector' set but not used [-Wunused-but-set-variable]
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o globals.o globals.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o interr.o interr.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o interrupt.o interrupt.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o largefile.o largefile.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o monitor.o monitor.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o os-common.o os-common.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o parse.o parse.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o print.o print.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o purify.o purify.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o pthread-futex.o pthread-futex.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o regnames.o regnames.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o run-program.o run-program.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o runtime.o runtime.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o save.o save.c
save.c: In function 'check_runtime_build_id':
save.c:373:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
In file included from save.c:18:0:
/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *'
save.c: In function 'load_runtime':
save.c:406:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o search.o search.c
search.c: In function 'search_for_type':
search.c:23:19: warning: variable 'addr' set but not used [-Wunused-but-set-variable]
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o thread.o thread.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o time.o time.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o util.o util.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o validate.o validate.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o vars.o vars.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o wrap.o wrap.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o x86-64-arch.o x86-64-arch.c
x86-64-arch.c: In function 'context_eflags_addr':
x86-64-arch.c:70:5: warning: return from incompatible pointer type [enabled by default]
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o linux-os.o linux-os.c
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\"  -c -o x86-64-linux-os.o x86-64-linux-os.c
x86-64-linux-os.c: In function 'os_context_register_addr':
x86-64-linux-os.c:93:1: error: 'REG_RAX' undeclared (first use in this function)
x86-64-linux-os.c:93:1: note: each undeclared identifier is reported only once for each function it appears in
x86-64-linux-os.c:94:1: error: 'REG_RCX' undeclared (first use in this function)
x86-64-linux-os.c:95:1: error: 'REG_RDX' undeclared (first use in this function)
x86-64-linux-os.c:96:1: error: 'REG_RBX' undeclared (first use in this function)
x86-64-linux-os.c:97:1: error: 'REG_RSP' undeclared (first use in this function)
x86-64-linux-os.c:98:1: error: 'REG_RBP' undeclared (first use in this function)
x86-64-linux-os.c:99:1: error: 'REG_RSI' undeclared (first use in this function)
x86-64-linux-os.c:100:1: error: 'REG_RDI' undeclared (first use in this function)
x86-64-linux-os.c:101:1: error: 'REG_R8' undeclared (first use in this function)
x86-64-linux-os.c:102:1: error: 'REG_R9' undeclared (first use in this function)
x86-64-linux-os.c:103:1: error: 'REG_R10' undeclared (first use in this function)
x86-64-linux-os.c:104:1: error: 'REG_R11' undeclared (first use in this function)
x86-64-linux-os.c:105:1: error: 'REG_R12' undeclared (first use in this function)
x86-64-linux-os.c:106:1: error: 'REG_R13' undeclared (first use in this function)
x86-64-linux-os.c:107:1: error: 'REG_R14' undeclared (first use in this function)
x86-64-linux-os.c:108:1: error: 'REG_R15' undeclared (first use in this function)
x86-64-linux-os.c:111:13: warning: return from incompatible pointer type [enabled by default]
x86-64-linux-os.c:114:5: warning: return from incompatible pointer type [enabled by default]
x86-64-linux-os.c: In function 'os_context_pc_addr':
x86-64-linux-os.c:120:40: error: 'REG_RIP' undeclared (first use in this function)
x86-64-linux-os.c: In function 'os_context_sp_addr':
x86-64-linux-os.c:126:40: error: 'REG_RSP' undeclared (first use in this function)
x86-64-linux-os.c: In function 'os_context_fp_addr':
x86-64-linux-os.c:132:40: error: 'REG_RBP' undeclared (first use in this function)
x86-64-linux-os.c:133:1: warning: control reaches end of non-void function [-Wreturn-type]
x86-64-linux-os.c: In function 'os_context_sp_addr':
x86-64-linux-os.c:127:1: warning: control reaches end of non-void function [-Wreturn-type]
x86-64-linux-os.c: In function 'os_context_pc_addr':
x86-64-linux-os.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [x86-64-linux-os.o] Error 1
make: Leaving directory `/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55/src/runtime'
 * ERROR: dev-lisp/sbcl-1.0.55-r1::gentoo failed (compile phase):
 *   make failed
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2276:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" 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.0.55-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.0.55-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55'
 * S: '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55'

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

>>>  '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/temp/build.log'

 * Messages for package dev-lisp/sbcl-1.0.55-r1:

 * ERROR: dev-lisp/sbcl-1.0.55-r1::gentoo failed (compile phase):
 *   make failed
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2276:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" 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.0.55-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.0.55-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55'
 * S: '/var/tmp/portage/dev-lisp/sbcl-1.0.55-r1/work/sbcl-1.0.55'
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Thu Jan 16, 2014 10:06 pm    Post subject: Reply with quote

looks like old glibc or/and wrong include-s.
_________________
sorry my bad english
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Fri Jan 17, 2014 2:34 am    Post subject: Re: Failed to emerge sbcl Reply with quote

mrfabiolo wrote:
Code:
 * If you need support, post the output of `emerge --info '=dev-lisp/sbcl-1.0.55-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.0.55-r1::gentoo'`.
Back to top
View user's profile Send private message
Moatl
n00b
n00b


Joined: 30 Jun 2013
Posts: 11

PostPosted: Sat Feb 08, 2014 12:39 pm    Post subject: Reply with quote

Hello, I have the same problem here emerging maxima. Thank you in advance for help. The datas are as following:

# emerge -pqv '=dev-lisp/sbcl-1.0.55-r1::gentoo'
[ebuild N ] dev-lisp/sbcl-1.0.55-r1 USE="asdf threads unicode -debug -doc -ldb -pax_kernel -source"

# emerge --info '=dev-lisp/sbcl-1.0.55-r1::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5870_@_2.00GHz-with-gentoo-2.2
KiB Mem: 6008372 total, 3762012 free
KiB Swap: 1951892 total, 1896160 free
Timestamp of tree: Sat, 08 Feb 2014 10:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.5-r3, 3.3.3
dev-util/cmake: 2.8.11.2
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.13, 2.69
sys-devel/automake: 1.11.6, 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="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus device-mapper dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv immqt-bc ipv6 jpeg lcms ldap libnotify lock lvm mad mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl session spell sse sse2 ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="lvm" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 pypy2_6 jpython2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XFCE_PLUGINS="brightness clock trash" 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

Unfortunately the build.log is too long to post here. The error occurs at:
x86_64-pc-linux-gnu-gcc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I. -DSBCL_PREFIX=\"'/usr/local'\" -c -o x86-64-linux-os.o x86-64-linux-os.c
x86-64-linux-os.c: In function 'os_context_register_addr':
x86-64-linux-os.c:93:1: error: 'REG_RAX' undeclared (first use in this function)
x86-64-linux-os.c:93:1: note: each undeclared identifier is reported only once for each function it appears in
x86-64-linux-os.c:94:1: error: 'REG_RCX' undeclared (first use in this function)
x86-64-linux-os.c:95:1: error: 'REG_RDX' undeclared (first use in this function)
x86-64-linux-os.c:96:1: error: 'REG_RBX' undeclared (first use in this function)
x86-64-linux-os.c:97:1: error: 'REG_RSP' undeclared (first use in this function)
x86-64-linux-os.c:98:1: error: 'REG_RBP' undeclared (first use in this function)
x86-64-linux-os.c:99:1: error: 'REG_RSI' undeclared (first use in this function)
x86-64-linux-os.c:100:1: error: 'REG_RDI' undeclared (first use in this function)
x86-64-linux-os.c:101:1: error: 'REG_R8' undeclared (first use in this function)
x86-64-linux-os.c:102:1: error: 'REG_R9' undeclared (first use in this function)
x86-64-linux-os.c:103:1: error: 'REG_R10' undeclared (first use in this function)
x86-64-linux-os.c:104:1: error: 'REG_R11' undeclared (first use in this function)
x86-64-linux-os.c:105:1: error: 'REG_R12' undeclared (first use in this function)
x86-64-linux-os.c:106:1: error: 'REG_R13' undeclared (first use in this function)
x86-64-linux-os.c:107:1: error: 'REG_R14' undeclared (first use in this function)
x86-64-linux-os.c:108:1: error: 'REG_R15' undeclared (first use in this function)
x86-64-linux-os.c:111:13: warning: return from incompatible pointer type [enabled by default]
x86-64-linux-os.c:114:5: warning: return from incompatible pointer type [enabled by default]
x86-64-linux-os.c: In function 'os_context_pc_addr':
x86-64-linux-os.c:120:40: error: 'REG_RIP' undeclared (first use in this function)
x86-64-linux-os.c: In function 'os_context_sp_addr':
x86-64-linux-os.c:126:40: error: 'REG_RSP' undeclared (first use in this function)
x86-64-linux-os.c: In function 'os_context_fp_addr':
x86-64-linux-os.c:132:40: error: 'REG_RBP' undeclared (first use in this function)
x86-64-linux-os.c:133:1: warning: control reaches end of non-void function [-Wreturn-type]
x86-64-linux-os.c: In function 'os_context_sp_addr':
x86-64-linux-os.c:127:1: warning: control reaches end of non-void function [-Wreturn-type]
x86-64-linux-os.c: In function 'os_context_pc_addr':
x86-64-linux-os.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [x86-64-linux-os.o] Error 1

If you need the complete build.log I will help you.
Back to top
View user's profile Send private message
sciencegentoo
n00b
n00b


Joined: 08 Feb 2014
Posts: 11

PostPosted: Sat Feb 08, 2014 10:41 pm    Post subject: Reply with quote

I'm having trouble compiling sbcl too.

Code:
 emerge --info '=dev-lisp/sbcl-1.0.55-r1::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:    12297900 total,  11081596 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 09 Feb 2014 11:00: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.11.2
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.13, 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="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
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=""
USE="acl alsa amd64 berkdb bindist bzip2 cdr cli cracklib crypt cxx dri dvdr fortran gdbm iconv ipv6 mmx modules ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, SYNC, USE_PYTHON
Back to top
View user's profile Send private message
Wolfbone
n00b
n00b


Joined: 29 Sep 2004
Posts: 30

PostPosted: Mon Feb 10, 2014 6:25 am    Post subject: Reply with quote

Maybe the failures are due to this bug? sbcl 1.0.55 is very old.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Mon Feb 10, 2014 7:25 am    Post subject: Reply with quote

Can you file this bug at Gentoo Bugzilla? Read here how to write a bug report, for more in-depth details and troubleshooting steps you can read our Bugzilla HOWTO.
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 427
Location: Calgary, Alberta, Canada

PostPosted: Mon Feb 10, 2014 5:10 pm    Post subject: Reply with quote

Actually this problem is worse than you think. Have a look at the discussion at: https://forums.gentoo.org/viewtopic-t-924586-highlight-maxima.html. There seems to be no lisp which will compile and support maxima, at present
Back to top
View user's profile Send private message
spitzmaus
n00b
n00b


Joined: 14 Feb 2014
Posts: 6

PostPosted: Fri Feb 14, 2014 10:15 pm    Post subject: Reply with quote

Well there is a way to emerge maxima. You can use gcl.
Actually gcl is masked. It was inactive for some years, but recently there were some new versions released. So I gave it a try.

Unmask gcl:
echo "=dev-lisp/gcl-2.6.10 ~amd64" >> package.accept_keywords
echo "=dev-lisp/gcl-2.6.10" >> package.unmask

Unmask the use flag "gcl":
echo "-gcl" >> /etc/portage/profile/use.mask
Probably the "profile" directory does not exist. Then create it first.

Use the USE-Flag "gcl" for maxima:
echo "sci-mathematics/maxima gcl -sbcl -clisp" >> /etc/portage/package.use

Emerging wxmaxima runs without error. I tested the program with a little test case. Everything seems to work fine.
Back to top
View user's profile Send private message
Moatl
n00b
n00b


Joined: 30 Jun 2013
Posts: 11

PostPosted: Sat Feb 15, 2014 1:11 pm    Post subject: Reply with quote

Due to some private issues it took me some time, but I added this to bugzilla, today. It's Bug 501382.
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 427
Location: Calgary, Alberta, Canada

PostPosted: Tue Feb 18, 2014 6:18 pm    Post subject: Reply with quote

Thanks, spitzmaus, your method works for me.
Back to top
View user's profile Send private message
MarcoMarin
Apprentice
Apprentice


Joined: 12 Mar 2014
Posts: 151

PostPosted: Wed Apr 23, 2014 10:24 am    Post subject: Reply with quote

:!: Solved it by getting a newer version. Here are the details:

Was getting the same compilation problem here and I was merging only SBCL by itself. (no maxima or anything like OP)

Then I tried version 1.1.16 (17 isn't in portage yet :( ) and got it to compile, but it issued this warning near to the end:
Code:
* QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * wrap.c:526:9: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
 * wrap.c:542:9: warning: implicit declaration of function 'getitimer' [-Wimplicit-function-declaration]
 * wrap.c:547:9: warning: implicit declaration of function 'setitimer' [-Wimplicit-function-declaration]

and when I tried to run sbcl from the command line I got an error and it aborted.

I didn't take note of the error because I assumed it would remain there when I came here to tell, but I had to reboot for some reason yesterday and now the thing works! :lol: It still leaves me worried about it not running properly but well... Should I be worried? Maybe it was just some init thing needing to run :?:
Back to top
View user's profile Send private message
jcdx
n00b
n00b


Joined: 16 Dec 2013
Posts: 25

PostPosted: Sun Jan 04, 2015 9:33 pm    Post subject: Reply with quote

spitzmaus wrote:
Well there is a way to emerge maxima. You can use gcl.
Actually gcl is masked. It was inactive for some years, but recently there were some new versions released. So I gave it a try.

Unmask gcl:
echo "=dev-lisp/gcl-2.6.10 ~amd64" >> package.accept_keywords
echo "=dev-lisp/gcl-2.6.10" >> package.unmask

Unmask the use flag "gcl":
echo "-gcl" >> /etc/portage/profile/use.mask
Probably the "profile" directory does not exist. Then create it first.

Use the USE-Flag "gcl" for maxima:
echo "sci-mathematics/maxima gcl -sbcl -clisp" >> /etc/portage/package.use

Emerging wxmaxima runs without error. I tested the program with a little test case. Everything seems to work fine.


Seems that the problem of maxima and lisp is still hot.

I tried this but it did not work for me.
I can not even install gcl-2.6.12 by itself.

I am using gentoo_pefix on Mac OS 10.10.

Here is my emerge --info and merge -pqv for gcl-2.6.12:
Code:

$ emerge --info '=dev-lisp/gcl-2.6.12::gentoo_prefix'
setlocale: unsupported locale setting
Portage 2.2.14-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.10/x64, gcc-4.2.1, unavailable, 14.0.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Darwin-14.0.0-x86_64-i386-64bit
Timestamp of tree: Sun, 04 Jan 2015 17:39:54 +0000
app-shells/bash:      4.2_p53
dev-lang/perl:        5.20.1-r4
dev-lang/python:      2.7.8, 3.3.3
dev-util/cmake:       3.0.2
dev-util/pkgconfig:   0.28-r2
sys-devel/autoconf:   2.69
sys-devel/automake:   1.14.1
sys-devel/gcc-config: 1.8-r1
sys-devel/libtool:    2.4.2-r1
sys-devel/make:       4.1-r1
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin14"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-apple-darwin14"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/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 userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j3"
PKGDIR="/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/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"
PORTAGE_TMPDIR="/gentoo/var/tmp"
PORTDIR="/gentoo/usr/portage"
PORTDIR_OVERLAY=""
USE="aqua coreaudio cracklib cxx fontconfig ipv6 mmx mmxext modules ncurses nls objc objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" 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" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

$ emerge -pqv '=dev-lisp/gcl-2.6.12::gentoo_prefix'
setlocale: unsupported locale setting
[ebuild  N    ] dev-lisp/gcl-2.6.12  USE="ansi readline -X -athena -emacs -tk"


Here is the build.log https://app.box.com/s/65idluazmhd1p8jpi36p

Also sbcl-1.0.55-r1 fails. I also checked bug reports https://bugs.gentoo.org/show_bug.cgi?id=463882 and https://bugs.gentoo.org/show_bug.cgi?id=411453 but could not find a solution.

Here is my emerge --info and merge -pqv for sbcl-1.0.55-r1:
Code:

$ emerge --info '=dev-lisp/sbcl-1.0.55-r1::gentoo_prefix'
setlocale: unsupported locale setting
Portage 2.2.14-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.10/x64, gcc-4.2.1, unavailable, 14.0.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Darwin-14.0.0-x86_64-i386-64bit
Timestamp of tree: Sun, 04 Jan 2015 17:39:54 +0000
app-shells/bash:      4.2_p53
dev-lang/perl:        5.20.1-r4
dev-lang/python:      2.7.8, 3.3.3
dev-util/cmake:       3.0.2
dev-util/pkgconfig:   0.28-r2
sys-devel/autoconf:   2.69
sys-devel/automake:   1.14.1
sys-devel/gcc-config: 1.8-r1
sys-devel/libtool:    2.4.2-r1
sys-devel/make:       4.1-r1
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin14"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-apple-darwin14"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/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 userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j3"
PKGDIR="/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/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"
PORTAGE_TMPDIR="/gentoo/var/tmp"
PORTDIR="/gentoo/usr/portage"
PORTDIR_OVERLAY=""
USE="aqua coreaudio cracklib cxx fontconfig ipv6 mmx mmxext modules ncurses nls objc objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" 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" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

$ emerge -pqv '=dev-lisp/sbcl-1.0.55-r1::gentoo_prefix'
setlocale: unsupported locale setting
[ebuild  N    ] dev-lisp/sbcl-1.0.55-r1  USE="asdf threads unicode -debug -doc -ldb -pax_kernel -source"


Here is the build.log https://app.box.com/s/n8292xcbfw0gbdp6vj15

Both clisp and gcl as well as sbcl fail to compile!
I am puzzled since I can not install any of the lisp-packages that are recommended for maxima.

Need help. Any suggestions?
Regards
Back to top
View user's profile Send private message
MarcoMarin
Apprentice
Apprentice


Joined: 12 Mar 2014
Posts: 151

PostPosted: Mon Jan 05, 2015 1:03 am    Post subject: Reply with quote

Hi,

dunno if this gonna help, cause I don't use maxima and never tried anything to do with it BUT, in Lisp I am interested and was having problems with it, which led me to subscribe to this thread and notice your reply.

The way I managed to make sbcl work (compile and interact with emacs / slime / etc) was by adding the lisp overlay (IIRC type layman -a lisp).

I do find confusing that Gentoo has old versions of all that lisp related stuff on the main tree, it definitely caused problems for me, to make it work, until I discovered overlays (and probably delayed that discovery.. imagine if the problems were subtler? I could still be having random problems and never consider there were somewhere people were actually working on it)

Anyway.. hope that helps. =)

MM
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Mon Jan 05, 2015 11:24 am    Post subject: Reply with quote

Quote:
I am using gentoo_pefix on Mac OS 10.10. ... Also sbcl-1.0.55-r1 fails.

sbcl 1.0.55 won't build with clang:

https://bugs.launchpad.net/sbcl/+bug/658414
https://trac.macports.org/ticket/33446

Please try sbcl-1.1.18, or if that does not work, please try unmasking a more recent version of sbcl.
Back to top
View user's profile Send private message
jcdx
n00b
n00b


Joined: 16 Dec 2013
Posts: 25

PostPosted: Mon Jan 05, 2015 9:29 pm    Post subject: Reply with quote

gienah wrote:
Quote:
I am using gentoo_pefix on Mac OS 10.10. ... Also sbcl-1.0.55-r1 fails.

sbcl 1.0.55 won't build with clang:

https://bugs.launchpad.net/sbcl/+bug/658414
https://trac.macports.org/ticket/33446

Please try sbcl-1.1.18, or if that does not work, please try unmasking a more recent version of sbcl.


Thanx for the advice.

Here is what I did:
Code:
$ echo "=dev-lisp/sbcl-1.2.6 **" >> package.accept_keywords/sbcl


I put "=dev-lisp/sbcl-1.0.55-r1" and "=dev-lisp/sbcl-1.0.55-r2" into package.mask/sbcl and "=dev-lisp/sbcl-1.2.6" into package.unmask/sbcl

But when I try:
Code:
$ emerge --pretend -a =dev-lisp/sbcl-1.2.6

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=dev-lisp/sbcl-1.2.6".


What do I have to do? I understand that the version sbcl-1.2.6 is in the portage. So why can't emerge find it?
Do I have to enable another ACCEPT_KEYWORDS and add ~amd64 or ~x86?

I am really a newbie and prefer a solution without layman. But I will give this a try later ;-)
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Mon Jan 05, 2015 11:20 pm    Post subject: Reply with quote

A possibility is maybe one or more of its dependencies needs to be be unmasked, portage may
provide more information with the -v option:
Code:
emerge -av =dev-lisp/sbcl-1.2.6
Back to top
View user's profile Send private message
jcdx
n00b
n00b


Joined: 16 Dec 2013
Posts: 25

PostPosted: Tue Jan 06, 2015 12:02 am    Post subject: Reply with quote

Still getting no useful result:

Code:
$ emerge -av =dev-lisp/sbcl-1.2.6
These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=dev-lisp/sbcl-1.2.6".


I performed an emerge --sync today so I guess it should be the actual portage.
How can I check this? I find this weird...
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Tue Jan 06, 2015 1:39 am    Post subject: Reply with quote

Maybe if you tell emerge that you want the portage one by specifying ::gentoo on the end
(like how you specified you want the gentoo-prefix one earlier when you put
::gentoo-prefix on the end) it might give more hints:
Code:
emerge -av =dev-lisp/sbcl-1.2.6::gentoo
emerge info =dev-lisp/sbcl-1.2.6::gentoo

Since you have a /gentoo prefix directory, and the gentoo-prefix overlay, there are 3 directories
for the sbcl ebuilds:
1) gentoo:
/gentoo/usr/portage/dev-lisp/sbcl
2) gentoo-prefix
/gentoo/var/lib/layman/gentoo-prefix/dev-lisp/sbcl
3) given that gentoo prefix on macos is experimental, you will probably need to hack the
ebuilds to fix things, in which case you would create a directory for the ebuild, for example, if
you needed to modify the sbcl ebuild you would place it in:
/gentoo/usr/local/portage/dev-lisp/sbcl
And hack it, the docs are:
http://devmanual.gentoo.org/
https://www.gentoo.org/proj/en/gentoo-alt/prefix/techdocs.xml
You can check which KEYWORDS the ebuilds have:
Code:
cd /gentoo/usr/portage/dev-lisp/sbcl
grep KEYWORDS *.ebuild

And you will see it does not have ~x64-macos. I could add it if you can get it to work.
Back to top
View user's profile Send private message
jcdx
n00b
n00b


Joined: 16 Dec 2013
Posts: 25

PostPosted: Tue Jan 06, 2015 1:21 pm    Post subject: Reply with quote

Things seem to be different on my system.

Code:
$ emerge -av =dev-lisp/sbcl-1.2.6::gentoo

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=dev-lisp/sbcl-1.2.6::gentoo".


Here is my repos.conf from find /gentoo -name repos.conf
Code:
$ nano /gentoo/usr/share/portage/config/repos.conf
[DEFAULT]
main-repo = gentoo_prefix

[gentoo_prefix]
location = /gentoo/usr/portage
sync-type = rsync
sync-uri = rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix


The "normal" gentoo is not listed at all and location is the same as for "normal" gentoo.

Code:
$ cd ./usr/portage/dev-lisp/sbcl/ 
$ grep KEYWORDS *.ebuild
sbcl-1.0.55-r1.ebuild:KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
sbcl-1.0.55-r2.ebuild:#KEYWORDS="amd64 ppc ~sparc x86"
sbcl-1.0.55-r2.ebuild:KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"


Code:
$ find /gentoo -name sbcl*.ebuild

shows no other ebuild-version of sbcl on the system.

I think my system is different from. As I understand my system does not really use gentoo_prefix as an overlay and things are mixed up. However, I used the recent bootstrap-prefix.sh for the install.
Quote:

1) gentoo:
/gentoo/usr/portage/dev-lisp/sbcl
2) gentoo-prefix
/gentoo/var/lib/layman/gentoo-prefix/dev-lisp/sbcl


Looking into gentoo/var/lib/layman shows an almost empty directory
Code:
$ ls /gentoo/var/lib/layman/
.keep_app-portage_layman-0  make.conf

$ nano ./var/lib/layman/make.conf

ENABLED="
"
DISABLED="
"
PORTDIR_OVERLAY="
$ENABLED
$PORTDIR_OVERLAY
"

What can I do to fix this?
Thank you!
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Tue Jan 06, 2015 1:50 pm    Post subject: Reply with quote

Did you do:
Code:
emerge --sync
Back to top
View user's profile Send private message
jcdx
n00b
n00b


Joined: 16 Dec 2013
Posts: 25

PostPosted: Tue Jan 06, 2015 2:18 pm    Post subject: Reply with quote

gienah wrote:
Did you do:
Code:
emerge --sync


Yes several times since the install. I also tried right now. The result is the same...
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Wed Jan 07, 2015 11:04 am    Post subject: Reply with quote

The Gentoo prefix dev team explained the way Gentoo prefix handles ebuilds like
dev-lisp/sbcl that require substantial changes to work on Gentoo prefix.

Since dev-lisp/sbcl is in the gentoo prefix overlay, Gentoo prefix assumes (correctly here)
that the dev-lisp/sbcl in the main portage tree ${EPREFIX}/usr/portage/dev-lisp/sbcl will
not work, so arranges for emerge --sync to not download it so we won't get confused :roll:

With help from the Gentoo prefix team we made ebuilds of dev-lisp/asdf and dev-lisp/sbcl
with the required changes, and placed them here if you would like to test them:

http://dev.gentoo.org/~gienah/test/dev-lisp/asdf/
http://dev.gentoo.org/~gienah/test/dev-lisp/sbcl/

Where the idea is to download all the files and place them in (creating the required directories)

${EPREFIX}/usr/local/portage/dev-lisp

Where for you ${EPREFIX} is /gentoo

Then:
Code:
cd ${EPREFIX}/usr/local/portage/dev-lisp/asdf
repoman fix
emerge -av dev-lisp/asdf::x-portage

Where x-portage is the name of the local overlay you created for this purpose
in ${EPREFIX}/usr/local/portage. To ensure its called x-portage please create
the file if it does not already exist:
Code:
mkdir ${EPREFIX}/usr/local/portage/profiles
echo "x-portage" >${EPREFIX}/usr/local/portage/profiles/repo_name

Then after building dev-lisp/asdf, please try building sbcl:
Code:
cd ${EPREFIX}/usr/local/portage/dev-lisp/sbcl
repoman fix
emerge -av dev-lisp/sbcl::x-portage

It would be neat if you could please let me know the results, as if it works, then we
can add this prefix support for asdf and sbcl to portage with the ~x64-macos KEYWORD.

There are more hints on creating the local overlay here:

http://wiki.gentoo.org/wiki/Overlay/Local_overlay
Back to top
View user's profile Send private message
jcdx
n00b
n00b


Joined: 16 Dec 2013
Posts: 25

PostPosted: Thu Jan 08, 2015 4:39 pm    Post subject: Reply with quote

Very well, both packages asdf-3.1.4 and sbcl-1.2.7 were successfully emerged.

Please let me know, which files, logs or system information you need to benefit the most from the test.

My ${EPREFIX} = /gentoo

asdf-3.1.4:
Code:
$ cd /gentoo/usr/local/portage/dev-lisp/asdf
$ repoman fix
!!! Repository 'x-portage' is missing masters attribute in '/gentoo/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo_prefix' in this file for future compatibility

RepoMan scours the neighborhood...
>>> Creating Manifest for /gentoo/usr/local/portage/dev-lisp/asdf
  metadata.bad                  1
   dev-lisp/asdf/metadata.xml: syntax error: line 3, column 0

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes of me."


I did
Code:
$ mkdir /gentoo/usr/local/portage/metadata
nano layout.conf
write 'master = gentoo_prefix'

$ echo "dev-lisp" > /gentoo/usr/local/portage/profiles/repo_name

The metadata.xml syntax error remains.

Then I did
Code:
$ echo 'PORTDIR_OVERLAY="/gentoo/usr/local/portage ${PORTDIR_OVERLAY}"' >> /gentoo/etc/portage/make.conf


Finally I started emerge:
Code:
$ emerge -av dev-lisp/asdf::dev-lisp
setlocale: unsupported locale setting

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-lisp/asdf-3.1.4:0/3.1.4::dev-lisp [1.89:0/0::gentoo_prefix] USE="-doc% (-examples%)" 0 KiB
[ebuild  N    *] dev-lisp/uiop-3.1.4  0 KiB
[uninstall     ] dev-lisp/gentoo-init-0.1
[blocks b      ] dev-lisp/gentoo-init ("dev-lisp/gentoo-init" is blocking dev-lisp/asdf-3.1.4)
[blocks B      ] dev-lisp/asdf-binary-locations ("dev-lisp/asdf-binary-locations" is blocking dev-lisp/asdf-3.1.4)

Total: 2 packages (1 upgrade, 1 new, 1 uninstall), Size of downloads: 0 KiB
Conflict: 2 blocks (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-lisp/asdf-3.1.4:0/3.1.4::dev-lisp, ebuild scheduled for merge) pulled in by
    dev-lisp/asdf::dev-lisp
    ~dev-lisp/asdf-3.1.4 required by (dev-lisp/uiop-3.1.4:0/0::gentoo_prefix, ebuild scheduled for merge)
    dev-lisp/asdf required by @selected
    dev-lisp/asdf required by (dev-lisp/asdf-binary-locations-20061018:0/0::gentoo_prefix, installed)

  (dev-lisp/asdf-binary-locations-20061018:0/0::gentoo_prefix, installed) pulled in by
    dev-lisp/asdf-binary-locations required by @selected


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-lisp/asdf-3.1.4::dev-lisp
# required by dev-lisp/asdf::dev-lisp (argument)
=dev-lisp/uiop-3.1.4 **

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No]

I unmerged the asdf-binaries and asdf and put =dev-lisp/uiop-3.1.4 ** to accepted_keywords.
asdf-3.1.4 compiles and installs :D

sbcl-1.2.7:

Code:
$ cd /gentoo/usr/local/portage/dev-lisp/sbcl
$ repoman fix

RepoMan scours the neighborhood...
>>> Creating Manifest for /gentoo/usr/local/portage/dev-lisp/sbcl
  IUSE.invalid                  1
  dependency.bad                41
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~amd64(default/linux/amd64/13.0) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~amd64(default/linux/amd64/13.0/desktop) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~amd64(default/linux/amd64/13.0/desktop/gnome) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~amd64(default/linux/amd64/13.0/desktop/gnome/systemd) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~amd64(default/linux/amd64/13.0/desktop/kde) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~amd64(default/linux/amd64/13.0/desktop/kde/systemd) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~amd64(default/linux/amd64/13.0/developer) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~ppc(default/linux/powerpc/ppc32/13.0) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~ppc(default/linux/powerpc/ppc32/13.0/desktop) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~ppc(default/linux/powerpc/ppc32/13.0/desktop/gnome) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~ppc(default/linux/powerpc/ppc32/13.0/desktop/gnome/systemd) ['sys-apps/texinfo']
   dev-lisp/sbcl/sbcl-1.2.7.ebuild: DEPEND: ~ppc(default/linux/powerpc/ppc32/13.0/desktop/kde) ['sys-apps/texinfo']
  metadata.bad                  1
   dev-lisp/sbcl/metadata.xml: not well-formed (invalid token): line 4, column 11

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes of me."

sbcl-1.2.7 compiles and installs :D

Hope this helps!
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Fri Jan 09, 2015 9:02 am    Post subject: Reply with quote

Thanks for testing, we don't need the logs or anything else thanks.

We have added the prefix support for dev-lisp/asdf dev-lisp/uoip and dev-lisp/sbcl
to portage, and dev-lisp/sbcl has been removed from the gentoo prefix overlay
(since the prefix support is now in dev-lisp/sbcl-1.2.7 in portage).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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