Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362239 - net-im/mcabber-0.10.1: temporary fix of #277888 prevents successful compilation of the modules
Summary: net-im/mcabber-0.10.1: temporary fix of #277888 prevents successful compilati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 277888
  Show dependency tree
 
Reported: 2011-04-05 21:36 UTC by Alexander Solovets
Modified: 2012-03-15 15:23 UTC (History)
1 user (show)

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


Attachments
Fixes the issue (mcabber-fix.diff,95 bytes, patch)
2011-04-05 21:40 UTC, Alexander Solovets
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Solovets 2011-04-05 21:36:46 UTC
After emerging mcabber I can't build its modules because of the error complaining about _FILE_OFFSET_BITS. The error appears because of the following inclusion chain: module -> <mcabber/xmpp.h> -> ... -> <mcabber/pgp.h> -> <gpgme.h>

Reproducible: Always

Steps to Reproduce:
1. Clone http://hg.lilotux.net/index.cgi/mod-mcabber-pep/ (perhaps any other)
2. Run `cmake . && make'
3. Get error complaining about _FILE_OFFSET_BITS
Actual Results:  
"append-flags -D_FILE_OFFSET_BITS=64" in ebuild caused incorrect work of AC_SYS_LARGEFILE macro which should actually take care about _FILE_OFFSET_BITS. As the result mcabber is compiled successfully but not its modules.

Expected Results:  
AC_SYS_LARGEFILE from configure.ac declares correct definition of _FILE_OFFSET_BITS in config.h which is shipped with mcabber headers and later is included by module sources. So the solution is straightforward - remove 'append-flags -D_FILE_OFFSET_BITS' from ebuild.
Comment 1 Alexander Solovets 2011-04-05 21:40:22 UTC
Created attachment 268649 [details, diff]
Fixes the issue
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2012-03-15 15:23:57 UTC
Thanks and sorry for the delay, fixed in 0.10.1-r1.