package/ltrace: Fix "unmet direct dependencies"
PATCH 1/1 package/ltrace: Fix "unmet direct dependencies"
Fixes build error in elfutils
http://autobuild.buildroot.net/results/37f/37f87ad7ba087d42d0001f55305f7468c2a172b6/
eblwstrtab.c:(.text+0x43): undefined reference to wmempcpy' eblwstrtab.c:(.text+0x1ba): undefined reference to wcslen' eblwstrtab.c:(.text+0x2df): undefined reference to `wmemcmp'
because ltrace did not take into account that elfutils depends on BR2_LARGEFILE & BR2_USE_WCHAR. This is also visible here:
wget http://autobuild.buildroot.net/results/37f/37f87ad7ba087d42d0001f55305f7468c2a172b6/defconfig
make defconfig BR2_DEFCONFIG=defconfig
warning: (BR2_PACKAGE_LTRACE) selects BR2_PACKAGE_ELFUTILS which has unmet direct dependencies (BR2_LARGEFILE && BR2_USE_WCHAR && !BR2_avr32 && !BR2_bfin)
--- package/ltrace/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/ltrace/Config.in +2 -0
@@ -4,6 +4,8 @@ config BR2_PACKAGE_LTRACE || BR2_powerpc || BR2_sparc || BR2_x86_64) select BR2_PACKAGE_LIBELF select BR2_PACKAGE_ELFUTILS + depends on BR2_LARGEFILE # elfutils + depends on BR2_USE_WCHAR # elfutils help Debugging program which runs a specified command until it exits. While the command is executing, ltrace intercepts and records
Signature · 1 line
1.7.10.4
PATCH 1/1 package/ltrace: Fix "unmet direct dependencies"
Bernd Kuhls <[email protected]> wrote in news:1407065792-19859-1-git-send-email-bernd.kuhls at t-online.de:
Quoted 2 lines
Fixes build error in elfutils
http://autobuild.buildroot.net/results/37f/37f87ad7ba087d42d0001f55305f7468
c2a172b6/
Hi,
forgot two more occurrences:
http://autobuild.buildroot.net/results/881/8814a8cea9f9affd7b600a9a1819975c2e
84f36b/
http://autobuild.buildroot.net/results/9d9/9d974abdc3e46dd37e7ede7c4d82f87506
560650/
Regards, Bernd
Thomas Petazzoni
AppliedPATCH 1/1 package/ltrace: Fix "unmet direct dependencies"
In reply to Bernd KuhlsDear Bernd Kuhls,
Quoted 10 lines · Bernd Kuhls
Fixes build error in elfutils
http://autobuild.buildroot.net/results/37f/37f87ad7ba087d42d0001f55305f7468c2a172b6/eblwstrtab.c:(.text+0x43): undefined reference to
wmempcpy' eblwstrtab.c:(.text+0x1ba): undefined reference towcslen' eblwstrtab.c:(.text+0x2df): undefined reference to `wmemcmp'because ltrace did not take into account that elfutils depends on
BR2_LARGEFILE&BR2_USE_WCHAR. This is also visible here:
Quoted 7 lines
wget http://autobuild.buildroot.net/results/37f/37f87ad7ba087d42d0001f55305f7468c2a172b6/defconfig
make defconfig BR2_DEFCONFIG=defconfigwarning: (
BR2_PACKAGE_LTRACE) selectsBR2_PACKAGE_ELFUTILSwhich has unmet direct dependencies (BR2_LARGEFILE&&BR2_USE_WCHAR&& !BR2_avr32 && !BR2_bfin)Signed-off-by Bernd Kuhls <[email protected]>
Applied, thanks! However, you forgot to add the comment for the new dependencies, so I've added it.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com