Opened 12 years ago

Last modified 12 years ago

#37151 closed defect

bahamut: build fails; build system doesn't notice; proceeds to destroot, which fails — at Version 1

Reported by: robotoad (Preston Sumner) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: clang Cc:
Port: bahamut

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On OS X 10.8.2, on a fresh installation of MacPorts, Bahamut fails to install. Attached to this ticket is the main.log. The console error output is:

--->  Staging bahamut into destroot
Error: org.macports.destroot for port bahamut returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_bahamut/bahamut/work/destroot/opt/local/ircd": no such file or directory
Please see the log file for port bahamut for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_bahamut/bahamut/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port bahamut failed

Change History (2)

Changed 12 years ago by robotoad (Preston Sumner)

Attachment: main.log added

The main.log specified in the console output.

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: bahamut installation removed
Summary: Bahamut error during stagingbahamut: build fails; build system doesn't notice; proceeds to destroot, which fails

The relevant error in the log appears to be this problem when trying to build ircd:

:info:build /usr/bin/clang  -o ircd blalloc.o bsd.o channel.o clientlist.o clones.o confparse.o fdlist.o fds.o hash.o hide.o inet_addr.o ircd.o klines.o list.o m_nick.o m_rwho.o m_server.o m_services.o m_stats.o m_who.o match.o memcount.o modules.o packet.o parse.o pcre.o probability.o res.o s_auth.o s_bsd.o s_conf.o s_debug.o s_err.o s_misc.o s_numeric.o s_serv.o s_user.o sbuf.o scache.o send.o struct.o support.o throttle.o userban.o whowas.o zlink.o ssl.o socketengine_poll.o rc4.o dh.o version.o -lz  -L/opt/local/lib -lcrypto -lssl
:info:build Undefined symbols for architecture x86_64:
:info:build   "_first_visible_channel", referenced from:
:info:build       _m_who in m_who.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

The build system then doesn't notice this error and proceeds to the destroot phase as if nothing was wrong; the destroot then of course fails when it tries to install ircd because it isn't there since it wasn't built.

Note: See TracTickets for help on using tickets.