#27410: gprolog: :info:build pl_config.c:1: error: CPU you selected does not support x86-64 instruction set -----------------------------------+---------------------------------------- Reporter: rstani@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: grolog -----------------------------------+---------------------------------------- After a trying to install gprolog after many attempts I have resorted to filing a ticket. OSX 1.6 Snow Leopard, Macport 1.9.2. Here is the log file. {{{ version:1 :debug:main Executing org.macports.main (gprolog) :msg:main ---> Fetching gprolog :debug:fetch fetch phase started at Sun Nov 21 16:28:31 GMT 2010 :debug:fetch Executing org.macports.fetch (gprolog) :info:fetch ---> gprolog-1.3.1.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/gprolog :debug:fetch Pinging www.gprolog.org... :debug:fetch Pinging distfiles.macports.org... :debug:fetch Pinging aarnet.au.distfiles.macports.org... :debug:fetch Pinging lil.fr.distfiles.macports.org... :debug:fetch Pinging sea.us.distfiles.macports.org... :debug:fetch www.gprolog.org ping time is 64.315 :debug:fetch distfiles.macports.org ping time is 190.001 :debug:fetch aarnet.au.distfiles.macports.org ping time is 355.058 :debug:fetch lil.fr.distfiles.macports.org ping time is 53.658 :debug:fetch sea.us.distfiles.macports.org ping time is 10000 :msg:fetch ---> Attempting to fetch gprolog-1.3.1.tar.gz from http://lil.fr.distfiles.macports.org/gprolog :msg:fetch ---> Verifying checksum(s) for gprolog :debug:checksum checksum phase started at Sun Nov 21 16:28:59 GMT 2010 :debug:checksum Executing org.macports.checksum (gprolog) :info:checksum ---> Checksumming gprolog-1.3.1.tar.gz :debug:checksum Correct (md5) checksum for gprolog-1.3.1.tar.gz :msg:checksum ---> Extracting gprolog :debug:extract extract phase started at Sun Nov 21 16:28:59 GMT 2010 :debug:extract Executing org.macports.extract (gprolog) :info:extract ---> Extracting gprolog-1.3.1.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/gprolog/gprolog-1.3.1.tar.gz' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gprolog/gprolog-1.3.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' :debug:patch patch phase started at Sun Nov 21 16:28:59 GMT 2010 :debug:patch Executing org.macports.patch (gprolog) :msg:patch ---> Configuring gprolog :debug:patch Using compiler 'Mac OS X gcc 4.2' :debug:configure configure phase started at Sun Nov 21 16:28:59 GMT 2010 :debug:configure Executing org.macports.configure (gprolog) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/gprolog-1.3.1/src" && ./configure --prefix=/opt/local --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/destroot/opt/local --with-install-dir=/opt/local/lib/gprolog-1.3.1 --with-examples- dir=/opt/local/share/gprolog-1.3.1 --with-doc- dir=/opt/local/share/gprolog-1.3.1' :info:configure checking for gcc... /usr/bin/gcc-4.2 :info:configure checking for C compiler default output file name... a.out :info:configure checking whether the C compiler works... yes :info:configure checking whether we are cross compiling... no :info:configure checking for suffix of executables... :info:configure checking for suffix of object files... o :info:configure checking whether we are using the GNU C compiler... yes :info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes :info:configure checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed :info:configure checking for ranlib... ranlib :info:configure checking whether make sets $(MAKE)... yes :info:configure checking for a BSD-compatible install... /usr/bin/install -c :info:configure checking whether ln -s works... yes :info:configure checking build system type... i386-apple-darwin10.5.0 :info:configure checking host system type... i386-apple-darwin10.5.0 :info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E :info:configure checking for grep that handles long lines and -e... /usr/bin/grep :info:configure checking for egrep... /usr/bin/grep -E :info:configure checking for ANSI C header files... yes :info:configure checking for sys/types.h... yes :info:configure checking for sys/stat.h... yes :info:configure checking for stdlib.h... yes :info:configure checking for string.h... yes :info:configure checking for memory.h... yes :info:configure checking for strings.h... yes :info:configure checking for inttypes.h... yes :info:configure checking for stdint.h... yes :info:configure checking for unistd.h... yes :info:configure checking for long... yes :info:configure checking size of long... 8 :info:configure checking sys/ioctl_compat.h usability... yes :info:configure checking sys/ioctl_compat.h presence... yes :info:configure checking for sys/ioctl_compat.h... yes :info:configure checking termios.h usability... yes :info:configure checking termios.h presence... yes :info:configure checking for termios.h... yes :info:configure checking malloc.h usability... no :info:configure checking malloc.h presence... no :info:configure checking for malloc.h... no :info:configure checking for stdlib.h... (cached) yes :info:configure checking for unistd.h... (cached) yes :info:configure checking for getpagesize... yes :info:configure checking for working mmap... yes :info:configure checking for mprotect... yes :info:configure checking for mallopt... no :info:configure checking for fgetc... yes :info:configure checking for socklen_t... yes :info:configure checking for inline... inline :info:configure checking for socket... yes :info:configure checking for gethostbyname... yes :info:configure DIRECTORIES :info:configure --> Installation: /opt/local/lib/gprolog-1.3.1 :info:configure --> Link to binaries: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/destroot/opt/local/bin :info:configure --> Documentation: /opt/local/share/gprolog-1.3.1 :info:configure --> HTML documentation: /opt/local/share/gprolog-1.3.1/html_node :info:configure --> Examples: /opt/local/share/gprolog-1.3.1 :info:configure configure: creating ./config.status :info:configure config.status: creating Makefile :info:configure config.status: creating TopComp/Makefile :info:configure config.status: creating Pl2Wam/Makefile :info:configure config.status: creating Wam2Ma/Makefile :info:configure config.status: creating Ma2Asm/Makefile :info:configure config.status: creating Fd2C/Makefile :info:configure config.status: creating Linedit/Makefile :info:configure config.status: creating W32GUICons/Makefile :info:configure config.status: creating EnginePl/Makefile :info:configure config.status: creating BipsPl/Makefile :info:configure config.status: creating EngineFD/Makefile :info:configure config.status: creating BipsFD/Makefile :info:configure config.status: creating Ma2Asm/FromC/Makefile :info:configure config.status: creating Win32/Makefile :info:configure config.status: creating Win32/gp-setup.iss :info:configure config.status: creating EnginePl/gp_config.h :msg:configure ---> Building gprolog :debug:build build phase started at Sun Nov 21 16:29:04 GMT 2010 :debug:build Executing org.macports.build (gprolog) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/gprolog-1.3.1/src" && /usr/bin/make -j2 all' :info:build (cd EnginePl; /usr/bin/make config) :info:build /usr/bin/gcc-4.2 -march=i486 -O3 -fomit-frame-pointer -o pl_config pl_config.c :info:build pl_config.c:1: error: CPU you selected does not support x86-64 instruction set :info:build pl_config.c:1: error: CPU you selected does not support x86-64 instruction set :info:build make[1]: *** [pl_config] Error 1 :info:build make: *** [all] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/work/gprolog-1.3.1/src" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for gprolog): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for gprolog is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gprolog/main.log }}} I tried to do the following but still with the same result: {{{ sudo port clean --all gprolog sudo port selfupdate sudo port install gprolog }}} I am also having some trouble with some other ports. This could be simply coincidence but this I have been having problems since the new XCode update 3.2.4. -- Ticket URL: <https://trac.macports.org/ticket/27410> MacPorts <http://www.macports.org/> Ports system for Mac OS