I'm aware that this package has been orphaned but I'm hitting this error while building this package, if anyone managed to build this pkg, could you tell me please how would I go about solving this issue :
/usr/bin/ld: os_net.a(os_net.o):(.bss+0x0): multiple definition of `agt'; client-agent/config.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:888: ossec-agentd] Error 1
==> ERROR: A failure occurred in build().
Aborting...
aura >>= There was a makepkg failure.
Pinned Comments
freeboson commented on 2018-01-29 02:22 (UTC) (edited on 2018-01-29 02:30 (UTC) by freeboson)
Before using makepkg, you must import the key (into your keyring) that signs the release from upstream. You can do that via this command:
gpg --keyserver pool.sks-keyservers.net --recv-keys B50FB1947A0AE31145D05FADEE1B0E6B2D8387B7
or import directly via