Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#45957 - [mdadm] many PKGBUILD improvements for mdadm

Attached to Project: Arch Linux
Opened by Chris Severance (severach) - Tuesday, 11 August 2015, 19:59 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 30 March 2022, 08:00 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


# Required fixes for main package mdadm
# Disable patch "disable-werror.patch"
# Add CXFLAGS='-O' to both make in build()
# Fix path /sbin in some files
# Fix reference to ash shell in mdadm_hook
# Change grep -q to grep -qw in mdadm_install to match mdadm_udev_install

# Recommended fixes for main package mdadm
# Add check function with ./test and possibly make disabled.
# make -s (silent) so that warnings are more visible
# Fix path /bin in some files

# See AUR package mdadm-git for ideas.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 30 March 2022, 08:00 GMT
Reason for closing:  Works for me
Comment by Doug Newgard (Scimmia) - Wednesday, 12 August 2015, 04:12 GMT
You seriously marked the package out of date because of this? Do you know what out of date means?

Edit: Wait, the package really is out of date? Then why did you point to this report instead of to the upstream release?
Comment by Chris Severance (severach) - Wednesday, 12 August 2015, 04:42 GMT
The upstream is too well documented to mention. It's an update because there are updates. It's a bug because there are bugs. Tagging along are many improvements that can be phased in over time.

There isn't a good way to combine all these.
Comment by Chris Severance (severach) - Monday, 17 August 2015, 16:47 GMT
CXFLAGS='-O' is insufficient. As found in another Neil Brown project AUR wiggle, to make mdadm compile with standard Arch Linux flags use CXFLAGS="${CFLAGS}". The executable size will grow a lot.
Comment by Eli Schwartz (eschwartz) - Sunday, 17 September 2017, 17:53 GMT
What is the story with these changes? The upstream url is dead, the original developer handed development off to a new maintainer and disabled issues on the github repository, and it is not immediately apparent to me what the now-disappeared upstream issue was about, how much of it is still relevant to our package, or what we should be doing about this...