Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 19:17:12 +0100
From:      Tomasz Sowa <t.sowa@ttmath.org>
To:        freebsd-ports-bugs@freebsd.org, vbox@FreeBSD.org
Subject:   emulators/virtualbox-ose doesn't compile with libicon
Message-ID:  <20140210191712.728e1b7d@s100.slimaczek.pl>

next in thread | raw e-mail | index | archive | help
Hi

emulators/virtualbox-ose doesn't compile when converters/libiconv is
installed:

kBuild: Linking VBox-kStuffStaticBldProg
kBuild: Installing VBox-kStuffStaticBldProg => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/VBox-kStuffStaticBldProg.a
kBuild: Compiling scm - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/bldprogs/scm.cpp
kBuild: Compiling scm - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/bldprogs/scmdiff.cpp
kBuild: Compiling scm - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/bldprogs/scmrw.cpp
kBuild: Compiling scm - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/bldprogs/scmstream.cpp
kBuild: Compiling scm - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/bldprogs/scmsubversion.cpp
kBuild: Linking scm
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtstrConvertCached':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:200: undefined reference to `libiconv'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:184: undefined reference to `libiconv_open'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:244: undefined reference to `libiconv_close'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtStrConvertUncached':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:315: undefined reference to `libiconv_open'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:330: undefined reference to `libiconv'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:351: undefined reference to `libiconv_close'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:340: undefined reference to `libiconv_close'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a(utf8-posix.o): In function `rtStrIconvCacheDestroy':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Runtime/r3/posix/utf8-posix.cpp:115: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scm] Error 1
The failing command:
@g++46                        -m64   -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scm /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scm.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmdiff.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmrw.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmstream.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/scm/scmsubversion.o   -L/usr/local/lib   -lpthread   -lrt   /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/RuntimeBldProg.a   /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/lib/VBox-kStuffStaticBldProg.a   /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/li
 b/RuntimeBldProg.a   -lpthread   -lssl   -lcrypto 
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/virtualbox-ose


After temporarily deleting converters/libiconv VirtualBox compiled
successfully. Libiconv is still used by some ports:
$ pkg info -r converters/libiconv
libiconv-1.14_1:
        php5-iconv-5.4.24_1
        git-1.8.5.2
        coreutils-8.22
        transcode-1.1.7_10

-- 
Tomek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140210191712.728e1b7d>