Opened 3 years ago

Last modified 2 years ago

#63912 assigned defect

aquaterm @1.1.1_0: Build failure on 10.4.11 (‘CGFloat’ undeclared)

Reported by: evanmiller (Evan Miller) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: tiger Cc: g5pw (Aljaž Srebrnič), mascguy (Christopher Nielsen)
Port: aquaterm

Description

Don't know if it's the root cause, but it appears that the build is not using the GCC 4.2 usually preferred by MacPorts.

:info:build     /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -fmessage-length=0 -mtune=G4 -fvisibility=hidden -mmacosx-version-min=10.4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/build/AquaTerm.build/Default/AquaTerm.build/AquaTerm.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -mdynamic-no-pic -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/build/Default -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/build/Default/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/build/AquaTerm.build/Default/AquaTerm.build/DerivedSources -include /Library/Caches/com.apple.Xcode.502/SharedPrecompiledHeaders/AppKit-hlgtzlghgoawiscqmllxjkekyajq/AppKit.h -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/AQTGraphicDrawingMethods.m -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/build/AquaTerm.build/Default/AquaTerm.build/Objects-normal/ppc/AQTGraphicDrawingMethods.o
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/AQTGraphicDrawingMethods.m: In function ‘-[AQTPath(AQTPathDrawing) _aqtPathUpdateCache]’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/AQTGraphicDrawingMethods.m:207: error: ‘CGFloat’ undeclared (first use in this function)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/AQTGraphicDrawingMethods.m:207: error: (Each undeclared identifier is reported only once
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/AQTGraphicDrawingMethods.m:207: error: for each function it appears in.)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/AQTGraphicDrawingMethods.m:207: error: parse error before ‘temppat’
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-AquaTerm-5c223a5/aquaterm/AQTGraphicDrawingMethods.m:208: error: ‘temppat’ undeclared (first use in this function)
:info:build ** BUILD FAILED **

Attachments (2)

aquaterm-main.log (93.6 KB) - added by evanmiller (Evan Miller) 3 years ago.
Portfile (4.1 KB) - added by tomio-arisaka (Tomio Arisaka) 2 years ago.
Aquaterm-1.0.1 Portfile

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by evanmiller (Evan Miller)

Attachment: aquaterm-main.log added

comment:1 Changed 3 years ago by mojca (Mojca Miklavec)

Cc: g5pw added; mojca removed
Owner: changed from g5pw to mojca

comment:2 Changed 3 years ago by evanmiller (Evan Miller)

Ken's notes:

# notes -- tried to build current aquaterm 1.1.1 in MacPorts repo on Tiger but
# failed due to numerous errors. Some could be overcome by symlinking in
# apple-gcc-4.2 instead of gcc-4.0 in /Developer/usr/bin but still had both
# assembly errors and what appeared to be SDK errors after that
# might be some hope using a newer 10.5 SDK instead; untested
# builds fine on Leopard PPC

Maybe worth using the logic in that Portfile to peg at 1.0.1 on Tiger?

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:4 Changed 2 years ago by tomio-arisaka (Tomio Arisaka)

I modified Portfile to install aquaterm-1.0.1 on PPC Tiger.

$ port -v installed aquaterm and active
The following ports are currently installed:
  aquaterm @1.0.1_1 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-05-23T21:32:32+0900'

Aquaterm-1.0.1 works with Gnuplot-5.4.3.

$ port installed gnuplot 
The following ports are currently installed:
  gnuplot @5.4.3_0+aquaterm+luaterm+pangocairo+qt+x11 (active)
  gnuplot @5.4.3_0+luaterm+pangocairo+x11

Changed 2 years ago by tomio-arisaka (Tomio Arisaka)

Attachment: Portfile added

Aquaterm-1.0.1 Portfile

Note: See TracTickets for help on using tickets.