Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171427 - net-im/ejabberd-1.1.3: QA: FEATURES=stricter & poor programming practices: expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'
Summary: net-im/ejabberd-1.1.3: QA: FEATURES=stricter & poor programming practices: ex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 11:06 UTC by Jan Kundrát (RETIRED)
Modified: 2007-04-11 14:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2007-03-19 11:06:51 UTC
Breaks with FEATURES=stricter:

>>> Completed installing ejabberd-1.1.3 into /var/tmp/portage/net-im/ejabberd-1.1.3/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/lib/erlang/lib/ejabberd-1.1.3/priv/lib/ejabberd_zlib_drv.so
   usr/lib/erlang/lib/ejabberd-1.1.3/priv/lib/stringprep_drv.so
   usr/lib/erlang/lib/ejabberd-1.1.3/priv/lib/expat_erl.so
   usr/lib/erlang/lib/ejabberd-1.1.3/priv/lib/tls_drv.so

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'


!!! ERROR: net-im/ejabberd-1.1.3 failed.
Call stack:
  misc-functions.sh, line 570:   Called install_qa_check
  misc-functions.sh, line 325:   Called die

!!! poor code kills airplanes
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-im/ejabberd-1.1.3/temp/build.log'.

!!! install_qa_check failed; exiting.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2007-04-11 14:39:06 UTC
Indeed, they used a function from deeper within ejabberd that is not in the regular headers. Stole the function declaration from a header and stuck it in directly. In portage as 1.1.3-r1
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2007-04-11 14:39:31 UTC
Deeper within *erlang*, ofcourse.