<?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>69638</bug_id>
          
          <creation_ts>2004-10-31 10:16 0000</creation_ts>
          <short_desc>sara 5.1.1a and 5.0.5b fail to compile</short_desc>
          <delta_ts>2005-07-25 12:05:35 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>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>miforbes-gentoo-org@mbhs.edu</reporter>
          <assigned_to>netmon@gentoo.org</assigned_to>
          <cc>kengland@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>miforbes-gentoo-org@mbhs.edu</who>
            <bug_when>2004-10-31 10:16:25 0000</bug_when>
            <thetext>I did a emerge sara and the compile failed.  Error is &quot;nfs_prot.h:6:1: unterminated #ifndef&quot;, context below.

: warning: `sys_errlist&apos; is deprecated; use `strerror&apos; or `strerror_r&apos; instead
strerror.o(.text+0x9): In function `strerror&apos;:
: warning: `sys_nerr&apos; is deprecated; use `strerror&apos; or `strerror_r&apos; instead
make[2]: Leaving directory `/var/tmp/portage/sara-5.1.1a/work/sara-5.1.1a/src/port_scan&apos;
cd src/nfs-chk; make &quot;LIBS=-lnsl -lresolv -lrpcsvc&quot; &quot;XFLAGS=-O3 -march=pentium3 -fomit-frame-pointer -pipe   -DUSE_STDINT=1 -DGETGROUPS_T=gid_t -DSYS_ERRLIST_DECLARED=1 -D_BSD_SOURCE=1 &quot; &quot;RPCGEN=/usr/bin/rpcgen&quot;
make[2]: Entering directory `/var/tmp/portage/sara-5.1.1a/work/sara-5.1.1a/src/nfs-chk&apos;
/usr/bin/rpcgen mount.x 2&gt;/dev/null
/usr/bin/rpcgen nfs_prot.x 2&gt;/dev/null
/usr/bin/rpcgen nfs_prot.x 2&gt;/dev/null
gcc -O -I. -O3 -march=pentium3 -fomit-frame-pointer -pipe   -DUSE_STDINT=1 -DGETGROUPS_T=gid_t -DSYS_ERRLIST_DECLARED=1 -D_BSD_SOURCE=1    -c -o nfs_prot_xdr.o nfs_prot_xdr.c
gcc -O -I. -O3 -march=pentium3 -fomit-frame-pointer -pipe   -DUSE_STDINT=1 -DGETGROUPS_T=gid_t -DSYS_ERRLIST_DECLARED=1 -D_BSD_SOURCE=1    -c -o mount_clnt.o mount_clnt.c
In file included from nfs_prot_xdr.c:6:
nfs_prot.h:6:1: unterminated #ifndef
nfs_prot_xdr.c:14: error: syntax error before &quot;nfsstat&quot;
nfs_prot_xdr.c: In function `xdr_nfsstat&apos;:
nfs_prot_xdr.c:18: error: `xdrs&apos; undeclared (first use in this function)
nfs_prot_xdr.c:18: error: (Each undeclared identifier is reported only once
nfs_prot_xdr.c:18: error: for each function it appears in.)
nfs_prot_xdr.c:18: error: `objp&apos; undeclared (first use in this function)
nfs_prot_xdr.c: At top level:
nfs_prot_xdr.c:24: error: syntax error before &quot;ftype&quot;
nfs_prot_xdr.c: In function `xdr_ftype&apos;:
nfs_prot_xdr.c:28: error: `xdrs&apos; undeclared (first use in this function)
nfs_prot_xdr.c:28: error: `objp&apos; undeclared (first use in this function)
nfs_prot_xdr.c: At top level:


Reproducible: Always
Steps to Reproduce:
1. emerge sara
2.
3.

Actual Results:  
nfs_prot.h:6:1: unterminated #ifndef, compule error

Expected Results:  
compiled

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=pentium3 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=pentium3 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs distlocks sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X acpi aim alsa apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr
crypt cups curl doc dvd encode esd f77 foomaticdb gdbm gif gpm gstreamer gtk
gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif
mozcalendar mozdevelop mozilla mozsvg mozxmlterm mpeg mysql nas ncurses network
nls objc oggvorbis opengl oss pam pcmcia pdflib perl pic plotutils png pythonqt
quicktime readline real samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff
truetype x86 xine xml2 xmms xprint xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robert-vinson@uiowa.edu</who>
            <bug_when>2004-11-01 19:34:22 0000</bug_when>
            <thetext>Created an attachment (id=43122)
patch for nfs_prot.h
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>squinky86@gentoo.org</who>
            <bug_when>2004-12-09 12:27:17 0000</bug_when>
            <thetext>$ qpkg -f /usr/include/rpcsvc/nfs_prot.h
sys-libs/glibc *</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-09 16:09:29 0000</bug_when>
            <thetext>sara generates its own rpc header files which is what this error is refering to

you&apos;ll need to fix nfs_prot.x however since rpcgen uses that to generate nfs_prot.h

also, this package doesnt seem to like to build in parallel ... might want to check/fix that too :p</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kengland@gentoo.org</who>
            <bug_when>2005-04-14 19:15:51 0000</bug_when>
            <thetext>I get the same error with both:
sara-5.1.1a
sara-6.0.1

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-ck2 i686)
=================================================================
System uname: 2.6.11-ck2 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 01:09:03)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -mtune=pentium-m -fomit-frame-pointer -pipe -ftracer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -mtune=pentium-m -fomit-frame-pointer -pipe -ftracer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://mirrors.tds.net/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://cockatoo.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X a52 alsa apache2 avi berkdb bitmap-fonts cdparanoia crypt gif gtk gtk2 jpeg mmx mp3 mpeg ncurses nls nptl nptlonly opengl pam perl png python quicktime readline real sse tiff truetype truetype-fonts xml xml2 xprint xv zlib&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kengland@gentoo.org</who>
            <bug_when>2005-04-16 14:25:25 0000</bug_when>
            <thetext>I&apos;m reassigning this to bug-wranglers, because squinky86 is away.  He hasn&apos;t been on IRC in over 12 weeks.

I cannot get this app to compile at all, using either version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vanquirius@gentoo.org</who>
            <bug_when>2005-06-22 10:09:15 0000</bug_when>
            <thetext>Does the problem still exist in sara-6.0.4?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kengland@gentoo.org</who>
            <bug_when>2005-06-22 10:18:50 0000</bug_when>
            <thetext>Maybe I&apos;m missing something, but I don&apos;t think there&apos;s an ebuild for sara-6.0.4.
 If there is, I&apos;ll gladly try it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vanquirius@gentoo.org</who>
            <bug_when>2005-06-22 10:24:52 0000</bug_when>
            <thetext>I just bumped it. :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kengland@gentoo.org</who>
            <bug_when>2005-06-22 15:46:54 0000</bug_when>
            <thetext>sara-6.0.4 compiled successfully for me</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vanquirius@gentoo.org</who>
            <bug_when>2005-07-25 12:05:35 0000</bug_when>
            <thetext>Okies, marked 6.0.4 x86, should fix this bug.
Thanks to everyone who helped.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43122</attachid>
            <date>2004-11-01 19:34 0000</date>
            <desc>patch for nfs_prot.h</desc>
            <filename>nfs_prot.h.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">N2E4Cj4gI2VuZGlmCg==
</data>        

          </attachment>
    </bug>

</bugzilla>