Opened 15 years ago

Closed 15 years ago

#21681 closed defect (invalid)

unable to upgrade readline

Reported by: de5ton56@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: readline

Description

--->  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

Attachments (1)

config.log (6.3 KB) - added by de5ton56@… 15 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to mcalhoun@…
Port: readline added

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.

Changed 15 years ago by de5ton56@…

Attachment: config.log added

comment:2 Changed 15 years ago 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.

comment:3 Changed 15 years ago 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?

comment:4 Changed 15 years ago by blb@…

Oops, ignore me, didn't see you did already.

comment:5 Changed 15 years ago 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

comment:6 Changed 15 years ago 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$

comment:7 Changed 15 years ago 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

comment:8 Changed 15 years ago 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

comment:9 Changed 15 years ago by de5ton56@…

It Works. All the subsequent ports update fine. Thanks for helping. Appreciate It.

comment:10 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.