Skip to content
  1. Aug 30, 2013
    • Thomas Petazzoni's avatar
      strongswan: fix build failure when host == target architecture · eb53a09f
      Thomas Petazzoni authored
      The strongswan configure.in uses the AC_LIB_PREFIX macro, which adds
      --with-lib-prefix and --without-lib-prefix options, and which, by
      default assumes that adding ${prefix}/lib to LDFLAGS and
      ${prefix}/include to CPPFLAGS is a good idea. Obviously, when
      cross-compiling, it is definitely not a good idea.
      
      In the specific case of strongswan, the result is that when testing if
      the backtrace() function was available, the small C program was being
      built and linked with -L/usr/lib. So when the host architecture and
      target architecture are identical, it may find the backtrace()
      function in the host C library, without looking at the target C
      library:
      
      configure:16457: /home/test/outputs/a637f916962b6136dd6dd4f4b9ff4e1cab568ef3/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/lib conftest.c  >&5
      /home/test/outputs/a637f916962b6136dd6dd4f4b9ff4e1cab568ef3/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-unknown-linux-uclibc/4.6.3/../../../../x86_64-unknown-linux-uclibc/bin/ld: warning: libc.so.0, needed by /home/test/outputs/a637f916962b6136dd6dd4f4b9ff4e1cab568ef3/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-unknown-linux-uclibc/4.6.3/../../../../x86_64-unknown-linux-uclibc/lib/../lib64/libgcc_s.so, may conflict with libc.so.6
      
      Passing --without-lib-prefix prevents this default behavior from
      happening, and no stupid value is added to CPPFLAGS or LDFLAGS.
      
      Fixes:
      
        http://autobuild.buildroot.net/results/a637f916962b6136dd6dd4f4b9ff4e1cab568ef3/
      
      
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      eb53a09f
    • Markos Chandras's avatar
      ltrace: Add missing mips->mipsel symlink · 014dd9b1
      Markos Chandras authored
      Restore missing mips->mipsel symlink. It appears ltrace was
      packaged incorrectly and the symlink got lost. See
      http://lists.alioth.debian.org/pipermail/ltrace-devel/2013-August/000938.html
      
      
      
      [Peter: add a comment explaining why]
      Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      014dd9b1
  2. Aug 29, 2013
  3. Aug 28, 2013
  4. Aug 27, 2013
    • Markos Chandras's avatar
      minidlna: Fix automagic dependency to libiconv · 86116e4f
      Markos Chandras authored
      
      
      minidlna will detect and use the libiconv library if
      the package is selected. In that case, we need to link
      against -liconv.
      
      Fixes the following linking problem:
      
      tagutils/tagutils.o: In function `do_iconv.constprop.6':
      tagutils.c:(.text+0x4d5c): undefined reference to `libiconv_open'
      tagutils.c:(.text+0x4da0): undefined reference to `libiconv'
      tagutils.c:(.text+0x4e08): undefined reference to `libiconv_close'
      
      [Peter: wrap COMMON_LIBS line]
      Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      86116e4f
    • Samuel Martin's avatar
      toolchain-external: fix lib64 symlinks · 5628776c
      Samuel Martin authored
      * Always link lib64 or lib32 to lib
      * Only copy the architecture's lib directory to staging
      * Also cleanup a couple of mkdirs (concerning some 'lib' directories).
      
      Before this patch:
      
      $ ls -ld host/usr/x86_64-buildroot-linux-gnu/sysroot/{,usr/}lib* target/{usr/,}lib*
      drwxr-xr-x 2 samuel users 4.0K Aug 12 22:26 host/usr/x86_64-buildroot-linux-gnu/sysroot/lib/
      drwxr-xr-x 2 samuel users 4.0K Aug 12 22:27 host/usr/x86_64-buildroot-linux-gnu/sysroot/lib64/
      drwxr-xr-x 5 samuel users 4.0K Oct 30  2012 host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/
      drwxr-xr-x 5 samuel users 4.0K Aug 12 22:27 host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib64/
      drwxr-xr-x 3 samuel users 4.0K Oct 30  2012 host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/libexec/
      drwxr-xr-x 2 samuel users 4.0K Aug 12 22:27 target/lib/
      lrwxrwxrwx 1 samuel users    3 Aug 12 22:27 target/lib64 -> lib/
      drwxr-xr-x 2 samuel users 4.0K Aug 12 22:27 target/usr/lib/
      lrwxrwxrwx 1 samuel users    3 Aug 12 22:27 target/usr/lib64 -> lib/
      
      $ find . -type l -xtype l # find broken symlinks
      find: `./host/usr/x86_64-buildroot-linux-gnu/sysroot/lib64/lib': Too many levels of symbolic links
      find: `./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib64/lib': Too many levels of symbolic links
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnss_files.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnss_nis.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnss_compat.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnss_nisplus.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libutil.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libthread_db.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libcidn.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libcrypt.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libm.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnss_hesiod.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnsl.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/librt.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnss_db.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libanl.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libBrokenLocale.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libnss_dns.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libresolv.so
      ./host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libdl.so
      ./target/etc/resolv.conf
      ./target/dev/log
      
      After this patch:
      $ ls -ld host/usr/x86_64-buildroot-linux-gnu/sysroot/{,usr/}lib* target/{usr/,}lib*
      drwxr-xr-x 2 samuel users 4.0K Oct 30  2012 host/usr/x86_64-buildroot-linux-gnu/sysroot/lib/
      lrwxrwxrwx 1 samuel users    5 Aug 12 22:36 host/usr/x86_64-buildroot-linux-gnu/sysroot/lib64 -> lib/
      drwxr-xr-x 5 samuel users 4.0K Oct 30  2012 host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/
      lrwxrwxrwx 1 samuel users    5 Aug 12 22:36 host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib64 -> lib/
      drwxr-xr-x 3 samuel users 4.0K Oct 30  2012 host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/libexec/
      drwxr-xr-x 2 samuel users 4.0K Aug 12 22:36 target/lib/
      lrwxrwxrwx 1 samuel users    3 Aug 12 22:36 target/lib64 -> lib/
      drwxr-xr-x 2 samuel users 4.0K Aug 12 22:36 target/usr/lib/
      lrwxrwxrwx 1 samuel users    3 Aug 12 22:36 target/usr/lib64 -> lib/
      
      $ find . -type l -xtype l # find broken symlinks
      ./target/etc/resolv.conf
      ./target/dev/log
      
      Fixes http://autobuild.buildroot.net/results/23fb6b1479d2b5906b72c9437b06ab4700ff246d/
      
      
      
      Signed-off-by: default avatarSamuel Martin <s.martin49@gmail.com>
      Signed-off-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      5628776c
    • Thomas Petazzoni's avatar
      pulseaudio: fix NEON usage · f0963671
      Thomas Petazzoni authored
      The NEON intrinsics used by Pulseaudio are only available in either
      -mfloat-abi=softfp or -mfloat-abi=hard, not in
      -mfloat-abi=soft. Therefore having NEON support in the processor is
      not sufficient, we also should *not* be using soft-float.
      
      Moreover, looking at BR2_ARM_ENABLE_NEON to know if the processor has
      NEON support is incorrect. This option is only here to allow the user
      to tell whether the processor has NEON support or not, for the ARM
      cores that only have optional NEON support. Instead, the
      BR2_ARM_CPU_HAS_NEON option really indicates whether NEON is available
      or not (it is either set automatically by the ARM cores that always
      have NEON support, or when BR2_ARM_ENABLE_NEON is enabled by the user
      to confirm that his ARM processor has NEON support).
      
      This fixes build failures such as
      http://autobuild.buildroot.org/results/675/675c96059be348b594cc92980bef391126931c83/build-end.log
      
      
      
      [Peter: add comment about reason for soft abi check]
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      f0963671
    • Thomas Petazzoni's avatar
      package/Makefile.in: fix ABI name for EABIhf targets · 796621c5
      Thomas Petazzoni authored
      
      
      The current code to set ABI on ARM does the following:
      
      ifeq ($(BR2_arm)$(BR2_armeb),y)
      ... set ABI without 'hf' suffix ...
      else ifeq ($(BR2_ARM_EABIHF),y)
      ... set ABI with 'hf' suffix ...
      endif
      
      But since $(BR2_arm)$(BR2_armeb) will always be 'y' in the cases where
      BR2_ARM_EABIHF is 'y', it means that the 'else' part of the condition
      will never be used.
      
      Fix this by appending 'hf' to the ABI variable when BR2_ARM_EABIHF is
      selected.
      
      [Peter: put EABIhf handling under arm/armeb conditional for consistency]
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      796621c5
    • Gustavo Zacarias's avatar
    • Gustavo Zacarias's avatar
    • Danomi Manchego's avatar
      openssh: fix tab/spacing in init script · 0be2fe9a
      Danomi Manchego authored
      
      
      Several of the lines in S50sshd script have a strange mix of spaces
      and tabs, that at least do not look consistent with neighboring lines.
      This patch makes the spacing consistent, and also strips the trailing
      spaces.
      
      Signed-off-by: default avatarDanomi Manchego <danomimanchego123@gmail.com>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      0be2fe9a
    • Arnout Vandecappelle's avatar
      28245621
    • Markos Chandras's avatar
      python-setuptools: Add missing $(TARGET_DIR) to PYTHONPATH · 0b363ba5
      Markos Chandras authored
      
      
      The $(TARGET_DIR) variable is required when building
      python-setuptools for the target otherwise the build system detects
      the host installation which leads to permission error problems
      like these:
      
      Setuptools installation detected at /usr/lib64/python2.7/site-packages
      Renaming /usr/lib64/python2.7/site-packages/setuptools-0.9.8-py2.7.egg-info to
      /usr/lib64/python2.7/site-packages/setuptools-0.9.8-py2.7.egg-info.OLD.1377005697.88
      OSError: [Errno 13] Permission denied
      
      Moreover, remove the PYTHONPATH variable for host variant since it's
      not needed.
      
      Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
      Tested-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
      Acked-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      0b363ba5
    • Arnout Vandecappelle's avatar
      apply-patches: run patch in batch mode · 5871b791
      Arnout Vandecappelle authored
      
      
      If the file to be patched is missing, then `patch' will interactively
      ask for a file to be patched. This is annoying in e.g. the autobuilders
      because they have to wait for a timeout instead of failing.
      
      Giving the '-t' (batch mode) option to patch fixes this: it will skip the
      missing file, and return a non-zero exit code. So the build cleanly
      fails.
      
      Signed-off-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
      Acked-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      5871b791
  5. Aug 25, 2013
  6. Aug 23, 2013
  7. Aug 22, 2013
  8. Aug 18, 2013
  9. Aug 16, 2013
Loading