pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: security/libsecret build error



Hello Mayuresh,

Mayuresh writes:
> Sorry, may be I am doing something wrong.
>
> I forgot if there was any flag to ignore checksum. So did
> make makepatchsum
>
> Then I get the following error:
>
> => Applying pkgsrc patches for libsecret-0.18.6
> 1 out of 1 hunks failed--saving rejects to libsecret/Makefile.am.rej
> Patch /usr/pkgsrc/security/libsecret/patches/patch-libsecret_Makefile.am
> failed
> => Ignoring patchfile
> /usr/pkgsrc/security/libsecret/patches/patch-libsecret_Makefile.am.orig
> ERROR: Patching failed due to modified or broken patch file(s):
> ERROR:  /usr/pkgsrc/security/libsecret/patches/patch-libsecret_Makefile.am
> ERROR:
> ==========================================================================
> ERROR:
> ERROR: Some of the selected build options and/or local patches may be
> incompatible.
> ERROR: Please try building with fewer options or patches.
> ERROR:
> ERROR:
> ==========================================================================
> *** Error code 1

Mmh, no idea what went wrong but this should do the trick:

 | % cd pkgsrc/security/libsecret
 | % cvs up -C ; rm -rf patches/   # clean up possible modified files
 | % patch -p0 < .../libsecret-0.18.6-avoid-dollar-single-quotes.patch
 | % rm *.orig patches/*.orig

(I have also uploaded it as
<https://www.NetBSD.org/~leot/pkgsrc-patches/libsecret-0.18.6-avoid-dollar-single-quotes.patch>)


Home | Main Index | Thread Index | Old Index