Summary: | openh323-1.15.6 Ebuild should require pwlib >= 1.8.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Tomlinson <tomo.bbe> |
Component: | New packages | Assignee: | Stefan Knoblich (RETIRED) <stkn> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aklhfex, chris, harrisl, jesse, je_fro, ladanyi, maciej.blizinski, patrizio.bassi, rmmarm, sbriesen, slavon, voip+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 145783 | ||
Attachments: |
Updated Ebuild as my suggestion.
Patch openh323-1.15.6 ebuild to 1.18.0 |
Description
James Tomlinson
2006-03-22 16:02:49 UTC
Sorry, the ebuild should be modified from what was quoted above to: RDEPEND=" >=dev-libs/pwlib-1.8.7 >=media-video/ffmpeg-0.4.7 ssl? ( dev-libs/openssl )" Created attachment 82897 [details]
Updated Ebuild as my suggestion.
i do agree, but it fails with gcc 4.1.0 g++ -D_REENTRANT -Wall -fPIC -DPIC -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include -DHAS_OSS -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -felide-constructors -c ixjunix.cxx -o /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include/ixjlid.h:839: error: extra qualification ‘OpalIxJDevice::’ on member ‘GetException’ make[1]: *** [/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/src' make: *** [opt] Error 2 !!! ERROR: net-libs/openh323-1.15.6 failed. (In reply to comment #3) > i do agree, but it fails with gcc 4.1.0 Yes in order to pass you need to remove "OpalIxJDevice" from line #839 in /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include/ixjlid.h, and then FEATURES="keepwork" emerge openh323. I'm not sure how I would generate a patch to fix this issue, or whether GCC-4.1 bugs are meant to be in portage just yet. I initally just wanted to raise the bug with pwlib version. sure i confirm that, the mainteiner should apply that fix. Does this actually work? (Has someone tested it?) From reading comments in the Changelog and ebuild, it sounds like openh323 requires specifically this version. with ekiga that works *** Bug 134665 has been marked as a duplicate of this bug. *** *** Bug 136277 has been marked as a duplicate of this bug. *** Created attachment 89641 [details, diff]
Patch openh323-1.15.6 ebuild to 1.18.0
Updating to openh323-1.18.0 is one way around this, depends on pwlib >= 1.10.0. Patch attached.
It compiles & installs OK for me, BUT N.B. I don't really use openh323 - for me it is just to solve the dependency problem.
Changes:
1) SRC now sourceforge
2) Horrible file naming convention (couldn't get unpack to work because the tar file ends in -tar and not .tar - don't know if this can be done).
3) Compiles OK for me with gcc-4.1.1 without patching
4) Makefile.in has changed, doesn't need patching? I am emerging OK with -debug.
5) Took out the OH323_FILE setting in make install. Didn't work for me with this in (Makefile has changed?). Is this OK? I do end up with /usr/lib/libh323_linux_x86_n.so.1.18.0 and links installed.
*** Bug 138229 has been marked as a duplicate of this bug. *** I completely rewrote that ebuild and tested it with a few ebuilds - it is a _mess_ committed to portage, thanks. |