Opened 13 years ago

Closed 13 years ago

#30687 closed defect (fixed)

mutt-devel @1.5.21 Build failure: Undefined symbols for architecture x86_64

Reported by: macports.org@… Owned by: mnick@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: mutt-devel

Description

Hardware:

MacBook Pro, Intel Core 2 Duo

Software:

OS X 10.7, XCode 4.1

Command:

sudo port install mutt-devel +compress +date_conditional +deepif +gdbm +headercache +imap +sasl +smtp +ssl +xlabel

Partial build log:

[...]
:info:build /Developer/usr/bin/llvm-gcc-4.2  -pipe -O2 -arch x86_64  -L/opt/local/lib -L/usr/lib -arch x86_64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/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 safe_asprintf.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 mutt_idna.o  -Limap -limap -lncurses -lssl -lcrypto -lz -lsasl2  -lgdbm -lintl -liconv -liconv   -lidn 
:info:build Undefined symbols for architecture x86_64:
:info:build   "_mutt_test_compress_command", referenced from:
:info:build       _mutt_parse_hook in hook.o
:info:build   "_mutt_slow_close_compressed", referenced from:
:info:build       _mbox_close_mailbox in mbox.o
:info:build       _mx_close_mailbox in mx.o
:info:build   "_mutt_check_mailbox_compressed", referenced from:
:info:build       _mx_check_mailbox in mx.o
:info:build   "_mutt_sync_compressed", referenced from:
:info:build       _sync_mailbox in mx.o
:info:build   "_mutt_fast_close_compressed", referenced from:
:info:build       _mx_fastclose_mailbox in mx.o
:info:build   "_mutt_can_read_compressed", referenced from:
:info:build       _mx_get_magic in mx.o
:info:build   "_mutt_can_append_compressed", referenced from:
:info:build       _mx_open_mailbox in mx.o
:info:build   "_mutt_open_append_compressed", referenced from:
:info:build       _mx_open_mailbox in mx.o
:info:build   "_mutt_open_read_compressed", referenced from:
:info:build       _mx_open_mailbox in mx.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [mutt] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/sha1.Tpo .deps/sha1.Po
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mutt-devel/mutt-devel/work/mutt-1.5.21'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mutt-devel/mutt-devel/work/mutt-1.5.21'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mutt-devel/mutt-devel/work/mutt-1.5.21'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mutt-devel/mutt-devel/work/mutt-1.5.21" && /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for mutt-devel): org.macports.activate org.macports.build org.macports.destroot org.macports.install

Attachments (1)

main.log (126.0 KB) - added by macports.org@… 13 years ago.
build Log for mutt-devel

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by macports.org@…

Attachment: main.log added

build Log for mutt-devel

comment:1 Changed 13 years ago by skymoo (Adam Mercer)

Keywords: lion added; Undefined symbols for architecture x86_64 removed
Owner: changed from macports-tickets@… to mnick@…

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: lion removed
Resolution: fixed
Status: newclosed

The patch in the +compress variant is modifying Makefile.am so we need to be running autoreconf. Fixed in r87883.

Note: See TracTickets for help on using tickets.