Opened 5 years ago

Closed 5 years ago

#59116 closed defect (fixed)

blackbox @0.75 does not build on PPC Mac OS X 10.5.8, Leopard, because it was "expected primary-expression before ‘.’ token"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc:
Port: blackbox

Description

/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I..  -include config.h -I..   -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -DLOCDIR=\"/opt/local/share/locale\" -DDEFAULTMENU=\"/opt/local/share/blackbox/menu\" -DDEFAULTSTYLE=\"/opt/local/share/blackbox/styles/Gray\" -I../lib -I/opt/local/include -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport  -pipe -Os -Wno-format-security -std=c++98 -arch ppc -c -o Screen.o Screen.cc
Screen.cc: In constructor ‘BScreen::BScreen(Blackbox*, unsigned int)’:
Screen.cc:116: error: expected primary-expression before ‘.’ token
Screen.cc:117: error: expected primary-expression before ‘.’ token
Screen.cc:118: error: expected primary-expression before ‘.’ token
Screen.cc:119: error: expected primary-expression before ‘.’ token
Screen.cc:125: error: expected primary-expression before ‘.’ token
Screen.cc:126: error: expected primary-expression before ‘.’ token
make[2]: *** [Screen.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_blackbox/blackbox/work/blackbox-0.75/src'

Attachments (1)

main.log (56.8 KB) - added by ballapete (Peter "Pete" Dyballa) 5 years ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Leopard

comment:1 Changed 5 years ago by kencu (Ken)

Hi Peter -- I was expecting to hear from you about this! I updated this just for you.

Please try gcc6.

comment:2 in reply to:  1 ; Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

Hi Peter -- I was expecting to hear from you about this! I updated this just for you.

Please try gcc6.

I already tried port -vd upgrade blackbox configure.compiler=macports-gcc-6. It leads to this:

DEBUG: Chosen compiler macports-gcc-6 is provided by a port, adding dependency
DEBUG: Adding depends_build port:gcc6
DEBUG: Adding depends_build port:gcc6
DEBUG: Adding depends_lib path:lib/libgcc/libgcc_s.1.dylib:libgcc
DEBUG: Adding depends_lib port:libgcc8
DEBUG: Adding depends_lib port:libgcc7
DEBUG: Adding depends_lib port:libgcc6
DEBUG: Adding depends_skip_archcheck gcc6
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
DEBUG: libgcc8 is *not* installed by MacPorts
DEBUG: Searching for dependency: libgcc8
DEBUG: Didn't find receipt, going to depspec regex for: libgcc8
DEBUG: libgcc8 is *not* installed by MacPorts
DEBUG: Searching for dependency: libgcc8
DEBUG: Didn't find receipt, going to depspec regex for: libgcc8

The last three lines are repeated a number of times. And this number is almost equal to ∞.

comment:3 in reply to:  2 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Replying to ballapete:

There is an end:

DEBUG: Didn't find receipt, going to depspec regex for: libgcc8
Warning: No port libgcc8 found in the index.
Warning: No port libgcc7 found in the index.
Warning: No port libgcc6 found in the index.
DEBUG: too many nested evaluations (infinite loop?)

comment:4 Changed 5 years ago by kencu (Ken)

Oh, yes -- as per the other tickets you opened, all the libgcc infrastructure had a slight error in it, and it's been fixed now. Should be OK again when that fix gets to you, and then try the gcc6 build.

comment:5 in reply to:  4 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

I'll try again in the morning!

comment:6 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

It built this morning with GCC 6.

comment:7 Changed 5 years ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: newclosed

In 9c0ea79c40bb32f9585993a623071f6dd0e83ad9/macports-ports (master):

blackbox: blacklist older gcc versions

closes: #59116

Note: See TracTickets for help on using tickets.