[MacPorts] #37151: bahamut: build fails; build system doesn't notice; proceeds to destroot, which fails (was: Bahamut error during staging)
MacPorts
noreply at macports.org
Tue Nov 27 15:49:04 PST 2012
#37151: bahamut: build fails; build system doesn't notice; proceeds to destroot,
which fails
-------------------------------+--------------------------------
Reporter: preston.sumner@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: bahamut |
-------------------------------+--------------------------------
Changes (by ryandesign@…):
* keywords: bahamut, installation =>
Old description:
> 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
New description:
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
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/37151#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list