Search Criteria
Package Details: crowbook 0.17.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/crowbook.git (read-only, click to copy) |
|---|---|
| Package Base: | crowbook |
| Description: | Converts books written in Markdown to HTML, LaTeX/PDF and EPUB |
| Upstream URL: | https://github.com/lise-henry/crowbook |
| Licenses: | LGPL-2.1-only |
| Submitter: | stefan0xC |
| Maintainer: | stefan0xC |
| Last Packager: | stefan0xC |
| Votes: | 1 |
| Popularity: | 0.000000 |
| First Submitted: | 2020-08-29 23:50 (UTC) |
| Last Updated: | 2025-06-07 13:04 (UTC) |
Dependencies (2)
- cargo (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rust, rustup) (make)
- texlive-latexextra (texlive-dummyAUR, texlive-fullAUR, texlive-installerAUR) (optional) – create PDF
Latest Comments
dreieck commented on 2022-10-16 19:11 (UTC) (edited on 2022-10-18 10:04 (UTC) by dreieck)
~
gitneeds to be a make dependency since you download the source via git.~↑ Addendum: OK, you changed now the source URL to a
.tar.gzdownload. Also a way to solve the problem, and this also allows for checksum test ;-). Thanks!dreieck commented on 2022-10-16 18:32 (UTC)
Ahoj @stefan0xC,
yes, → the
error[E0512]problem is gone now, thanks.I also added to the
PKGBUILD(needs to be put inside the functions, since$srcdiris only defined within them)so not
~/.cargogets cluttered but everything stays nicely self-contained within$srcdir. → PKGBUILDpatch, → PKGBUILD.Regarding → the older issue with the linking:
I have added
-ffat-lto-objectsto theCFLAGS(why are theCFLAGSimportant ifrustis used as a compiler?), compilation works now for me.Regards!
stefan0xC commented on 2022-10-16 10:33 (UTC) (edited on 2022-10-16 10:49 (UTC) by stefan0xC)
@dreieck: This is due to a breaking change in rust 1.64. So we have to update the dependencies. Can you check if it builds for you now and maybe also report the issue upstream? I think the issue is already fixed in the main branch so we'd just need a new release.
dreieck commented on 2022-10-15 14:58 (UTC) (edited on 2022-10-15 14:58 (UTC) by dreieck)
Now I get another error, which seems to be an upstream error:
Build fails for me with
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types:Output of
rustc --explain E0512:Regards!
stefan0xC commented on 2022-09-19 04:32 (UTC)
Can you try with either adding
-ffat-lto-objectsor removing-fltofrom CFLAGS?dreieck commented on 2022-09-18 16:05 (UTC) (edited on 2022-09-18 16:06 (UTC) by dreieck)
Yes:
In
/etc/makepkg.conf:CFLAGS=" -g0 -march=x86-64 -mtune=native -O3 -flto -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC"CXXFLAGS="-g0 -march=x86-64 -mtune=native -O3 -flto -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive"RUSTFLAGS="-C opt-level=3 -C debuginfo=0"LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"CGO_CPPFLAGS="${CPPFLAGS}"CGO_CFLAGS="${CFLAGS}"CGO_CXXFLAGS="${CXXFLAGS}"CGO_LDFLAGS="${LDFLAGS}"GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"MAKEFLAGS="-j4"DEBUG_CFLAGS=" -Og -fno-lto -gdwarf-5 -ggdb -gno-strict-dwarf -g3 -gpubnames -grecord-gcc-switches -fno-eliminate-unused-debug-symbols -fvar-tracking -fvar-tracking-assignments -fdebug-types-section -fno-stack-protector -fno-omit-frame-pointer -D_FORTIFY_SOURCE=0 -DDEBUG"DEBUG_CXXFLAGS="-Og -fno-lto -gdwarf-5 -ggdb -gno-strict-dwarf -g3 -gpubnames -grecord-gcc-switches -fno-eliminate-unused-debug-symbols -fvar-tracking -fvar-tracking-assignments -fdebug-types-section -fno-stack-protector -fno-omit-frame-pointer -D_FORTIFY_SOURCE=0 -DDEBUG"DEBUG_RUSTFLAGS="-C opt-level=0 -C debuginfo=2"DEBUG_LDFLAGS="${_LDFLAGS}"DEBUG_MAKEFLAGS="-j1 V=sc"If I set
in the
build()function, I still get the errors (having cleaned up build directories byrm -R src pkgbefore).Hm.
stefan0xC commented on 2022-08-26 01:01 (UTC)
I've added
RUSTUP_TOOLCHAIN=stablewhich should make it compatible withrustup. Not sure if I can really help with the linking issue. Did you change some compiler flags?dreieck commented on 2022-08-25 20:26 (UTC)
build()fails for me while linking:Regards!
dreieck commented on 2022-08-25 19:44 (UTC) (edited on 2022-08-25 19:48 (UTC) by dreieck)
I get the following error:
I had
rustupinstead ofrustinstalled, it was still lying around from another package'smakedepends. Installingrustdid solve the problem. -- Sad that they are notmakeconflicts, otherwise you could excluderustupexplicitly.Btw., as we are at Rust:
Can you make that all the stuff that Rust downloads is already present when
build()is started? E.g. download inprepare()to some sub-directory below$srcdir? That would make things cleaner and allowsbuild()without internet access.Thanks for maintaining!,
regards.
charlesjohnson commented on 2022-08-22 16:46 (UTC) (edited on 2022-08-22 16:47 (UTC) by charlesjohnson)
texlive-latexextrashould be an optional dependency because without it, it fails on output to pdf with! LaTeX Error: File 'hyphenat.sty' not found.