Opened 5 years ago

Closed 5 years ago

#59962 closed defect (fixed)

simage @1.7.0+quicktime: fatal error: 'QuickTime/ImageCompression.h' file not found

Reported by: TheLastLovemark Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: simage

Description

Tried port -v install simage +quicktime +universal and it failed.

Noticed there was only one error reported: simage_quicktime.c:5:10: fatal error: 'QuickTime/ImageCompression.h' file not found

I attempted to install libquicktime. That failed too (creating a ticket for that as well).

Log file attached

Attachments (1)

simage-main.log (38.2 KB) - added by TheLastLovemark 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by TheLastLovemark

Attachment: simage-main.log added

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: port -v install simage +quicktime +universal build fails. QuickTime/ImageCompression.h file not foundsimage @1.7.0+quicktime: fatal error: 'QuickTime/ImageCompression.h' file not found

Then don't use the +quicktime variant. It requires the macOS QuickTime framework which Apple deprecated years ago; I think the OS X 10.11 SDK was the last to support it.

Why did you think installing libquicktime would help? If simage had required that, it would have declared a dependency on it.

comment:2 Changed 5 years ago by TheLastLovemark

#59963 is fixed by #40464, but this does nothing for the port +variant mentioned here (simage +quicktime)

comment:3 Changed 5 years ago by TheLastLovemark

I have an idea, but I need some information first.

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_simage/simage/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/simage/simage-1.7.0.tar.gz' | /usr/bin/tar -xf - 
--->  Configuring simage
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_simage/simage/work/simage-1.7.0" && ./configure --prefix=/opt/local --disable-dependency-tracking --with-libsndfile=/opt/local --enable-quicktime 
checking build system type... i386-apple-darwin17.7.0
checking host system type... i386-apple-darwin17.7.0
checking target system type... i386-apple-darwin17.7.0
checking for gcc... /usr/bin/clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ANSI C... none needed
checking for /usr/bin/clang option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking if fink is available... no
checking whether we should build Universal Binaries... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... none
checking dependency style of /usr/bin/clang++... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for egrep... grep -E
checking for ld used by /usr/bin/clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /opt/local/bin/nm -B output from /usr/bin/clang object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common
checking if /usr/bin/clang PIC flag -fno-common works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking whether the /usr/bin/clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common
checking if /usr/bin/clang++ PIC flag -fno-common works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking whether the /usr/bin/clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fno-common
checking if gfortran PIC flag -fno-common works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin17.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking if user is simian... probably not
checking for unistd.h... (cached) yes
checking for QuickTime framework... failure
checking for CGImage framework... success (-Wl,-framework,CoreFoundation -Wl,-framework,ApplicationServices)
checking for Ogg Vorbis... yes
checking for libsndfile... yes
checking for dlfcn.h... (cached) yes
checking for guile... false
checking for __declspec() support... not available

What folders are these checks performed on? Particularly, the QuickTime check.

I think the solution might be similar to #59938 (comments 6–9) but I need to know what folder to put QuickTime.framework into.

Last edited 5 years ago by TheLastLovemark (previous) (diff)

comment:4 Changed 5 years ago by jmroot (Joshua Root)

You'd have to read the configure script to find out exactly what it's doing. But the compiler failing to find the header would be looking in its default framework search paths as well as any specified with the -F option. It checks in the Headers of the frameworks in /System/Library (possibly inside the SDK). But having the headers won't help you because no 64-bit QuickTime framework exists, so you still won't be able to link with +universal anyway.

comment:5 Changed 5 years ago by TheLastLovemark

ok. I guess this can be closed as "won't fix" then. \

comment:6 Changed 5 years ago by TheLastLovemark

any reason this is still open?

Last edited 5 years ago by TheLastLovemark (previous) (diff)

comment:7 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Maybe it would be a good idea to make the +quicktime variant emit a more helpful error message if we can tell in advance that it will not build (e.g. if the macOS SDK is greater than 10.11).

comment:8 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 65180b611dad2da7fff14cdde33d54b07660065d/macports-ports (master):

simage: Error early for +quicktime if incompatible

Closes: #59962

Note: See TracTickets for help on using tickets.