>> Needs TEST_DEPENDS on databases/py-psycopg2
>
> After adding this, the tests which were FAILing change state to
> SKIP. The error message relating to their SKIP state, indicated
> PG template0 database encoding was ASCII vs expected UTF8.
>
> Patching databases/postgresql/postgresql.port.mk[1] to accept
> an encoding to be specified in port's Makefile. Now more tests
> PASS:
>
> # TOTAL: 18
> # PASS:  6
> # SKIP:  1
> # XFAIL: 0
> # FAIL:  11
> # XPASS: 0
> # ERROR: 0
>
> Those which FAIL claim "Out of memory" (see attached test-suite.log).
>
> I tried building with DEBUG="-g -O0", and the test results vary
> slightly:
>
> # TOTAL: 18
> # PASS:  7
> # SKIP:  2
> # XFAIL: 0
> # FAIL:  9
> # XPASS: 0
> # ERROR: 0
>
> I can play with these tests later.
>
> New tar-ball with suggested changes from Landry:
> - Get rid of AUTO_ENV
> - MODULE=gcc4 sets up proper links in ${WRKDIR}/bin for c++, cc,
>   g++, gcc.
> - TEST_DEPENDS = databases/py-psycopg2
>
> My "hack" for ensuring test-PG database uses UTF8 encoding:
> - MODPOSTGRESQL_TEST_PGENCODING = -E UTF8
>
> Thoughts, comments, etc?


I think this is a problem, and I can't quite guess how this
became:

$ ldd /usr/local/bin/osm2pgsql | grep stdc++
        00001c0e00869000 00001c0e00d7f000 rlib 0    6   0
/usr/lib/libstdc++.so.57.0
        00001c0e48dcc000 00001c0e492fa000 rlib 0    1   0
/usr/local/lib/libestdc++.so.17.0


The libestdc++ (from /usr/local/lib) is because the port is
built using gcc 4.9.3, but where is the base libstdc++ coming
from?

Is it from a dependency port which was built using base compiler?

--patrick

Reply via email to