Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11416] New: check-uniq-files staging issue
@ 2018-10-22  7:22 bugzilla at busybox.net
  2018-10-22  7:33 ` [Buildroot] [Bug 11416] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-10-22  7:22 UTC (permalink / raw)
  To: buildroot

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']

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11416] check-uniq-files staging issue
  2018-10-22  7:22 [Buildroot] [Bug 11416] New: check-uniq-files staging issue bugzilla at busybox.net
@ 2018-10-22  7:33 ` bugzilla at busybox.net
  2019-02-15 22:06 ` bugzilla at busybox.net
  2019-11-29 13:08 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-10-22  7:33 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11416

--- Comment #1 from Jean-pierre Cartal <jpcartal@free.fr> ---
The following patch avoids the false positive warnings regarding .la files: 
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index a689dde4d2..110f8ee4a5 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -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),\

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11416] check-uniq-files staging issue
  2018-10-22  7:22 [Buildroot] [Bug 11416] New: check-uniq-files staging issue bugzilla at busybox.net
  2018-10-22  7:33 ` [Buildroot] [Bug 11416] " bugzilla at busybox.net
@ 2019-02-15 22:06 ` bugzilla at busybox.net
  2019-11-29 13:08 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2019-02-15 22:06 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11416

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11416] check-uniq-files staging issue
  2018-10-22  7:22 [Buildroot] [Bug 11416] New: check-uniq-files staging issue bugzilla at busybox.net
  2018-10-22  7:33 ` [Buildroot] [Bug 11416] " bugzilla at busybox.net
  2019-02-15 22:06 ` bugzilla at busybox.net
@ 2019-11-29 13:08 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2019-11-29 13:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11416

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
We removed check-uniq-files in commit 2496189a4207173e4cd5bbab90256f911175ee57

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-29 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-22  7:22 [Buildroot] [Bug 11416] New: check-uniq-files staging issue bugzilla at busybox.net
2018-10-22  7:33 ` [Buildroot] [Bug 11416] " bugzilla at busybox.net
2019-02-15 22:06 ` bugzilla at busybox.net
2019-11-29 13:08 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox