Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586094 - net-p2p/transmission-2.84-r4 failed to build - error: unknown type name ?off64_t?
Summary: net-p2p/transmission-2.84-r4 failed to build - error: unknown type name ?off6...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-16 11:23 UTC by vrghost
Modified: 2016-06-22 02:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from emerge --info '=net-p2p/transmission-2.84-r4::gentoo (emerge-info.log,5.72 KB, text/x-log)
2016-06-16 11:24 UTC, vrghost
Details
Output from emerge transmission (build.log,49.32 KB, text/x-log)
2016-06-16 11:24 UTC, vrghost
Details
Output from emerge --pvq '=net-p2p/transmission-2.84-r4::gentoo' (emerge-pvq.log,103 bytes, text/x-log)
2016-06-16 11:25 UTC, vrghost
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vrghost 2016-06-16 11:23:24 UTC
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:
Comment 1 vrghost 2016-06-16 11:24:13 UTC
Created attachment 437742 [details]
Output from emerge --info '=net-p2p/transmission-2.84-r4::gentoo
Comment 2 vrghost 2016-06-16 11:24:42 UTC
Created attachment 437744 [details]
Output from emerge transmission
Comment 3 vrghost 2016-06-16 11:25:11 UTC
Created attachment 437746 [details]
Output from emerge --pvq '=net-p2p/transmission-2.84-r4::gentoo'
Comment 4 vrghost 2016-06-16 11:26:35 UTC
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)
Comment 5 vrghost 2016-06-16 12:58:37 UTC
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
Comment 6 vrghost 2016-06-16 13:10:06 UTC
Same issue in
 net-p2p/transmission-2.84-r5
 net-p2p/transmission-2.90-r1

However, net-p2p/transmission-2.92 compiles perfectly.
Comment 7 Gary HUnt 2016-06-22 01:22:38 UTC
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)
Comment 8 Gary HUnt 2016-06-22 01:33:52 UTC
I see mike (floppym) already fixed it in the newer versions :)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26dbb391ffeb2b178fc84d204d7aceef7f5c6390
Comment 9 Mike Gilbert gentoo-dev 2016-06-22 02:49:43 UTC
See bug 586648.