QuteCom is an open source softphone/instant messenger. Reproducible: Always Steps to Reproduce: 1. emerge qutecom The patches attached to the bug were taken from the qutecom mercurial repository and will be included in the next release.
Created attachment 165650 [details] qutecom-2.2_rc1.ebuild
Created attachment 165652 [details, diff] qutecom-boost-1.35.patch
Created attachment 165653 [details, diff] qutecom-cstdlib-include.patch gcc-4.3 compile fix
Created attachment 165655 [details, diff] qutecom-gcc-4.3-switch-enum.patch another gcc-4.3 compile fix
Created attachment 165657 [details, diff] qutecom-types.h.patch yet another compile fix
Created attachment 165712 [details] build log Hello. Tried to build that one. But compiling fails. Build.log attached. Thanks for your work. t.
Created attachment 165714 [details] qutecom-2.2_rc1.ebuild fixed the variable assignment. re. comment 6: it could be that your cmake-utils.eclass is broken or overridden by some overlay.
I just have one of this: commander ~ # find / -name cmake-utils.eclass /usr/portage/eclass/cmake-utils.eclass commander ~ # ls -l /usr/portage/eclass/cmake-utils.eclass -rw-r--r-- 1 root root 6348 Apr 23 14:05 /usr/portage/eclass/cmake-utils.eclass If that one is broken where do i get a good one from? cheers t.
This is now in the sunrise overlay. It can be found at http://overlays.gentoo.org/proj/sunrise/browser/reviewed/net-im/qutecom Regarding the build error in comment #6, I was finally able to reproduce the issue. It can be worked around by temporarily uninstalling mercurial or waiting until 2.2_rc1-r1 enters sunrise where I added a fix.
Indeed. After unmerging mercurial the build completes. Thank you.
Aieee. The build completes, yes, but installation fails. I posted to quick. -- Installing: /var/tmp/portage/net-im/qutecom-2.2_rc1/image/usr/share/wengophone/config/crashreport.xml * * ERROR: net-im/qutecom-2.2_rc1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2158: Called die * The specific snippet of code: * domenu ../wengophone/res/wengophone.desktop || die "domenu failed"; * The die message: * domenu failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-im/qutecom-2.2_rc1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-im/qutecom-2.2_rc1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/'
Created attachment 165858 [details] qutecom-2.2_rc1.ebuild Whoops, corrected path for domenu/doicon. It should install now.
fails for me on configure I upgrade cmake and ffmpeg Installed versions: 2.6.1(11時13分52秒 2008年09月19日)(qt4 -emacs -vim-syntax) Installed versions: 0.4.9_p20080326(11時51分18秒 2008年09月19日)(X a52 aac amr encode imlib ipv6 mmx mp3 network sdl theora threads truetype vorbis x264 xvid zlib -altivec -bindist -debug -doc -hardcoded-tables -ieee1394 -test) -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done Mercurial (hg) command line not found, it is recommended to install it -- OS: Linux-2.6.26-gentoo -- Processor: i686 -- Compiler: /usr/bin/i686-pc-linux-gnu-gcc -- Build type: Release -- Build tool: /usr/bin/gmake -- Build directory: /hda/var/tmp/portage/net-im/qutecom-2.2_rc1/work/qutecom_build/release -- svn revision: i686-pc-linux-gnu-g -- Time: 20080919115601 CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Looking for sws_scale -- Looking for sws_scale - found CMake Error at owbuild/FindFFMPEG.cmake:136 (message): Could not find FFmpeg Call Stack (most recent call first): libs/3rdparty/ffmpeg/CMakeLists-external.txt:2 (find_package) libs/3rdparty/ffmpeg/CMakeLists.txt:10 (include) -- Configuring done * * ERROR: net-im/qutecom-2.2_rc1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2538: Called cmake-utils_src_configureout * environment, line 543: Called die * The specific snippet of code: * cmake ${cmakeargs} "${S}" || die "Cmake failed"; * The die message: * Cmake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-im:qutecom-2.2_rc1:20080919-175548.log'. * The ebuild environment file is located at '/hda/var/tmp/portage/net-im/qutecom-2.2_rc1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/layman/sunrise/' * * Messages for package net-im/qutecom-2.2_rc1: * * ERROR: net-im/qutecom-2.2_rc1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2538: Called cmake-utils_src_configureout * environment, line 543: Called die * The specific snippet of code: * cmake ${cmakeargs} "${S}" || die "Cmake failed"; * The die message: * Cmake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-im:qutecom-2.2_rc1:20080919-175548.log'. * The ebuild environment file is located at '/hda/var/tmp/portage/net-im/qutecom-2.2_rc1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/layman/sunrise/'
Portage 2.1.5.6 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686) ================================================================= System uname: 2.6.26-gentoo i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ Timestamp of tree: Fri, 19 Sep 2008 13:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.12 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="ja" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="lzma" PORTAGE_COMPRESS_FLAGS="-9" 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/layman/sunrise /usr/local/portage/layman/voip /usr/local/portage/layman/secondlife /usr/local/portage /usr/local/portage/layman/sunrise /usr/local/portage/layman/voip /usr/local/portage/layman/secondlife" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowext 7zip X X509 Xaw3d a52 aac accessibility ace acl acpi aim alsa amarok amazon amr amrnb amrwb anthy apache2 arts artswrappersuid asf async authdaemond avahi bash-completion berkdb bidi big-iron big-tables bittorrent bluetooth branding bzip2 cairo calendar canna catalogs cddb cdparanoia cdr cgi cjk clamav clamd cli clucene contentcache cracklib crypt cscope css ctype curl curlwrappers dbus deprecated dga diffheaders dirac directfb discouraged divx djvu dnd dovecot-sasl dri dts dvd dvdnav dvdr dvdread eb eds emboss emerald enca encode esd exif expat extensions extrafilters fam fame fbcon ffmpeg finger firefox flac fortran ftp garmin gcj gd geoip ggi gif gimp glib glitz glsa glut gmedia gmp gnutella gocr gopher gpgme gphoto2 gpm gps graph graphviz gs gstreamer gtk guile gzip gzip-el hal iconv icq id3 id3tag idea idn ilbc imagemagick imap imlib immqt-bc inotify ipv6 isdnlog jabber jack jasper java java5 javascript jbig jce jingle jp jpeg jpeg2k kakasi kcal kde kdepim kerberos lame lcms ldap libnotify libsamplerate libwww lilo live logrotate logwatch loop-aes lua lzo mad maildir matroska max-idx-128 md5sum mdnsresponder-compat mhash midi migemo mikmod mjpeg mmx mmxext mng modplug mp3 mp4 mp4live mpeg mpeg2 mplayer mpm-worker msn mtp mudflap mule musepack musicbrainz mysql ncurses netmeeting netpbm network networking nforce2 nls nodrm nowin nptl nptlonly nsplugin nspr ntp nuv nvidia objc objc++ objc-gc ocr ocrad offensive ofx ogg ole openexr openft opengl openmp pam pango parse-clocks pcre pdf perl php png pnm pop pop3d ppds pppd prime procmail psyco python qdbm qt3 qt3support qt4 quicktime quotes radio rar raw rc5 readline real realmedia reflection replytolist restrict-javascript rle ruby samba sametime sasl scanner scim sdl seamonkey sendmail session smime smp sndfile sound soundex speex spell spf spl sqlite sqlite3 srt sse sse2 ssl startup-notification subtitles subversion suexec svg sysfs syslog taglib tagwriting tcl tcltk tcpd tellico tesseract theora thesaurus threads threadsafe thunderbird tiff tk tokenizer transcode translator truetype ucs4 unicode unzip usb utempter uudeview uuencode v4l v4l2 vcd videos vidix vim-pager vim-with-x virus-scan visualization vorbis vorbis-psy wav wavpack webpresence wideband widescreen win32codecs wma wmf wmp wordperfect x264 x86 xanim xattr xcb xchatdccserver xcomposite xface xforms xfs xft xim xine xinerama xml xorg xscreensaver xtended xulrunner xv xvid xvmc yahoo yaz zeroconf zip zlib zrtp" 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
configure cannot finde ffmpeg: - svn revision: x86_64-pc-linux-gnu-g -- Time: 20080919223537 -- Looking for sws_scale -- Looking for sws_scale - found CMake Error: Could not find FFmpeg -- Configuring done * * ERROR: net-im/qutecom-2.2_rc1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2238: Called cmake-utils_src_configureout * environment, line 506: Called die * The specific snippet of code: * cmake ${cmakeargs} "${S}" || die "Cmake failed"; * The die message: * Cmake failed * * If you need support, post the topmost build error, and the call stack if releva nt. * A complete build log is located at '/var/log/portage/net-im:qutecom-2.2_rc1:200 80919-203528.log'. * The ebuild environment file is located at '/var/tmp/portage/net-im/qutecom-2.2_ rc1/temp/environment'. * ffmpeg version 0.4.9_p20080326 on x86_64 kind regards Bjoern
Created attachment 165873 [details] qutecom-2.2_rc1.ebuild qutecom-2.2_rc1 doesn't work with ffmpeg-20080326 yet, I have updated the dependencies in the ebuild. I'm working on a fix, it will hopefully appear in sunrise within a few days.
how sweet! all of the above patches got included into upstream for 2.2_rc2! the issues with ffmpeg are dead and gone, too, so the updated ebuild (i'll append one right away) actually gets somewhere. unfortunately, there's still a build fail which i haven't been able to work out yet (see below). :( anyone else? cheers, nico ====================== *snip* ====================== Linking C shared library liblibpurple.so Copying file /var/tmp/paludis/net-im-qutecom-2.2_rc2/work/qutecom_build/release/ [ 27%] Built target libpurple make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in net-im/qutecom-2.2_rc2: !!! In cmake-utils_src_make at line 1044 !!! Make failed! !!! Call stack: !!! * cmake-utils_src_make (/var/tmp/paludis/net-im-qutecom-2.2_rc2/temp/loadsaveenv:1044) !!! * src_compile (/var/tmp/paludis/net-im-qutecom-2.2_rc2/temp/loadsaveenv:3744) !!! * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:470) !!! * main (/usr/libexec/paludis/ebuild.bash:485) diefunc: making ebuild PID 22921 exit with error die trap: exiting with error. ====================== *snap* ======================
Created attachment 171550 [details] rc2 ebuild -- not working yet
(In reply to comment #17) Please check the qutecom-2.2_rc2 ebuild in the sunrise overlay, and attach the entire build log if that also fails.
hm, the ebuild from sunrise fails with the same error, log attached. maybe of interest: i'm on an amd64 here, using paludis (which shouldn't hurt). cheers, nico
Created attachment 171573 [details] failing build log for qutecom-2.2_rc2 on amd64
qutecom-2.2_rc2 doesn't build on amd64, because the developers at Mbdsys made changes to the code which work on x86 only. They don't have amd64 boxes to debug the errors (Google Breakpad related, which is a little more obvious when you build with -j1), so the process to get it working again is slow. The issue is presently being discussed on the qutecom-dev mailing list. For this reason, I had to drop the ~amd64 keyword between rc1 and rc2 in sunrise.
allright, thanks for the info. i'll be having an eye on the qutecom mailing list now to see if something changes..
hello again, i just tried to compile the sunrise ebuild on a x86 machine, but right at 100% i got =========================== *snip* =========================== [100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/filetransfer/QtFileTransferWidget.o [100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/filetransfer/QtFileTransferItem.o [100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/filetransfer/QtFileTransferDownloadItem.o [100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/filetransfer/QtFileTransferUploadItem.o [100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/filetransfer/QtFileTransferNotifyDialog.o [100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/webdirectory/QtWebDirectory.o Linking CXX executable qutecom ../../../../libs/webcam/libwebcam.so: undefined reference to `img_resample' ../../../../libs/webcam/libwebcam.so: undefined reference to `img_convert' ../../../../libs/webcam/libwebcam.so: undefined reference to `img_resample_close' ../../../../libs/webcam/libwebcam.so: undefined reference to `img_resample_init' collect2: ld returned 1 exit status make[2]: *** [wengophone/src/presentation/qt/qutecom] Error 1 make[1]: *** [wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/all] Error 2 make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in net-im/qutecom-2.2_rc2: !!! In cmake-utils_src_make at line 1037 !!! Make failed! !!! Call stack: !!! * cmake-utils_src_make (/var/tmp/paludis/net-im-qutecom-2.2_rc2/temp/loadsaveenv:1037) !!! * src_compile (/var/tmp/paludis/net-im-qutecom-2.2_rc2/temp/loadsaveenv:3737) !!! * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:470) !!! * main (/usr/libexec/paludis/ebuild.bash:485) diefunc: making ebuild PID 25750 exit with error die trap: exiting with error. =========================== *snap* =========================== doh!
my rc2 build from the sunrise overlay failed with: Scanning dependencies of target pixertool [ 8%] Building CXX object libs/pixertool/CMakeFiles/pixertool.dir/src/pixertool.o /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp: In function 'pixerrorcode pix_convert(int, piximage*, piximage*)': /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp:146: error: 'ImgReSampleContext' was not declared in this scope /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp:146: error: 'resample_context' was not declared in this scope /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp:147: error: 'img_resample_init' was not declared in this scope /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp:161: error: 'img_resample' was not declared in this scope /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp:162: error: 'img_resample_close' was not declared in this scope /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp:168: error: 'img_convert' was not declared in this scope /var/tmp/portage/net-im/qutecom-2.2_rc2/work/qutecom-2.2-RC2/libs/pixertool/src/pixertool.cpp:194: error: 'img_convert' was not declared in this scope make[2]: *** [libs/pixertool/CMakeFiles/pixertool.dir/src/pixertool.o] Error 1 make[1]: *** [libs/pixertool/CMakeFiles/pixertool.dir/all] Error 2 make: *** [all] Error 2
I had the same problems with pixertool as described in #25, but after upgrading to RC3 they disappeared. But later on I run into another error depending my bleeding edge ffmpeg version. rtp_mode has been removed from AVCodecContext but gets initialized in line 126 of wifo/phapi/phcodec-avcodec-wrapper.c I simply removed that line, because it has absolutely no effect.
Created attachment 176221 [details] new ebuild for RC3
Created attachment 176222 [details, diff] Patch removes obsolete rtp_mode from phcodec-avcodec-wrapper.c
More patches are necessary to build qutecom under all circumstances with full functionality. http://thread.gmane.org/gmane.comp.voip.qutecom.devel/649/focus=665 I presently evaluate which ones are necessary for Gentoo.
Created attachment 176299 [details] Updated ebuild for RC3 Put the patches from comment #29 to the files directory. Now QuteCom should install correct. Without the new patches it didn't install needed files to /usr/share. I had problems with included libpurple, so I added a line to use the allready installed pidgin's libpurple. I fear that's not really a good way to go around that problem. Please test, good luck!
same issue with libpurple here. i'd say the cleanest solution is to have a libpurple ebuild in the dependencies of qutecom. And -- *bling* -- according to bug #191237 an ebuild exists: pidgin! (no gui necessary.) so, i'd suggest to pull pidgin in as a dependency, maybe with an elog that one could set off the gtk flag there. cheers, nico
The qutecom ebuild in sunrise uses system installed pidgin. Using internal libraries is a bad idea from a security perspective.
can we get it in portage?
Created attachment 184057 [details] Ebuild for qutecom-2.2_rc3 I've made an update of the ebuild in the sunrise overlay to fix some issues : I was not building and their were QA issues. I've added it here for people who dislikes overlays ;) It is probably different from the last ebuilds attached to this bug. Please, do not hesitate to commit your changes in the sunrise overlay.
Building with qutecom-2.2_rc3.ebuild manually placed locally, and also with sunrise overlay via laymen....both builds fail during src_install, due to missing "release" folder... . . . -- Installing: /var/tmp/portage/net-im/qutecom-2.2_rc3/image/usr/share/icons/hicolor/48x48/apps/qutecom.png -- Installing: /var/tmp/portage/net-im/qutecom-2.2_rc3/image/usr/share/icons/hicolor/64x64/apps/qutecom.png -- Installing: /var/tmp/portage/net-im/qutecom-2.2_rc3/image/usr/share/qutecom/COPYING -- Installing: /var/tmp/portage/net-im/qutecom-2.2_rc3/image/usr/share/qutecom/AUTHORS -- Installing: /var/tmp/portage/net-im/qutecom-2.2_rc3/image/usr/share/qutecom/config/crashreport.xml /var/tmp/portage/net-im/qutecom-2.2_rc3/temp/environment: line 2714: cd: /var/tmp/portage/net-im/qutecom-2.2_rc3/work/qutecom_build/release: No such file or directory * * ERROR: net-im/qutecom-2.2_rc3 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2714: Called die * The specific snippet of code: * cd "${WORKDIR}"/${PN}_build/release || die "cd failed"; * The die message: * cd failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-im/qutecom-2.2_rc3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-im/qutecom-2.2_rc3/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * >>> Failed to emerge net-im/qutecom-2.2_rc3, Log file: >>> '/var/tmp/portage/net-im/qutecom-2.2_rc3/temp/build.log' build.log is attached
Created attachment 186249 [details] build fails at src_install on non-existent "release" folder
Created attachment 186253 [details] Ebuild for qutecom-2.2_rc3-r1 This ebuild from the sunrise overlay (by chithead) should fix you issue Matthew. It will be available in the public tree soon.
Created attachment 186254 [details, diff] Patch needed by qutecom-2.2_rc3-r1 If you want to use the last submitted ebuild you want this patch.
Nice, that worked, got it running. Now I'm off to figure why I get no call audio, yet I do hear the app's sound effects.
I still have an issue similar to described in Comment #25 (build fails on pixertool.cpp?) even with 2.2_rc3-r1. What does it depend on? Could it be because of 64-bit system? Here is the part that fails: [ 17%] /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp: In function ‘pixerrorcode pix_convert(int, piximage*, piximage*)’: /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:175: error: invalid conversion from ‘int’ to ‘PixelFormat’ /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:175: error: initializing argument 3 of ‘SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)’ /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:175: error: invalid conversion from ‘int’ to ‘PixelFormat’ /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:175: error: initializing argument 6 of ‘SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)’ /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:198: error: invalid conversion from ‘int’ to ‘PixelFormat’ /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:198: error: initializing argument 3 of ‘SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)’ /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:198: error: invalid conversion from ‘int’ to ‘PixelFormat’ /var/tmp/portage/net-im/qutecom-2.2_rc3-r1/work/qutecom-2.2-RC3/libs/pixertool/src/pixertool.cpp:198: error: initializing argument 6 of ‘SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)’ make[2]: *** [libs/pixertool/CMakeFiles/pixertool.dir/src/pixertool.o] Error 1 make[1]: *** [libs/pixertool/CMakeFiles/pixertool.dir/all] Error 2
I have applied patches found here: http://www.cynapses.org/tmp/patches/qutecom/ It didn't help though. What did help was to downgrade ffmpeg from 0.5.1 to 0.4.9_p20090201. Does anyone know how to build qutecom with new ffmpeg?
qutecom-2.2 has already been tagged in upstream's mercurial repository http://hg.qutecom.com/qutecom-2.2/ All ffmpeg-0.5 issues should be fixed there. I am preparing a new ebuild and will upload to the sunrise overlay as soon as release tarballs appear on the website.
Created attachment 193792 [details] build.log of qutecom on amd64 qutecom fails for me I am using the -r1 ebuild, I just removed the revision number. emerge --info: Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5 Timestamp of tree: Sat, 06 Jun 2009 18:30:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe -msse3" DISTDIR="/var/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unemerge-orphans unmerge-orphans userfetch" GENTOO_MIRRORS="http://192.168.1.53/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/var/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/portage/local/private-overlay" SYNC="rsync://192.168.1.53/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 async bash-completion berkdb branding bzip2 cairo cdr chm cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox flac fluidsynth fortran gdbm gif gnutls gpm hal hardened iconv isdnlog java java6 jpeg kate kde kerberos ldap mad messenger midi mikmod mmext mmx mmxext mp3 mpeg mudflap multilib muspack ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime rar readline reflection samba sdl session smp spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd theora tiff truetype type1 unicode urandom usb vorbis xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 193794 [details] build.log of qutecom on amd64 qutecom fails for me I am using the -r1 ebuild, I just removed the revision number. emerge --info: Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5 Timestamp of tree: Sat, 06 Jun 2009 18:30:02 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe -msse3" DISTDIR="/var/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unemerge-orphans unmerge-orphans userfetch" GENTOO_MIRRORS="http://192.168.1.53/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/var/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/portage/local/private-overlay" SYNC="rsync://192.168.1.53/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 async bash-completion berkdb branding bzip2 cairo cdr chm cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox flac fluidsynth fortran gdbm gif gnutls gpm hal hardened iconv isdnlog java java6 jpeg kate kde kerberos ldap mad messenger midi mikmod mmext mmx mmxext mp3 mpeg mudflap multilib muspack ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime rar readline reflection samba sdl session smp spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd theora tiff truetype type1 unicode urandom usb vorbis xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #44) Qutecom-2.2_rc3 does not build against ffmpeg-0.5, either use the 2.2 ebuild from the sunrise overlay or downgrade ffmpeg.
Created attachment 201641 [details, diff] qutecom_wifo_phapi.patch for qutecom-2.2_rc3-r1
Fixed in CVS.