Search Criteria
Package Details: cado-nfs-git 20240318.a24829267-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/cado-nfs-git.git (read-only, click to copy) |
---|---|
Package Base: | cado-nfs-git |
Description: | Implementation of the Number Field Sieve (NFS) algorithm for factoring integers |
Upstream URL: | http://cado-nfs.gforge.inria.fr/ |
Licenses: | LGPL2 |
Conflicts: | cado-nfs |
Provides: | cado-nfs |
Submitter: | jdetrey |
Maintainer: | AquilaIrreale |
Last Packager: | AquilaIrreale |
Votes: | 4 |
Popularity: | 0.002322 |
First Submitted: | 2015-12-07 12:57 (UTC) |
Last Updated: | 2024-04-04 17:37 (UTC) |
Dependencies (12)
- gmp (gmp-hgAUR)
- hwloc
- python (python37AUR, python311AUR, python310AUR)
- sqlite (sqlite-fossilAUR)
- cmake (cmake-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gmp-ecm (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (optional) – for cado-nfs-client.py
- gmp-ecm (optional) – for JL DLP polynomial selection
- perl (perl-gitAUR) (optional) – for bwc.pl
Latest Comments
1 2 3 4 Next › Last »
AquilaIrreale commented on 2024-04-04 17:42 (UTC)
@Robin_Jadoul patch wiggled, thank you for your report
Robin_Jadoul commented on 2024-03-29 14:01 (UTC)
fmt.patch doesn't apply anymore. Regenerating it by manually commenting out the line and saving the resulting git diff seems to make everything work fine again.
AquilaIrreale commented on 2022-10-06 18:21 (UTC) (edited on 2022-10-06 18:22 (UTC) by AquilaIrreale)
@gilcu3 the
[
was not extra (it is a special character to be escaped) but apparently, depending on thesed
implementation, when present inside a character class it has to be at the very end of it; fixed.Regarding the
strip
option, if that's the case then we'll have to keep thesed
and-ffile-prefix-map
in as you proposed.gilcu3 commented on 2022-10-05 07:17 (UTC) (edited on 2022-10-05 07:18 (UTC) by gilcu3)
@AquilaIrreale in the last version there is an extra character in the
sed
command line 70 (one extra '[') which breaks the packaging.Regarding fixing the commit hash, yes I only had it because at some point building was not working in the last commit, must have been fixed already.
Regarding the strip option, yes I get
==> WARNING: Package contains reference to $srcdir
even with the option on.AquilaIrreale commented on 2022-10-04 22:36 (UTC) (edited on 2022-10-04 22:38 (UTC) by AquilaIrreale)
@gilcu3 thank you for your suggestions, I adopted some of them, with a couple modifications (mainly making
sed
sturdier against strange characters in the build path, although it's probably futile anyways, since I could not think of a way to protect-ffile-prefix-map=old=new
against spaces during the expansion of the$FLAGS
variables, and I'm not sure how it behaves in the presence of embedded equal signs (=
) in theold
andnew
patterns).I am not going go to hardcode the commit hash, this being a
-git
package it should always build the most recent version available on master, and I removed thestrip
option, that one should be set inmakepkg.conf
on a per-user basis, even if not having it has the chance to leave additional references to$srcdir
in the built binaries (which is expected behavior).P.s. come to think of it, in my builds it never put references to the
$srcdir
in my binaries (I always hadstrip
on by default). Are you sure we need all the header filesed
'ing and-ffile-prefix-map
at all and it's not just thestrip
option that's fixing it for you?@ccorn yeah, I left out a
cd
when I moved the generation oflocal.sh
frombuild()
toprepare()
and it somehow still appeared to work fine. Teach me to double check, really, smh :/ccorn commented on 2022-10-02 08:19 (UTC)
If you are wondering why the package filelist gets messed up with build dirs: Well,
local.sh
needs to be put into thecado-nfs
checkout... ;-)gilcu3 commented on 2022-09-29 08:11 (UTC)
@Aquilarreale I agree it is quite convoluted. I fixed a few things in the PKGBUILD, mostly this problem with
local.sh
not being read and another where the$srcdir
was embedded in some binaries, feel free to take it as such:AquilaIrreale commented on 2022-09-28 22:22 (UTC)
@gilcu3 strange, it should be picking it up automatically from the
local.sh
script.. anyhow yeah, this build system is a bit (unneededly?) convoluted. Just to be sure, do you need to add it to thebuild()
make
command, to the one ininstall()
or both?gilcu3 commented on 2022-09-24 21:50 (UTC) (edited on 2022-09-26 09:16 (UTC) by gilcu3)
@AquilaIrreale The output is empty for that command. The PKGBUILD is somehow registering the files in the local folder and not in the global one.
EDIT: For some reason the behavior changes depending on which folder I build the package, maybe a bug related to the buildsystem. The problem seems to be the PREFIX variable, that for some reason is not setup properly. Addidng
export PREFIX=/usr
before themake
command fixes the issue for me.AquilaIrreale commented on 2022-09-24 21:01 (UTC) (edited on 2022-09-24 21:10 (UTC) by AquilaIrreale)
@gilcu3 what do you mean?
make install
puts both cado-nfs.py andcado-nfs-client.py
under/usr/bin
(which should most definitely be in your$PATH
).Could you please post the output of
just to make sure?
1 2 3 4 Next › Last »