Skip to contentSkip to conversation

New: PER_PACKAGE_DIRECTORIES problem with host/share/gettext

Buildroot bugzilla at busybox.net 1 participant 3 messages Jun 9, 2020 – Jun 15, 2024

lore
Share & tools
lore
#0 lore 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

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 12991] PER_PACKAGE_DIRECTORIES problem with host/share/gettext

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |thomas.petazzoni at bootlin.co
|.org |m

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 12991] PER_PACKAGE_DIRECTORIES problem with host/share/gettext

In reply to bugzilla at busybox.net

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

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED
                 CC|                            |[email protected]

--- Comment #1 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot