On Tue, Dec 27, 2016 at 09:49:58PM -0700, phess...@openbsd.org wrote:

> http://build-failures.rhaalovely.net//arm/2016-12-20/devel/codeblocks.log

And in this port, the failure message apparently comes from ld(1):

app.cpp:  undefined reference to `wxString::FormatV(wchar_t const*, 
std::__va_list)'

I tried USE_LIBTOOL=gnu, and it also produced this error message so I
could recreate the problem.  I am unsure of its root cause.

I recommend the port be marked BROKEN-arm until someone smarter than
me has time to review the link error.  A diff (which also eliminates a
trailing whitespace) is attached containing this recommendation.

Please note: portcheck(1) doesn't like that both the port's Makefile 
and pkg/DESC are chmod 755. That dates from the initial commit in
2009.

---

The testing of gnu libtool on amd64 showed that it solved one
outstanding problem on but unfortunately it also introduced three
new ones.

        Solved: removed an outstanding stdc++ in front of estdc++ for
                libwxsmith.

        New:    missing symbols in libThreadSearch, liblib_finder, and
                libwxsmithcontribitems.

Comparing the logs between builds with libtool(1) and builds with gnu
libtoo, I don't see anything that would cause the symbols to be
eliminated when these three libs are linked.  I also do not understand
the source of the large number of WANTLIBs that were deemed extra by
port-lib-depends-check.
 
Operationally the only difference (other than these three broken libs) 
is that the gnu libtool builds shared libs only rather than both static
and shared.  The port eliminates the static libraries as they are not
used, but I noted that if I set LIBTOOL_FLAGS=-static, I could get
correctly built static libraries.


  -Josh- 
Index: Makefile
===================================================================
RCS file: /systems/cvs/ports/devel/codeblocks/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile    18 Mar 2016 23:12:16 -0000      1.33
+++ Makefile    2 Jan 2017 03:04:10 -0000
@@ -1,6 +1,8 @@
 # $OpenBSD: Makefile,v 1.33 2016/03/18 23:12:16 naddy Exp $
 
 BROKEN-alpha=  sqvm.cpp:394:1: internal compiler error: Segmentation fault
+BROKEN-arm=    app.cpp:  undefined reference to `wxString::FormatV(wchar_t 
const*, std::__va_list)'
+
 COMMENT=       Code::Blocks C/C++ IDE
 
 V=             16.01
@@ -77,7 +79,7 @@ CONFIGURE_ARGS=       --with-contrib-plugins=a
 MAKE_ENV=      AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
                AUTOCONF_VERSION=${AUTOCONF_VERSION}
 
-pre-patch: 
+pre-patch:
        cd ${WRKSRC}; \
        env \
        AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \

Reply via email to