esvn fails to compile with error: Mars / # emerge esvn Calculating dependencies... done! >>> Emerging (1 of 1) dev-util/esvn-0.6.11 to / >>> checksums files ;-) esvn-0.6.11.ebuild >>> checksums files ;-) files/digest-esvn-0.6.11 >>> checksums src_uri ;-) esvn-0.6.11-1.tar.gz >>> Unpacking source... >>> Unpacking esvn-0.6.11-1.tar.gz to /var/tmp/portage/esvn-0.6.11/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/esvn-0.6.11/work/esvn ... /usr/qt/3/bin/qmake esvn.pro /usr/qt/3/bin/qmake esvn-diff-wrapper.pro make -f esvn-diff-wrapper.mak make[1]: Entering directory `/var/tmp/portage/esvn-0.6.11/work/esvn' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.moc/ -o .obj/esvn-diff-wrapper.o src/esvn-diff-wrapper.cpp make -f esvn.mak make[1]: Entering directory `/var/tmp/portage/esvn-0.6.11/work/esvn' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. /usr/qt/3/bin/uic .ui/frm_main.ui -o .ui/frm_main.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_commit.ui -o .ui/dlg_commit.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_update.ui -o .ui/dlg_update.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_checkout.ui -o .ui/dlg_checkout.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_copy.ui -o .ui/dlg_copy.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_merge.ui -o .ui/dlg_merge.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_info.ui -o .ui/dlg_info.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_log.ui -o .ui/dlg_log.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_busy.ui -o .ui/dlg_busy.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_switch.ui -o .ui/dlg_switch.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_diff_setup.ui -o .ui/dlg_diff_setup.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_diff_output.ui -o .ui/dlg_diff_output.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_view.ui -o .ui/dlg_view.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_about.ui -o .ui/dlg_about.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_options.ui -o .ui/dlg_options.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_prop.ui -o .ui/dlg_prop.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_propedit.ui -o .ui/dlg_propedit.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_repository.ui -o .ui/dlg_repository.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_auth.ui -o .ui/dlg_auth.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_import.ui -o .ui/dlg_import.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_export.ui -o .ui/dlg_export.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_url.ui -o .ui/dlg_url.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_workspace.ui -o .ui/dlg_workspace.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_ws_edit.ui -o .ui/dlg_ws_edit.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_startup.ui -o .ui/dlg_startup.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_help.ui -o .ui/dlg_help.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_verupdate.ui -o .ui/dlg_verupdate.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_mapping.ui -o .ui/dlg_mapping.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_map_edit.ui -o .ui/dlg_map_edit.h Session management error: Could not open network socket /usr/qt/3/bin/uic .ui/dlg_changed.ui -o .ui/dlg_changed.h Session management error: Could not open network socket g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/esvn.o src/esvn.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/mainwindow.o src/mainwindow.cpp /usr/qt/3/bin/moc src/esvn-diff-wrapper.h -o .moc/moc_esvn-diff-wrapper.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.moc/ -o .obj/moc_esvn-diff-wrapper.o .moc/moc_esvn-diff-wrapper.cpp g++ -o esvn-diff-wrapper .obj/esvn-diff-wrapper.o .obj/moc_esvn-diff-wrapper.o -L/usr/qt/3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm make[1]: Leaving directory `/var/tmp/portage/esvn-0.6.11/work/esvn' g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/entries_parser.o src/entries_parser.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/dirs_list.o src/dirs_list.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/reposwindow.o src/reposwindow.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/svn_commands.o src/svn_commands.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/list_stat_parser.o src/list_stat_parser.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/diffwindow.o src/diffwindow.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/cmd_lineedit.o src/cmd_lineedit.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/svn_status.o src/svn_status.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/options.o src/options.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/check_lbi.o src/check_lbi.cpp g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/commitwindow.o src/commitwindow.cpp /usr/qt/3/bin/uic .ui/frm_main.ui -i frm_main.h -o .ui/frm_main.cpp Session management error: Could not open network socket g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -fno-strict-aliasing -DVERSION=\"0.6.11\" -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I.ui/ -I.ui -I.moc/ -o .obj/frm_main.o .ui/frm_main.cpp .ui/frm_main.cpp:29:26: error: cmd_lineedit.h: No such file or directory make[1]: *** [.obj/frm_main.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/esvn-0.6.11/work/esvn' make: *** [esvn] Error 2 !!! ERROR: dev-util/esvn-0.6.11 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile esvn-0.6.11.ebuild, line 32: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge info: ================================================================= System uname: 2.6.16-suspend2-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre17 ccache version 2.4 [disabled] dev-lang/python: 2.4.2-r1 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, 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk" LANG="en_GB" LC_ALL="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 7zip S3TC X X509 aac acl acpi activefilter aim alsa amd ansi apache2 aper apm arts asm asterisk audacious audiofile authdaemond avantgo avi bash-completion bcmath bdf berkdb bidi bitmap-fonts bittorrent blender-game bzip2 bzlib cap ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk cli client codecs cpdflib cracklib crypt css ctype cups curl curlwrappers dba dhcp dio directfb divx4linux djbfft dnd dri droproot dts dv dvd dvdr dvdread edl eds eep emboss encode erandom esd evo exif expat ext-png ext-zlib extensions fastbuild fastcgi fbcon fbsplash ffmpeg firefox flash fluidsynth fmod foomaticdb force-cgi-redirect foreign-package foreign-sysvinit fortran fpx freetype freewnn ftp gb gcl gd gdbm geoip gif gimp gimpprint ginac glade glgd glitz glut gmp gmtfull gnuplot gpm graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal hardenedphp hbci hdf iconv icq ide idl image imap imlib imlib2 innodb ipv6 irda irmc isdnlog j2ee jabber javacomm javadoc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms leim libclamav libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb memlimit migemo mikmod mime mixer mjpeg mls mmap mng monkey motif mozcalendar mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis nls nowin nptl nptlonly ntlm nviz oav objc ocaml offensive ofx ogg openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pda pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio posix postgresql povray ppds pppd pri print procmail pthreads python qt qt4 quicktime quotas quotes readline real reiserfs resperl rhino rogue rplay sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem silc simplexml skk slp smime sndfile snortsam soap sockets socks5 softquota sox spell spl ssl stencil-buffer stroke struts svg symlink sysvipc szip t1lib tcpd tcsim tga theora tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts udev uim unicode usb v4l v4l2 vcd vda videos virus-scan vorbis wddx win32codecs winbind wmf wxwindows xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xml xmlreader xmlrpc xmlwriter xmms xosd xpm xprint xrandr xscreensaver xsettings xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS
I don't get the warnings "Session management error: Could not open network socket" but otherwise, same compiler error here.
I don't understand why. esvn/src/cmd_lineedit.h is in the tarball and the ebuild works for me. Can any of you guys investigate a little further, to see what makes that file dissapear from your $S?
I think its talking about .ui/cmd_lineedit.h rather than src/cmd_lineedit.h In .ui/frm_main.cpp line 29 is: #include "cmd_lineedit.h" I don't know whether this is right or not, but its not in .ui, and adding a link to src/cmd_lineedit failed as well: .ui/cmd_lineedit.h:23: error: redefinition of 'class Cmd_LineEdit' ./src/cmd_lineedit.h:24: error: previous definition of 'class Cmd_LineEdit' I listed "ls -AR" in /var/tmp/portage/esvn-0.6.11/work/esvn and posted it on masterdriverz.0moola.com/esvn_source_listing.txt Don't know whether this helps or not.
cmdlineedit.h is not supposed to be in the .ui directory. what qt & gcc versions do you have?
sys-devel/gcc-4.1.0 x11-libs/qt-3.3.6 x11-libs/qt-4.1.2
Created attachment 85353 [details, diff] a patch to fix the bug preventing esvn 0.6.11 from compiling Hi everybody I think I fixed the bug, it was a declaration inside the .ui/frm_main.ui file which created a faulty frm_main.cpp this is my first patch, so please bear with me...
Created attachment 85354 [details] and thats a matching new ebuild file forgot that...
This works for me.
please don't close bugs until they're actually fixed in portage tree.
fixed in cvs, without revision bump (the patch only fixes a compilation error on systems with qt-3.3.6).
Sorry