Opened 10 days ago

Closed 9 days ago

Last modified 9 days ago

#70974 closed defect (duplicate)

tiff @4.7.0, variant +jbig, does not built on macOS Sonoma 14.6.1

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sonoma Cc:
Port: tiff

Description

libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../config -I../port -I../libtiff -I../port -DLERC_STATIC -DHAVE_JPEGTURBO_DUAL_MODE_8_12 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch x86_64 -Wall -W -MT tif_unix.lo -MD -MP -MF .deps/tif_unix.Tpo -c tif_unix.c -o tif_unix.o >/dev/null 2>&1
mv -f .deps/tif_zstd.Tpo .deps/tif_zstd.Plo
tif_stream.cxx:29:10: fatal error: 'iostream' file not found
   29 | #include <iostream>
      |          ^~~~~~~~~~
1 error generated.
make[2]: *** [tif_stream.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/tif_zip.Tpo .deps/tif_zip.Plo
mv -f .deps/tif_write.Tpo .deps/tif_write.Plo
mv -f .deps/tif_unix.Tpo .deps/tif_unix.Plo
mv -f .deps/tif_dirread.Tpo .deps/tif_dirread.Plo
mv -f .deps/tif_fax3.Tpo .deps/tif_fax3.Plo
libtool: link: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch x86_64 -Wall -W -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch x86_64 -o mkg3states mkg3states.o  -L/opt/local/lib ../port/.libs/libport.a -lzstd -llzma -lLerc -ljbig -ljpeg -ldeflate -lz
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_tiff/tiff/work/tiff-4.7.0/libtiff'

Attachments (1)

main.log (111.7 KB) - added by ballapete (Peter "Pete" Dyballa) 10 days ago.
Main.log from intel macOS Sonoma, 14.6.1

Download all attachments as: .zip

Change History (6)

Changed 10 days ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from intel macOS Sonoma, 14.6.1

comment:1 Changed 10 days ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Keywords: intel removed
Owner: set to ryandesign
Status: newaccepted

This sounds like #70750. Try the solution at ProblemHotlist#clts16.

comment:2 Changed 9 days ago by ballapete (Peter "Pete" Dyballa)

It does not work to upgrade, because:

port -v upgrade tiff
--->  Scanning binaries for linking errors
.dylib: Error opening or reading file (referenced from /opt/local/lib/pstoedit/libp2edrvmagick++.so)
Could not open libexpect5.45.4.dylib: Error opening or reading file (referenced from /opt/local/bin/expect)
libexpect5.45.4.dylib seems to be referenced using a relative path. This may be a problem with its canonical library name and require the use of install_name_tool(1) to fix.
--->  Found 2 broken files, matching files to ports
--->  Found 2 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 expect @5.45.4
 pstoedit @4.01

Is this AI built into port? I wouldn't wonder that it knows better than me…

comment:3 Changed 9 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: acceptedclosed

If you have fixed your command line tools following ProblemHotlist#clts16 and successfully built tiff, then this ticket is done. It is a duplicate of #70750.

The problem you're describing with expect is unrelated and tracked in #70935.

The problem with pstoedit will also be unrelated to the tiff problem. The one open ticket about pstoedit does not appear to relate to this problem either so you could file a new ticket about it.

comment:4 Changed 9 days ago by ballapete (Peter "Pete" Dyballa)

The actual problem is that port does work on tiff but decides to do something else. I simply have no permission to check whether the compiler problem from upgrading Xcode is solved.

comment:5 Changed 9 days ago by ryandesign (Ryan Carsten Schmidt)

If you ask MacPorts to install or upgrade tiff (or any port) and it goes straight to Scanning binaries for linking errors, that means tiff (or whatever port) is already installed or upgraded. After every install or upgrade, MacPorts does the "rev-upgrade" step which checks for any problems in your installed ports. In your case, it found problems in expect and pstoedit, which can be handled in other tickets.

Note: See TracTickets for help on using tickets.