<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> [Mageia-dev] Release blocker bugs </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Release%20blocker%20bugs&In-Reply-To=%3C4F9B0E16.1010508%40mageia.org%3E"> <META NAME="robots" CONTENT="index,nofollow"> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="014964.html"> <LINK REL="Next" HREF="014870.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[Mageia-dev] Release blocker bugs</H1> <B>Thomas Backlund</B> <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Release%20blocker%20bugs&In-Reply-To=%3C4F9B0E16.1010508%40mageia.org%3E" TITLE="[Mageia-dev] Release blocker bugs">tmb at mageia.org </A><BR> <I>Fri Apr 27 23:22:30 CEST 2012</I> <P><UL> <LI>Previous message: <A HREF="014964.html">[Mageia-dev] Release blocker bugs </A></li> <LI>Next message: <A HREF="014870.html">[Mageia-dev] Release blocker bugs </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#14965">[ date ]</a> <a href="thread.html#14965">[ thread ]</a> <a href="subject.html#14965">[ subject ]</a> <a href="author.html#14965">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>27.04.2012 23:27, Thomas Backlund skrev: ><i> 27.04.2012 22:22, Thomas Backlund skrev: </I>>><i> 26.04.2012 14:29, Guillaume Rousse skrev: </I>>><i> </I>>>><i> Actually, it's rather something for rpm-mageia-setup, which contains all </I>>>><i> other automatic dependencies handlers. </I>>>><i> </I>>>><i> Here is a quick prototype, built to be easily extendable in the future </I>>>><i> for similar cases. </I>>><i> </I>>><i> Ok, so I still need some help with this... </I>>><i> </I>>><i> adding this to /usr/lib/rpm/mageia/find-requires </I>>><i> </I>>><i> </I>>><i> # --- minimum rpm-helper required for systemd. </I>>><i> [ -x /usr/lib/rpm/mageia/rpm-helper.req -a -n "$filelist" ] && \ </I>>><i> echo $filelist | tr '[:blank:]' \\n | </I>>><i> /usr/lib/rpm/mageia/rpm-helper.req | sort -u \ </I>>><i> && test ${PIPESTATUS[2]} -ne 0 && echo 'error: </I>>><i> /usr/lib/rpm/mageia/rpm-helper.req failed' >&2 && exit 1 </I>>><i> </I>>><i> </I>>><i> </I>>><i> gives me: </I>>><i> </I>>><i> Unsuccessful stat on filename containing newline at </I>>><i> /usr/lib/rpm/mageia/rpm-helper.req line 33, <> line 35. </I>><i> </I>><i> </I>><i> Ok,so it's this that is failing: </I>><i> </I>><i> return unless -f $file; </I>><i> </I>><i> Do I really need that check, as I in the next line specifically check: </I>><i> </I>><i> return if $file !~ m!/lib/systemd/system/.+\.service$!; </I>><i> </I> I fixed it by adding chomp $_; before calling process_file Now I just need to resubmit the packages that need fixing... -- Thomas </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="014964.html">[Mageia-dev] Release blocker bugs </A></li> <LI>Next message: <A HREF="014870.html">[Mageia-dev] Release blocker bugs </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#14965">[ date ]</a> <a href="thread.html#14965">[ thread ]</a> <a href="subject.html#14965">[ subject ]</a> <a href="author.html#14965">[ author ]</a> </LI> </UL> <hr> <a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev mailing list</a><br> </body></html>