Opened 11 months ago

Closed 3 months ago

#67489 closed defect (fixed)

freeimage @3.18.0: PluginBMP.cpp: error: ‘bpp’ was not declared in this scope

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: powerpc Cc:
Port: freeimage

Description

version:1
:debug:main Starting logging for freeimage @3.18.0_0
:debug:sysinfo Mac OS X 10.6.8 (darwin/10.8.0) arch powerpc
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode 3.2.6, CLT 1.0.0.9000000000.1.1248867338
:debug:sysinfo SDK 10.6
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.6
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/freeimage/work
:debug:main dropping privileges: euid changed to 502, egid changed to 505.
:debug:main Executing org.macports.main (freeimage)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Wed May 24 15:02:10 MYT 2023
:debug:archivefetch Executing org.macports.archivefetch (freeimage)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Wed May 24 15:02:11 MYT 2023
:notice:fetch --->  Fetching distfiles for freeimage
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 502, egid changed to 505.
:debug:fetch Executing org.macports.fetch (freeimage)
:info:fetch --->  FreeImage3180.zip does not exist in /opt/local/var/macports/distfiles/freeimage
:notice:fetch --->  Attempting to fetch FreeImage3180.zip from http://distfiles.macports.org/freeimage
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Wed May 24 15:02:32 MYT 2023
:notice:checksum --->  Verifying checksums for freeimage
:debug:checksum Executing org.macports.checksum (freeimage)
:info:checksum --->  Checksumming FreeImage3180.zip
:debug:checksum Calculated (rmd160) is b791715fccf49355a3cb27b6250d8ed809c2454e
:debug:checksum Correct (rmd160) checksum for FreeImage3180.zip
:debug:checksum Calculated (sha256) is f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd
:debug:checksum Correct (sha256) checksum for FreeImage3180.zip
:debug:checksum Calculated (size) is 7415716
:debug:checksum Correct (size) checksum for FreeImage3180.zip
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Wed May 24 15:02:32 MYT 2023
:notice:extract --->  Extracting freeimage
:debug:extract setting option extract.cmd to /usr/bin/unzip
:debug:extract setting option extract.pre_args to -q
:debug:extract setting option extract.post_args to {-d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work}
:debug:extract Executing org.macports.extract (freeimage)
:info:extract --->  Extracting FreeImage3180.zip
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/freeimage/FreeImage3180.zip'
:debug:extract Environment: 
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract DEVELOPER_DIR='/Developer'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.6'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work" && /usr/bin/unzip -q '/opt/local/var/macports/distfiles/freeimage/FreeImage3180.zip' -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work 
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work" && /usr/bin/unzip -q '/opt/local/var/macports/distfiles/freeimage/FreeImage3180.zip' -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work to macports
:debug:extract euid/egid changed to: 502/505
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Wed May 24 15:02:33 MYT 2023
:debug:patch Executing org.macports.patch (freeimage)
:notice:patch --->  Applying patches to freeimage
:info:patch --->  Applying patch-c99-fixes.diff
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Developer'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.6'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/freeimage/files/patch-c99-fixes.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/freeimage/files/patch-c99-fixes.diff'
:info:patch patching file Source/LibJXR/image/sys/strcodec.c
:info:patch patching file Source/LibJXR/image/sys/strcodec.h
:info:patch patching file Source/LibJXR/jxrgluelib/JXRGlueJxr.c
:info:patch Hunk #1 succeeded at 27 with fuzz 1.
:info:patch patch unexpectedly ends in middle of line
:info:patch patch unexpectedly ends in middle of line
:debug:patch Executing proc-post-org.macports.patch-patch-0
:info:patch --->  Patching Makefile.fip: s/\.so/.dylib/
:debug:patch Executing reinplace: /usr/bin/sed {s/\.so/.dylib/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: s/\.so/.dylib/
:debug:patch Executing reinplace: /usr/bin/sed {s/\.so/.dylib/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.fip: /^SHAREDLIB/s/-/./
:debug:patch Executing reinplace: /usr/bin/sed /^SHAREDLIB/s/-/./ </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: /^SHAREDLIB/s/-/./
:debug:patch Executing reinplace: /usr/bin/sed /^SHAREDLIB/s/-/./ </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.fip: s/\$(AR) r/libtool -o/
:debug:patch Executing reinplace: /usr/bin/sed {s/\$(AR) r/libtool -o/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: s/\$(AR) r/libtool -o/
:debug:patch Executing reinplace: /usr/bin/sed {s/\$(AR) r/libtool -o/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.fip: s/-o root -g root//
:debug:patch Executing reinplace: /usr/bin/sed {s/-o root -g root//} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: s/-o root -g root//
:debug:patch Executing reinplace: /usr/bin/sed {s/-o root -g root//} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.fip: s|-shared -Wl,-soname,$(VERLIBNAME)|-dynamiclib -install_name $(PREFIX)/lib/$(VERLIBNAME) -compatibility_version $(VER_MAJOR) -current_version $(VER_MAJOR).$(VER_MINOR)|
:debug:patch Executing reinplace: /usr/bin/sed {s|-shared -Wl,-soname,$(VERLIBNAME)|-dynamiclib -install_name $(PREFIX)/lib/$(VERLIBNAME) -compatibility_version $(VER_MAJOR) -current_version $(VER_MAJOR).$(VER_MINOR)|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: s|-shared -Wl,-soname,$(VERLIBNAME)|-dynamiclib -install_name $(PREFIX)/lib/$(VERLIBNAME) -compatibility_version $(VER_MAJOR) -current_version $(VER_MAJOR).$(VER_MINOR)|
:debug:patch Executing reinplace: /usr/bin/sed {s|-shared -Wl,-soname,$(VERLIBNAME)|-dynamiclib -install_name $(PREFIX)/lib/$(VERLIBNAME) -compatibility_version $(VER_MAJOR) -current_version $(VER_MAJOR).$(VER_MINOR)|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.fip: s/-D__ANSI__/-D__ANSI__ -DHAVE_UNISTD_H/
:debug:patch Executing reinplace: /usr/bin/sed {s/-D__ANSI__/-D__ANSI__ -DHAVE_UNISTD_H/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: s/-D__ANSI__/-D__ANSI__ -DHAVE_UNISTD_H/
:debug:patch Executing reinplace: /usr/bin/sed {s/-D__ANSI__/-D__ANSI__ -DHAVE_UNISTD_H/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.fip: /\$(LIBRARIES)/s/$(CC)/$(CXX)/
:debug:patch Executing reinplace: /usr/bin/sed {/\$(LIBRARIES)/s/$(CC)/$(CXX)/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: /\$(LIBRARIES)/s/$(CC)/$(CXX)/
:debug:patch Executing reinplace: /usr/bin/sed {/\$(LIBRARIES)/s/$(CC)/$(CXX)/} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.fip: /^LIBRARIES/s/-lstdc++//
:debug:patch Executing reinplace: /usr/bin/sed /^LIBRARIES/s/-lstdc++// </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.fip
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: /^LIBRARIES/s/-lstdc++//
:debug:patch Executing reinplace: /usr/bin/sed /^LIBRARIES/s/-lstdc++// </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:info:patch --->  Patching Makefile.gnu: s/ldconfig//
:debug:patch Executing reinplace: /usr/bin/sed s/ldconfig// </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/Makefile.gnu
:debug:patch euid/egid changed to: 502/505
:debug:patch Executing proc-post-org.macports.patch-patch-1
:info:patch --->  Patching Makefile: s:g++:/usr/bin/g++-4.2 -arch ppc:
:debug:patch Executing reinplace: /usr/bin/sed {s:g++:/usr/bin/g++-4.2 -arch ppc:} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/TestAPI/Makefile >@file13
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/TestAPI/Makefile to macports
:debug:patch euid/egid changed to: 502/505
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage/TestAPI/Makefile
:debug:patch euid/egid changed to: 502/505
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Wed May 24 15:02:34 MYT 2023
:notice:configure --->  Configuring freeimage
:debug:configure Preferred compilers: gcc-4.2 llvm-gcc-4.2 clang gcc-4.0 macports-gcc-12 macports-gcc-11 macports-gcc-10 macports-gcc-9 macports-gcc-8 macports-gcc-7 macports-gcc-6 macports-gcc-5 macports-clang-11 macports-clang-10 macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0 macports-clang-3.7 macports-clang-3.4
:debug:configure Using compiler 'Xcode GCC 4.2'
:debug:configure Executing org.macports.configure (freeimage)
:debug:configure Executing portconfigure::configure_finish
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed May 24 15:02:34 MYT 2023
:notice:build --->  Building freeimage
:debug:build Executing org.macports.build (freeimage)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build CPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:build C_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:build DEVELOPER_DIR='/Developer'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.6'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage" && /usr/bin/make -j8 -w all -f Makefile.gnu PREFIX=/opt/local VERLIBNAME=libfreeimage.3.dylib CC="/usr/bin/gcc-4.2 -I/opt/local/include/LegacySupport -Os -arch ppc -I/opt/local/include/LegacySupport" CXX="/usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc" LDFLAGS="-Wl,-headerpad_max_install_names -lMacportsLegacySupport" 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage" && /usr/bin/make -j8 -w all -f Makefile.gnu PREFIX=/opt/local VERLIBNAME=libfreeimage.3.dylib CC="/usr/bin/gcc-4.2 -I/opt/local/include/LegacySupport -Os -arch ppc -I/opt/local/include/LegacySupport" CXX="/usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc" LDFLAGS="-Wl,-headerpad_max_install_names -lMacportsLegacySupport" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage'
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/BitmapAccess.cpp -o Source/FreeImage/BitmapAccess.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/ColorLookup.cpp -o Source/FreeImage/ColorLookup.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/ConversionRGBA16.cpp -o Source/FreeImage/ConversionRGBA16.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/ConversionRGBAF.cpp -o Source/FreeImage/ConversionRGBAF.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/FreeImage.cpp -o Source/FreeImage/FreeImage.o
:info:build /usr/bin/gcc-4.2 -I/opt/local/include/LegacySupport -Os -arch ppc -I/opt/local/include/LegacySupport -O3 -fPIC -fexceptions -fvisibility=hidden -DOPJ_STATIC -DNO_LCMS -DDISABLE_PERF_MEASUREMENT -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/FreeImageC.c -o Source/FreeImage/FreeImageC.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/FreeImageIO.cpp -o Source/FreeImage/FreeImageIO.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/GetType.cpp -o Source/FreeImage/GetType.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/LFPQuantizer.cpp -o Source/FreeImage/LFPQuantizer.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/MemoryIO.cpp -o Source/FreeImage/MemoryIO.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/PixelAccess.cpp -o Source/FreeImage/PixelAccess.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/J2KHelper.cpp -o Source/FreeImage/J2KHelper.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/MNGHelper.cpp -o Source/FreeImage/MNGHelper.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/Plugin.cpp -o Source/FreeImage/Plugin.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/PluginBMP.cpp -o Source/FreeImage/PluginBMP.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/PluginCUT.cpp -o Source/FreeImage/PluginCUT.o
:info:build /usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ -DHAVE_UNISTD_H -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/OpenEXR/IlmThread -ISource/OpenEXR/Imath -ISource/OpenEXR/IexMath -ISource/LibRawLite -ISource/LibRawLite/dcraw -ISource/LibRawLite/internal -ISource/LibRawLite/libraw -ISource/LibRawLite/src -ISource/LibWebP -ISource/LibJXR -ISource/LibJXR/common/include -ISource/LibJXR/image/sys -ISource/LibJXR/jxrgluelib -fPIC -c Source/FreeImage/PluginDDS.cpp -o Source/FreeImage/PluginDDS.o
:info:build Source/FreeImage/PluginBMP.cpp: In function ‘BOOL Save(FreeImageIO*, FIBITMAP*, void*, int, int, void*)’:
:info:build Source/FreeImage/PluginBMP.cpp:1422: error: ‘bpp’ was not declared in this scope
:info:build make: *** [Source/FreeImage/PluginBMP.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build Source/FreeImage/PluginDDS.cpp: In function ‘void SwapHeader(DDSHEADER*)’:
:info:build Source/FreeImage/PluginDDS.cpp:359: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build Source/FreeImage/PluginDDS.cpp:360: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build Source/FreeImage/PluginDDS.cpp:361: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build Source/FreeImage/PluginDDS.cpp:362: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build Source/FreeImage/PluginDDS.cpp:363: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build Source/FreeImage/PluginDDS.cpp:364: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build Source/FreeImage/PluginDDS.cpp:365: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build Source/FreeImage/PluginDDS.cpp:366: error: ‘struct DDSURFACEDESC2’ has no member named ‘ddpfPixelFormat’
:info:build make: *** [Source/FreeImage/PluginDDS.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/work/FreeImage" && /usr/bin/make -j8 -w all -f Makefile.gnu PREFIX=/opt/local VERLIBNAME=libfreeimage.3.dylib CC="/usr/bin/gcc-4.2 -I/opt/local/include/LegacySupport -Os -arch ppc -I/opt/local/include/LegacySupport" CXX="/usr/bin/g++-4.2 -I/opt/local/include/LegacySupport -arch ppc" LDFLAGS="-Wl,-headerpad_max_install_names -lMacportsLegacySupport" 
:info:build Exit code: 2
:error:build Failed to build freeimage: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_freeimage/freeimage/main.log for details.

Change History (7)

comment:1 Changed 11 months ago by barracuda156

One error fixed here: https://github.com/maxmods/bah.mod/issues/84 But build still fails.

comment:2 in reply to:  1 ; Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

One error fixed here: https://github.com/maxmods/bah.mod/issues/84

Don't know what that is but it's not the freeimage repository.

Here is the fix for the undeclared bpp issue and the missing ddpfPixelFormat member issue from the freeimage repository.

Possibly there might be a new release of freeimage soon. The developers changed the tentative release date for 3.19.0 five days ago, but only to "2023".

comment:3 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snowleopard rosetta removed
Summary: freeimage fails to build on 10.6.8: PluginBMP.cpp: error: ‘bpp’ was not declared in this scopefreeimage @3.18.0: PluginBMP.cpp: error: ‘bpp’ was not declared in this scope

The issue is specific to big-endian (e.g. PowerPC) builds.

comment:4 in reply to:  2 ; Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

Here is the fix for the undeclared bpp issue and the missing ddpfPixelFormat member issue from the freeimage repository.

An alternate fix was suggested in patch 135 and patch 153; I've asked clarification from the developer which fix should be used.

comment:5 in reply to:  4 Changed 11 months ago by barracuda156

Replying to ryandesign:

Replying to ryandesign:

Here is the fix for the undeclared bpp issue and the missing ddpfPixelFormat member issue from the freeimage repository.

An alternate fix was suggested in patch 135 and patch 153; I've asked clarification from the developer which fix should be used.

Thank you for dealing with this! Hope we can have this fixed.

comment:6 in reply to:  4 Changed 3 months ago by barracuda156

Replying to ryandesign:

Replying to ryandesign:

Here is the fix for the undeclared bpp issue and the missing ddpfPixelFormat member issue from the freeimage repository.

An alternate fix was suggested in patch 135 and patch 153; I've asked clarification from the developer which fix should be used.

I re-invented the bicycle indeed, my patch is identical to patch 153 – aside of OpenEXR part, which addresses another failure (but should be uncontroversial, as it simply borrows from its upstream master).

comment:7 Changed 3 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.