New comment by Veganizer on void-packages repository https://github.com/void-linux/void-packages/issues/25508#issuecomment-821168042 Comment: XPCOM belongs to the Firefox Runtime xulrunner https://github.com/duanyao/xulrunner-stub/blob/master/src/stub/nsXPCOMPrivate.h It is outdated since firefox 41 https://github.com/zotero/translation-server-old/issues/24 Seems to be updated: https://github.com/zotero/translation-server-old/pull/34 So you need Firefox SDK at least. Maybe you can package it?