All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12991] New: PER_PACKAGE_DIRECTORIES problem with host/share/gettext
Date: Tue, 09 Jun 2020 13:31:49 +0000	[thread overview]
Message-ID: <bug-12991-163@https.bugs.busybox.net/> (raw)

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

            Bug ID: 12991
           Summary: PER_PACKAGE_DIRECTORIES problem with
                    host/share/gettext
           Product: buildroot
           Version: 2020.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: info at hifiberry.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Some packages create a symlink for gettext-tiny in
 .../per-package/PKGNAME/host/share

e.g.:

lrwxrwxrwx 72 matuschd matuschd   84 Jun  9 11:49
/home/matuschd/buildroot-4/per-package/xkeyboard-config/host/share/gettext ->
/home/matuschd/buildroot-4/per-package/host-gettext-tiny/host/usr/share/gettext-tiny

However, cairo and fontconfig, create a directory with a subdirectory "its":

ls -l /home/matuschd/buildroot-4/per-package/python-pycairo/host/share/gettext
total 4
drwxr-xr-x 2 matuschd matuschd 4096 Jun  9 11:54 its


As the result, the final rsync fails as the directory is non-empty:

rsync -a --link-dest=/home/matuschd/buildroot-4/per-package/alsa-utils/host/
/home/matuschd/buildroot-4/per-package/alsa-utils/host/
/home/matuschd/buildroot-4/host
cannot delete non-empty directory: share/gettext
could not make way for new symlink: share/gettext
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1196) [sender=3.1.2]
Makefile:737: recipe for target 'host-finalize' failed
make[1]: *** [host-finalize] Error 23
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

This way, the PER_PACKAGE_DIRECTORY setting can't be used 

I'm not sure at what point this should be fixed

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

             reply	other threads:[~2020-06-09 13:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 13:31 bugzilla at busybox.net [this message]
2020-06-10 20:11 ` [Buildroot] [Bug 12991] PER_PACKAGE_DIRECTORIES problem with host/share/gettext bugzilla at busybox.net
2024-06-15 14:52 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-12991-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.