ports/166370: [patch] ports/unreal does not build on system without IPv6 support
Svyatoslav Lempert
svyatoslav.lempert at gmail.com
Sat Mar 24 07:40:07 UTC 2012
>Number: 166370
>Category: ports
>Synopsis: [patch] ports/unreal does not build on system without IPv6 support
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 24 07:40:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Svyatoslav Lempert
>Release: 8.2-STABLE
>Organization:
>Environment:
>Description:
IPV6 is not enabled in make config
[ ] IPV6 Enable ipv6 support
but
checking for compiler option to produce PIC... -fPIC -DPIC -shared
checking if your system prepends an underscore on symbols... no
checking if your system has IPv6 support... no
configure: error: Your system does not support IPv6 so it will not be enabled
===> Script "configure" failed unexpectedly.
Please report the problem to tanawts at gmail.com [maintainer] and attach the
"/usr/ports/irc/unreal/work/Unreal3.2/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/irc/unreal.
*** Error code 1
>How-To-Repeat:
Build kernel without IPv6 and try build unrealircd port
# ifconfig
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>
ether 00:1e:67:15:a4:b0
inet 188.xx.xx.xx netmask 0xffffffff broadcast 188.xx.xx.xx
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
igb1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>
ether 00:1e:67:15:a4:b1
media: Ethernet autoselect
status: no carrier
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
>Fix:
Apply patch to port
Patch attached with submission follows:
diff -Nru unreal.old/Makefile unreal/Makefile
--- unreal.old/Makefile 2011-12-28 21:13:37.000000000 +0900
+++ unreal/Makefile 2012-03-24 16:15:12.000000000 +0900
@@ -131,6 +131,7 @@
.if defined(WITH_SQLMOD)
@${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch
.endif
+ @${REINPLACE_CMD} -e "/Your system does not support IPv6/ s|as_fn_error|echo|" ${WRKSRC}/configure
do-install:
${INSTALL} -m 0700 ${WRKSRC}/src/ircd ${PREFIX}/libexec/ircd
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list