mutt-devel (cyrus-sasl2) upgrade fails

Ryan Schmidt ryandesign at macports.org
Tue Sep 15 16:54:04 PDT 2009


On Sep 15, 2009, at 15:07, macosforge.org at monkeybutt.com wrote:

> On Mon, 14 Sep 2009, Ryan Schmidt wrote:
>
> : On Sep 14, 2009, at 18:22, macosforge.org at monkeybutt.com wrote:
> :
> : > --->  Building cyrus-sasl2
> : [snip]
> : > Undefined symbols:
> : > "_auxprop_plugin_info", referenced from:
> : >     _main in pluginviewer.o
> : >     _main in pluginviewer.o
> : > ld: symbol(s) not found
> :
> : Looks like:
> :
> : http://trac.macports.org/ticket/20194
> :
> : The suggestion there is to deactivate your existing cyrus-sasl2  
> before
> : installing the new one. Please let us know if that works.
> :
> : The port used to prevent installation unless you did this. That  
> protection was
> : removed a few months ago because we thought we had fixed the  
> problem (r52930,
> : #17328). Maybe we haven't.
>
> Thanks, that helped somewhat,

Ok, great, I'll update the tickets.

> but now I've encountered a new problem
> trying to build mutt-devel itself.  First, I deactivated (uninstalled,
> actually) cyrus-sasl2, and also did a 'port clean --work all' for good
> measure.  When I retry building mutt-devel, I encounter the following:
>
> % sudo port install mutt-devel +compress+date_conditional+deepif+gdbm 
> +headercache+imap+pop+sasl+smtp+ssl+xlabel
> [...]
> --->  Attempting to fetch patch-1.5.20.rr.compressed.gz from http://www.mutt.org.ua/download/mutt-1.5.20/
> --->  Attempting to fetch mutt-1.5.20.tar.gz from http://distfiles.macports.org/mutt-devel
> --->  Verifying checksum(s) for mutt-devel
> --->  Extracting mutt-devel
> --->  Applying patches to mutt-devel
> --->  Configuring mutt-devel
> --->  Building mutt-devel
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mutt 
> -devel/work/mutt-1.5.20" && /usr/bin/make -j1 all " returned error 2
> Command output: /usr/bin/gcc-4.0 -DPKGDATADIR=\"/opt/local/share/mutt 
> \" -DSYSCONFDIR=\"/opt/local/etc\" -DBINDIR=\"/opt/local/bin\" - 
> DMUTTLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_CONFIG_H=1 -I.  - 
> I. -I. -I./imap  -Iintl -I/opt/local/include -I/opt/local/include -I/ 
> opt/local/include -I/opt/local/include -I/include -I/opt/local/ 
> include -I./intl  -O2 -arch ppc -MT md5.o -MD -MP -MF .deps/md5.Tpo - 
> c -o md5.o md5.c
> mv -f .deps/md5.Tpo .deps/md5.Po
> /usr/bin/gcc-4.0 -DPKGDATADIR=\"/opt/local/share/mutt\" -DSYSCONFDIR= 
> \"/opt/local/etc\" -DBINDIR=\"/opt/local/bin\" -DMUTTLOCALEDIR=\"/ 
> opt/local/share/locale\" -DHAVE_CONFIG_H=1 -I.  -I. -I. -I./imap  - 
> Iintl -I/opt/local/include -I/opt/local/include -I/opt/local/include  
> -I/opt/local/include -I/include -I/opt/local/include -I./intl  -O2 - 
> arch ppc -MT wcscasecmp.o -MD -MP -MF .deps/wcscasecmp.Tpo -c -o  
> wcscasecmp.o wcscasecmp.c
> mv -f .deps/wcscasecmp.Tpo .deps/wcscasecmp.Po
> /usr/bin/gcc-4.0  -O2 -arch ppc  -L/opt/local/lib -L/usr/lib -L/opt/ 
> local/lib -L/opt/local/lib -L/opt/local/lib -L/lib -L/opt/local/lib - 
> o mutt addrbook.o alias.o attach.o base64.o browser.o buffy.o  
> color.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 group.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 rfc3676.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 mbyte.o url.o ascii.o crypt-mod.o patchlist.o  
> pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o  
> pgppacket.o crypt-mod-pgp-classic.o smime.o crypt-mod-smime- 
> classic.o resize.o pop.o pop_lib.o pop_auth.o smtp.o bcache.o  
> account.o mutt_socket.o mutt_tunnel.o mutt_ssl.o mutt_sasl.o  
> hcache.o md5.o
> wcscasecmp.o -Limap -limap -lncursesw -lssl -lcrypto -lz -lsasl2 - 
> lgdbm -lintl -liconv -liconv
> Undefined symbols:
>  "_mutt_open_read_compressed", referenced from:
>      _mx_open_mailbox in mx.o
>  "_mutt_can_read_compressed", referenced from:
>      _mx_get_magic in mx.o
>  "_mutt_check_mailbox_compressed", referenced from:
>      _mx_check_mailbox in mx.o
>  "_mutt_can_append_compressed", referenced from:
>      _mx_open_mailbox in mx.o
>  "_mutt_slow_close_compressed", referenced from:
>      _mbox_close_mailbox in mbox.o
>      _mx_close_mailbox in mx.o
>  "_mutt_test_compress_command", referenced from:
>      _mutt_parse_hook in hook.o
>  "_mutt_fast_close_compressed", referenced from:
>      _mx_fastclose_mailbox in mx.o
>  "_mutt_sync_compressed", referenced from:
>      _sync_mailbox in mx.o
>  "_mutt_open_append_compressed", referenced from:
>      _mx_open_mailbox in mx.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [mutt] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

This looks like it relates to the +compress option you've requested:

http://objectmix.com/mutt/202340-problems-compiling-1-5-7-a.html

Not sure if the statements in that thread were specific to 1.5.7 or  
still apply now with 1.5.20. You may want to file a ticket in the  
MacPorts issue tracker. If you can do without the +compress option,  
leaving it out may allow you to compile.





More information about the macports-users mailing list