| Summary: | net-analyzer/zodiac-0.4.9-r1 fails to compile in dns-spoof-int.c:266: error: label at end of compound statement | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Werner M. Mayer <wmm> |
| Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | angleto, nheinen |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
patch for the ebuild zodiac-0.4.9-r1.ebuild
patch for dns-spoof-int.c |
||
|
Description
Werner M. Mayer
2006-06-15 18:16:30 UTC
*** Bug 136943 has been marked as a duplicate of this bug. *** Created attachment 89792 [details, diff]
patch for the ebuild zodiac-0.4.9-r1.ebuild
The patched ebuild uses the patch dns-spoof-int.c.patch attached lower.
Created attachment 89793 [details, diff]
patch for dns-spoof-int.c
The "default" statement within a switch should not be empty.
In any case the 'default:' statement seems not be needed,
because all the cases seems to be listed. It emerge and work fine on my side.
>>> Emerging (1 of 1) net-analyzer/zodiac-0.4.9-r1 to / * zodiac-0.4.9.tar.gz MD5 ;-) ... [ ok ] * zodiac-0.4.9.tar.gz RMD160 ;-) ... [ ok ] * zodiac-0.4.9.tar.gz SHA1 ;-) ... [ ok ] * zodiac-0.4.9.tar.gz SHA256 ;-) ... [ ok ] * zodiac-0.4.9.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking zodiac-0.4.9.tar.gz ;-) ... [ ok ]>>> Unpacking source... >>> Unpacking zodiac-0.4.9.tar.gz to /var/tmp/portage/zodiac-0.4.9-r1/work * Applying 0.4.9-libnet-1.0.patch ... [ ok ] * Applying dns-spoof-int.c.patch ... [ ok ]>>> Source unpacked. >>> Compiling source in /var/tmp/portage/zodiac-0.4.9-r1/work/zodiac ... gcc -Wall -O2 -march=pentium-m -pipe -fomit-frame-pointer `libnet-1.0-config --defines` -D_REENTRANT -pthread -c -o common.o common.c gcc -Wall -O2 -march=pentium-m -pipe -fomit-frame-pointer `libnet-1.0-config --defines` -D_REENTRANT -pthread -c -o cipher-blowfish.o cipher-blowfish.c gcc -Wall -O2 -march=pentium-m -pipe -fomit-frame-pointer `libnet-1.0-config --defines` -D_REENTRANT -pthread -c -o cipher-sha1.o cipher-sha1.c cipher-sha1.c: In function 'SHA1Hash': cipher-sha1.c:198: warning: pointer targets in passing argument 2 of 'SHA1Update' differ in signedness gcc -Wall -O2 -march=pentium-m -pipe -fomit-frame-pointer `libnet-1.0-config --defines` -D_REENTRANT -pthread -c -o dns.o dns.c gcc -Wall -O2 -march=pentium-m -pipe -fomit-frame-pointer `libnet-1.0-config --defines` -D_REENTRANT -pthread -c -o dns-build.o dns-build.c cipher-blowfish.c: In function 'blowfish_init': cipher-blowfish.c:157: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness gcc -Wall -O2 -march=pentium-m -pipe -fomit-frame-pointer `libnet-1.0-config --defines` -D_REENTRANT -pthread -c -o dns-spoof-int.o dns-spoof-int.c gcc -Wall -O2 -march=pentium-m -pipe -fomit-frame-pointer `libnet-1.0-config --defines` -D_REENTRANT -pthread -c -o dns-spoof.o dns-spoof.c dns-spoof-int.c: In function 'spoof_id_add': dns-spoof-int.c:162: warning: implicit declaration of function 'memset' dns-spoof-int.c:162: warning: incompatible implicit declaration of built-in function 'memset' dns-build.c: In function 'dns_build_random': dns-build.c:45: error: invalid lvalue in assignment dns-build.c: In function 'dns_build_rr': dns-build.c:369: warning: pointer targets in assignment differ in signedness dns-build.c:370: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness dns-build.c:382: warning: pointer targets in passing argument 1 of 'dns_build_ptr' differ in signedness dns-build.c:383: warning: pointer targets in assignment differ in signedness dns-build.c:385: warning: pointer targets in passing argument 2 of 'dns_build_domain' differ in signedness dns-build.c: In function 'dns_build_query_label': dns-build.c:447: warning: pointer targets in assignment differ in signedness dns-build.c:454: warning: pointer targets in assignment differ in signedness dns-build.c: In function 'dns_build_domain': dns-build.c:485: warning: pointer targets in assignment differ in signedness make: *** [dns-build.o] Error 1 make: *** Waiting for unfinished jobs.... Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System version 1.12.5 Last Sync: Tue, 17 Oct 2006 12:30:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow 3dnowext X aac aiglx alsa audacious avahi bash-completion berkdb bitmap-fonts cdr cli crypt cups dbus dga dlloader dri dvd dvdr dvdread elibc_glibc firefox fortran gdbm gif gnome gpm gtk gtk2 hal input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux libg++ live mad mp3 ncurses nls nptl nptlonly nsplugin openal opengl pam pcre perl png ppds pppd python quicktime readline real reflection ruby session socks5 speex spl ssl svg symlink tcpd tga tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx vorbis win32codecs wireshark wma xmms xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY fix in cvs |