Package Details: yafu 1.34.3-3

Git Clone URL: https://aur.archlinux.org/yafu.git (read-only, click to copy)
Package Base: yafu
Description: Automated integer factorization
Upstream URL: http://yafu.sourceforge.net/
Licenses: custom
Submitter: hotaru
Maintainer: hotaru
Last Packager: hotaru
Votes: 5
Popularity: 0.000000
First Submitted: 2015-04-04 03:59 (UTC)
Last Updated: 2023-01-11 03:55 (UTC)

Latest Comments

vochong commented on 2021-10-03 19:14 (UTC)

Hi,

I tried to install Yafu from AUR and it failed with these errors:

/include/yafu.h:165: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:164: multiple definition of L2CACHE'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:164: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:164: multiple definition ofL1CACHE'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:164: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:163: multiple definition of CPU_ID_STR'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:163: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:162: multiple definition ofVERBOSE_PROC_INFO'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:162: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:161: multiple definition of MEAS_CPU_FREQUENCY'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:161: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:158: multiple definition ofPRIMES_TO_SCREEN'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:158: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:157: multiple definition of PRIMES_TO_FILE'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:157: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:154: multiple definition ofLCGSTATE'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:154: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:153: multiple definition of gmp_randstate'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:153: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:152: multiple definition ofg_rand'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:152: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:149: multiple definition of sessionname'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:149: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:148: multiple definition ofbatchfilename'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:148: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:147: multiple definition of USERSEED'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:147: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:146: multiple definition ofUSEBATCHFILE'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:146: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:143: multiple definition of LATHREADS'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:143: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:142: multiple definition ofTHREADS'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:142: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:139: multiple definition of LOGFLAG'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:139: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:136: multiple definition ofNUM_WITNESSES'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:136: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:133: multiple definition of OBASE'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:133: first defined here /usr/bin/ld: factor/nfs/snfs.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:132: multiple definition ofIBASE'; factor/qs/msieve/lanczos.o:/home/python/.cache/yay/yafu/src/yafu-1.34.3/include/yafu.h:132: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:238: x86_64] Error 1 ==> ERROR: A failure occurred in build(). Aborting... error making: yafu

Please fix it.

Thanks!

FXTi commented on 2020-10-11 05:34 (UTC)

Hello,

Error occurred when I tried to build today. It happened in build of yafu, not msieve:

/usr/bin/ld: top/eratosthenes/worker.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: multiple definition of `zFive'; factor/qs/msieve/lanczos.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: first defined here
/usr/bin/ld: top/eratosthenes/worker.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: multiple definition of `zThree'; factor/qs/msieve/lanczos.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: first defined here
/usr/bin/ld: top/eratosthenes/worker.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: multiple definition of `zTwo'; factor/qs/msieve/lanczos.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: first defined here
/usr/bin/ld: top/eratosthenes/worker.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: multiple definition of `zOne'; factor/qs/msieve/lanczos.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: first defined here
/usr/bin/ld: top/eratosthenes/worker.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: multiple definition of `zZero'; factor/qs/msieve/lanczos.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:176: first defined here
/usr/bin/ld: top/eratosthenes/worker.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:172: multiple definition of `sysname_sz'; factor/qs/msieve/lanczos.o:/tmp/yafu/src/yafu-1.34.3/include/yafu.h:172: first defined here

Could anyone please submit a solution to solve this soon? yafu is crucial in my daily work!

lenerd commented on 2017-09-17 19:23 (UTC)

Hello, I would like to suggest two patches for this package [0]. ec67e6c The first one patches the Makefile to respect the content of LDFLAGS. 47d0c49 To use the integrated help function, yafu expects the file "docfile.txt" in the current working directory This patch installs the file to /usr/share/doc/yafu/docfile.txt and adjusts the path in the code accordingly. It also addresses an issue with CRLF line endings in Linux. If you like these changes, feel free to integrate them in this package. [0]: https://github.com/lenerd/yafu-pkg