Opened 13 years ago
Closed 13 years ago
#29933 closed defect (invalid)
libiconv configure Failure: gawk fails to load libiconv.2.dylib
Reported by: | dbmikus@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), Schamschula (Marius Schamschula) | |
Port: | libiconv |
Description
I'm trying to update all of my ports, but I am getting an errory with libiconv. I am running 10.6.8. I tried to then install just libiconv, but I'm getting the following error in my shell:
sudo port install libiconv ---> Computing dependencies for libiconv ---> Configuring libiconv Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for libiconv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
And here is the referenced log file:
version:1 :debug:main epoch: in tree: 0 installed: 0 :debug:main gperf 3.0.4_0 exists in the ports tree :debug:main gperf 3.0.4_0 is the latest installed :debug:main gperf 3.0.4_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf :debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0 :msg:main ---> Computing dependencies for libiconv:info:main .:debug:main Searching for dependency: gperf :debug:main Found Dependency: receipt exists for gperf :msg:main :debug:main Executing org.macports.main (libiconv) :debug:main Skipping completed org.macports.fetch (libiconv) :debug:main Skipping completed org.macports.checksum (libiconv) :debug:main Skipping completed org.macports.extract (libiconv) :debug:main Skipping completed org.macports.patch (libiconv) :msg:main ---> Configuring libiconv :debug:main Using compiler 'Mac OS X gcc 4.2' :debug:configure configure phase started at Sat Jun 25 11:57:26 EDT 2011 :debug:configure Executing org.macports.configure (libiconv) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' 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_textproc_libiconv/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-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_textproc_libiconv/work/libiconv-1.13.1" && ./configure --prefix=/opt/local --enable-static --docdir=/opt/local/share/doc/libiconv --without-libiconv-prefix --without-libintl-prefix --disable-nls --enable-extra-encodings' :info:configure checking for a BSD-compatible install... /usr/bin/install -c :info:configure checking whether build environment is sane... yes :info:configure checking for a thread-safe mkdir -p... build-aux/install-sh -c -d :info:configure checking for gawk... gawk :info:configure checking whether make sets $(MAKE)... yes :info:configure checking whether make sets $(MAKE)... (cached) yes :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 style of include used by make... GNU :info:configure checking dependency style of /usr/bin/gcc-4.2... none :info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E :info:configure checking for a BSD-compatible install... /usr/bin/install -c :info:configure checking for strip... /usr/bin/strip :info:configure checking build system type... i386-apple-darwin10.8.0 :info:configure checking host system type... i386-apple-darwin10.8.0 :info:configure checking for ranlib... ranlib :info:configure checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes :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 minix/config.h usability... no :info:configure checking minix/config.h presence... no :info:configure checking for minix/config.h... no :info:configure checking whether it is safe to define __EXTENSIONS__... yes :info:configure checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld :info:configure checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no :info:configure checking for shared library path variable... DYLD_LIBRARY_PATH :info:configure checking whether to activate relocatable installation... no :info:configure checking how to copy files... cp -p :info:configure checking how to make hard links... ln :info:configure checking whether ln -s works... yes :info:configure checking for a sed that does not truncate output... ./configure: line 6122: 38792 Trace/BPT trap "$ac_path_SED" -f conftest.sed < "conftest.nl" > "conftest.out" 2> /dev/null :info:configure /usr/bin/sed :info:configure checking for fgrep... /usr/bin/grep -F :info:configure checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld :info:configure checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no :info:configure checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm :info:configure checking the name lister (/usr/bin/nm) interface... BSD nm :info:configure checking the maximum length of command line arguments... 196608 :info:configure checking whether the shell understands some XSI constructs... yes :info:configure checking whether the shell understands "+="... yes :info:configure checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r :info:configure checking for objdump... no :info:configure checking how to recognize dependent libraries... pass_all :info:configure checking for ar... ar :info:configure checking for strip... /usr/bin/strip :info:configure checking for ranlib... (cached) ranlib :info:configure checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok :info:configure checking for dsymutil... dsymutil :info:configure checking for nmedit... nmedit :info:configure checking for lipo... lipo :info:configure checking for otool... otool :info:configure checking for otool64... no :info:configure checking for -single_module linker flag... yes :info:configure checking for -exported_symbols_list linker flag... yes :info:configure checking for dlfcn.h... yes :info:configure checking for objdir... .libs :info:configure checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no :info:configure checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC :info:configure checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes :info:configure checking if /usr/bin/gcc-4.2 static flag -static works... no :info:configure checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes :info:configure checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes :info:configure checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes :info:configure checking dynamic linker characteristics... darwin10.8.0 dyld :info:configure checking how to hardcode library paths into programs... immediate :info:configure checking whether stripping libraries is possible... yes :info:configure checking if libtool supports shared libraries... yes :info:configure checking whether to build shared libraries... yes :info:configure checking whether to build static libraries... yes :info:configure checking for windres... no :info:configure checking for simple visibility declarations... yes :info:configure checking for shared library run path origin... done :info:configure checking for iconv... no, consider installing GNU libiconv :info:configure checking whether NLS is requested... no :info:configure checking for msgfmt... ./configure: line 14416: 39261 Trace/BPT trap $ac_dir/$ac_word --statistics /dev/null 1>&5 2>&1 :info:configure no :info:configure checking for gmsgfmt... : :info:configure checking for xgettext... ./configure: line 14539: 39273 Trace/BPT trap $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 1>&5 2>&1 :info:configure no :info:configure checking for msgmerge... ./configure: line 14617: 39282 Trace/BPT trap $ac_dir/$ac_word --update -q /dev/null /dev/null 1>&5 2>&1 :info:configure no :info:configure checking for CFPreferencesCopyAppValue... yes :info:configure checking for CFLocaleCopyCurrent... yes :info:configure checking whether to use NLS... no :info:configure checking for mbstate_t... yes :info:configure checking for wchar_t... yes :info:configure checking for getc_unlocked... yes :info:configure checking for mbrtowc... yes :info:configure checking for wcrtomb... yes :info:configure checking for mbsinit... yes :info:configure checking for setlocale... yes :info:configure checking whether <wchar.h> is standalone... yes :info:configure checking for memmove... yes :info:configure checking for nl_langinfo and CODESET... yes :info:configure checking wchar.h usability... yes :info:configure checking wchar.h presence... yes :info:configure checking for wchar.h... yes :info:configure checking for EILSEQ... yes :info:configure checking byte ordering... little endian :info:configure checking for working alloca.h... yes :info:configure checking for alloca... yes :info:configure checking for stdlib.h... (cached) yes :info:configure checking for string.h... (cached) yes :info:configure checking sys/param.h usability... yes :info:configure checking sys/param.h presence... yes :info:configure checking for sys/param.h... yes :info:configure checking for unistd.h... (cached) yes :info:configure checking errno.h usability... yes :info:configure checking errno.h presence... yes :info:configure checking for errno.h... yes :info:configure checking sys/socket.h usability... yes :info:configure checking sys/socket.h presence... yes :info:configure checking for sys/socket.h... yes :info:configure checking signal.h usability... yes :info:configure checking signal.h presence... yes :info:configure checking for signal.h... yes :info:configure checking for stdint.h... (cached) yes :info:configure checking for wchar.h... (cached) yes :info:configure checking stdio.h usability... yes :info:configure checking stdio.h presence... yes :info:configure checking for stdio.h... yes :info:configure checking whether canonicalize_file_name is declared... no :info:configure checking for canonicalize_file_name... no :info:configure checking for getcwd... yes :info:configure checking for readlink... yes :info:configure checking for pathconf... yes :info:configure checking for setenv... yes :info:configure checking whether the preprocessor supports include_next... yes :info:configure checking for complete errno.h... yes :info:configure checking whether strerror_r is declared... yes :info:configure checking for strerror_r... yes :info:configure checking whether strerror_r returns char *... no :info:configure checking whether malloc, realloc, calloc are POSIX compliant... yes :info:configure checking for stdlib.h... (cached) yes :info:configure checking for GNU libc compatible malloc... yes :info:configure checking for long long int... yes :info:configure checking for SIGPIPE... yes :info:configure checking for stdbool.h that conforms to C99... yes :info:configure checking for _Bool... yes :info:configure checking for unsigned long long int... yes :info:configure checking for C/C++ restrict keyword... __restrict :info:configure checking whether clearerr_unlocked is declared... yes :info:configure checking whether feof_unlocked is declared... yes :info:configure checking whether ferror_unlocked is declared... yes :info:configure checking whether fflush_unlocked is declared... no :info:configure checking whether fgets_unlocked is declared... no :info:configure checking whether fputc_unlocked is declared... no :info:configure checking whether fputs_unlocked is declared... no :info:configure checking whether fread_unlocked is declared... no :info:configure checking whether fwrite_unlocked is declared... no :info:configure checking whether getc_unlocked is declared... yes :info:configure checking whether getchar_unlocked is declared... yes :info:configure checking whether putc_unlocked is declared... yes :info:configure checking whether putchar_unlocked is declared... yes :info:configure checking for wint_t... yes :info:configure checking if environ is properly declared... no :info:configure checking for error_at_line... no :info:configure checking for mbstate_t... (cached) yes :info:configure checking for memmove... (cached) yes :info:configure checking search.h usability... yes :info:configure checking search.h presence... yes :info:configure checking for search.h... yes :info:configure checking for tsearch... yes :info:configure checking for working strerror function... yes :info:configure checking for volatile sig_atomic_t... yes :info:configure checking for sigprocmask... yes :info:configure checking for ssize_t... yes :info:configure checking whether stdint.h conforms to C99... no :info:configure checking sys/inttypes.h usability... no :info:configure checking sys/inttypes.h presence... no :info:configure checking for sys/inttypes.h... no :info:configure checking sys/bitypes.h usability... no :info:configure checking sys/bitypes.h presence... no :info:configure checking for sys/bitypes.h... no :info:configure checking for bit size of ptrdiff_t... 64 :info:configure checking for bit size of size_t... 64 :info:configure checking for bit size of sig_atomic_t... 32 :info:configure checking for bit size of wchar_t... 32 :info:configure checking for bit size of wint_t... 32 :info:configure checking whether sig_atomic_t is signed... yes :info:configure checking whether wchar_t is signed... yes :info:configure checking whether wint_t is signed... yes :info:configure checking for ptrdiff_t integer literal suffix... l :info:configure checking for size_t integer literal suffix... ul :info:configure checking for sig_atomic_t integer literal suffix... :info:configure checking for wchar_t integer literal suffix... :info:configure checking for wint_t integer literal suffix... :info:configure checking for random.h... no :info:configure checking for struct random_data... no :info:configure checking whether <wchar.h> is standalone... (cached) yes :info:configure configure: creating ./config.status :info:configure config.status: creating Makefile :info:configure dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib :info:configure Referenced from: /opt/local/bin/gawk :info:configure Reason: Incompatible library version: gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 :info:configure ./config.status: line 1616: 42168 Done eval sed \"\$ac_sed_extra\" "$ac_file_inputs" :info:configure 42169 Trace/BPT trap | $AWK -f "$tmp/subs.awk" > $tmp/out :info:configure config.status: error: could not create Makefile :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1" && ./configure --prefix=/opt/local --enable-static --docdir=/opt/local/share/doc/libiconv --without-libiconv-prefix --without-libintl-prefix --disable-nls --enable-extra-encodings " returned error 1 :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 libiconv): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for libiconv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/main.log
Change History (5)
comment:1 Changed 13 years ago by dbmikus@…
Cc: | dbmikus@… added |
---|
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Cc: | ryandesign@… mschamschula@… added; dbmikus@… removed |
---|---|
Keywords: | libiconv configure removed |
Summary: | libiconv org.macports.configure Failure → libiconv configure Failure: gawk fails to load libiconv.2.dylib |
Please remember to cc the maintainer. You do not need to be in cc when you are the reporter.
Do you have libiconv installed already? If not, how did you install gawk? Show the output of:
port -v installed libiconv gawk
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
This typically means the architecture for which gawk was built is not the same as the architecture for which libiconv was built. One possible reason is that you migrated to Snow Leopard from an earlier OS and did not rebuild all ports, as is required (see Migration). For which architecture were both built, and for which architecture are you intending to build ports?
comment:4 Changed 13 years ago by dbmikus@…
I had libiconv installed, and I do believe it was about a migration to Snow Leopard. Anyways, I've actually decided clean out my Macports files and restart. Thanks for the help though.
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Ok, good. Yes, uninstalling and reinstalling all ports would be the solution, if you migrated from another OS version.
Cc Me!