New: check-uniq-files staging issue
https://bugs.busybox.net/show_bug.cgi?id=11416
Bug ID: 11416
Summary: check-uniq-files staging issue
Product: buildroot
Version: 2018.02.4
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jpcartal at free.fr
CC: buildroot at uclibc.org
Target Milestone: ---
Lots of false positive are happening for files located in staging directory when building, even when building from scratch e.g. :
Warning: staging file "./usr/lib/libnl-route-3.la" is touched by more than one
package: [u'libnl', u'json-c', u'ncurses', u'readline', u'lvm2', u'popt', u'util-linux', u'cryptsetup', u'expat', u'dbus', u'e2fsprogs', u'kmod', u'eudev', u'libpng', u'freetype', u'libopenssl', u'ffmpeg', u'giflib', u'graphite2', u'icu', u'libffi', u'pcre', u'libglib2', u'harfbuzz', u'jpeg-turbo', u'json-glib', u'libcap', u'libcurl', u'libexif', u'libmng', u'libnspr', u'sqlite', u'libnss', u'libogg', u'pciutils', u'tremor', u'webp', u'wpa_supplicant', u'CUnit']
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11416] check-uniq-files staging issue
https://bugs.busybox.net/show_bug.cgi?id=11416
--- Comment #1 from Jean-pierre Cartal <[email protected]> --- The following patch avoids the false positive warnings regarding .la files:
package/pkg-generic.mk +0 -0
@@ -276,7 +276,8 @@ $(BUILD_DIR)/%/.stamp_staging_installed: $(addprefix
$(STAGING_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS)) ;\
fi
@$(call MESSAGE,"Fixing libtool files")- $(Q)find $(STAGING_DIR)/usr/lib* -name "*.la" | xargs --no-run-if-empty
\
+ $(Q)for lafile in $$(find $(@D) -name *.la -exec basename {} \; | sort
-u); do \
+ ls $(STAGING_DIR)/usr/lib*/$${lafile}; done | xargs
--no-run-if-empty \
$(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \
-e "s:$(STAGING_DIR):@STAGING_DIR@:g" \
$(if $(TOOLCHAIN_EXTERNAL_INSTALL_DIR),\Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11416] check-uniq-files staging issue
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11416
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11416] check-uniq-files staging issue
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11416
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #2 from Thomas Petazzoni <[email protected]> --- We removed check-uniq-files in commit 2496189a4207173e4cd5bbab90256f911175ee57
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.