[aur-general] Unable to submit package

Eric Bélanger snowmaniscool at gmail.com
Sun Nov 29 16:37:11 EST 2009


On Sun, Nov 29, 2009 at 1:29 PM, edogawaconan <me at myconan.net> wrote:
> On Mon, Nov 30, 2009 at 1:02 AM, Chris Brannon <cmbrannon79 at gmail.com> wrote:
>>> After 'cleaning up' a package I'm maintaining (nginx-unstable), and
>>> verifying it can be built and works fine, AUR rejected the package.
>>> Reverting to old version (with updated version) works fine.
>>>
>>> error message:
>>> "Missing build function in PKGBUILD."
>>
>> Ok, this is a longshot, but its worth a try.
>> The pkgbuild that you pasted has DOS-style line terminators.  You know,
>> CRLF?  That may well be an artifact of the pastebin service.
>> If you did have them in the original file, remove them.  For whatever
>> reason, bash behaves atrociously when sourcing a file with DOS-style
>> line endings, though it gives no complaint when they are replaced
>> with Unix-style line-endings.
>>
>
> no, the crlf probably because I pasted it using windows pc. The actual
> pkgbuild is unix-style.
>

Another longshot:
Change:

build()
{

to

build() {

>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>


More information about the aur-general mailing list