Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249163 - dev-scheme/plt-scheme-4.1.3 - ./.libs/libmzscheme.so: undefined reference to `sincos'
Summary: dev-scheme/plt-scheme-4.1.3 - ./.libs/libmzscheme.so: undefined reference to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 12:27 UTC by Niklas Laxström
Modified: 2009-01-21 17:01 UTC (History)
2 users (show)

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


Attachments
Build log (dev-scheme:plt-scheme-4.1.3:20081128-114526.log,38.42 KB, text/plain)
2008-11-28 12:30 UTC, Niklas Laxström
Details
patch for --as-needed problems (drscheme-372-as-needed.patch,1.92 KB, patch)
2008-11-28 14:08 UTC, Rafał Mużyło
Details | Diff
4.1.3 patch, adapted from 4.1.2's (plt-scheme-4.1.3-as_needed.patch,1.80 KB, patch)
2009-01-17 05:46 UTC, Nguyen Thai Ngoc Duy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Laxström 2008-11-28 12:27:37 UTC
dev-scheme/plt-scheme-4.1.3 does not compile

Reproducible: Always

Steps to Reproduce:
1. emerge plt-scheme

Actual Results:  
Does not compile.

Expected Results:  
Compiles.

[U] dev-scheme/plt-scheme                                                                    
     Available versions:  0.372-r1 (~)4.0.1 (~)4.0.2 4.1 (~)4.1.2 (~)4.1.3 {X backtrace cairo cgc llvm opengl profile}
     Installed versions:  4.1.2(21:25:08 21.11.2008)(X cairo opengl -backtrace -cgc -llvm -profile)                   
     Homepage:            http://www.plt-scheme.org                                                                   
     Description:         DrScheme programming environment. Includes mzscheme.                                        

emerge --info
Portage 2.1.6_rc2 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-zen2 i686)
=================================================================                                        
System uname: Linux-2.6.27-zen2-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0               
Timestamp of tree: Fri, 28 Nov 2008 08:26:01 +0000                                                       
ccache version 2.4 [enabled]                                                                             
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium-m -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="fi_FI.utf8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="fi en"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/finnish /usr/portage/local/layman/science /usr/portage/local/layman/x11 /usr/portage/local/layman/zen-overlay /usr/portage/local/layman/gnash-cvs /usr/portage/local/layman/flameeyes-overlay /usr/local/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amr asm avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups dbus dcop dga dhcp dlloader dri dvd dvdr dvdread eds emboss encode ethereal evo fam fbcon ffmpeg firefox flac fortran gdbm gif gpm gstreamer hal iconv icu idn immqt-bc ipv6 isdnlog java javascript jikesjpeg kde kdeenablefinal kdehiddenvisibility kig-scripting libcaca libnotify live mad midi mikmod mmx mmxext mng mp3 mpeg mudflap musepack nas ncurses nls nptl nptlonly ogg opengl openmp openvpn pam pch pcre pdf perl png pnp ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session slang speex spell spl ssesse2 ssl startup-notification svg sysfs tcpd theora tiff timidity truetype udev unicode usb vorbis wifi win32codecs x86 xcomposite xft xinerama xml xml2 xorg xosd xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Niklas Laxström 2008-11-28 12:30:28 UTC
Created attachment 173647 [details]
Build log
Comment 2 Rafał Mużyło 2008-11-28 14:08:59 UTC
Created attachment 173650 [details, diff]
patch for --as-needed problems

A typical --as-needed problem, one, that I personally
dealt with in 372 (back when I still had drscheme on my system)
using attached patch.

The first two blocks in src/mzscheme/gc2/Makefile.in part
are probably unneeded. Patch may need minimal adjustments,
due to version change (then again, maybe not).
Comment 3 Nguyen Thai Ngoc Duy 2009-01-17 05:46:25 UTC
Created attachment 178759 [details, diff]
4.1.3 patch, adapted from 4.1.2's
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2009-01-19 13:28:56 UTC
I mailed upstream the patch.
Comment 5 Nguyen Thai Ngoc Duy 2009-01-19 13:52:03 UTC
(In reply to comment #4)
> I mailed upstream the patch.
> 

I was about to do that. Thanks.

BTW while I no longer had undefined reference errors, mzscheme3m gen-dep.ss ran forever so I did not really complete the build (4.1.2 was built fine)
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-01-19 21:21:31 UTC
Upstream has implemented a fix of their own which is currently in their svn repo. You can try it using our live ebuild from the lisp overlay. It seemed to work for me, but some confirmation of that fact would be nice. This fix will probably be out soon with 4.1.4.
Comment 7 Nguyen Thai Ngoc Duy 2009-01-21 14:14:14 UTC
Confirmed 4.1.4 built well without any patch (4.1.3 ebuild). I think we can close this bug now by bumping to 4.1.4.
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2009-01-21 17:01:07 UTC
Thanks, Duy and others. 4.1.4 is now in.