Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#22751 closed defect (fixed)

Config error: gnustep-base

Reported by: lisfolks.lists@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: gnustep-base

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Similar to gnustep-make error in ticket #22729... I'm getting the following error while updating gnustep-base:

Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-base/work/gnustep-base-1.19.1" && ./configure --prefix=/opt/local CC=gcc-mp-4.2 GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles --disable-tls --enable-libffi --with-ffi-include=/opt/local/include/gcc42 --with-ffi-library=/opt/local/lib/gcc42 " returned error 77
Command output: checking build system type... i386-apple-darwin9.8.0
checking host system type... i386-apple-darwin9.8.0
checking target system type... i386-apple-darwin9.8.0
checking for gcc... gcc-mp-4.2
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Error: Unable to upgrade port: 1

I've attached my config.log. The key text appears to be:

configure:1915: gcc-mp-4.2 -V </dev/null >&5
gcc-mp-4.2: '-V' option must have argument
configure:1918: $? = 1
configure:1941: checking for C compiler default output file name
configure:1944: gcc-mp-4.2 -O2 -arch i386 -I/opt/local/include -I/opt/local/GNUstep/System/Library/Headers -I/opt/local/GNUstep/Local/Library/Headers -L/opt/local/lib -L/opt/local/GNUstep/System/Library/Libraries -L/opt/local/GNUstep/Local/Library/Libraries conftest.c  >&5
cc1: error: unrecognized command line option "-arch"

Attachments (1)

config.log (7.2 KB) - added by lisfolks.lists@… 14 years ago.
gnustep-base config.log

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by lisfolks.lists@…

Attachment: config.log added

gnustep-base config.log

comment:1 Changed 14 years ago by trog24 (Frank J. R. Hanstick)

After sudo port selfupdate, I tried installing gnustep with the following result:

c-24-19-218-170:~ frank$ sudo port install gnustep
--->  Computing dependencies for gnustep
Portfile changed since last build; discarding previous state.
--->  Fetching gnustep-make
--->  Verifying checksum(s) for gnustep-make
--->  Extracting gnustep-make
--->  Configuring gnustep-make
--->  Building gnustep-make
--->  Staging gnustep-make into destroot
Note: gnustep-make installs files outside the common directory structure.
--->  Installing gnustep-make @2.2.0_0+darwin+gnustep_layout

##########################################################
To have a fully working GNUstep make system, please add
'. /opt/local/GNUstep/System/Library/Makefiles/GNUstep.sh'
to your shell login (in ~/.profile)

You may also want to set up your MANPATH :
export MANPATH=$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:/opt/local/share/man:/usr/share/man
##########################################################
        
--->  Activating gnustep-make @2.2.0_0+darwin+gnustep_layout
--->  Cleaning gnustep-make
--->  Fetching libffi
--->  Attempting to fetch libffi-3.0.8.tar.gz from http://distfiles.macports.org/libffi
--->  Verifying checksum(s) for libffi
--->  Extracting libffi
--->  Applying patches to libffi
--->  Configuring libffi
--->  Building libffi
--->  Staging libffi into destroot
--->  Installing libffi @3.0.8_1
--->  Activating libffi @3.0.8_1
--->  Cleaning libffi
--->  Fetching gnustep-base
--->  Attempting to fetch gnustep-base-1.19.1.tar.gz from http://distfiles.macports.org/gnustep-base
--->  Verifying checksum(s) for gnustep-base
--->  Extracting gnustep-base
--->  Applying patches to gnustep-base
--->  Configuring gnustep-base
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-base/work/gnustep-base-1.19.1" && ./configure --prefix=/opt/local CC=gcc-mp-4.2 GNUSTEP_MAKEFILES=/opt/local/share/GNUstep/Makefiles --disable-tls --enable-libffi --with-ffi-include=/opt/local/include/gcc42 --with-ffi-library=/opt/local/lib/gcc42 " returned error 1
Command output: ./configure: line 1401: gnustep-config: command not found
configure: error: cannot find install-sh or install.sh in /opt/local/share/GNUstep/Makefiles .//opt/local/share/GNUstep/Makefiles

Error: The following dependencies failed to build: ArtResources gnustep-core gnustep-back gnustep-gui gnustep-base gnutls libgcrypt libgpg-error libtasn1 lzo opencdk libungif libart_lgpl GMastermind GMines GNUMail Etoile SQLClient Performance oniguruma5 poppler gtk2 atk glib2 gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes p5-xml-parser py26-libxml2 python26 gdbm rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils cairo libpixman jasper pango shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXdamage xorg-damageproto openjpeg poppler-data Pantomime PRICE TalkSoup netclasses Yap.app ImageMagick p7zip a2ps psutils gworkspace system-preferences PreferencePanes windowmaker giflib xpm
Error: Status 1 encountered during processing.

In this case the target is a PPC G4.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Please don't just paste terminal output into comments, use an attachment or at least use WikiFormatting.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Should be fixed by r61117.

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.