Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296816 - net-analyzer/hydra-5.4-r2 fails to merge
Summary: net-analyzer/hydra-5.4-r2 fails to merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 296874 296911 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-14 02:39 UTC by Willard Dawson
Modified: 2009-12-18 10:51 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,7.26 KB, text/plain)
2009-12-14 02:40 UTC, Willard Dawson
Details
net-analyzer/hydra/files/hydra-5.4-libssh-0.4.patch (hydra-5.4-libssh-0.4.patch,7.61 KB, patch)
2009-12-16 13:55 UTC, Jonathan-Christofer Demay
Details | Diff
net-analyzer/hydra/files/hydra-5.4-libssh-0.4.patch (hydra-5.4-libssh-0.4.patch,7.61 KB, patch)
2009-12-16 13:59 UTC, Jonathan-Christofer Demay
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2009-12-14 02:39:24 UTC
revdep-rebuild after setting "dev-db/sqlite USE=+fts3" lead to this failure.



Reproducible: Always

Steps to Reproduce:
1. emerge --oneshot  media-video/vlc:0
net-analyzer/hydra:0               
x11-libs/gtkglarea:2               
2.
3.

Actual Results:  
gcc -I. -Wall -march=i686 -O2 -pipe -ggdb -c hydra-ssh2.c -DLIBOPENSSL -DLIBSSH 
hydra-ssh2.c:10:2: warning: #warning "If compilation of hydra-ssh2 fails, you are not using v0.2 or 0.2.1. Download from http://www.0xbadc0de.be/"              
hydra-ssh2.c:18: error: expected ')' before '*' token                           
hydra-ssh2.c: In function 'start_ssh2':                                         
hydra-ssh2.c:64: error: 'SSH_SESSION' undeclared (first use in this function)   
hydra-ssh2.c:64: error: (Each undeclared identifier is reported only once       
hydra-ssh2.c:64: error: for each function it appears in.)                       
hydra-ssh2.c:64: error: expected expression before 'ssh_session'                
hydra-ssh2.c:65: error: 'SSH_OPTIONS' undeclared (first use in this function)   
hydra-ssh2.c:65: error: 'ssh_opt' undeclared (first use in this function)       
hydra-ssh2.c:74: warning: implicit declaration of function 'ssh_options_new'    
hydra-ssh2.c:84: warning: implicit declaration of function 'ssh_options_allow_ssh1'                                                                             
hydra-ssh2.c:87: warning: implicit declaration of function 'ssh_options_set_port'                                                                               
hydra-ssh2.c:88: warning: implicit declaration of function 'ssh_options_set_host'                                                                               
hydra-ssh2.c:89: warning: implicit declaration of function 'ssh_options_set_username'                                                                           
hydra-ssh2.c:90: error: expected identifier or '(' before '=' token             
hydra-ssh2.c:91: warning: implicit declaration of function 'ssh_set_options'    
hydra-ssh2.c:91: error: expected expression before 'ssh_session'                
hydra-ssh2.c:93: error: expected expression before 'ssh_session'                
hydra-ssh2.c:94: error: expected expression before 'ssh_session'                
hydra-ssh2.c:94: warning: assignment discards qualifiers from pointer target type                                                                               
hydra-ssh2.c:97: error: expected expression before 'ssh_session'                
hydra-ssh2.c:109: error: expected expression before 'ssh_session'               
hydra-ssh2.c:109: error: too few arguments to function 'ssh_userauth_none'      
hydra-ssh2.c:114: error: expected expression before 'ssh_session'               
hydra-ssh2.c:122: warning: implicit declaration of function 'try_password'      
hydra-ssh2.c:122: error: expected expression before 'ssh_session'               
hydra-ssh2.c:124: error: expected expression before 'ssh_session'               
hydra-ssh2.c:134: error: expected expression before 'ssh_session'               
hydra-ssh2.c:141: error: expected expression before 'ssh_session'               
hydra-ssh2.c:148: error: expected expression before 'ssh_session'               
make: *** [hydra-ssh2.o] Error 1                                                
 * ERROR: net-analyzer/hydra-5.4-r2 failed:                                     
 *   make failed                                                                
 *                                                                              
 * Call stack:                                                                  
 *     ebuild.sh, line  61:  Called src_compile                                 
 *   environment, line 2292:  Called die                                        
 * The specific snippet of code:                                                
 *       emake || die "make failed";                                            
 *                                                                              
 * If you need support, post the output of 'emerge --info =net-analyzer/hydra-5.4-r2',                                                                          
 * the complete build log and the output of 'emerge -pqv =net-analyzer/hydra-5.4-r2'.                                                                           
 * The complete build log is located at '/var/tmp/portage/net-analyzer/hydra-5.4-r2/temp/build.log'.                                                            
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/hydra-5.4-r2/temp/environment'.                                                     
 * S: '/var/tmp/portage/net-analyzer/hydra-5.4-r2/work/hydra-5.4-src'           
