Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-874

qemu doesn't build with static USE flag

    • Icon: Bug Bug
    • Resolution: Fixed Upstream
    • Icon: Normal Normal
    • None
    • None

      I am trying to compile qemu since 1.6.0-r1 version and there is no way to do it at all.
      First of all, configure fails with jpeg, png or curl USE flags saying that the requested configure option does not exist.

      Removing this options, I get the same error with qemu-1.6.1 as I get with previous versions:

      /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libglib-2.0.a(libglib_2_0_la-gutils.o): In function `g_get_user_database_entry':
      (.text+0x2a9): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
      /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libglib-2.0.a(libglib_2_0_la-gutils.o): In function `g_get_user_database_entry':
      (.text+0x29d): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
      /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libglib-2.0.a(libglib_2_0_la-gutils.o): In function `g_get_user_database_entry':
      (.text+0x2b3): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
      /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libglib-2.0.a(libglib_2_0_la-gutils.o): In function `g_get_user_database_entry':
      (.text+0xb3): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
      /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libglib-2.0.a(libglib_2_0_la-gutils.o): In function `g_get_user_database_entry':
      (.text+0xe8): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
      /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/../../../../lib64/libglib-2.0.a(libglib_2_0_la-gmain.o): In function `g_get_monotonic_time':
      (.text+0x27ed): undefined reference to `clock_gettime'
      collect2: ld returned 1 exit status
      make: *** [qemu-bridge-helper] Error 1
      make: *** Waiting for unfinished jobs....
       * ERROR: app-emulation/qemu-1.6.1 failed (compile phase):
       *   emake failed
       * 
       * If you need support, post the output of `emerge --info '=app-emulation/qemu-1.6.1'`,
       * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-1.6.1'`.
       * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-1.6.1/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-1.6.1/temp/environment'.
       * Working directory: '/var/tmp/portage/app-emulation/qemu-1.6.1/work/qemu-1.6.1/user-build'
       * S: '/var/tmp/portage/app-emulation/qemu-1.6.1/work/qemu-1.6.1'
      

      I need to compile it statically since I use it for chrooting on an funtoo arm system.

        1. build.log
          135 kB
        2. build.log
          1.27 MB
        3. emerge.info
          6 kB
        4. environment
          195 kB
        5. build.log
          1.34 MB
        6. emerge.info
          6 kB
        7. environment
          196 kB
        8. build.log.xz
          29 kB

            damex damex
            zayer zayer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: