Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Aug 29, 2013
  2. Aug 28, 2013
  3. 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
  4. Aug 25, 2013
  5. Aug 23, 2013
  6. Aug 22, 2013
  7. Aug 18, 2013
  8. Aug 16, 2013
Loading