[MacPorts] #29315: Install ncurses-5.9 failed
#29315: Install ncurses-5.9 failed -----------------------------------------------------------------------------------------------------------------------+ Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: request | Status: new Priority: High | Milestone: Component: ports | Version: 1.9.2 Keywords: onfigure checking for C compiler default output... configure: error: C compiler cannot create executables | Port: -----------------------------------------------------------------------------------------------------------------------+ # cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log version:1 :msg:main ---> Computing dependencies for ncurses:info:main .:debug:main Searching for dependency: ncursesw :debug:main Found Dependency: receipt exists for ncursesw :msg:main :debug:main Executing org.macports.main (ncurses) :debug:main Skipping completed org.macports.fetch (ncurses) :debug:main Skipping completed org.macports.checksum (ncurses) :debug:main Skipping completed org.macports.extract (ncurses) :debug:main Skipping completed org.macports.patch (ncurses) :msg:main ---> Configuring ncurses :debug:main Using compiler 'Mac OS X gcc 4.2' :debug:configure configure phase started at Fri Apr 29 11:09:43 CST 2011 :debug:configure Executing org.macports.configure (ncurses) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' CXXFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' 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_devel_ncurses/work/.CC_PRINT_OPTIONS' PKG_CONFIG_LIBDIR='/opt/local/lib/pkgconfig' F90FLAGS='-O2' LDFLAGS='-arch x86_64 -arch i386 -arch ppc' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' FFLAGS='-O2' 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_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with-manpage- format=normal --enable-pc-files --enable-symlinks --with-chtype=int' :info:configure checking for egrep... grep -E :info:configure Configuring NCURSES 5.9 ABI 5 (Fri Apr 29 11:09:45 CST 2011) :info:configure checking build system type... x86_64-apple-darwin10.7.0 :info:configure checking host system type... x86_64-apple-darwin10.7.0 :info:configure checking target system type... x86_64-apple-darwin10.7.0 :info:configure Configuring for darwin10.7.0 :info:configure checking for prefix... /opt/local :info:configure checking for gcc... /usr/bin/gcc-4.2 :info:configure checking for C compiler default output... configure: error: C compiler cannot create executables :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with-manpage- format=normal --enable-pc-files --enable-symlinks --with-chtype=int " returned error 77 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for ncurses): org.macports.destroot org.macports.configure org.macports.build :notice:configure Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log -- Ticket URL: <https://trac.macports.org/ticket/29315> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29315: Install ncurses-5.9 failed --------------------------------------+------------------------------------- Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid * priority: High => Normal * keywords: onfigure checking for C compiler default output... configure: error: C compiler cannot create executables => * type: request => defect * port: => ncurses Old description:
# cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log version:1 :msg:main ---> Computing dependencies for ncurses:info:main .:debug:main Searching for dependency: ncursesw :debug:main Found Dependency: receipt exists for ncursesw :msg:main :debug:main Executing org.macports.main (ncurses) :debug:main Skipping completed org.macports.fetch (ncurses) :debug:main Skipping completed org.macports.checksum (ncurses) :debug:main Skipping completed org.macports.extract (ncurses) :debug:main Skipping completed org.macports.patch (ncurses) :msg:main ---> Configuring ncurses :debug:main Using compiler 'Mac OS X gcc 4.2' :debug:configure configure phase started at Fri Apr 29 11:09:43 CST 2011 :debug:configure Executing org.macports.configure (ncurses) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' CXXFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' 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_devel_ncurses/work/.CC_PRINT_OPTIONS' PKG_CONFIG_LIBDIR='/opt/local/lib/pkgconfig' F90FLAGS='-O2' LDFLAGS='-arch x86_64 -arch i386 -arch ppc' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' FFLAGS='-O2' 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_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with- manpage-format=normal --enable-pc-files --enable-symlinks --with- chtype=int' :info:configure checking for egrep... grep -E :info:configure Configuring NCURSES 5.9 ABI 5 (Fri Apr 29 11:09:45 CST 2011) :info:configure checking build system type... x86_64-apple-darwin10.7.0 :info:configure checking host system type... x86_64-apple-darwin10.7.0 :info:configure checking target system type... x86_64-apple-darwin10.7.0 :info:configure Configuring for darwin10.7.0 :info:configure checking for prefix... /opt/local :info:configure checking for gcc... /usr/bin/gcc-4.2 :info:configure checking for C compiler default output... configure: error: C compiler cannot create executables :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with- manpage-format=normal --enable-pc-files --enable-symlinks --with- chtype=int " returned error 77 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for ncurses): org.macports.destroot org.macports.configure org.macports.build :notice:configure Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log
New description: {{{ # cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log version:1 :msg:main ---> Computing dependencies for ncurses:info:main .:debug:main Searching for dependency: ncursesw :debug:main Found Dependency: receipt exists for ncursesw :msg:main :debug:main Executing org.macports.main (ncurses) :debug:main Skipping completed org.macports.fetch (ncurses) :debug:main Skipping completed org.macports.checksum (ncurses) :debug:main Skipping completed org.macports.extract (ncurses) :debug:main Skipping completed org.macports.patch (ncurses) :msg:main ---> Configuring ncurses :debug:main Using compiler 'Mac OS X gcc 4.2' :debug:configure configure phase started at Fri Apr 29 11:09:43 CST 2011 :debug:configure Executing org.macports.configure (ncurses) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' CXXFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' 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_devel_ncurses/work/.CC_PRINT_OPTIONS' PKG_CONFIG_LIBDIR='/opt/local/lib/pkgconfig' F90FLAGS='-O2' LDFLAGS='-arch x86_64 -arch i386 -arch ppc' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386 -arch ppc' FFLAGS='-O2' 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_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with-manpage- format=normal --enable-pc-files --enable-symlinks --with-chtype=int' :info:configure checking for egrep... grep -E :info:configure Configuring NCURSES 5.9 ABI 5 (Fri Apr 29 11:09:45 CST 2011) :info:configure checking build system type... x86_64-apple-darwin10.7.0 :info:configure checking host system type... x86_64-apple-darwin10.7.0 :info:configure checking target system type... x86_64-apple-darwin10.7.0 :info:configure Configuring for darwin10.7.0 :info:configure checking for prefix... /opt/local :info:configure checking for gcc... /usr/bin/gcc-4.2 :info:configure checking for C compiler default output... configure: error: C compiler cannot create executables :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- widec --enable-overwrite --with-shared --without-debug --without-ada --enable-sigwinch --mandir=/opt/local/share/man --with-manpage- format=normal --enable-pc-files --enable-symlinks --with-chtype=int " returned error 77 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for ncurses): org.macports.destroot org.macports.configure org.macports.build :notice:configure Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log }}} -- Comment: [wiki:FAQ#missingxcode] -- Ticket URL: <https://trac.macports.org/ticket/29315#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29315: Install ncurses-5.9 failed --------------------------------------+------------------------------------- Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Changes (by jackie.MacOSX@…): * status: closed => reopened * resolution: invalid => Comment: Replying to [comment:1 ryandesign@…]:
[wiki:FAQ#missingxcode]
I'd already upgrade to XCODE 4.0.2 before ! -- Ticket URL: <https://trac.macports.org/ticket/29315#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29315: Install ncurses-5.9 failed --------------------------------------+------------------------------------- Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Comment(by jackie.MacOSX@…): Please refer to the attached. I could configure ncurses success by manual but failed by macports. -- Ticket URL: <https://trac.macports.org/ticket/29315#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29315: Install ncurses-5.9 failed --------------------------------------+------------------------------------- Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Comment(by jackie.MacOSX@…): I could install the ncurses without variant "+universal" but coufigure failed with variant "+universal" by macports. [ jackie macbook-pro ~ ]# sudo port install ncurses ---> Computing dependencies for ncurses ---> Fetching ncurses ---> Verifying checksum(s) for ncurses ---> Extracting ncurses ---> Applying patches to ncurses ---> Configuring ncurses ---> Building ncurses ---> Staging ncurses into destroot ---> Installing ncurses @5.9_0 ---> Deactivating ncurses @5.8_1+universal ---> Activating ncurses @5.9_0 ---> Cleaning ncurses Because there're many packages's dependency on the ncurses in macports. All the packages are compiled with "+universal" variants then causing the configure necurse failed. for example:install the bzr-git then configure ncurses failed. [ jackie macbook-pro ~ ]# sudo port install bzr-git ---> Computing dependencies for sqlite3 ---> Dependencies to be installed: ncurses ---> Configuring ncurses Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install ncurses Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log Error: The following dependencies were not installed: ncurses Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade python27 failed To report a bug, see <http://guide.macports.org/#project.tickets> [ jackie macbook-pro ~ ]# Please fix these bugs! Thanks a lot. -- Ticket URL: <https://trac.macports.org/ticket/29315#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29315: Install ncurses-5.9 failed --------------------------------------+------------------------------------- Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Comment(by jackie.MacOSX@…): I could install ncurses with variant "+universal" success after I modify the macports.conf.[[BR]] macports.conf : [[BR]] {{{ universal_sysroot /Developer/SDKs/MacOSX10.6.sdk[[BR]] [[BR]] # machine architectures[[BR]] - universal_archs x86_64 i386 ppc[[BR]] + universal_archs x86_64 i386[[BR]] [[BR]] # Options for generated startup items }}} -- Ticket URL: <https://trac.macports.org/ticket/29315#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29315: Install ncurses-5.9 failed --------------------------------------+------------------------------------- Reporter: jackie.MacOSX@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Changes (by blb@…): * status: reopened => closed * resolution: => worksforme Comment: Makes sense, Xcode 4 apparently drops PowerPC support so removing ppc from universal is the way to deal with it (FYI, I believe for 10.6 universal_archs defaults to just "x86_64 i386"). If you really need ppc you'll need to use 3.2.6 instead. -- Ticket URL: <https://trac.macports.org/ticket/29315#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts