Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164520 - net-mail/mailutils-0.6-r3 fails with dev-scheme/guile-1.8.1-r1
Summary: net-mail/mailutils-0.6-r3 fails with dev-scheme/guile-1.8.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Ryan Hill (RETIRED)
URL:
Whiteboard:
Keywords:
: 202766 (view as bug list)
Depends on: 158501
Blocks: guile-1.8
  Show dependency tree
 
Reported: 2007-01-30 10:17 UTC by Martin von Gagern
Modified: 2008-07-08 07:03 UTC (History)
7 users (show)

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 Martin von Gagern 2007-01-30 10:17:51 UTC
With neither deprecated nor discouraged present in guile USE flags:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I. -I../lib -I../include -pthread -DDATADIR=\"/usr/share/mailutils\" -DSYSCONFDIR=\"/etc\" -march=prescott -O2 -MT mu_guimb.lo -MD -MP -MF .deps/mu_guimb.Tpo -c mu_guimb.c -o mu_guimb.o >/dev/null 2>&1
mu_address.c: In function '_get_address_part':
mu_address.c:44: warning: assignment makes pointer from integer without a cast
mu_address.c:47: warning: return makes pointer from integer without a cast
mu_address.c:49: warning: passing argument 2 of 'address_create' makes pointer from integer without a cast
mu_address.c:60: warning: assignment makes pointer from integer without a cast
mu_address.c: In function 'mu_address_get_count':
mu_address.c:129: warning: passing argument 2 of 'address_create' makes pointer from integer without a cast
mu_address.c:130: warning: return makes pointer from integer without a cast
mu_address.c: In function 'mu_username_to_email':
mu_address.c:153: warning: assignment makes pointer from integer without a cast
mu_address.c:159: warning: assignment makes pointer from integer without a cast
mu_body.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mu_scm_body_free'
mu_body.c: In function 'mu_scm_body_create':
mu_body.c:90: warning: assignment makes pointer from integer without a cast
mu_body.c: In function 'mu_body_read_line':
mu_body.c:154: warning: return makes pointer from integer without a cast
mu_body.c: In function 'mu_body_write':
mu_body.c:178: warning: assignment makes pointer from integer without a cast
mu_body.c: In function 'mu_scm_body_init':
mu_body.c:195: error: 'mu_scm_body_free' undeclared (first use in this function)
mu_body.c:195: error: (Each undeclared identifier is reported only once
mu_body.c:195: error: for each function it appears in.)
mv -f .libs/mu_guimb.lo mu_guimb.lo
make[3]: *** [mu_body.lo] Error 1

When adding "deprecated" to the guile USE flags I get this:
i686-pc-linux-gnu-gcc -march=prescott -O2 -o .libs/guimb main.o collect.o util.o -pthread  ../libmu_scm/.libs/libmu_scm.so ../mailbox/mbox/.libs/libmu_mbox.so ../mailbox/imap/.libs/libmu_imap.so ../mailbox/pop/.libs/libmu_pop.so ../mailbox/nntp/.libs/libmu_nntp.so ../mailbox/mh/.libs/libmu_mh.so ../mailbox/maildir/.libs/libmu_maildir.so ../mailbox/.libs/libmailbox.so ../lib/.libs/libmailutils.al ../auth/.libs/libmuauth.so -L/usr/local/lib/mysql -lmysqlclient /usr/lib/libpam.so /usr/lib/libguile.so /usr/lib/libgmp.so -lm /usr/lib/libltdl.so -ldl -lcrypt -lresolv -lpthread
../libmu_scm/.libs/libmu_scm.so: undefined reference to `SCM_ROCHARS'
../libmu_scm/.libs/libmu_scm.so: undefined reference to `SCM_ROLENGTH'
../libmu_scm/.libs/libmu_scm.so: undefined reference to `SCM_VALIDATE_ROSTRING'
../libmu_scm/.libs/libmu_scm.so: undefined reference to `SCM_SUBSTRP'
collect2: ld returned 1 exit status

