Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127246 - openh323-1.15.6 Ebuild should require pwlib >= 1.8.7
Summary: openh323-1.15.6 Ebuild should require pwlib >= 1.8.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
: 134665 136277 138229 (view as bug list)
Depends on:
Blocks: 145783
  Show dependency tree
 
Reported: 2006-03-22 16:02 UTC by James Tomlinson
Modified: 2006-09-13 18:13 UTC (History)
12 users (show)

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


Attachments
Updated Ebuild as my suggestion. (openh323-1.15.6.ebuild,3.95 KB, text/plain)
2006-03-22 16:05 UTC, James Tomlinson
Details
Patch openh323-1.15.6 ebuild to 1.18.0 (openh323-1.15.6_to_1.18.0.patch,1.26 KB, patch)
2006-06-20 10:12 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Tomlinson 2006-03-22 16:02:49 UTC
The current openh323 ebuild requires the most recent pwlib-1.8.7. pwlib-1.10.0 is now in portage and required for ekiga. Should the openh323 ebuild be updated to:

RDEPEND="
        ~dev-libs/pwlib-1.8.7
        >=media-video/ffmpeg-0.4.7
        ssl? ( dev-libs/openssl )"

I am new to this bug posting so, sorry if its in the wrong place, or wrong in general.

Portage 2.1_pre6-r5 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
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-r1
sys-devel/binutils:  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=k8 -O2 -pipe -fomit-frame-pointer -ftracer -fno-ident -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ftracer -fno-ident -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac ace acpi alsa apm asf atm avi berkdb bindist bitmap-fonts bzip2 cdr cpudetection crypt cups custom-cflags dhcp divx4linux dri dvd dvdread emboss encode esd firefox foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg libg++ libwww live mad mikmod mmx mp3 mpeg mppe-mppc nas ncurses network nls nocd nowin nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pdflib perl png ppds python quicktime readline real rtc sdl spell sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs xgetdefault xml2 xmms xv xvid zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_vesa video_cards_nvidia video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 James Tomlinson 2006-03-22 16:04:21 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 )"
Comment 2 James Tomlinson 2006-03-22 16:05:38 UTC
Created attachment 82897 [details]
Updated Ebuild as my suggestion.
Comment 3 Patrizio Bassi 2006-03-25 09:43:16 UTC
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.
Comment 4 James Tomlinson 2006-03-25 11:44:27 UTC
(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. 
Comment 5 Patrizio Bassi 2006-03-25 14:16:00 UTC
sure i confirm that, the mainteiner should apply that fix.
Comment 6 Robert Marmorstein 2006-04-08 03:21:10 UTC
Does this actually work?  (Has someone tested it?)  From reading comments in the Changelog and ebuild, it sounds like openh323 requires specifically this version.  
Comment 7 Patrizio Bassi 2006-04-08 08:36:46 UTC
with ekiga that works
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 11:00:09 UTC
*** Bug 134665 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-06-10 05:13:54 UTC
*** Bug 136277 has been marked as a duplicate of this bug. ***
Comment 10 Chris Mayo 2006-06-20 10:12:13 UTC
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.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-06-27 11:38:50 UTC
*** Bug 138229 has been marked as a duplicate of this bug. ***
Comment 12 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-13 18:13:02 UTC
I completely rewrote that ebuild and tested it with a few ebuilds - it is a _mess_

committed to portage, thanks.