Opened 15 years ago

Closed 14 years ago

#22162 closed defect (invalid)

Trying to upgrade the libiconv

Reported by: rafael@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: libiconv

Description (last modified by tobypeterson)

This is my output...

I don't know what else to do

[rafaelzamana] ~ 
$ sudo port upgrade --force libiconv
Password:
--->  Computing dependencies for gperf
--->  Fetching gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Deactivating gperf @3.0.4_0
--->  Uninstalling gperf @3.0.4_0
--->  Computing dependencies for gperf
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Computing dependencies for libiconv
--->  Configuring libiconv
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_textproc_libiconv/work/libiconv-1.13" && ./configure --prefix=/opt/local --enable-static --mandir=/opt/local/share/man --docdir=/opt/local/share/doc/libiconv-1.13 --without-libiconv-prefix --without-libintl-prefix --disable-nls --enable-extra-encodings " returned error 1
Command output: checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix... 
checking for wchar_t integer literal suffix... 
checking for wint_t integer literal suffix... 
checking for random.h... no
checking for struct random_data... no
checking whether <wchar.h> is standalone... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /opt/local/bin/gawk
  Reason: Incompatible library version: gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
./config.status: line 1602: 77857 Done                    eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
     77858 Trace/BPT trap          | $AWK -f "$tmp/subs.awk" > $tmp/out
config.status: error: could not create Makefile

Error: Unable to upgrade port: 1

Change History (6)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)

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

Keywords: gawk libiconv.2.dylib removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: libiconv added

comment:3 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

Reinstall the gawk port.

comment:4 in reply to:  3 Changed 15 years ago by rafael@…

Replying to toby@…:

Reinstall the gawk port.

--->  Computing dependencies for gawk
--->  Building ncursesw
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/work/ncurses-5.7" && /usr/bin/make -j2 all " returned error 2
Command output: make[1]: *** [lib_keyname.c] Error 127
make[1]: *** Waiting for unfinished jobs....
In file included from ./../include/ncurses_cfg.h:178,
                 from ../ncurses/curses.priv.h:55,
                 from ./tinfo/comp_hash.c:42:
./../include/ncurses_def.h:5:1: error: unterminated #ifndef
In file included from ../ncurses/curses.priv.h:261,
                 from ./tinfo/comp_hash.c:42:
./../include/term_entry.h:54: error: expected specifier-qualifier-list before 'TERMTYPE'
./../include/term_entry.h:123: error: expected ')' before '*' token
./../include/term_entry.h:124: error: expected ')' before '*' token
./../include/term_entry.h:128: error: expected ')' before '*' token
./../include/term_entry.h:129: error: expected ')' before '*' token
./../include/term_entry.h:132: error: expected ')' before '*' token
./../include/term_entry.h:138: error: expected ')' before '*' token
./../include/term_entry.h:150: error: expected ')' before '*' token
./../include/term_entry.h:158: error: expected ')' before '*' token
./../include/term_entry.h:159: error: expected ')' before '*' token
./../include/term_entry.h:162: error: expected ')' before '*' token
In file included from ./tinfo/comp_hash.c:42:
../ncurses/curses.priv.h:514: error: expected specifier-qualifier-list before 'TERMINAL'
../ncurses/curses.priv.h:675: error: expected specifier-qualifier-list before 'TTY'
../ncurses/curses.priv.h:707: error: expected specifier-qualifier-list before 'TERMINAL'
In file included from ./tinfo/comp_hash.c:42:
../ncurses/curses.priv.h:1531: error: expected ')' before '*' token
../ncurses/curses.priv.h:1579: error: expected declaration specifiers or '...' before 'TERMTYPE'
../ncurses/curses.priv.h:1595: error: expected declaration specifiers or '...' before 'TERMTYPE'
../ncurses/curses.priv.h:1601: error: expected declaration specifiers or '...' before 'TERMTYPE'
make[1]: *** [make_hash] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: gettext ncurses ncursesw
Error: Status 1 encountered during processing.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: closedreopened

The output you showed from building ncursesw is incomplete and doesn't show us what actually happened. You would have to clean it ("sudo port clean ncursesw") and do it again with the debug switch ("sudo port -d install ncursesw") to show us meaningful information.

But the output you showed from configuring libiconv, specifically the line "checking for bit size of size_t... 64", tells me you're building 64-bit, which is the default on Snow Leopard. Are you running Snow Leopard, and if so, did you recently upgrade from Leopard, and was your MacPorts originally installed on Leopard? If so, I think you have not followed the instructions on the Migration page, which are essential to getting things running on Snow Leopard again.

If that's not it, or you still have difficulty, please tell us your version of Mac OS X, Xcode, and MacPorts, and what type of Mac this is on, and what has changed since this last worked correctly for you.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: reopenedclosed

No response; closing.

Note: See TracTickets for help on using tickets.