Anyone know why I’m getting this error? I'm trying to install haproxy into a jail on Virtualbox with FreeBSD as host. The first few time I tried with /usr/ports/net/haproxy. Afterwards I found all of it dependencies and installed them first. Then I installed /usr/ports/sysutils/hatop which is especially required by haproxy. I had no problem installing ports for other web applications so far until now.
There are 3654 warning.
With the crazy ones looking like this to near end of the install ...
Line: 11801 - -> Line: 21752
That's a lot.
Pointer errors?
Code:
warning:
taking address of packed member 'branches' of class or structure
'eb_node' may result in an unaligned pointer value [-Waddress-of-packed-member]
root->b[side] = eb_dotag(&new->node.branches, EB_NODE);
^~~~~~~~~~~~~~~~~~
59 warnings generated.
gmake[2]: Leaving directory '/ram/usr/ports/net/haproxy/work/haproxy-1.7.9/contrib/halog'
===> Staging for haproxy-1.7.9
===> haproxy-1.7.9 depends on file: /usr/local/lib/libcrypto.so.42 - found
===> Generating temporary packing list
install -s -m 555 /ram/usr/ports/net/haproxy/work/haproxy-1.7.9/haproxy /ram/usr/ports/net/haproxy/work/stage/usr/local/sbin/
install -s -m 555 /ram/usr/ports/net/haproxy/work/haproxy-1.7.9/contrib/halog/halog /ram/usr/ports/net/haproxy/work/stage/usr/local/sbin/
install -m 444 /ram/usr/ports/net/haproxy/work/haproxy-1.7.9/doc/haproxy.1 /ram/usr/ports/net/haproxy/work/stage/usr/local/man/man1
/bin/mkdir -p /ram/usr/ports/net/haproxy/work/stage/usr/local/share/doc/haproxy
(cd /ram/usr/ports/net/haproxy/work/haproxy-1.7.9/doc/ && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE \* /ram/usr/ports/net/haproxy/work/stage/usr/local/share/doc/haproxy)
*** Error code 127
Stop.
make[1]: stopped in /usr/ports/net/haproxy
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/hatop
#
There are 3654 warning.
With the crazy ones looking like this to near end of the install ...
Line: 11801 - -> Line: 21752
That's a lot.
Code:
:ebtree/ebmbtree.h 'branches' :from resultresult300 of :134 ininwarning14 class : :to anan or -122 unalignedunalignedtaking
structure warning pointerpointeraddress: [-Wconstant-conversion]'eb_node'
valuevalueof
taking *msg_type = PEER_MSG_STKT_INCUPDATE_TIMED;may[-Waddress-of-packed-member][-Waddress-of-packed-member]packed
addressresult
member ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ up_ptr = &old->node.node_p; up_ptr = &old->node.node_p; of
in
'branches' packedan ^~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~of src/peers.c
member:unalignedclass 259 'node_p':pointerebtree/eb32tree.hebtree/ebmbtree.hor 16 :: of:value438300structure :: class[-Waddress-of-packed-member]1114'eb_node' :: orwarning
may : new_left = eb_dotag(&new->node.branches, EB_LEFT);
structure
warningwarningresult'eb_node'implicit ^~~~~~~~~~~~~~~~~~: :
inmayconversion
takingtakingan fromebtree/eb32tree.h result :addressaddressunaligned 'int'444 in :ofofpointer to23 an :packedpackedvalue 'char' unaligned membermember[-Waddress-of-packed-member] changes pointer warning'branches''node_p'
value: head->branches.b[EB_RGHT] = eb_dotag(&new->branches, EB_NODE);value ofof
from [-Waddress-of-packed-member] takingclassclass ^~~~~~~~~~~~~128
Pointer errors?