[MacPorts] #20531: gdal build fails if pthsem is installed

Sean Fulton seanasy at gmail.com
Fri Aug 7 06:50:36 PDT 2009


I'll try to take a look at this this weekend, sorry for the delay.

Does pthsem replace pth entirely?

  Sean

On Sun, Aug 2, 2009 at 10:24 PM, MacPorts <noreply at macports.org> wrote:

> #20531: gdal build fails if pthsem is installed
>
> -------------------------------------+--------------------------------------
>  Reporter:  ryandesign@…             |       Owner:  seanasy@…
>     Type:  defect                   |      Status:  new
>  Priority:  Normal                   |   Milestone:
> Component:  ports                    |     Version:  1.7.1
>  Keywords:                           |        Port:  gdal
>
> -------------------------------------+--------------------------------------
>  Building gdal fails if pthsem is installed:
>
>  {{{
>  --->  Building gdal
>  DEBUG: Executing proc-pre-org.macports.build-build-0
>  DEBUG: Executing org.macports.build (gdal)
>  DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
>  DEBUG: Assembled command: 'cd
>
>  "/mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0"
>  && nice -n 10 make'
>  (cd port; make)
>  /bin/sh
>
>  /mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0/libtool
>  --mode=compile --tag=CXX /usr/bin/g++-4.0 -O2  -Wall  -DOGR_ENABLED
>  -I/mp/include -I/mp/include
>
>  -I/mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0/port
>  -I/mp -I/mp/include -I/mp -I/mp/include -I/mp/include -I/mp/include -I/mp
>  -I/mp/include     -I../frmts/zlib -DHAVE_LIBZ -c -o cpl_conv.o
>  cpl_conv.cpp
>  libtool: compile:  /usr/bin/g++-4.0 -O2 -Wall -DOGR_ENABLED -I/mp/include
>  -I/mp/include
>
>  -I/mp/var/macports/build/_Users_rschmidt_macports_dports_science_gdal/work/gdal-1.6.0/port
>  -I/mp -I/mp/include -I/mp -I/mp/include -I/mp/include -I/mp/include -I/mp
>  -I/mp/include -I../frmts/zlib -DHAVE_LIBZ -c cpl_conv.cpp  -fno-common
>  -DPIC -o .libs/cpl_conv.o
>  /mp/include/pthread.h:286: error: conflicting declaration 'typedef struct
>  pthread_attr_st* pthread_attr_t'
>  /usr/include/sys/signal.h:163: error: 'pthread_attr_t' has a previous
>  declaration as 'typedef struct __darwin_pthread_attr_t pthread_attr_t'
>  make[1]: *** [cpl_conv.o] Error 1
>  make: *** [port-target] Error 2
>  }}}
>
>  It works if I uninstall pthsem, clean gdal and try again. Maybe gdal can
>  insulate itself from this somehow.
>
> --
> Ticket URL: <http://trac.macports.org/ticket/20531>
> MacPorts <http://www.macports.org/>
> Ports system for Mac OS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090807/6991adba/attachment-0001.html>


More information about the macports-dev mailing list