Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#16922 closed defect (invalid)

gnustep-gui 0.12.0 build failure (unrecognised option '-weak_framework')

Reported by: stig@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gnustep Cc: stig@…
Port: gnustep-gui

Description

Hi,

I'm trying to install GNUStep, on Leopard, with a freshly installed Macports 1.600. I'm getting the below error:

Making all for bundle GSCUPS...
gcc-mp-4.2 -fgnu-runtime -bundle       -L/opt/local/lib  -flat_namespace -undefined warning -o ./GSCUPS.bundle/./GSCUPS ./obj/GSCUPSPrincipalClass.o ./obj/GSCUPSPageLayout.o ./obj/GSCUPSPrintInfo.o ./obj/GSCUPSPrintOperation.o ./obj/GSCUPSPrintPanel.o ./obj/GSCUPSPrinter.o   -L/opt/local/lib    -L../../Source/./obj   -L/opt/local/GNUstep/System/Library/Libraries/   -lcups -weak_framework Kerberos -framework CoreFoundation -framework Security -lz -lpthread -framework CoreFoundation     -lgnustep-gui    -lgnustep-base     -lobjc   -lm
gcc-mp-4.2: Kerberos: No such file or directory
gcc-mp-4.2: unrecognized option '-weak_framework'
gnumake[3]: *** [GSCUPS.bundle/./GSCUPS] Error 1
gnumake[2]: *** [GSCUPS.all.bundle.variables] Error 2
gnumake[1]: *** [internal-all] Error 2
gnumake: *** [internal-all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-gui/work/gnustep-gui-0.12.0" && gnumake all messages=yes GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles " returned error 2
Command output: 	    cp -fr $f ./NamedPicker.bundle/Resources/; \
	  else \
	    echo "Warning: $f not found - ignoring"; \
	  fi; \
	done
Making all for bundle WheelPicker...
for f in GSWheelColorPicker.tiff; do \
	  if [ -f $f -o -d $f ]; then \
	    cp -fr $f ./WheelPicker.bundle/Resources/; \
	  else \
	    echo "Warning: $f not found - ignoring"; \
	  fi; \
	done
Making all in KeyBindings...
gnumake[1]: Nothing to be done for `all'.
Making all in Resources...
gnumake[1]: Nothing to be done for `all'.
Making all in Printing...
Making all in GSLPR...
Making all for bundle GSLPR...
gnumake[3]: Nothing to be done for `internal-bundle-all'.
Making all in GSCUPS...
Making all for bundle GSCUPS...
gcc-mp-4.2 -fgnu-runtime -bundle       -L/opt/local/lib  -flat_namespace -undefined warning -o ./GSCUPS.bundle/./GSCUPS ./obj/GSCUPSPrincipalClass.o ./obj/GSCUPSPageLayout.o ./obj/GSCUPSPrintInfo.o ./obj/GSCUPSPrintOperation.o ./obj/GSCUPSPrintPanel.o ./obj/GSCUPSPrinter.o   -L/opt/local/lib    -L../../Source/./obj   -L/opt/local/GNUstep/System/Library/Libraries/   -lcups -weak_framework Kerberos -framework CoreFoundation -framework Security -lz -lpthread -framework CoreFoundation     -lgnustep-gui    -lgnustep-base     -lobjc   -lm
gcc-mp-4.2: Kerberos: No such file or directory
gcc-mp-4.2: unrecognized option '-weak_framework'
gnumake[3]: *** [GSCUPS.bundle/./GSCUPS] Error 1
gnumake[2]: *** [GSCUPS.all.bundle.variables] Error 2
gnumake[1]: *** [internal-all] Error 2
gnumake: *** [internal-all] Error 2

Warning: the following items did not execute (for gnustep-gui): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

This is my complete list of installed packages:

 port installed                                                                                                                     ~
The following ports are currently installed:
  aspell @0.60.6_1+macosx (active)
  expat @2.0.1_0 (active)
  fontconfig @2.6.0_0+macosx (active)
  freetype @2.3.7_1 (active)
  gcc42 @4.2.4_1 (active)
  gettext @0.17_3 (active)
  gmp @4.2.3_0 (active)
  gnustep-base @1.14.0_0+ffi (active)
  gnustep-make @2.0.1_0+gnustep_layout (active)
  gnutls @2.4.2_0 (active)
  gperf @3.0.3_0 (active)
  jpeg @6b_2 (active)
  libffi @3.0.6_0 (active)
  libgcrypt @1.4.1_0 (active)
  libgpg-error @1.6_0 (active)
  libiconv @1.12_0 (active)
  libpng @1.2.32_0 (active)
  libtasn1 @1.5_0 (active)
  libungif @4.1.4_2 (active)
  libxml2 @2.7.1_1 (active)
  libxslt @1.1.24_0 (active)
  lzmautils @4.32.7_0 (active)
  lzo @1.08_0 (active)
  mpfr @2.3.2_0+darwin_i386 (active)
  ncurses @5.6_0 (active)
  ncursesw @5.6_1 (active)
  opencdk @0.6.6_0 (active)
  openssl @0.9.8i_0 (active)
  pkgconfig @0.23_0 (active)
  readline @5.2.012_1 (active)
  render @0.9_1 (active)
  texinfo @4.13_0 (active)
  tiff @3.8.2_2+darwin_9+macosx (active)
  Xft2 @2.1.12_0 (active)
  xorg-util-macros @1.1.5_0 (active)
  xorg-xproto @7.0.11_1 (active)
  xrender @0.9.0_2 (active)
  zlib @1.2.3_1 (active)

Maybe the apple-version of gcc is required?

Change History (4)

comment:1 Changed 15 years ago by stig@…

Cc: stig@… added

Cc Me!

comment:2 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

gnustep-gui isn't set to build with MacPorts gcc.. you must be doing something wrong.

comment:3 Changed 15 years ago by tobypeterson

never mind, i see why. still a dupe of #14176

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.