Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54239 - samba-3.0.2a-r2.ebuild: torture/vfstest.c error during compile
Summary: samba-3.0.2a-r2.ebuild: torture/vfstest.c error during compile
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 17:49 UTC by Dark Avenger
Modified: 2004-06-18 00:24 UTC (History)
0 users

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 Dark Avenger 2004-06-17 17:49:54 UTC
Compiling torture/vfstest.c
torture/vfstest.c: In function `main':
torture/vfstest.c:560: warning: passing arg 3 of `smb_readline' from incompatible pointer type
Linking bin/vfstest
Compiling utils/log2pcaphex.c
Linking bin/log2pcap
Using FLAGS =  -O2 -march=pentium3 -pipe -fomit-frame-pointer  -Iinclude -I/var/tmp/portage/samba-3.0.2a-r2/work/samba-3.0.2a/source/include -I/var/tmp/portage/samba-3.0.2a-r2/work/samba-3.0.2a/source/ubiqx -I/var/tmp/portage/samba-3.0.2a-r2/work/samba-3.0.2a/source/smbwrapper  -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/var/tmp/portage/samba-3.0.2a-r2/work/samba-3.0.2a/source    
      LIBS = -lcrypt -lresolv -lnsl -ldl
      LDSHFLAGS = -shared  -Wl,-rpath,/usr/lib
      LDFLAGS = -Wl,-rpath,/usr/lib
Compiling torture/rpctorture.c
torture/rpctorture.c:27: error: `global_myname' redeclared as different kind of symbol
include/proto.h:924: error: previous declaration of `global_myname'
torture/rpctorture.c:57: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c:57: warning: its scope is only this definition or declaration, which is probably not what you want
torture/rpctorture.c: In function `rpcclient_connect':
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:63: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:90: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c: In function `run_enums_test':
torture/rpctorture.c:96: warning: passing arg 1 of `rpcclient_connect' from incompatible pointer type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:134: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c: In function `run_ntlogin_test':
torture/rpctorture.c:140: warning: passing arg 1 of `rpcclient_connect' from incompatible pointer type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:167: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c: In function `main':
torture/rpctorture.c:233: error: storage size of `cli_info' isn't known
torture/rpctorture.c:373: error: `scope' undeclared (first use in this function)
torture/rpctorture.c:373: error: (Each undeclared identifier is reported only once
torture/rpctorture.c:373: error: for each function it appears in.)
torture/rpctorture.c:531: warning: passing arg 5 of `create_procs' from incompatible pointer type
torture/rpctorture.c:535: warning: passing arg 5 of `create_procs' from incompatible pointer type
make: *** [torture/rpctorture.o] Error 1
 * rpctorture didnt build


Reproducible: Always
Steps to Reproduce:
1.USE="oav readline cups pam -python -ldap -kerberos -xml -acl -mysql" emerge net-fs/samba

Actual Results:  
During the compilation I noticed the "* rpctorture didnt build" message.


Expected Results:  
It should have been compiled.

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.4.25-gentoo-r4)
=================================================================
System uname: 2.4.25-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-
sources/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk 
gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis 
opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell 
ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2004-06-18 00:24:39 UTC
torture suite in samba 3.0.x is broken for now. It is on schedule upstream. I left the warning message to inform of that. It's not, however, a core application: its use is mainly for test.
For now i close this bug. Anyway, should you know more, feel free to reopen it :)