<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>67654</bug_id>
          
          <creation_ts>2004-10-15 06:07 0000</creation_ts>
          <short_desc>NTP does not compile on uclibc profiles (patch included)</short_desc>
          <delta_ts>2004-11-09 07:45:36 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugzilla.ntp.org/show_bug.cgi?id=303</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>koon@gentoo.org</reporter>
          <assigned_to>vapier@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-10-15 06:07:53 0000</bug_when>
            <thetext>When built under the uclibc/hardened/x86 profile, NTP fails to compile (see error below). According to their BitKeeper Changeset, this bug should affect all platforms that do not have IPv6 support.

------------------------
gcc  -Os -mcpu=i586 -pipe -Wall -Wcast-qual -Wmissing-prototypes
-Wshadow -Wstrict-prototypes  -L/usr/lib -o ntpd  cmd_args.o
ntp_config.o ntp_io.o ntpd.o version.o libntpd.a  libntpd.a
../libntp/libntp.a -lm -lcrypto -lcap
libntpd.a(ntp_intres.o)(.text+0xed8): In function `ntp_intres&apos;:
: undefined reference to `in6addr_any&apos;
collect2: ld returned 1 exit status
make[2]: *** [ntpd] Error 1
------------------------</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-10-15 06:09:14 0000</bug_when>
            <thetext>Created an attachment (id=41863)
Patch needed to compile on uclibc

Applying this patch (from http://bugzilla.ntp.org/show_bug.cgi?id=303 solving
an AIX problem !?) solved the compilation problem for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-11-09 07:45:36 0000</bug_when>
            <thetext>4.2.0.20040617 has this patch</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41863</attachid>
            <date>2004-10-15 06:09 0000</date>
            <desc>Patch needed to compile on uclibc</desc>
            <filename>ntp_uclibc.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGxpYm50cC9udHBfcmZjMjU1My5vcmlnCTIwMDQtMTAtMTUgMTM6MDI6NTMuMDAwMDAwMDAw
ICswMDAwCisrKyBsaWJudHAvbnRwX3JmYzI1NTMuYwkyMDA0LTEwLTE1IDEzOjAzOjQxLjAwMDAw
MDAwMCArMDAwMApAQCAtODMsNyArODMsNyBAQAogI2luY2x1ZGUgIm50cF9zdGRsaWIuaCIKICNp
bmNsdWRlICJudHBfc3RyaW5nLmgiCiAKLSNpZm5kZWYgSEFWRV9JUFY2CisjaWZkZWYgSVNDX1BM
QVRGT1JNX05FRURJTjZBRERSQU5ZCiAKICNpZiBkZWZpbmVkKFNZU19XSU5OVCkKIC8qIFhYWCBU
aGlzIGlzIHRoZSBwcmVmZXJyZWQgd2F5LCBidXQgZm9yIHNvbWUgcmVhc29uIHRoZSBTdW5PUyBj
b21waWxlcgpAQCAtOTMsNiArOTMsOSBAQAogI2Vsc2UKIGNvbnN0IHN0cnVjdCBpbjZfYWRkciBp
bjZhZGRyX2FueTsKICNlbmRpZgorI2VuZGlmCisKKyNpZm5kZWYgSVNDX1BMQVRGT1JNX0hBVkVJ
UFY2CiAKIHN0YXRpYyBjaGFyICphaV9lcnJsaXN0W10gPSB7CiAJIlN1Y2Nlc3MiLAo=
</data>        

          </attachment>
    </bug>

</bugzilla>