graphics/p5-Geo-GDAL: Does not build on CURRENT

Rainer Hurling rhurlin at gwdg.de
Thu Sep 5 10:57:50 UTC 2013


Nobody else seeing this error on recent 10.0-CURRENT (amd64, clang)?

Thanks in advance for any help,
Rainer Hurling


#make -DMAKE_JOBS_UNSAFE=yes
===>  License MIT accepted by the user
===> Fetching all distfiles required by p5-Geo-GDAL-1.10.1 for building
===>  Extracting for p5-Geo-GDAL-1.10.1
=> SHA256 Checksum OK for gdal-1.10.1.tar.gz.
===>  Patching for p5-Geo-GDAL-1.10.1
===>   p5-Geo-GDAL-1.10.1 depends on file: /usr/local/bin/perl5.16.3 - found
===>   p5-Geo-GDAL-1.10.1 depends on shared library: gdal - found
===>  Configuring for p5-Geo-GDAL-1.10.1
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/m4/acinclude.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/frmts/grass/pkg/configure
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/frmts/grass/pkg/aclocal.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/frmts/iso8211/aclocal.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/frmts/sdts/aclocal.m4
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/configure
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/aclocal.m4
===>  Building for p5-Geo-GDAL-1.10.1
--- Makefile_Geo__GDAL ---
perl Makefile.PL INSTALL_BASE=
Found /usr/local/bin/gdal-config
Using /usr/local/bin/gdal-config.
Building against GDAL defined in /usr/local/bin/gdal-config
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile_Geo__OGR for Geo::OGR
Writing MYMETA.yml and MYMETA.json
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile_Geo__GDAL__Const for Geo::GDAL::Const
Writing MYMETA.yml and MYMETA.json
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile_Geo__OSR for Geo::OSR
Writing MYMETA.yml and MYMETA.json
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile_Geo__GDAL for Geo::GDAL
Writing MYMETA.yml and MYMETA.json
--- build ---
/usr/bin/make -f Makefile_Geo__GDAL
--- blib/lib/Geo/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/Geo/GDAL/.exists ---
--- blib/arch/auto/Geo/GDAL/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- subdirs ---
--- GDAL.bs ---
Running Mkbootstrap for Geo::GDAL ()
--- gdal_wrap.o ---
cc -c  -I/usr/local/include
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -O2 -pipe -fno-strict-aliasing
-DVERSION=\"1.9911\"  -DXS_VERSION=\"1.9911\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.16/mach/CORE"   gdal_wrap.cpp
--- GDAL.bs ---
chmod 644 GDAL.bs
--- pm_to_blib ---
cp lib/Geo/OGR.pm blib/lib/Geo/OGR.pm
cp lib/Geo/GDAL/Const.pm blib/lib/Geo/GDAL/Const.pm
cp lib/Geo/GDAL.pm blib/lib/Geo/GDAL.pm
cp lib/Geo/OSR.pm blib/lib/Geo/OSR.pm
--- blibdirs ---
--- blib/arch/auto/Geo/GDAL/GDAL.bs ---
cp GDAL.bs blib/arch/auto/Geo/GDAL/GDAL.bs
chmod 644 blib/arch/auto/Geo/GDAL/GDAL.bs
--- config ---
--- gdal_wrap.o ---
gdal_wrap.cpp:4500:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:4648:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg2 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:4719:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:4806:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:5173:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:5251:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:5353:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:5420:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:5543:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:5639:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:6293:16: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
      while(sv = hv_iternextsv(hv,&key,&klen)) {
            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:6293:16: note: place parentheses around the assignment to
silence this warning
      while(sv = hv_iternextsv(hv,&key,&klen)) {
               ^
            (                                )
gdal_wrap.cpp:6293:16: note: use '==' to turn this assignment into an
equality comparison
      while(sv = hv_iternextsv(hv,&key,&klen)) {
               ^
               ==
gdal_wrap.cpp:6902:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg2 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:6967:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:6967:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:6967:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:7059:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg2 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:7110:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:7110:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:7110:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:7215:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg2 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:11795:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:11795:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:11795:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:13330:22: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                  ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:13330:22: note: place parentheses around the assignment to
silence this warning
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                     ^
                  (                                )
gdal_wrap.cpp:13330:22: note: use '==' to turn this assignment into an
equality comparison
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                     ^
                     ==
gdal_wrap.cpp:16091:22: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                  ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:16091:22: note: place parentheses around the assignment to
silence this warning
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                     ^
                  (                                )
gdal_wrap.cpp:16091:22: note: use '==' to turn this assignment into an
equality comparison
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                     ^
                     ==
gdal_wrap.cpp:18747:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:18747:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:18747:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:18937:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:18937:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:18937:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:19121:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:19121:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:19121:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:19285:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:19285:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:19285:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:19454:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:19454:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:19454:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:20007:22: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                  ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:20007:22: note: place parentheses around the assignment to
silence this warning
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                     ^
                  (                                )
gdal_wrap.cpp:20007:22: note: use '==' to turn this assignment into an
equality comparison
            while(sv = hv_iternextsv(hv,&key,&klen)) {
                     ^
                     ==
gdal_wrap.cpp:20671:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:20671:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:20671:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:22007:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:22129:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:22249:12: error: assigning to 'char *' from incompatible
type 'const char *'
      arg1 = (const char *)"";
           ^ ~~~~~~~~~~~~~~~~
gdal_wrap.cpp:22281:24: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdal_wrap.cpp:22281:24: note: place parentheses around the assignment to
silence this warning
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                    (                                )
gdal_wrap.cpp:22281:24: note: use '==' to turn this assignment into an
equality comparison
              while(sv = hv_iternextsv(hv,&key,&klen)) {
                       ^
                       ==
gdal_wrap.cpp:22953:1: warning: duplicate 'extern' declaration specifier
[-Wduplicate-decl-specifier]
XS(SWIG_init) {
^
/usr/local/lib/perl5/5.16/mach/CORE/XSUB.h:156:18: note: expanded from
macro 'XS'
#define XS(name) XS_EXTERNAL(name)
                 ^
/usr/local/lib/perl5/5.16/mach/CORE/XSUB.h:145:33: note: expanded from
macro 'XS_EXTERNAL'
#      define XS_EXTERNAL(name) extern "C" XSPROTO(name)
                                ^
15 warnings and 16 errors generated.
*** [gdal_wrap.o] Error code 1

make[2]: stopped in
/usr/ports/graphics/p5-Geo-GDAL/work/gdal-1.10.1/swig/perl
1 error


More information about the freebsd-ports mailing list