Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142520 - mail-client/mutt-1.5.12 compile problem with pop.c
Summary: mail-client/mutt-1.5.12 compile problem with pop.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
: 142820 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-02 03:33 UTC by Stefan Wimmer
Modified: 2006-08-07 13:13 UTC (History)
4 users (show)

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


Attachments
Patch from mutt's git. (mutt-1.5.12-fix_configure.patch,446 bytes, patch)
2006-08-04 14:32 UTC, Pablo Antonio
Details | Diff
Differences with the new ebuild. (mutt-1.5.12-r1.patch,410 bytes, patch)
2006-08-04 14:34 UTC, Pablo Antonio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Wimmer 2006-08-02 03:33:31 UTC
When I try to update to mutt-1.5.12 I get the following error:

pop.o: In function `pop_fetch_headers':
pop.c:(.text+0x385): undefined reference to `mutt_bcache_exists'
pop.c:(.text+0x571): undefined reference to `mutt_bcache_list'
pop.o: In function `pop_open_mailbox':
pop.c:(.text+0x8d2): undefined reference to `mutt_bcache_open'
pop.o: In function `pop_fetch_message':
pop.c:(.text+0xa91): undefined reference to `mutt_bcache_get'
pop.c:(.text+0xb0c): undefined reference to `mutt_bcache_del'
pop.c:(.text+0xb82): undefined reference to `mutt_bcache_put'
pop.o: In function `pop_sync_mailbox':
pop.c:(.text+0xec5): undefined reference to `mutt_bcache_del'
pop.o: In function `msg_cache_check':
pop.c:(.text+0x19f): undefined reference to `mutt_bcache_del'
pop.o: In function `pop_close_mailbox':
pop.c:(.text+0xa0b): undefined reference to `mutt_bcache_close'
pop.c:(.text+0xa42): undefined reference to `mutt_bcache_close'
collect2: ld returned 1 exit status
make[2]: *** [mutt] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/mutt-1.5.12/work/mutt-1.5.12'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mutt-1.5.12/work/mutt-1.5.12'
make: *** [all] Error 2
                  
!!! ERROR: mail-client/mutt-1.5.12 failed.
Call stack:       
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mutt-1.5.12.ebuild, line 140:   Called die

emerge mutt -vp
---------------
Calculating dependencies... done!
[ebuild     U ] mail-client/mutt-1.5.12 [1.5.11-r2] USE="berkdb crypt gdbm mbox nls nntp pop ssl -buffysize -cjk -debug -gnutls -gpgme -idn -imap -sasl -smime -vanilla"

emerge --info
-------------
Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.3.6-r4, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
ccache version 2.3 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.mirror.intouch.nl/gentoo/"
LANG="en_US.iso885915"
LINGUAS="en en_GB en_US nl de es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa avi berkdb bitmap-fonts bzip2 cli crypt cups dar64 directfb dlloader dri dts dv dvd dvdr dvdread eds emboss encode fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal i8x0 idn ieee1394 imagemagick imlib isdnlog java jpeg lua lzw lzw-tiff mad matroska mbox mime mp3 mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oscar pam pcre pdflib perl png pop pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session speex spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vcd vorbis xorg xpm xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_en_GB linguas_en_US linguas_nl linguas_de linguas_es userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pablo Antonio 2006-08-02 23:14:01 UTC
Well, the error means those functions are not defined anywhere. (At least, the linker couldn't find a file where they are defined.) For what I've seen, the file that contains the definitions is bcache.c. In the Makefile.am it's listed under EXTRA_mutt_SOURCES. Maybe it has to be added somewhere else? I'm not skilled enough so as to fix this bug, but I supposed the solution is adding the file where definitions are to a proper place in the Makefile.am
Comment 2 Stefan Wimmer 2006-08-04 02:32:07 UTC
I talked to the mutt-devs and it is a known issue indeed ... see also 
http://dev.mutt.org/cgi-bin/gitweb.cgi?p=mutt/.git;a=commitdiff;h=4734283f3a1f3209453f275710313673352fc288

It can be solved with a workaround by adding the imap-useflag.

Greetz
Stefan
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-04 11:08:46 UTC
*** Bug 142820 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-04 11:09:36 UTC
Please, don't resolve bugs that are not fixed in portage.
Comment 5 Stefan Wimmer 2006-08-04 13:57:19 UTC
(In reply to comment #4)
> Please, don't resolve bugs that are not fixed in portage.
> 

Oops - my fault :-/

Sorry about  my wrong logic
Stefan
Comment 6 Pablo Antonio 2006-08-04 14:32:37 UTC
Created attachment 93437 [details, diff]
Patch from mutt's git.

Patch taken from http://dev.mutt.org/cgi-bin/gitweb.cgi?p=mutt/.git;a=commitdiff;h=4734283f3a1f3209453f275710313673352fc288
Should be placed in ${FILESDIR}.
Comment 7 Pablo Antonio 2006-08-04 14:34:42 UTC
Created attachment 93438 [details, diff]
Differences with the new ebuild.

Now the ebuild applies the patch to solve the problem.
Comment 8 Fernando J. Pereda (RETIRED) gentoo-dev 2006-08-07 13:13:00 UTC
Fix in CVS (same ebuild, no bump). Thanks guys.

- ferdy