I cant compile package

GUID.cpp: In function ‘void Arc::GUID(std::string&)’:
GUID.cpp:41:13: error: ‘time’ was not declared in this scope
41 | srandom(time(NULL)+random());
| ^~~~
GUID.cpp:15:1: note: ‘time’ is defined in header ‘’; did you forget to ‘#include ’?
14 | #include “GUID.h”
+++ |+#include
15 |
make[6]: *** [Makefile:828: libarccommon_la-GUID.lo] Error 1
make[6]: Leaving directory ‘/root/nordugrid-arc-6.7.0/src/hed/libs/common’

Is nordugrid-arc the AUR package you’re trying to build?

https://aur.archlinux.org/packages/nordugrid-arc

From tarball https://aur.archlinux.org/packages/nordugrid-arc
http://download.nordugrid.org/packages/nordugrid-arc/releases/6.7.0/src/nordugrid-arc-6.7.0.tar.gz

This package requires python2 to build. Please run this command and post the output

$ pacman -Qs globus-toolkit python2 python2-bin

yay -S globus

make[4]: *** [Makefile:442: proxycertinfo.lo] Error 1
make[4]: Leaving directory ‘/home/pal/.cache/yay/globus-toolkit/src/globus_toolkit-6.0.1558548600/gsi/proxy/proxy_ssl/source/library’
make[3]: *** [Makefile:464: all-recursive] Error 1
make[3]: Leaving directory ‘/home/pal/.cache/yay/globus-toolkit/src/globus_toolkit-6.0.1558548600/gsi/proxy/proxy_ssl/source’
make[2]: *** [Makefile:2752: globus_gsi_proxy_ssl-stamp] Error 1
make[2]: Leaving directory ‘/home/pal/.cache/yay/globus-toolkit/src/globus_toolkit-6.0.1558548600’
make[1]: *** [Makefile:462: all-recursive] Error 1
make[1]: Leaving directory ‘/home/pal/.cache/yay/globus-toolkit/src/globus_toolkit-6.0.1558548600’
make: *** [Makefile:383: all] Error 2
==> ERROR: A failure occurred in build().
Aborting…
: globus-toolkit-exit status 4
→ Failed to install the following packages. Manual intervention is required:
globus-toolkit - exit status 4

yay -S python2 python2-bin
Packages (9) gdb-common-14.2-1 libxaw-1.0.16-1
luit-20240102-1 source-highlight-3.1.9-11
xbitmaps-1.1.3-1 gdb-14.2-1 tk-8.6.14-1
xorg-server-xvfb-21.1.11-1 xterm-390-1

Total Download Size: 10.50 MiB
Total Installed Size: 32.18 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages…
source-highlight… 681.3 KiB 1812 KiB/s 00:00 100%
xterm-390-1-x86_64 435.4 KiB 901 KiB/s 00:00 100%
gdb-common-14.2-… 107.5 KiB 224 KiB/s 00:00 100%
luit-20240102-1-… 30.1 KiB 324 KiB/s 00:00 100%
xbitmaps-1.1.3-1-any 26.5 KiB 421 KiB/s 00:00 100%
libxaw-1.0.16-1-… 354.5 KiB 323 KiB/s 00:01 100%
gdb-14.2-1-x86_64 4.5 MiB 2.39 MiB/s 00:02 100%
xorg-server-xvfb-21.1.11-1-x86_64.pkg.tar.zst failed to download
tk-8.6.14-1-x86_64.pkg.tar.zst failed to download
Total (9/9) 10.5 MiB 206 KiB/s 00:52 100%
error: failed retrieving file ‘tk-8.6.14-1-x86_64.pkg.tar.zst’ from mirror.f4st.host : The requested URL returned error: 404
error: failed retrieving file ‘xorg-server-xvfb-21.1.11-1-x86_64.pkg.tar.zst’ from mirror.f4st.host : The requested URL returned error: 404
error: failed retrieving file ‘tk-8.6.14-1-x86_64.pkg.tar.zst’ from mirror.f4st.host : The requested URL returned error: 404
warning: too many errors from mirror.f4st.host, skipping for the remainder of this transaction
etc etc

For example in alma, rocky linux all install simple dnf install nordugrid* and no problems

I would like to add that I was also unable to install this package from the tarball in Alma and Rocky :also unsatisfied dependencies . I installed them only using dnf

Because Redhat/Debian based distributions are supported, not Arch, and sometimes the AUR packages are not well maintained.

https://www.nordugrid.org/arc/arc6/common/repos/repository.html

First Submitted: 2020-08-03 16:37 (UTC)
Last Updated: 2020-08-03 16:37 (UTC)

Maintainment is non-existing i think on this one…