Bug 34891

Summary: Gentoo QA warning: net-libs/libnice-0.0.13: test-parse.c:711: warning: implicit declaration of function ‘stun_hash_creds’
Product: nice Reporter: Dan Wallis <mrdanwallis>
Component: GeneralAssignee: Dafydd Harries <dafydd.harries>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: olivier.crete
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:

Description Dan Wallis 2011-03-01 17:29:47 UTC
When installing the net-libs/libnice-0.0.13 package on my Gentoo system, I received the following notification:

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * test-parse.c:711: warning: implicit declaration of function ‘stun_hash_creds’

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://nice.freedesktop.org/wiki/
 * ERROR: net-libs/libnice-0.0.13 failed:
 *   install aborted due to poor programming practices shown above

Looking through the build output, here is the warning in context:

Making check in tests
make[2]: Entering directory `/var/tmp/portage/net-libs/libnice-0.0.13/work/libnice-0.0.13/stun/tests'
make  test-parse test-format test-bind test-conncheck test-hmac \
make[3]: Entering directory `/var/tmp/portage/net-libs/libnice-0.0.13/work/libnice-0.0.13/stun/tests'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../..  -std=gnu99 -O2 -march=i686 -pipe -MT test-parse.o -MD -MP -MF .deps/test-parse.Tpo -c -o test-parse.o test-
test-parse.c: In function ‘test_hash_creds’:
test-parse.c:711: warning: implicit declaration of function ‘stun_hash_creds’
mv -f .deps/test-parse.Tpo .deps/test-parse.Po
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -std=gnu99 -O2 -march=i686 -pipe  -Wl,-O1 -Wl,--as-needed -o test-parse test-parse.o ../../stun/libstun.la
Comment 1 Olivier Crête 2014-03-06 22:24:58 UTC
Already fixed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.