[MacPorts] #21681: unable to upgrade readline
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: --------------------------------+------------------------------------------- {{{ ---> Computing dependencies for readline. ---> Fetching readline ---> readline-6.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/readline ---> Attempting to fetch readline-6.0.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/readline % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 2217k 0 2880 0 0 1939 0 0:19:31 0:00 0 2217k 0 21600 0 0 12255 0 0:03:05 0:00 24 2217k 24 544k 0 0 196k 0 0:00:11 0:00 64 2217k 64 1437k 0 0 381k 0 0:00:05 0:00100 2217k 100 2217k 0 0 488k 0 0:00:04 0:00:04 --:--:-- 725k ---> Verifying checksum(s) for readline ---> Checksumming readline-6.0.tar.gz ---> Extracting readline ---> Extracting readline-6.0.tar.gz ---> Applying patches to readline ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline/files /patch-shobj-conf.diff patching file support/shobj-conf ---> Configuring readline checking build system type... powerpc-apple-darwin9.8.0 checking host system type... powerpc-apple-darwin9.8.0 Beginning configuration for readline-6.0 for powerpc-apple-darwin9.8.0 checking whether make sets $(MAKE)... yes checking for gcc... ccache /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/readline-6.0': configure: error: C compiler cannot create executables See `config.log' for more details. 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_devel_readline/work/readline-6.0" && ./configure --prefix=/opt/local --with-curses " returned error 77 Command output: checking build system type... powerpc-apple-darwin9.8.0 checking host system type... powerpc-apple-darwin9.8.0 Beginning configuration for readline-6.0 for powerpc-apple-darwin9.8.0 checking whether make sets $(MAKE)... yes checking for gcc... ccache /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/readline-6.0': configure: error: C compiler cannot create executables See `config.log' for more details. Warning: the following items did not execute (for readline): org.macports.archive org.macports.configure org.macports.build org.macports.destroot Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/21681> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Changes (by blb@…): * owner: macports-tickets@… => mcalhoun@… * port: => readline Comment: Can you use {{{sudo port edit readline}}} and add the following line to the Portfile (anywhere in the file should be fine): {{{ configure.ccache no }}} If that then gets it to install, sounds like readline doesn't work with ccache and we'll need to disable it. -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by de5ton56@…): status error after "configure.ccache no" added to the portfile as suggested. attached genereated config.log {{{ ---> Verifying checksum(s) for readline ---> Checksumming readline-6.0.tar.gz ---> Extracting readline ---> Extracting readline-6.0.tar.gz ---> Applying patches to readline ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline/files /patch-shobj-conf.diff patching file support/shobj-conf ---> Configuring readline checking build system type... powerpc-apple-darwin9.8.0 checking host system type... powerpc-apple-darwin9.8.0 Beginning configuration for readline-6.0 for powerpc-apple-darwin9.8.0 checking whether make sets $(MAKE)... yes checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/readline-6.0': configure: error: C compiler cannot create executables See `config.log' for more details. 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_devel_readline/work/readline-6.0" && ./configure --prefix=/opt/local --with-curses " returned error 77 Command output: checking build system type... powerpc-apple-darwin9.8.0 checking host system type... powerpc-apple-darwin9.8.0 Beginning configuration for readline-6.0 for powerpc-apple-darwin9.8.0 checking whether make sets $(MAKE)... yes checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/readline-6.0': configure: error: C compiler cannot create executables See `config.log' for more details. Warning: the following items did not execute (for readline): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.archive org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by blb@…): Can you attach the config.log file, it should be in {{{/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/readline-6.0}}}? -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by blb@…): Oops, ignore me, didn't see you did already. -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by blb@…): From config.log: {{{ configure:2474: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -L/opt/local/lib -arch conftest.c >&5 gcc-4.0: Invalid arch name : conftest.c }}} What does the following return? {{{ $ grep build_arch /opt/local/etc/macports/macports.conf }}} -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by de5ton56@…): DC:~ dc$ grep build_arch /opt/local/etc/macports/macports.conf $ grep build_arch /opt/local/etc/macports/macports.conf #build_arch i386 build_arch DC:~ dc$ -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by de5ton56@…): {{{ DC:~ dc$ grep build_arch /opt/local/etc/macports/macports.conf }}} {{{ $ grep build_arch /opt/local/etc/macports/macports.conf }}} {{{ #build_arch i386 }}} {{{ build_arch }}} -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by blb@…): That would be your problem, there needs to be some value for build_arch. Unless you want to use the default for your system, in which case simply comment it out (which is the default for build_arch itself): {{{ #build_arch i386 }}} -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline --------------------------------+------------------------------------------- Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: readline --------------------------------+------------------------------------------- Comment(by de5ton56@…): It Works. All the subsequent ports update fine. Thanks for helping. Appreciate It. -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21681: unable to upgrade readline ---------------------------------+------------------------------------------ Reporter: de5ton56@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: Port: readline | ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid -- Ticket URL: <http://trac.macports.org/ticket/21681#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts