Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#10991 - mono ABS build error: ‘ARG_MAX’ undeclared

Attached to Project: Arch Linux
Opened by Bruno Widmann (bwid) - Wednesday, 23 July 2008, 06:38 GMT
Last edited by Isenmann Daniel (ise) - Wednesday, 23 July 2008, 14:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
makepkg of the mono ABS fails with:
wapi_glob.c: In function ‘globextend’:
wapi_glob.c:303: error: ‘ARG_MAX’ undeclared (first use in this function)

See this gentoo Bugreport:
https://bugs.gentoo.org/show_bug.cgi?id=225409


Fix:
--- mono/io-layer/wapi_glob.c.orig 2008-07-21 08:26:48.000000000 +0200
+++ mono/io-layer/wapi_glob.c 2008-07-21 08:27:47.000000000 +0200
@@ -52,6 +52,13 @@
#include <string.h>
#include <unistd.h>

+#if defined(_SC_ARG_MAX)
+# if defined(ARG_MAX)
+# undef ARG_MAX
+# endif
+# define ARG_MAX sysconf (_SC_ARG_MAX)
+#endif
+
#include "wapi_glob.h"

#define EOS '\0'


Additional info:
* package version(s)
1.9.1
This task depends upon

Closed by  Isenmann Daniel (ise)
Wednesday, 23 July 2008, 14:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in svn trunk of mono. There will be no package update, because mono binary works perfectly.

Loading...