Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#7239 closed defect (wontfix)

mutt won't build on 10.4.4, dies with gcc error.

Reported by: pdxmph@… Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: yeled@…, dm@…, spammethehardest@…
Port:

Description

I tried to install the mutt port on a fresh install of DarwinPorts 1.2. The machine is an Intel iMac with the developer tools provided on the install disc.

gettext and iconv built and installed successfully, but the mutt build died with:

arrakis:~ mph$ sudo port install mutt ---> Fetching mutt ---> Verifying checksum(s) for mutt ---> Extracting mutt ---> Configuring mutt Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_mail_mutt/work/mutt-1.4.2.1" && CC=/usr/bin/gcc-3.3 CPP=/usr/bin/cpp-3.3 CXX=/usr/bin/g++-3.3 ./configure --prefix=/opt/local --disable-warnings --mandir='${prefix}/share/man' --with-docdir='${prefix}/share/doc/mutt' --with-libiconv-prefix=/opt/local" returned error 1 Command output: creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking host system type... i386-apple-darwin8.4.1 checking for prefix... /opt/local checking for gcc... /usr/bin/gcc-3.3 checking whether the C compiler (/usr/bin/gcc-3.3 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables.

Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (14)

comment:1 Changed 18 years ago by blb@…

Owner: changed from darwinports-bugs@… to eric@…

Assigning to maintainer.

comment:2 Changed 18 years ago by yeled@…

Cc: yeled@… added
Status: newassigned

comment:3 Changed 18 years ago by pdxmph@…

Cc: pdxmph@… added

comment:4 Changed 18 years ago by dm@…

Cc: dm@… added

comment:5 Changed 18 years ago by dm@…

Since this bug makes it impossible to read mail on Intel Macs using mutt, I think it would deserve a severity rating of blocker (but I don't have permissions to change it myself).

If someone has a tip, workaround, or patch, I'd much appreciate hearing about it

since as it is I can't use my new Intel iMac for the daily chores.

comment:6 Changed 18 years ago by spammethehardest@…

a month with no updates.... i ran into this today trying to install mutt. i agree with Detmar's comments on priority. i am going to try and reinstall xcode (which is a stupid solution and makes no sense), and also use fink.

comment:7 Changed 18 years ago by yeled@…

Owner: changed from eric@… to yeled@…
Status: assignednew

I have been away, got back today. Is your build failing on Intel as well?

comment:8 Changed 18 years ago by spammethehardest@…

Cc: spammethehardest@… added

yes it's an intel mac mini running 10.4.6 osx, did only the apple software update patches. the first thing i did after installing opendarwin was to install mutt so it was pretty close to virgin.

comment:9 Changed 18 years ago by yeled@…

ok, considering that mutt is rather old, have you tried mutt-devel?

this bug is upstream for now..

comment:10 Changed 18 years ago by yeled@…

Status: newassigned

Brendan Cully has saved the day. I am trying a workaround now. there is no gcc 3.3 on Intel.

comment:11 Changed 18 years ago by yeled@…

if you update your source now, can you try again to clean and build, please?

comment:12 Changed 18 years ago by spammethehardest@…

(In reply to comment #8)

if you update your source now, can you try again to clean and build, please?

michael-salmons-computer:~ root# port clean mutt ---> Cleaning mutt michael-salmons-computer:~ root# port upgrade mutt ---> Fetching mutt ---> Verifying checksum(s) for mutt ---> Extracting mutt ---> Configuring mutt ---> Building mutt with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_mail_mutt/work/mutt-1.4.2.1" && make all" returned error 2 Command output: cd . \

&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status

creating Makefile make all-recursive Making all in m4 make[2]: Nothing to be done for `all'. Making all in po make[2]: Nothing to be done for `all'. Making all in intl make[2]: Nothing to be done for `all'. Making all in doc (cd .. && make makedoc) gcc -DPKGDATADIR=\"/opt/local/share/mutt\" -DSYSCONFDIR=\"/opt/local/etc\" -DBINDIR=\"/opt/local/bin\" -DMUTTLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -Iintl -I/opt/local/include -I./intl -I/opt/local/include -g -O2 -c makedoc.c gcc -g -O2 -L/opt/local/lib -o makedoc makedoc.o gcc -E -I. -I.. -I/opt/local/include -I.. -DSYSCONFDIR=\"\" -DBINDIR=\"/opt/local/bin\" -DHAVE_CONFIG_H=1 -I/opt/local/include -I../intl -D_MAKEDOC -C ../init.h | ../makedoc -m | \

cat ./muttrc.man.head - ./muttrc.man.tail\

muttrc.man

touch stamp-doc-man

test -f manual.html test -f manual.txt
make manual.html cp ./manual*.html ./
make manual.txt cp ./manual.txt ./

Making all in contrib make[2]: Nothing to be done for `all'. gcc -DPKGDATADIR=\"/opt/local/share/mutt\" -DSYSCONFDIR=\"/opt/local/etc\" -DBINDIR=\"/opt/local/bin\" -DMUTTLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -Iintl -I/opt/local/include -I./intl -I/opt/local/include -g -O2 -c patchlist.c gcc -DPKGDATADIR=\"/opt/local/share/mutt\" -DSYSCONFDIR=\"/opt/local/etc\" -DBINDIR=\"/opt/local/bin\" -DMUTTLOCALEDIR=\"/opt/local/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -Iintl -I/opt/local/include -I./intl -I/opt/local/include -g -O2 -c addrbook.c In file included from mutt_menu.h:23,

from addrbook.c:20:

keymap.h:83: error: array type has incomplete element type make[2]: * [addrbook.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

michael-salmons-computer:~ root#

comment:13 Changed 18 years ago by yeled@…

Resolution: wontfix
Status: assignedclosed

mutt wont build on this platform.

please try mutt-devel. it is stable.

comment:14 Changed 18 years ago by pdxmph@…

Cc: pdxmph@… removed
Note: See TracTickets for help on using tickets.