On Sun, May 15, 2022 16:06, wen heping wrote: > It could be build with root privilege, failed with unprivilege user.
Hi, Limits were the cause of breaking sigil build. Setting stacksize-cur=8M in login.conf allows me to build it without issues on amd64. I can say more: sigil-1.4.3 fails on -current without bumping limits. So the diff Wen sent was good enough. Since then sigil-1.9.20 was released. It also needs stacksize bump. Launches without issues on amd564. Updated diff attached. > > ________________________________________ > ╥╒╪Чхк: owner-po...@openbsd.org <owner-po...@openbsd.org> ╢З╠М wen heping > <wenheping2...@hotmail.com> > ╥╒кмй╠╪Д: 2022дЙ5тб15ху 20:06 > йу╪Чхк: Kirill Bychkov; Omar Polo > Ё╜км: ports@openbsd.org > жВлБ: ╩ь╦╢: editors/sigil: Update to 1.9.2 > > I build sigil-1.9.2 well and run it successfully two days ago, > but now I failed the build too with the portstree updated. > Maybe recent update of portstree break it. > > I shall look into it. > > wen > > ________________________________________ > ╥╒╪Чхк: Kirill Bychkov <ki...@linklevel.net> > ╥╒кмй╠╪Д: 2022дЙ5тб15ху 18:31 > йу╪Чхк: Omar Polo > Ё╜км: wen heping; ports@openbsd.org > жВлБ: Re: editors/sigil: Update to 1.9.2 > > On Sun, May 15, 2022 11:47, Omar Polo wrote: >> Hello, >> >> wen heping <wenheping2...@hotmail.com> wrote: >>> Hi, ports@: >>> >>> Here is a patch for editors/sigil to update to 1.9.2. >>> It build well and run well on amd64-7.1 system. >>> No tests defined and no other port depends on it. >> >> patch-CMakeLists_txt needs a regen and the build fails with a cryptic: >> >> FAILED: src/CMakeFiles/sigil.dir/Misc/Language.cpp.o >> /usr/ports/pobj/sigil-1.9.2/bin/c++ [...] -c >> /usr/ports/pobj/sigil-1.9.2/Sigil-1.9.2/src/Misc/Language.cpp >> ninja: build stopped: subcommand failed. > > Hi! > It also fails for me for the same reason. > >> >> forgot to `cvs add' some patches before sending the diff? >> >> Thanks, >> >> Omar Polo >> >>> wen >>> Index: Makefile >>> =================================================================== >>> RCS file: /cvs/ports/editors/sigil/Makefile,v >>> retrieving revision 1.10 >>> diff -u -p -r1.10 Makefile >>> --- Makefile 11 Mar 2022 18:58:34 -0000 1.10 >>> +++ Makefile 14 May 2022 03:58:15 -0000 >>> @@ -3,11 +3,10 @@ USE_WXNEEDED = Yes >>> COMMENT = EPUB ebook editor >>> >>> PKGNAME = sigil-${GH_TAGNAME} >>> -REVISION = 1 >>> >>> GH_ACCOUNT = Sigil-Ebook >>> GH_PROJECT = Sigil >>> -GH_TAGNAME = 1.4.3 >>> +GH_TAGNAME = 1.9.2 >>> >>> CATEGORIES = editors >>> >>> Index: distinfo >>> =================================================================== >>> RCS file: /cvs/ports/editors/sigil/distinfo,v >>> retrieving revision 1.3 >>> diff -u -p -r1.3 distinfo >>> --- distinfo 24 Mar 2021 14:37:04 -0000 1.3 >>> +++ distinfo 14 May 2022 03:58:15 -0000 >>> @@ -1,2 +1,2 @@ >>> -SHA256 (Sigil-1.4.3.tar.gz) = dL1ILTxP5LIBXuAGpvp38RFDcb0hfk588dmoBepB5xk= >>> -SIZE (Sigil-1.4.3.tar.gz) = 24118565 >>> +SHA256 (Sigil-1.9.2.tar.gz) = 0aFvM/6TzaiEQseY4MU/cA+o4u95LdeFZjktetEdmX8= >>> +SIZE (Sigil-1.9.2.tar.gz) = 23225656 >>> Index: pkg/PLIST >>> =================================================================== >>> RCS file: /cvs/ports/editors/sigil/pkg/PLIST,v >>> retrieving revision 1.5 >>> diff -u -p -r1.5 PLIST >>> --- pkg/PLIST 11 Mar 2022 18:58:34 -0000 1.5 >>> +++ pkg/PLIST 14 May 2022 03:58:15 -0000 >>> @@ -321,6 +321,7 @@ share/sigil/translations/ >>> share/sigil/translations/sigil_az.qm >>> share/sigil/translations/sigil_ca.qm >>> share/sigil/translations/sigil_cs.qm >>> +share/sigil/translations/sigil_da_DK.qm >>> share/sigil/translations/sigil_de.qm >>> share/sigil/translations/sigil_en.qm >>> share/sigil/translations/sigil_es.qm >>> @@ -337,6 +338,7 @@ share/sigil/translations/sigil_ru.qm >>> share/sigil/translations/sigil_sr.qm >>> share/sigil/translations/sigil_sv.qm >>> share/sigil/translations/sigil_th.qm >>> +share/sigil/translations/sigil_tr.qm >>> share/sigil/translations/sigil_uk_UA.qm >>> share/sigil/translations/sigil_zh_CN.qm >>> share/sigil/translations/sigil_zh_TW.qm >> >> >> > > >
sigil.diff
Description: Binary data