I emerge gnomemeeting (1.00) and the openh323 dependancy fail with this below. This is the error message: In file included from /usr/share/pwlib/include/ptlib/contain.h:782, from /usr/share/pwlib/include/ptlib.h:146, from h235auth1.cxx:75: /usr/share/pwlib/include/ptlib/contain.inl: In constructor `PAbstractList::PAbstractList()': /usr/share/pwlib/include/ptlib/contain.inl:428: warning: right-hand operand of comma has no effect g++ -DP_USE_PRAGMA -ffunction-sections -fdata-sections -D_REENTRANT -Wall -DP_64BIT -fPIC -I/var/tmp/portage/openh323-1.13.2-r1/work/openh323/include -I/usr/include/ffmpeg -DPASN_NOPRINTON -DPASN_LEANANDMEAN -DHAS_OSS -DPASN_NOPRINTON -I/usr/share/pwlib/include -Os -O1 -fPIC -x c++ -c ixjunix.cxx -o /var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_rn/ixjunix.o In file included from /usr/share/pwlib/include/ptlib/contain.h:782, from /usr/share/pwlib/include/ptlib.h:146, from ixjunix.cxx:485: /usr/share/pwlib/include/ptlib/contain.inl: In constructor `PAbstractList::PAbstractList()': /usr/share/pwlib/include/ptlib/contain.inl:428: warning: right-hand operand of comma has no effect In file included from /var/tmp/portage/openh323-1.13.2-r1/work/openh323/include/ixjlid.h:260, from ixjunix.cxx:491: /usr/include/linux/ixjuser.h: At global scope: /usr/include/linux/ixjuser.h:353: error: expected `;' before '*' token make[1]: *** [/var/tmp/portage/openh323-1.13.2-r1/work/openh323/lib/obj_linux_x86_64_rn/ixjunix.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/openh323-1.13.2-r1/work/openh323/src' make: *** [opt] Error 2 !!! ERROR: net-libs/openh323-1.13.2-r1 failed. !!! Function src_compile, Line 84, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge gnomemeeting or emerge openh323 (~amd64 or amd64) 2. 3.
Created attachment 44704 [details, diff] Patch for ebuild openh323-1.13.2-r1.ebuild Just to add my patch under the ebuild
Created attachment 44706 [details, diff] Patch to solve the bug Patch to successfull build openh323 on amd64 with kernel header based on 2.6
Created attachment 44943 [details, diff] New openh323-1.13.2-ixjuser.diff Bachelier, I tried your patch but it seemed to have the directories wrong. Here is a new patch I created that works for me. However, when I build I get an access viloation.... :(
the Access Violation is caused by the writing the to /usr/lib as follows.... # cat /tmp/sandbox-net-libs_-_openh323-1.13.2-r1-20440.log symlink: /usr/lib/libh323_linux_x86_64_n.so symlink: /usr/lib/libh323_linux_x86_64_n.so.1 symlink: /usr/lib/libh323_linux_x86_64_n.so.1.13 open_wr: /usr/lib/libh323_linux_x86_64_n.so.1.13.2
I managed to get around the access violation by adding addwrite "/usr/lib" at the top of the src_compile() function....is that the proper way of getting around this type of problem? Anyway...works for me...now openh323 is compiled and installed.
I haven't got any problem of violation because my patch just add one line under a file, and it's a simple include ... Perhaps the ebuild make a violation, it's another problem perhaps there my emerge info: Portage 2.0.51-r3 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64) ================================================================= System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox userpriv" GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/myportage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dvd dvdr dvdread encode esd f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtmlimlib ipv6 jpeg kde ldap libg++ libwww mikmod motif mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell ssl tcltk tcpd tiff truetype usb xinerama xml2 xmms xv zlib linguas_fr" anything in it ? ok, what's yours ?
Hello Bachelier Vincent & Abdul-Wahid Paterson, the same problem occurs on my AMD 64 system if I start the emerge process for openh323-1.13.2. I copy your uploaded pics into /usr/portage/net-libs/openh323/files but the same error occurs. You wrote:"Patch for ebuild openh323-1.13.2-r1.ebuild. Just to add my patch under the ebuild." Do I make anything wrong if I only copy the patches? Should I make a temp directory for the emerge process? Thanks, Benjamin
for more informations on my system: bash-2.05b# emerge info Portage 2.0.51-r3 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64) ================================================================= System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/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 alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kdeldap libg++ libwww mikmod motif mpeg multilib mysql ncurses nls nogcj oggvorbis opengl pam pdflib perl php png python qt quicktime readline sdl slang spellssl tcpd truetype usb video xine xml2 xmms xv zlib linguas_de" bash-2.05b#
Created attachment 44972 [details] My portage overlay Decompress it, where you want, and don't forget to set portage overlay under make file example: I have put myportage under /usr well: /usr/myportage then I put under make file this line PORTDIR_OVERLAY=/usr/myportage Well, now try again
Bachelier, The patch I created fixed the same thing as your patch. In fact I got the idea from you. I don't understand though why the directories specified in the patch caused a problem for me. The access violation is a completely different issue and I expect it is not an AMD64 specific issue. I have read elsewhere that it is to do with using the sandbox feature and compiling with the sandbox feature disabled will also prevent the access violation. However, I notice from your emerge info that you do have sandbox enabled. I am not sure therefore why I get this error and not you. Here is my emerge info... Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4 x86_64) ================================================================= System uname: 2.6.9-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://192.168.1.10/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa apache2 berkdb bitmap-fonts bonobo cdr cjk crypt cups curl dga directfb dvd dvdr emacs esd f77 fam flash fortran gd gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib java jp2 jpeg junit ldap libwww lzw lzw-tiff mad mbox md5sum mng motif mozilla mpeg multilib mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python readline samba scanner sdl slang spell ssl svg tcpd threads tiff truetype unicode usb userlocales xml xml2 xmms xpm xrandr xv zlib"
Bachelier, thanks for the description on howto use the portage_overlay feature. Your eBuild & patch works for me. Thanks, Benjamin
fixed in cvs