Adding "discouraged" as well doesn't make a difference in either case.
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2007-01-30 10:24:22 UTC
guile doesn't compile with deprecated but without discouraged, so deprecated now implies discouraged.
Comment 2 Martin von Gagern 2007-01-30 17:04:27 UTC
mailutils-1.1 compiles out of the box with my guile (which does already include the "deprecated" USE flag), so bumping to 1.1 as requested by bug 158501 might be a better solution than trying to make 0.6 work with latest guile.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2007-07-09 14:01:37 UTC
(In reply to comment #2)
> mailutils-1.1 compiles out of the box with my guile (which does
> already include the "deprecated" USE flag), so bumping to 1.1 as
> requested by bug 158501 might be a better solution than trying
> to make 0.6 work with latest guile.

Yes, but someone should still fix the dependency to ask for guile-1.6.*
Scheme out.

Comment 4 Andre Hinrichs 2007-10-03 07:40:19 UTC
I'm running into this now that guile-1.8.2 has been marked stable for x86.
For compiling guile-1.8.2 I used the following use flags: deprecated nls regex threads

Currently there is only an ebuild for mailutils-0.6 in the portage, but most latest version of mailutils is 1.2.

Is someone working on ebuilds for the new mailutils versions?

*** emerge --info ***

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Wed, 03 Oct 2007 05:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/web2c"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en en_US en_GB"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/eclipse /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi additions alsa apache2 audiofile berkdb bidi big-tables bitmap-fonts bzip2 cairo cdda cddb cdparanoia cli cracklib crypt ctype cups curl d dbus divx dri dts dv dvb dvd dvdread emacs encode exif fame ffmpeg fftw flac fortran gd gdbm gif gimp glib gmedia gmp gnome gnutls gpm gs gtk guile hal hpn iconv idn ieee1394 imagemagick imlib java java5 javamail jbig jmx jpeg jpeg2k kde kdeenablefinal lame lcms ldap live lua lzo mad mailwrapper matroska midi mikmod mjpeg mmx mng mod motif mozdevelop mp3 mpeg mudflap mysql ncurses network nls nptl nptlonly nsplugin objc odbc ogg openal openexr opengl openmp pam pcre pdf pdo perl php png posix python qt3 qt3support qt4 quicktime readline real realmedia reflection rle rtc rtsp sasl sdk sdl session shout simplexml sndfile soap speex spell spl sqlite sse ssl stream svg svga tcpd theora threads tidy tiff timidity tk truetype truetype-fonts type1-fonts ucs2 unicode urandom usb v4l v4l2 vcd vlm vorbis win32codecs wmf wmp wxwindows x86 xanim xml xmlreader xmlrpc xmlwriter xorg xpm xsl xv xvid yv12 zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_US en_GB" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Martin von Gagern 2007-10-03 07:52:25 UTC
(In reply to comment #4)
> Is someone working on ebuilds for the new mailutils versions?

See bug 158501 about the current status of bumped mailutils ebuild.
Comment 6 Andre Hinrichs 2007-10-03 11:50:04 UTC
Since guile-1.8.2 is stable now, I'm requesting to change the severity of this one to be "blocker".

See bug #163921 comment #7
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-12-19 18:48:17 UTC
*** Bug 202766 has been marked as a duplicate of this bug. ***
Comment 8 Mark Loeser (RETIRED) gentoo-dev 2008-01-13 19:14:01 UTC
If no one cares to fix this, perhaps we should just remove it?  There are 2 other bugs open for this package besides this one (one being USE=test fails, and the other being the bump to 1.2)

treecleaner: any suggestions?
Comment 9 Roger 2008-01-14 05:43:59 UTC
FYI:  I've moved to mail-client/nail as it now has maildir support.

(Nail source code was merged back into Mailx if you view the homepage of mail-client/nail.)
Comment 10 Roger 2008-01-14 05:49:17 UTC
My suggestion might be to mask the package rather then remove it as it is hosted on gnu.org.

Mailutils does have more recent patches for the ebuild posted on bug id 164520, for which, probably should have been synced into portage by now.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2008-02-06 13:10:14 UTC
Please vote, +1 for removal since noone gives a damn, current version is unusable on stable, patched to hell etc.

At any rate, this should be masked at minimum since it's unusable.
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2008-02-07 01:04:14 UTC
-1

Bumping to the latest version will fix this.  It's on my list.
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2008-02-23 02:24:16 UTC
I'll take this one.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2008-03-20 14:19:09 UTC
*mailutils-1.2 (03 Mar 2008)

  03 Mar 2008; Jeroen Roovers <jer@gentoo.org> mailutils-0.6-r3.ebuild,
  +mailutils-1.2.ebuild:
  Version bump with removed mailwrapper magic (bug #158501). Marked ~hppa.
Comment 15 Beetle B. 2008-07-07 22:06:29 UTC
Thanks for the new ebuild. I'd been struggling with 0.6 for a while.

Compiles fine on my side. x86.
Comment 16 Roger 2008-07-08 07:03:28 UTC
There's also net-mail/mailutils-1.2

(Currently conflicts with my installed "mail-client/nail" ... I currently don't have *any* time to test this, however, do believe version mailutils-1.2 fixes this.  Surprised version 0.6* is fixed too!)