#12220 closed defect (duplicate)
BUG: gnustep-base failing configure step on ffcall
Reported by: | stig@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description
---> Configuring gnustep-base Error: Target com.apple.configure returned: configure failure: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnustep_gnustep-base/work/gnustep-base-1.14.0" && ./configure --prefix=/opt/local CC=gcc-mp-4.2 GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles " returned error 1 Command output: checking for kvm_getenvv in -lkvm... yes checking if we can access kernel memory... no checking use of pass-through arguments... no checking use of fake-main definition... yes checking ffi.h usability... yes checking ffi.h presence... yes checking for ffi.h... yes checking callback.h usability... yes checking callback.h presence... yes checking for callback.h... yes checking for forwarding callback in runtime... yes checking FFI library usage... ffcall checking if ffcall trampolines work... no none
You have ffcall, but it does not work properly. Most likely because your're system's security policy is blocking some parts of ffcall we recommend installing libffi instead. GNUstep requires ffcall or libffi and proper libobjc hooks to do invocations and DO. (This does not apply on apple-apple-apple systems where DO is not compatible with other GNUstep systems.)
You most likely do not want to build base without DO support. Many things, including all applications, won't work at all without DO. If you really want to build -base without DO support, add --disable-do to the configure arguments. For more information, read the GNUstep build guide, ffcall section: http://gnustep.made-it.com/BuildGuide/index.html configure: error: Incomplete support for ffi functionality.
Error: Status 1 encountered during processing.
I've tried to build the +with_ffi variant of gnustep-base, but it does not work either. It fails with an altogether different error:
---> Building gnustep-base with target all Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnustep_gnustep-base/work/gnustep-base-1.14.0" && gnumake all messages=yes GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles " returned error 2 Command output: ld: warning -L: directory name (/opt/local/GNUstep/System/Library/Libraries) does not exist ld: warning -L: directory name (/opt/local/GNUstep/System/Library/Libraries/gnu-gnu-gnu) does not exist ld: warning -L: directory name (/opt/local/GNUstep/System/Library/Libraries) does not exist ld: warning undefined symbols: _gnustep_base_user_main (echo "{"; \ echo " NSExecutable = \"gnustep-base\";"; \ echo " NSPrincipalClass = \"NSObject\";"; \ echo " GSBundleShortVersionString = \"1.14.0\";"; \ echo " GSBundleVersion = 114.0;"; \ echo " CFBundleShortVersionString = \"1.14.0\";"; \ echo " CFBundleVersion = 114.0;"; \ echo "}") > Info-gnustep.plist Making all in SSL... Making all for bundle SSL... cd .; \ /opt/local/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj /opt/local/GNUstep/System/Library/Makefiles/mkinstalldirs SSL.bundle/. gcc-mp-4.2 GSSSLHandle.m -c \
-MMD -MP -I/opt/local/include -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -fno-strict-aliasing -fgnu-runtime -fconstant-string-class=NSConstantString -I./. -I../Source/. -I../Source -I../Headers/Additions -I../Headers -I. -I/opt/local/include -I/opt/local/GNUstep/System/Library/Headers -I/opt/local/GNUstep/System/Library/Headers -I/opt/local/include/gcc42 -I/opt/local/include/libxml2 -I/opt/local/include \
-o obj/GSSSLHandle.o
gcc-mp-4.2 -fgnu-runtime -bundle -L/opt/local/lib -flat_namespace -undefined warning -o ./SSL.bundle/./SSL ./obj/GSSSLHandle.o -L../Source/./obj -L./obj -L/opt/local/lib -L/opt/local/GNUstep/System/Library/Libraries -L/opt/local/GNUstep/System/Library/Libraries/gnu-gnu-gnu -L/opt/local/GNUstep/System/Library/Libraries -L/opt/local/lib/gcc42 -lSystemStubs -lssl -lcrypto -lgnustep-base -lobjc -lgnustep-gui -lgnustep-base -lobjc -lgmp -lxslt -L/opt/local/lib -lxml2 -lz -lpthread -L/opt/local/lib -liconv -lm -liconv -lffi -liberty -ldl -lz -lm /usr/bin/ld: warning -L: directory name (/opt/local/GNUstep/System/Library/Libraries) does not exist /usr/bin/ld: warning -L: directory name (/opt/local/GNUstep/System/Library/Libraries/gnu-gnu-gnu) does not exist /usr/bin/ld: warning -L: directory name (/opt/local/GNUstep/System/Library/Libraries) does not exist /usr/bin/ld: can't locate file for: -lgnustep-gui collect2: ld returned 1 exit status gnumake[2]: * [SSL.bundle/./SSL] Error 1 gnumake[1]: * [SSL.all.bundle.variables] Error 2 gnumake: * [internal-all] Error 2
Error: Status 1 encountered during processing. 2
Change History (3)
comment:1 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Priority: | Expected → Normal |
Summary: | gnustep-base failing configure step on ffcall → BUG: gnustep-base failing configure step on ffcall |
Version: | 1.4.42 |
comment:2 Changed 17 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #13693.