Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 07:18:16 GMT
From:      Alexander Panyushkin <vsityz@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186832: emulators/virtualbox-ose  fails to build
Message-ID:  <201402170718.s1H7IGRU007293@cgiserv.freebsd.org>
Resent-Message-ID: <201402170720.s1H7K0Hp052616@freefall.freebsd.org>

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

>Number:         186832
>Category:       ports
>Synopsis:       emulators/virtualbox-ose  fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 17 07:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Panyushkin
>Release:        FreeBSD 10.0-STABLE #0 r261945
>Organization:
Home
>Environment:
FreeBSD scorpion 10.0-STABLE FreeBSD 10.0-STABLE #0 r261945: Sun Feb 16 14:46:09 EET 2014     root@scorpion:/usr/obj/usr/src/sys/Kernel  amd64
>Description:
emulators/virtualbox-ose fails to build but emulators/virtualbox-ose-kmod build is Ok

Port and the world freshly updated.

# cat /etc/src.conf
WITH_ICONV=YES
WITH_LIBICONV_COMPAT=YES
WITH_BSD_GREP=YES
MALLOC_PRODUCTION=YES

/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

>How-To-Repeat:
portmaster emulators/virtualbox-ose
>Fix:


Patch attached with submission follows:

# Log file generated by
#
#   './configure --with-gcc=gcc46 --with-g++=g++46 --passive-mesa --enable-vnc --disable-libvpx'
#

***** Checking environment *****
Determined build machine: freebsd.amd64, target machine: freebsd.amd64


***** Checking kBuild *****
found


***** Checking gcc *****
found version 4.6.4


***** Checking Open Watcom *****
** Open Watcom was not found!

***** Checking iasl *****
found version 20130823


***** Checking xslt *****
found


***** Checking mkisofs *****
found mkisofs 3.01a16 (amd64-unknown-freebsd10.0) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2013 Joerg Schilling


