[MacPorts] #30690: libptp2: parallel build failure (was: libptp2 cannot be installed)

MacPorts noreply at macports.org
Wed Aug 10 01:34:10 PDT 2011


#30690: libptp2: parallel build failure
----------------------------------+-----------------------------------------
 Reporter:  newchief@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.0.1                                
 Keywords:                        |        Port:  libptp2                              
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

  * port:  => libptp2


Old description:

> build log says:
>
> :info:build make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libptp2/libptp2/work/libptp2-1.1.10'
> :info:build Making all in src
> :info:build make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libptp2/libptp2/work/libptp2-1.1.10/src'
> :info:build if /bin/sh ../libtool --tag=CC --mode=compile
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include
> -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes
> -MT ptp.lo -MD -MP -MF ".deps/ptp.Tpo" -c -o ptp.lo ptp.c; \
> :info:build     then mv -f ".deps/ptp.Tpo" ".deps/ptp.Plo"; else rm -f
> ".deps/ptp.Tpo"; exit 1; fi
> :info:build if /bin/sh ../libtool --tag=CC --mode=compile
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include
> -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes
> -MT properties.lo -MD -MP -MF ".deps/properties.Tpo" -c -o properties.lo
> properties.c; \
> :info:build     then mv -f ".deps/properties.Tpo" ".deps/properties.Plo";
> else rm -f ".deps/properties.Tpo"; exit 1; fi
> :info:build mkdir .libs
> :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
> -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
> -Wmissing-prototypes -MT ptp.lo -MD -MP -MF .deps/ptp.Tpo -c ptp.c  -fno-
> common -DPIC -o .libs/ptp.o
> :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
> -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
> -Wmissing-prototypes -MT properties.lo -MD -MP -MF .deps/properties.Tpo
> -c properties.c  -fno-common -DPIC -o .libs/properties.o
> :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
> -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
> -Wmissing-prototypes -MT properties.lo -MD -MP -MF .deps/properties.Tpo
> -c properties.c -o properties.o >/dev/null 2>&1
> :info:build if /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
> -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -Wall
> -Wmissing-declarations -Wmissing-prototypes -MT ptpcam-ptpcam.o -MD -MP
> -MF ".deps/ptpcam-ptpcam.Tpo" -c -o ptpcam-ptpcam.o `test -f 'ptpcam.c'
> || echo './'`ptpcam.c; \
> :info:build     then mv -f ".deps/ptpcam-ptpcam.Tpo" ".deps/ptpcam-
> ptpcam.Po"; else rm -f ".deps/ptpcam-ptpcam.Tpo"; exit 1; fi
> :info:build ptpcam.c:699: warning: no previous prototype for â
> :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
> -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
> -Wmissing-prototypes -MT ptp.lo -MD -MP -MF .deps/ptp.Tpo -c ptp.c -o
> ptp.o >/dev/null 2>&1
> :info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2
> -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes
> -L/opt/local/lib -arch x86_64 -Wall -o ptpcam  ptpcam-ptpcam.o -lptp2
> -L/opt/local/lib -lusb
> :info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -Wall -Wmissing-
> declarations -Wmissing-prototypes -arch x86_64 -Wall -o ptpcam ptpcam-
> ptpcam.o  -L/opt/local/lib -lptp2 /opt/local/lib/libusb.dylib
> /opt/local/lib/libusb-1.0.dylib
> :info:build ld: library not found for -lptp2
> :info:build collect2: ld returned 1 exit status
> :info:build make[2]: *** [ptpcam] Error 1

New description:

 build log says:

 {{{
 :info:build make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libptp2/libptp2/work/libptp2-1.1.10'
 :info:build Making all in src
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libptp2/libptp2/work/libptp2-1.1.10/src'
 :info:build if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -pipe -O2 -arch
 x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT ptp.lo -MD
 -MP -MF ".deps/ptp.Tpo" -c -o ptp.lo ptp.c; \
 :info:build     then mv -f ".deps/ptp.Tpo" ".deps/ptp.Plo"; else rm -f
 ".deps/ptp.Tpo"; exit 1; fi
 :info:build if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include  -pipe -O2 -arch
 x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes -MT properties.lo
 -MD -MP -MF ".deps/properties.Tpo" -c -o properties.lo properties.c; \
 :info:build     then mv -f ".deps/properties.Tpo" ".deps/properties.Plo";
 else rm -f ".deps/properties.Tpo"; exit 1; fi
 :info:build mkdir .libs
 :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
 -Wmissing-prototypes -MT ptp.lo -MD -MP -MF .deps/ptp.Tpo -c ptp.c  -fno-
 common -DPIC -o .libs/ptp.o
 :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
 -Wmissing-prototypes -MT properties.lo -MD -MP -MF .deps/properties.Tpo -c
 properties.c  -fno-common -DPIC -o .libs/properties.o
 :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
 -Wmissing-prototypes -MT properties.lo -MD -MP -MF .deps/properties.Tpo -c
 properties.c -o properties.o >/dev/null 2>&1
 :info:build if /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -Wall
 -Wmissing-declarations -Wmissing-prototypes -MT ptpcam-ptpcam.o -MD -MP
 -MF ".deps/ptpcam-ptpcam.Tpo" -c -o ptpcam-ptpcam.o `test -f 'ptpcam.c' ||
 echo './'`ptpcam.c; \
 :info:build     then mv -f ".deps/ptpcam-ptpcam.Tpo" ".deps/ptpcam-
 ptpcam.Po"; else rm -f ".deps/ptpcam-ptpcam.Tpo"; exit 1; fi
 :info:build ptpcam.c:699: warning: no previous prototype for â
 :info:build  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I..
 -I/opt/local/include -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations
 -Wmissing-prototypes -MT ptp.lo -MD -MP -MF .deps/ptp.Tpo -c ptp.c -o
 ptp.o >/dev/null 2>&1
 :info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2
 -pipe -O2 -arch x86_64 -Wall -Wmissing-declarations -Wmissing-prototypes
 -L/opt/local/lib -arch x86_64 -Wall -o ptpcam  ptpcam-ptpcam.o -lptp2
 -L/opt/local/lib -lusb
 :info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -Wall -Wmissing-
 declarations -Wmissing-prototypes -arch x86_64 -Wall -o ptpcam ptpcam-
 ptpcam.o  -L/opt/local/lib -lptp2 /opt/local/lib/libusb.dylib
 /opt/local/lib/libusb-1.0.dylib
 :info:build ld: library not found for -lptp2
 :info:build collect2: ld returned 1 exit status
 :info:build make[2]: *** [ptpcam] Error 1
 }}}

--

Comment:

 Please remember to use WikiFormatting and to preview before submitting,
 and to fill in the Port field.

 Thank you for finding the workaround.

-- 
Ticket URL: <https://trac.macports.org/ticket/30690#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list