The only consumer of dev-java/fec is net-p2p/freenet where upstream builds with fec included in freenet-ext-29.jar built from https://github.com/hyphanet/contrib/tree/v29/fec Presently dev-java/fec-1.0.4-r4 builds from sources hosted in dev.gentoo.org/~monsieurp For comparison, these are the sofiles and classes to be added to dev-java/freenet-ext: wget https://maven.pterodactylus.net/org/freenetproject/freenet-ext/29/freenet-ext-29.jar $ jar tf freenet-ext-29.jar | grep -e 'fec.*so' lib/freebsd-x86/libfec16.so lib/freebsd-x86/libfec8.so lib/linux-x86/libfec16.so lib/linux-x86/libfec8.so lib/linux-x86_64/libfec16.so lib/linux-x86_64/libfec8.so $ jar tf freenet-ext-29.jar | grep onion com/onionnetworks/ com/onionnetworks/fec/ com/onionnetworks/fec/DefaultFECCodeFactory.class com/onionnetworks/fec/FECCode.class com/onionnetworks/fec/FECCodeFactory.class com/onionnetworks/fec/FECMath.class com/onionnetworks/fec/Native16Code.class com/onionnetworks/fec/Native8Code.class com/onionnetworks/fec/Pure16Code.class com/onionnetworks/fec/PureCode.class onion_LICENSE com/onionnetworks/io/ com/onionnetworks/net/ com/onionnetworks/util/ com/onionnetworks/io/AuditableRaf.class com/onionnetworks/io/BlockDigestInputStream.class com/onionnetworks/io/BlockingRAF.class com/onionnetworks/io/CommitRaf.class com/onionnetworks/io/ExceptionRAF.class com/onionnetworks/io/FileIntegrity.class com/onionnetworks/io/FileIntegrityImpl.class com/onionnetworks/io/FilterRAF.class com/onionnetworks/io/FiniteInputStream.class com/onionnetworks/io/JoiningInputStream.class com/onionnetworks/io/Journal.class com/onionnetworks/io/JournalingRAF.class com/onionnetworks/io/LazyRenameRAF.class com/onionnetworks/io/RAF.class com/onionnetworks/io/RAFInputStream.class com/onionnetworks/io/RAFOutputStream.class com/onionnetworks/io/TempRaf.class com/onionnetworks/io/UnpredictableInputStream.class com/onionnetworks/io/WriteCommitRaf.class com/onionnetworks/io/WriteOnceRaf.class com/onionnetworks/net/DatagramSocketFactory.class com/onionnetworks/net/PlainDatagramSocketFactory.class com/onionnetworks/util/AsyncPersistentProps.class com/onionnetworks/util/BlockDigestInputStream.class com/onionnetworks/util/Buffer.class com/onionnetworks/util/ExceptionEvent.class com/onionnetworks/util/ExceptionHandler.class com/onionnetworks/util/FileIntegrity.class com/onionnetworks/util/FileIntegrityImpl.class com/onionnetworks/util/FileUtil.class com/onionnetworks/util/FilteringIterator$1.class com/onionnetworks/util/FilteringIterator.class com/onionnetworks/util/IntIterator.class com/onionnetworks/util/InvokeEvent.class com/onionnetworks/util/InvokingDispatch$InvokeEvent.class com/onionnetworks/util/InvokingDispatch.class com/onionnetworks/util/JoiningIterator.class com/onionnetworks/util/NativeDeployer.class com/onionnetworks/util/NetUtil.class com/onionnetworks/util/Range.class com/onionnetworks/util/RangeSet.class com/onionnetworks/util/RateCalculator.class com/onionnetworks/util/ReflectiveEventDispatch.class com/onionnetworks/util/SimUtil.class com/onionnetworks/util/TimedSoftHashMap$HashableSoftReference.class com/onionnetworks/util/TimedSoftHashMap.class com/onionnetworks/util/Tuple.class com/onionnetworks/util/Util$1.class com/onionnetworks/util/Util.class