Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41312 - USE=slang emerge mutt fails with undefined references
Summary: USE=slang emerge mutt fails with undefined references
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
: 41423 (view as bug list)
Depends on:
Blocks: 41423
  Show dependency tree
 
Reported: 2004-02-11 17:15 UTC by ferret
Modified: 2004-02-25 19:02 UTC (History)
4 users (show)

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


Attachments
#ifndef out some ncurses-specific code (mutt-1.5.6-no-slang.patch,493 bytes, patch)
2004-02-11 17:17 UTC, ferret
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ferret 2004-02-11 17:15:14 UTC
gcc  -Wall -pedantic -Wall -pedantic -march=athlon-xp -O2 -pipe
-fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=387,sse  -o mutt 
patchlist.o addrbook.o alias.o attach.o base64.o browser.o buffy.o color.o
compress.o crypt.o cryptglue.o commands.o complete.o compose.o copy.o curs_lib.o
curs_main.o date.o edit.o enter.o flags.o init.o filter.o from.o getdomain.o
handler.o hash.o hdrline.o headers.o help.o hook.o keymap.o main.o mbox.o menu.o
mh.o mx.o pager.o parse.o pattern.o postpone.o query.o recvattach.o recvcmd.o
rfc822.o rfc1524.o rfc2047.o rfc2231.o score.o send.o sendlib.o signal.o sort.o
status.o system.o thread.o charset.o history.o lib.o muttlib.o editmsg.o utf8.o
mbyte.o wcwidth.o url.o ascii.o mutt_idna.o pgp.o pgpinvoke.o pgpkey.o pgplib.o
gnupgparse.o pgpmicalg.o pgppacket.o smime.o  resize.o pop.o pop_lib.o pop_auth.o
account.o mutt_socket.o mutt_tunnel.o mutt_ssl.o md5c.o  regex.o -Limap -limap
-lslang -lm -lssl -lcrypto
muttlib.o(.text+0xac): In function `mutt_adv_mktemp':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
menu.o(.text+0x293): In function `print_enriched_string':
: undefined reference to `PAIR_NUMBER'
menu.o(.text+0x2ab): In function `print_enriched_string':
: undefined reference to `pair_content'
menu.o(.text+0x2b7): In function `print_enriched_string':
: undefined reference to `PAIR_NUMBER'
menu.o(.text+0x2cf): In function `print_enriched_string':
: undefined reference to `pair_content'
collect2: ld returned 1 exit status


theferret root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-rc1-mm1)
=================================================================
System uname: 2.6.3-rc1-mm1 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-mfpmath=387,sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-mfpmath=387,sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache fixpackages sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
                http://gentoo.oregonstate.edu
                http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib acpi acpi4linux alsa apm arts avi cdr clanJavaScript
clanVoice crypt cups curl dga directfb doc emacs encode esd fbcon flash
foomaticdb gd gdbm ggi gif gimpprint gphoto2 gpm gtk gtk2 guile imap imlib ipv6
java javascript jikes jpeg
justify libg++ libwww mad mbox mikmod mmx motif mozilla mpeg msn music ncurses
nls noqmax nptl offensive oggvorbis opengl oss pam passfile pda pdflib perl php
pic png python qt quicktime readline ruby18 samba sdl slang spell sse ssl
stencil-buffer svga tcltk tcpd tetex tiff truetype usb videos wmf x86 xml xml2
xmms xv xvid zlib"
Comment 1 ferret 2004-02-11 17:17:45 UTC
Created attachment 25439 [details, diff]
#ifndef out some ncurses-specific code

menu.c has been changed since mutt 1.5.5.1 with some code that breaks if slang
is
enabled. This should fix it.
Comment 2 Daniel Fullmer 2004-02-11 18:13:44 UTC
patch works great over here.
Comment 3 ferret 2004-02-11 18:25:41 UTC
I've checked with a mutt person, and this is a known issue. This patch should be
okay until they release a fixed-up version. :)
Comment 4 ferret 2004-02-11 18:27:41 UTC
While we're here, can I suggest a trivial alteration to the ebuild to

mkdir -p /var/spool/mail

when necessary? Otherwise I get a configure error.
Comment 5 Marcus J. van Dijk, Jr. 2004-02-12 02:16:11 UTC
emerging net-mail/mutt-1.5.6 with USE=slang yields the same error.
Comment 6 ferret 2004-02-12 03:38:27 UTC
With the patch, you mean? Hrm. That's odd.
Comment 7 Marcus J. van Dijk, Jr. 2004-02-12 04:42:58 UTC
I haven't used a patch, just saying there is no fix built into mutt 1.5.6. The patch might work, I just altered my useflags to -slang for mutt.
Comment 8 Lars Weiler (RETIRED) gentoo-dev 2004-02-12 19:12:20 UTC
The patch works great.  As I couldn't find out a maintainer for this package, I added the patch to our CVS.  Closing this bug.
Comment 9 Lars Weiler (RETIRED) gentoo-dev 2004-02-12 19:13:38 UTC
*** Bug 41423 has been marked as a duplicate of this bug. ***
Comment 10 Jason Wever (RETIRED) gentoo-dev 2004-02-25 07:46:39 UTC
I can still make this happen on x86 and sparc after having sync my trees this morning.
Comment 11 Aron Griffis (RETIRED) gentoo-dev 2004-02-25 14:00:44 UTC
Jason, is the failure output exactly the same as the original post?  Do you happen to have USE=vanilla?  I'm committing a fix for that right now...
Comment 12 Jason Wever (RETIRED) gentoo-dev 2004-02-25 14:59:30 UTC
Yes the error appears identical to the one before, and yes the vanilla useflag is enabled.
Comment 13 Jason Wever (RETIRED) gentoo-dev 2004-02-25 19:02:47 UTC
It's much happier now :)

Thanks for the help Aron, you rock!