Trying to build transmission (version 2.84-r4) with the error message: In file included from /usr/include/xfs/xfs.h:37:0, from fdlimit.c:31: /usr/include/xfs/linux.h:145:9: error: unknown type name ?off64_t? typedef off64_t xfs_off_t; ^ Makefile:1138: recipe for target 'fdlimit.o' failed make[1]: *** [fdlimit.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/net-p2p/transmission-2.84-r4/work/transmission-2.84/libtransmission' Makefile:490: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 * ERROR: net-p2p/transmission-2.84-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/transmission-2.84-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/transmission-2.84-r4::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-p2p/transmission-2.84-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/transmission-2.84-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/transmission-2.84-r4/work/transmission-2.84' * S: '/var/tmp/portage/net-p2p/transmission-2.84-r4/work/transmission-2.84' >>> Failed to emerge net-p2p/transmission-2.84-r4, Log file:
Created attachment 437742 [details] Output from emerge --info '=net-p2p/transmission-2.84-r4::gentoo
Created attachment 437744 [details] Output from emerge transmission
Created attachment 437746 [details] Output from emerge --pvq '=net-p2p/transmission-2.84-r4::gentoo'
Tried to find anyone with the same issue, closest I could find was this: https://trac.transmissionbt.com/ticket/5973 Not certain if I use musl (also, do not know what it is)
Redhat seems to have a similar issue, seems like there is an issue with xfsprogs, or potentially that they have stopped using off64_t https://bugzilla.redhat.com/show_bug.cgi?id=1319804
Same issue in net-p2p/transmission-2.84-r5 net-p2p/transmission-2.90-r1 However, net-p2p/transmission-2.92 compiles perfectly.
It has to do with xfsprogs 4.5.0 using off64_t in its headers. I don't code so perhaps someone else can use the info below to make a patch? https://github.com/collectd/collectd/commit/865a6c83250e3d4381596a0d937df31d563f97c6 Emerging =xfsprogs=3.2.4 and should allow transmission to compile properly. (Tested on amd64 , transmission 2.84-r4 used: gtk qt4 xfs)
I see mike (floppym) already fixed it in the newer versions :) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26dbb391ffeb2b178fc84d204d7aceef7f5c6390
See bug 586648.