***** Checking pthread *****
compiling the following source file:
#include <cstdio>
#include <pthread.h>
extern "C" int main(void)
{
  pthread_mutex_t mutex;
  if (pthread_mutex_init(&mutex, NULL)) {
    printf("pthread_mutex_init() failed\n");
    return 1;
  }
  if (pthread_mutex_lock(&mutex)) {
    printf("pthread_mutex_lock() failed\n");
    return 1;
  }
  if (pthread_mutex_unlock(&mutex)) {
    printf("pthread_mutex_unlock() failed\n");
    return 1;
  }
  printf("found, OK.\n");
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-lpthread"
executing the binary
found, OK.


***** Checking libxml2 *****
compiling the following source file:
#include <cstdio>
#include <libxml/xmlversion.h>
extern "C" int main(void)
{
  printf("found version %s", LIBXML_DOTTED_VERSION);
#if LIBXML_VERSION >= 20626
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.6.26 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/local/lib -lxml2   -lpthread -I/usr/local/include/libxml2"
executing the binary
found version 2.8.0, OK.


***** Checking libIDL *****
found version 0.8.14


***** Checking ssl *****
compiling the following source file:
#include <cstdio>
#include <openssl/opensslv.h>
#include <openssl/ssl.h>
extern "C" int main(void)
{
  printf("found version %s", OPENSSL_VERSION_TEXT);
  SSL_library_init();
#if OPENSSL_VERSION_NUMBER >= 0x00908000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 0.9.8 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc " -lssl -lcrypto"
executing the binary
found version OpenSSL 1.0.1f 6 Jan 2014, OK.


***** Checking libcurl *****
compiling the following source file:
#include <cstdio>
#include <curl/curl.h>
extern "C" int main(void)
{
  printf("found version %s", LIBCURL_VERSION);
#if 10000*LIBCURL_VERSION_MAJOR + 100*LIBCURL_VERSION_MINOR + LIBCURL_VERSION_PATCH >= 71901
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 7.19.1 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/local/lib -lcurl -I/usr/local/include"
executing the binary
found version 7.35.0, OK.


***** Checking zlib *****
compiling the following source file:
#include <cstdio>
#include <zlib.h>
extern "C" int main(void)
{
  printf("found version %s", ZLIB_VERSION);
#if ZLIB_VERNUM >= 0x1210
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.1 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-lz "
executing the binary
found version 1.2.8, OK.


***** Checking libpng *****
compiling the following source file:
#include <cstdio>
#include <png.h>
extern "C" int main(void)
{
  printf("found version %s", PNG_LIBPNG_VER_STRING);
#if PNG_LIBPNG_VER >= 10205
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.5 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/local/lib -lpng -I/usr/local/include"
executing the binary
found version 1.5.18, OK.


***** Checking SDL *****
compiling the following source file:
#include <cstdio>
#include <SDL.h>
#include <SDL_main.h>
#undef main
extern "C" int main(int argc, char** argv)
{
  printf("found version %d.%d.%d",
         SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.7 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDLmain -I/usr/local/include/SDL -I/usr/local/include "
executing the binary
found version 1.2.15, OK.


***** Checking X libraries *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
extern "C" int main(void)
{
  Display *dpy;
  int scrn_num;
  Screen *scrn;
  Window win;

  dpy      = XOpenDisplay(NULL);
  scrn_num = DefaultScreen(dpy);
  scrn     = ScreenOfDisplay(dpy, scrn_num);
  win      = XCreateWindow(dpy, RootWindowOfScreen(scrn), 0, 0, 100, 100,
                           0, 16, InputOutput, CopyFromParent, 0, NULL);
  XDestroyWindow(dpy, win);
  XCloseDisplay(dpy);
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -I/usr/local/include"
found


***** Checking Xcursor *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
extern "C" int main(void)
{
  XcursorImage *cursor = XcursorImageCreate (10, 10);
  XcursorImageDestroy(cursor);
  return 0;
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXcursor -I/usr/local/include"
found


***** Checking Xinerama *****
compiling the following source file:
#include <X11/Xlib.h>
#include <X11/extensions/Xinerama.h>
extern "C" int main(void)
{
  Display *dpy;
  Bool flag;
  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    flag = XineramaIsActive(dpy);
    XCloseDisplay(dpy);
  }
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXinerama -I/usr/local/include"
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc: In function 'int main()':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc:6:8: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
found


***** Checking Xrandr *****
compiling the following source file:
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
extern "C" int main(void)
{
  Display *dpy;
  Bool flag;
  int major, minor;
  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    flag = XRRQueryVersion(dpy, &major, &minor);
    XCloseDisplay(dpy);
  }
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXrandr -I/usr/local/include"
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc: In function 'int main()':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc:6:8: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
found


***** Checking Xmu *****
compiling the following source file:
#include <cstdio>
#include <X11/Xatom.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xmu/StdCmap.h>
extern "C" int main(void)
{
  Display *dpy;
  int scrn_num;
  Screen *scrn;

  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    scrn_num = DefaultScreen(dpy);
    scrn     = ScreenOfDisplay(dpy, scrn_num);
    Status status = XmuLookupStandardColormap(dpy, RootWindowOfScreen(scrn), 0,
                    24, XA_RGB_DEFAULT_MAP, False, True);
    printf("Status = %x\n", status);
    XCloseDisplay(dpy);
  }
  return 0;
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXmu -I/usr/local/include"
found


***** Checking Mesa / GLU *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <GL/glu.h>
extern "C" int main(void)
{
  Display *dpy;
  int major, minor;

  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    Bool glx_version = glXQueryVersion(dpy, &major, &minor);
    XCloseDisplay(dpy);
    if (glx_version)
    {
      printf("found version %u.%u, OK.\n", major, minor);
      return 0;
    }
  }
  printf("found (inactive), OK.\n");
  return 0;
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lGL -I/usr/local/include"
executing the binary
found (inactive), OK.


***** Checking Qt4 *****
compiling the following source file:
#include <cstdio>
#include <QtGlobal>
extern "C" int main(void)
{
  printf("found version %s", QT_VERSION_STR);
#if QT_VERSION >= 0x040602
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 4.6.2 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/local/lib/qt4 -lQtCore   -lpthread -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtCore -DQT_SHARED -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtCore  "
executing the binary (LD_LIBRARY_PATH=/usr/local/lib/qt4)
found version 4.8.5, OK.


***** Checking Qt4 devtools *****
found version 4.8.5


***** Checking Python support *****
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.7 /usr/lib/x86_64-linux-gnu/libpython2.7.so -pthread
g++46: error: /usr/lib/x86_64-linux-gnu/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.7 /usr/lib/i386-linux-gnu/libpython2.7.so -pthread
g++46: error: /usr/lib/i386-linux-gnu/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.7 /usr/lib64/libpython2.7.so -pthread
g++46: error: /usr/lib64/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.7 /usr/lib/64/libpython2.7.so -pthread
g++46: error: /usr/lib/64/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.7 /usr/lib/libpython2.7.so -pthread
g++46: error: /usr/lib/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.6 /usr/lib/x86_64-linux-gnu/libpython2.6.so -pthread
g++46: error: /usr/lib/x86_64-linux-gnu/libpython2.6.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.6 /usr/lib/i386-linux-gnu/libpython2.6.so -pthread
g++46: error: /usr/lib/i386-linux-gnu/libpython2.6.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.6 /usr/lib64/libpython2.6.so -pthread
g++46: error: /usr/lib64/libpython2.6.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.6 /usr/lib/64/libpython2.6.so -pthread
g++46: error: /usr/lib/64/libpython2.6.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.6 /usr/lib/libpython2.6.so -pthread
g++46: error: /usr/lib/libpython2.6.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.5 /usr/lib/x86_64-linux-gnu/libpython2.5.so -pthread
g++46: error: /usr/lib/x86_64-linux-gnu/libpython2.5.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.5 /usr/lib/i386-linux-gnu/libpython2.5.so -pthread
g++46: error: /usr/lib/i386-linux-gnu/libpython2.5.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.5 /usr/lib64/libpython2.5.so -pthread
g++46: error: /usr/lib64/libpython2.5.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.5 /usr/lib/64/libpython2.5.so -pthread
g++46: error: /usr/lib/64/libpython2.5.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.5 /usr/lib/libpython2.5.so -pthread
g++46: error: /usr/lib/libpython2.5.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.4 /usr/lib/x86_64-linux-gnu/libpython2.4.so -pthread
g++46: error: /usr/lib/x86_64-linux-gnu/libpython2.4.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.4 /usr/lib/i386-linux-gnu/libpython2.4.so -pthread
g++46: error: /usr/lib/i386-linux-gnu/libpython2.4.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.4 /usr/lib64/libpython2.4.so -pthread
g++46: error: /usr/lib64/libpython2.4.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.4 /usr/lib/64/libpython2.4.so -pthread
g++46: error: /usr/lib/64/libpython2.4.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.4 /usr/lib/libpython2.4.so -pthread
g++46: error: /usr/lib/libpython2.4.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.3 /usr/lib/x86_64-linux-gnu/libpython2.3.so -pthread
g++46: error: /usr/lib/x86_64-linux-gnu/libpython2.3.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.3 /usr/lib/i386-linux-gnu/libpython2.3.so -pthread
g++46: error: /usr/lib/i386-linux-gnu/libpython2.3.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.3 /usr/lib64/libpython2.3.so -pthread
g++46: error: /usr/lib64/libpython2.3.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.3 /usr/lib/64/libpython2.3.so -pthread
g++46: error: /usr/lib/64/libpython2.3.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/include/python2.3 /usr/lib/libpython2.3.so -pthread
g++46: error: /usr/lib/libpython2.3.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/local/include/python2.7 /usr/local/lib/x86_64-linux-gnu/libpython2.7.so -pthread
g++46: error: /usr/local/lib/x86_64-linux-gnu/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/local/include/python2.7 /usr/local/lib/i386-linux-gnu/libpython2.7.so -pthread
g++46: error: /usr/local/lib/i386-linux-gnu/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/local/include/python2.7 /usr/local/lib64/libpython2.7.so -pthread
g++46: error: /usr/local/lib64/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/local/include/python2.7 /usr/local/lib/64/libpython2.7.so -pthread
g++46: error: /usr/local/lib/64/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++46 -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc -I/usr/local/include/python2.7 /usr/local/lib/libpython2.7.so -pthread
executing the binary
found version 2.7.6, OK.


***** Checking Java support *****



***** Checking PulseAudio *****
compiling the following source file:
#include <cstdio>
#include <pulse/version.h>
extern "C" int main(void)
{
  printf("found version %s API version %d", pa_get_headers_version(), PA_API_VERSION);
#if PA_API_VERSION >= 9
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 0.9.0 (API version 9) or higher\n");
  return 1;
#endif
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-I/usr/local/include -L/usr/local/lib -lpulse"
executing the binary
found version 0.9.23 API version 12, OK.


***** Checking libvncserver *****
compiling the following source file:
#include <cstdio>
#include <rfb/rfbconfig.h>

extern "C" int main()
{
  const char* v=LIBVNCSERVER_VERSION;
  unsigned int major = 0, minor = 0, micro = 0;

  for (; *v !='.' && *v != '\0'; v++) major = major*10 + *v-'0';
  if (*v == '.') v++;
  for (; *v !='.' && *v != '\0'; v++) minor = minor*10 + *v-'0';
  if (*v == '.') v++;
  for (; *v !='.' && *v != '\0'; v++) micro = micro*10 + *v-'0';

  printf("found version %s", LIBVNCSERVER_PACKAGE_VERSION);
  if (major*10000 + minor*100 + micro >= 900)
  {
    printf(", OK.\n");
    return 0;
  }
  else
  {
    printf(", expected version 0.9 or higher\n");
    return 1;
  }
}
using the following command line:
g++46  -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.6/.tmp_src.cc "-L/usr/local/lib -I/usr/local/include"
executing the binary
found version 0.9.9, OK.




>Release-Note:
>Audit-Trail:
>Unformatted:



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