Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432628 - >=dev-libs/glib-2.30.2 - non-POSIX mv -v argument in ebuild
Summary: >=dev-libs/glib-2.30.2 - non-POSIX mv -v argument in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 20:22 UTC by Joshua B. Kahlenberg
Modified: 2012-09-12 18:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_432628.txt,3.93 KB, text/plain)
2012-09-11 17:01 UTC, Joshua B. Kahlenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua B. Kahlenberg 2012-08-24 20:22:20 UTC
glib ebuilds >=2.30.2 use non-POSIX argument to mv that can cause emerge to fail in the prepare phase when using mv implementations that do not support the argument.

Solution: remove -v argument to mv in glib ebuild
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-08-25 14:55:17 UTC
dev-libs/glib is keyworded on linux and freebsd. On linux, gnu coreutils is part of the base profile package set that all ebuilds can assume is installed, and coreutils supports "mv -v". Similarly, on freebsd, "mv -v" is supported by sys-freebsd/freebsd-bin which is part of the freebsd base profile package set.

Please describe the system where you experienced a failure due to "mv -v", and provide the "emerge --info" output. And verify that removing the "mv -v" is sufficient to allow glib to build on that system.
Comment 2 Pacho Ramos gentoo-dev 2012-09-11 07:19:28 UTC
(In reply to comment #1)
> dev-libs/glib is keyworded on linux and freebsd. On linux, gnu coreutils is
> part of the base profile package set that all ebuilds can assume is
> installed, and coreutils supports "mv -v". Similarly, on freebsd, "mv -v" is
> supported by sys-freebsd/freebsd-bin which is part of the freebsd base
> profile package set.
> 
> Please describe the system where you experienced a failure due to "mv -v",
> and provide the "emerge --info" output. And verify that removing the "mv -v"
> is sufficient to allow glib to build on that system.
Comment 3 Joshua B. Kahlenberg 2012-09-11 17:01:05 UTC
Created attachment 323536 [details]
emerge --info
Comment 4 Joshua B. Kahlenberg 2012-09-11 17:11:43 UTC
(In reply to comment #1)
> dev-libs/glib is keyworded on linux and freebsd. On linux, gnu coreutils is
> part of the base profile package set that all ebuilds can assume is
> installed, and coreutils supports "mv -v". Similarly, on freebsd, "mv -v" is
> supported by sys-freebsd/freebsd-bin which is part of the freebsd base
> profile package set.
> 
> Please describe the system where you experienced a failure due to "mv -v",
> and provide the "emerge --info" output. And verify that removing the "mv -v"
> is sufficient to allow glib to build on that system.

The system uses portage for package-management and busybox for most of the user utilities. I realize that supporting non-standard, feature-limited utilities is not a goal of Gentoo. Removing the "-v" argument resolves the problem.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-11 18:06:47 UTC
(In reply to comment #4)
Lots of gnome-related ebuilds assume non-posix utilities, and that's unlikely to change. However, glib is a core library that even embedded/feature-limited users will find hard to avoid, and since "mv -v" in this case was basically decorative, I say we drop the "-v" to make things a bit easier for you :)

>  11 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> glib-2.30.2.ebuild,
>  glib-2.30.3.ebuild, glib-2.32.3.ebuild, glib-2.32.4.ebuild:
>  Avoid 'mv -v' for embedded users with busybox (bug #432628).
Comment 6 Pacho Ramos gentoo-dev 2012-09-12 18:57:36 UTC
Not sure if maybe a repoman check could search for expressions like "mv -v" that we should not use per problems like this. Otherwise, this is likely to occur again when we forget "-v" is not supported in busybox :|