sandbox:main  signal SIGQUIT already had a handler ...                          

Expected Results:  
successful merge

# emerge --info        
Portage 2.1.7.14 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.30-gentoo-r6 i686)                                                                      
=================================================================               
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-2.0.1                                                             
Timestamp of tree: Sun, 13 Dec 2009 23:30:02 +0000                              
app-shells/bash:     4.0_p35                                                    
dev-java/java-config: 2.1.10                                                    
dev-lang/python:     2.5.4-r3, 2.6.4, 3.1.1-r1                                  
dev-python/pycrypto: 2.1.0                                                      
dev-util/cmake:      2.8.0                                                      
sys-apps/baselayout: 2.0.1                                                      
sys-apps/openrc:     0.5.3                                                      
sys-apps/sandbox:    2.2                                                        
sys-devel/autoconf:  2.13, 2.64                                                 
sys-devel/automake:  1.5-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1       
sys-devel/binutils:  2.20                                                       
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6b                                                     
virtual/os-headers:  2.6.30-r1                                                  
ACCEPT_KEYWORDS="x86 ~x86"                                                      
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Nessus-EULA sun-bcla-java-vm"             
CBUILD="i686-pc-linux-gnu"                                                      
CFLAGS="-march=i686 -O2 -pipe -ggdb"                                            
CHOST="i686-pc-linux-gnu"                                                       
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                 
CXXFLAGS="-march=i686 -O2 -pipe -ggdb"                                          
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                 
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                           
LDFLAGS="-Wl,-O1"                                                               
MAKEOPTS=""                                                                     
PKGDIR="/usr/portage/packages"                                                  
PORTAGE_CONFIGROOT="/"                                                          
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                  
PORTAGE_TMPDIR="/var/tmp"                                                       
PORTDIR="/usr/portage"                                                          
PORTDIR_OVERLAY="/usr/local/portage"                                            
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                  
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa apache2 apm ati audiofile avahi avi bash-completion berkdb bitmap-fonts bzip2 cairo caps cardbus cdio cdr cli consolekit cracklib crypt ctype cups cxx dba dbtool dbus digitalradio diskio djvu dri dts dvdread eds emboss encode esd ethereal exif expat fastbuild ffmpeg fftw fglrx foomaticdb force-cgi-redirect fortran ftp fuse gamin gd gdbm gif glib glitz glut gmp gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 ithreads jack java jpeg kde kerberos kqemu lcms ldap libclamav libg++ libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash mikmod mmx mmxext mng modules mono motif mozilla mp3 mpeg mudflap mysql ncurses netboot netjack networking nforce2 nls nptl nptlonly nsplugin nvidia ocaml ogg oggvorbis opengl openmp oss pam pango pch pcmcia pcre pdf pdflib pear perl php pmu png portaudio posix pppd pulseaudio python qt qt3support qtmt quicktime readline reflection ruby samba sasl sdl session simplexml slang sndfile snmp soap sockets spell spl sql sqlite sse sse2 ssl svg sysfs tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode utempter vorbis webkit wifi win32codecs x86 xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Willard Dawson 2009-12-14 02:40:21 UTC
Created attachment 212947 [details]
Build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-14 13:08:28 UTC
*** Bug 296874 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan-Christofer Demay 2009-12-16 13:55:18 UTC
Created attachment 213198 [details, diff]
net-analyzer/hydra/files/hydra-5.4-libssh-0.4.patch

Just replace in the ebuild hydra-5.4-libssh-0.2.patch by this one.
Comment 4 Jonathan-Christofer Demay 2009-12-16 13:59:08 UTC
Created attachment 213200 [details, diff]
net-analyzer/hydra/files/hydra-5.4-libssh-0.4.patch 

Oops, I mean this one.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2009-12-17 08:04:30 UTC
Oh, nice. I've already starting porting hydra too, but wince this done I'll review changes and commit soon. Thank you for your work!
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-12-17 08:04:38 UTC
*** Bug 296911 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan-Christofer Demay 2009-12-17 11:08:20 UTC
Well the only significant changes from the 0.2 patch are in hydra-ssh2.c, the way the ssh options are set.
Comment 8 Willard Dawson 2009-12-17 22:27:53 UTC
(In reply to comment #4)
> Created an attachment (id=213200) [details]
> net-analyzer/hydra/files/hydra-5.4-libssh-0.4.patch 
> 
> Oops, I mean this one.
> 

Compiles and executes as expected.  Thanks!
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2009-12-18 10:51:36 UTC
Ok, a bit different patch is in the tree. Thank you Jonathan, I've took some of your ideas and some from examples bundled with libssh itself. Fixed in 5.4-r3.