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!
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!
FS#25787 - [nginx] fails to build on Linux 3.0
Attached to Project:
Community Packages
Opened by Jonathan Liu (net147) - Saturday, 27 August 2011, 10:43 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 27 August 2011, 12:50 GMT
Opened by Jonathan Liu (net147) - Saturday, 27 August 2011, 10:43 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 27 August 2011, 12:50 GMT
|
DetailsDescription:
The nginx package fails to build on Linux 3.0. checking for Linux specific features auto/os/linux: line 21: 3.0-ARCH: syntax error: invalid arithmetic operator (error token is ".0-ARCH") Additional info: * nginx 1.0.5-1 Steps to reproduce: * makepkg |
This task depends upon
Comment by Jonathan Liu (net147) -
Saturday, 27 August 2011, 10:47 GMT
Patch to fix building on Linux 3.0.
Comment by Jakob Matthes (jakobm) -
Saturday, 27 August 2011, 10:58 GMT
Upstream known and fixed in 1.1.1: http://trac.nginx.org/nginx/ticket/5 http://nginx.org/en/CHANGES
Comment by Jonathan Liu (net147) -
Saturday, 27 August 2011, 11:01 GMT
Yes i'm aware of that. The fix is in the development version but the latest stable release doesn't have the fix. Hence why i've extracted the fix so it can be applied to the stable release.
Comment by Jakob Matthes (jakobm) -
Saturday, 27 August 2011, 11:12 GMT
Sorry, I understand your motion now.
Comment by Jonathan Liu (net147) -
Saturday, 27 August 2011, 11:13 GMT
Of course you can use the original submitted patch as well: http://trac.nginx.org/nginx/raw-attachment/ticket/5/patch-nginx-linux-version.txt
linux-3.0.patch
(0.6 KiB)