Opened 11 years ago

Closed 11 years ago

#37061 closed defect (invalid)

tiff: build error

Reported by: white@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: tiff

Description

I'm running OSX 10.8.2 with version 2.1.2 of Macports and version 4.5.1 of Xcode, and I am trying to install kde4-kile. As Macports works through the dependencies it trips up at tiff:

--->  Fetching archive for tiff
--->  Attempting to fetch tiff-3.9.7_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/tiff
--->  Attempting to fetch tiff-3.9.7_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/tiff
--->  Attempting to fetch tiff-3.9.7_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/tiff
--->  Fetching distfiles for tiff
--->  Attempting to fetch tiff-3.9.7.tar.gz from ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/distfiles/
--->  Attempting to fetch tiff-3.9.7.tar.gz from ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/
--->  Attempting to fetch tiff-3.9.7.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/tiff
--->  Verifying checksum(s) for tiff
--->  Extracting tiff
--->  Configuring tiff
--->  Building tiff
Error: org.macports.build for port tiff returned: command execution failed
Error: Failed to install tiff
Please see the log file for port tiff for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_tiff/tiff/main.log

I have tried to clean and install the tiff libraries separately through macports, but this returns the same error:

sudo port clean tiff ; sudo port install tiff
--->  Cleaning tiff
--->  Computing dependencies for tiff
--->  Fetching archive for tiff
--->  Attempting to fetch tiff-3.9.7_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/tiff
--->  Attempting to fetch tiff-3.9.7_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/tiff
--->  Attempting to fetch tiff-3.9.7_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/tiff
--->  Fetching distfiles for tiff
--->  Verifying checksum(s) for tiff
--->  Extracting tiff
--->  Configuring tiff
--->  Building tiff
Error: org.macports.build for port tiff returned: command execution failed

Others in the department running OSX 10.8.2 have said that they can get the tiff libraries to build.

I've attached the log file for port tiff.

Attachments (1)

main.log (64.1 KB) - added by white@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by white@…

Attachment: main.log added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Port: kde4-kile removed

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Summary: Kde4-kile installation: failed to install tifftiff: build error

Error is:

:info:build /usr/include/c++/4.2.1/bits/stl_algo.h:66:10: fatal error: 'bits/stl_tempbuf.h' file not found
:info:build #include <bits/stl_tempbuf.h>     // for _Temporary_buffer
:info:build          ^
:info:build libtool: link: /usr/bin/clang -pipe -O2 -arch x86_64 -Wall -W -arch x86_64 -o mkg3states mkg3states.o  -L/opt/local/lib ../port/.libs/libport.a /opt/local/lib/libjpeg.dylib -lz -lc
:info:build 1 error generated.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

FYI it builds fine for me, granted with +universal, on Mac OS X 10.8.2 with Xcode 4.5.2.

$ port installed tiff
The following ports are currently installed:
  tiff @3.9.7_0+universal (active)

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

/usr/include/c++/4.2.1/bits/stl_tempbuf.h should exist. Does it? If not, reinstall Xcode command line tools.

comment:5 Changed 11 years ago by white@…

Hi,

Thanks for the replies. /usr/include/c++/4.2.1/bits/stl_tempbuf.h did not exist. I re-installed Xcode command line tools and the tiff libraries now build.

Thanks again.

comment:6 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.