Summary: | net-im/jabbin (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wiebe Cazemier <wiebe> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | juliusz.cwiakalski, net-im, pbmaxi, rockoo, vivo |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.jabbin.com/int/ | ||
Whiteboard: | sunrise suggested | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-im/jabbin/jabbin-2.0_beta.ebuild
net-im/jabbin/jabbin-2.0_beta.ebuild (stripped from psi ebuild) net-im/jabbin/jabbin-2.0_beta.ebuild (improved) 3party.patch net-im/jabbin/jabbin-2.0beta_amd64.patch net-im/jabbin/jabbin-2.0beta2-r1.ebuild ebuild for amd64 architecture Jabbin ebuild |
Description
Wiebe Cazemier
2006-09-30 03:18:25 UTC
Created attachment 99060 [details]
net-im/jabbin/jabbin-2.0_beta.ebuild
The ebuld fail per sandbox issues, things that need to be fixed prior this package can even be neared to portage:
- use a configure script, this is a work in progress in the
"yazwas" svn branch (qt4?)
- the 3party plugins {iLBC,jrtplib,libjingle,qca} are already in portage
those should be used instead of the upstream provided ones.
please, ping on this bug when upstream mark stable the 2.0 version
Created attachment 99064 [details]
net-im/jabbin/jabbin-2.0_beta.ebuild (stripped from psi ebuild)
another ebuild, still NOT working, but at least it compile and install, shamelessy copied from psi ebuild.
this is the error I get when emerging jabbin with this ebuild. I admint i wrote my ebuild, and had this same error. :( and i tried the cvs sourcce of jabbin (wrote ebuild for that too) with the same luck. i looked over their site and got no answer for this. ../3party/libjingle/libjingle.a(xmlparser.o): In function `~XmlParser': talk/xmllite/xmlparser.cc:180: undefined reference to `XML_ParserFree' talk/xmllite/xmlparser.cc:180: undefined reference to `XML_ParserFree' talk/xmllite/xmlparser.cc:180: undefined reference to `XML_ParserFree' ../3party/libjingle/libjingle.a(xmlparser.o): In function `buzz::XmlParser::Parse(char const*, unsigned int, bool)': talk/xmllite/xmlparser.cc:167: undefined reference to `XML_Parse' talk/xmllite/xmlparser.cc:168: undefined reference to `XML_GetErrorCode' ../3party/libjingle/libjingle.a(xmlparser.o): In function `buzz::XmlParser::Reset()': talk/xmllite/xmlparser.cc:77: undefined reference to `XML_ParserReset' talk/xmllite/xmlparser.cc:78: undefined reference to `XML_ParserFree' talk/xmllite/xmlparser.cc:79: undefined reference to `XML_ParserCreate' talk/xmllite/xmlparser.cc:81: undefined reference to `XML_SetUserData' talk/xmllite/xmlparser.cc:82: undefined reference to `XML_SetElementHandler' talk/xmllite/xmlparser.cc:83: undefined reference to `XML_SetCharacterDataHandler' talk/xmllite/xmlparser.cc:84: undefined reference to `XML_SetXmlDeclHandler' ../3party/libjingle/libjingle.a(xmlparser.o): In function `XmlParser': talk/xmllite/xmlparser.cc:68: undefined reference to `XML_ParserCreate' talk/xmllite/xmlparser.cc:69: undefined reference to `XML_SetUserData' talk/xmllite/xmlparser.cc:70: undefined reference to `XML_SetElementHandler' talk/xmllite/xmlparser.cc:71: undefined reference to `XML_SetCharacterDataHandler' talk/xmllite/xmlparser.cc:72: undefined reference to `XML_SetXmlDeclHandler' talk/xmllite/xmlparser.cc:68: undefined reference to `XML_ParserCreate' talk/xmllite/xmlparser.cc:69: undefined reference to `XML_SetUserData' talk/xmllite/xmlparser.cc:70: undefined reference to `XML_SetElementHandler' talk/xmllite/xmlparser.cc:71: undefined reference to `XML_SetCharacterDataHandler' talk/xmllite/xmlparser.cc:72: undefined reference to `XML_SetXmlDeclHandler' collect2: ld returned 1 exit status make[1]: *** [jabbin] Error 1 make: *** [sub-src] Error 2 !!! ERROR: net-im/jabbin-2.0_beta failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile jabbin-2.0_beta.ebuild, line 37: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/portage' Created attachment 102726 [details]
net-im/jabbin/jabbin-2.0_beta.ebuild (improved)
this ebuild installs jabbin. it needs libjingle installed with all use flags off.
USE="-ilbc -ortp -speex" emerge -avt libjingle
the install is handmade and really needs improvement.
it seems really hard, to not use the 3party dependencies, since they are modified to include jabbin specific files.
Created attachment 102727 [details]
3party.patch
to compile against local ligjingle
I get this error when I attempt to emerge jabbin using the 2.0_beta (improved) ebuild. By the way I am on amd64 ../voip/mediastream.cpp: In member function `void MediaStream::start(QPtrQueue<QByteArray>*, cricket::MediaChannel*, int)': ../voip/mediastream.cpp:162: warning: unused variable 'localPort' make[1]: Leaving directory `/var/tmp/portage/jabbin-2.0_beta/work/jabbin-2.0beta/src' make: *** [sub-src] Error 2 !!! ERROR: net-im/jabbin-2.0_beta failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile jabbin-2.0_beta.ebuild, line 33: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/portage' Created attachment 103816 [details, diff]
net-im/jabbin/jabbin-2.0beta_amd64.patch
I found this patch, but I dont't know how to put it into ebuild, even don't know if it works...
Comment on attachment 103816 [details, diff]
net-im/jabbin/jabbin-2.0beta_amd64.patch
I found this patch, but I dont't know how to put it into ebuild, even don't
know if it works... I need jabbin to work with my gentoo on amd64 box.
Created attachment 106954 [details]
net-im/jabbin/jabbin-2.0beta2-r1.ebuild
Comment on attachment 106954 [details]
net-im/jabbin/jabbin-2.0beta2-r1.ebuild
ebuild for jabbin-2.0beta2a
Created attachment 113650 [details]
ebuild for amd64 architecture
I modified jabbin-2.0beta2a ebuild so it uses amd64 patch. Unfortunetley emerging jabbin causes the ACCES VOILATION, so it has to be emerged with sandbox feature turned off:
FEATURES="-sandbox" emerge jabbin
I don't know how to work this out. Any ideas?
http://bugs.gentoo.org/attachment.cgi?id=113650 doesn't work my machine says "!!! net-im/jabbin-2.0_beta2a does not follow correct package syntax." (In reply to comment #12) > http://bugs.gentoo.org/attachment.cgi?id=113650 doesn't work my machine says > > "!!! net-im/jabbin-2.0_beta2a does not follow correct package syntax." > Sorry I didn't name an attachment according to ebuild naming scheme, ebuild for amd64 architecture should be named jabbin-2.0_beta2-r1.ebuild My mistake. Ebuild jabbin-2.0_beta2-r1.ebuild doesn't check compile errors and probably some depends: ../voip/codecs/speexcodec.cpp:14:25: error: speex/speex.h: No such file or directory ../voip/voicecodec.h:32: warning: ‘class VoiceCodecFactory’ has virtual functions but non-virtual destructor ../voip/codecs/speexcodec.cpp:23: error: ‘SpeexBits’ does not name a type ../voip/codecs/speexcodec.cpp:38: error: ‘SpeexBits’ does not name a type ../voip/codecs/speexcodec.cpp: In constructor ‘SpeexEncoder::SpeexEncoder()’: ../voip/codecs/speexcodec.cpp:51: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:51: error: ‘speex_bits_init’ was not declared in this scope ../voip/codecs/speexcodec.cpp:55: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:56: error: ‘speex_nb_mode’ was not declared in this scope ../voip/codecs/speexcodec.cpp:56: error: ‘speex_encoder_init’ was not declared in this scope ../voip/codecs/speexcodec.cpp:59: error: ‘SPEEX_SET_QUALITY’ was not declared in this scope ../voip/codecs/speexcodec.cpp:59: error: ‘speex_encoder_ctl’ was not declared in this scope ../voip/codecs/speexcodec.cpp:61: error: ‘SPEEX_SET_COMPLEXITY’ was not declared in this scope ../voip/codecs/speexcodec.cpp:63: error: ‘SPEEX_SET_VAD’ was not declared in this scope ../voip/codecs/speexcodec.cpp: In constructor ‘SpeexDecoder::SpeexDecoder()’: ../voip/codecs/speexcodec.cpp:71: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:71: error: ‘speex_bits_init’ was not declared in this scope ../voip/codecs/speexcodec.cpp:76: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:77: error: ‘speex_nb_mode’ was not declared in this scope ../voip/codecs/speexcodec.cpp:77: error: ‘speex_decoder_init’ was not declared in this scope ../voip/codecs/speexcodec.cpp:80: error: ‘SPEEX_SET_ENH’ was not declared in this scope ../voip/codecs/speexcodec.cpp:80: error: ‘speex_decoder_ctl’ was not declared in this scope ../voip/codecs/speexcodec.cpp: In destructor ‘virtual SpeexEncoder::~SpeexEncoder()’: ../voip/codecs/speexcodec.cpp:86: error: ‘speex_encoder_destroy’ was not declared in this scope ../voip/codecs/speexcodec.cpp:87: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:87: error: ‘speex_bits_destroy’ was not declared in this scope ../voip/codecs/speexcodec.cpp: In destructor ‘virtual SpeexDecoder::~SpeexDecoder()’: ../voip/codecs/speexcodec.cpp:96: error: ‘speex_decoder_destroy’ was not declared in this scope ../voip/codecs/speexcodec.cpp:97: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:97: error: ‘speex_bits_destroy’ was not declared in this scope ../voip/codecs/speexcodec.cpp: In member function ‘virtual int SpeexEncoder::encode(const short int*, int, char**, int*)’: ../voip/codecs/speexcodec.cpp:126: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:126: error: ‘speex_bits_reset’ was not declared in this scope ../voip/codecs/speexcodec.cpp:128: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:128: error: ‘speex_encode’ was not declared in this scope ../voip/codecs/speexcodec.cpp:132: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:132: error: ‘speex_bits_write’ was not declared in this scope ../voip/codecs/speexcodec.cpp: In member function ‘virtual int SpeexDecoder::decode(const char*, int, short int**)’: ../voip/codecs/speexcodec.cpp:171: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:171: error: ‘speex_bits_read_from’ was not declared in this scope ../voip/codecs/speexcodec.cpp:173: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’ ../voip/codecs/speexcodec.cpp:173: error: ‘speex_decode’ was not declared in this scope make[1]: *** [.obj/speexcodec.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src' make: *** [sub-src] Error 2 >>> Source compiled. >>> Test phase [not enabled]: net-im/jabbin-2.0_beta2-r1 >>> Install jabbin-2.0_beta2-r1 into /var/tmp/portage/net-im/jabbin-2.0_beta2-r1/image/ category net-im !!! dobin: src/jabbin does not exist building file list ... done Created attachment 133265 [details]
Jabbin ebuild
Adding "inherit qt3" to the ebuild fixed the sandbox error for me.
Jabbin compiles, but when it copies the files, it installs no executables, only stuff in /usr/share.
In addition, configure shows its help while emerging, so I think it doesn't like the parameters, but make does't seem to matter.
Has anyone tried Jabbin from the svn repository? (I would try myself but I don't have a computer for this purpose right now :( ) Looking over at http://jabbin.svn.sourceforge.net/viewvc/jabbin/tags/, I see 2.1-alpha... jabbin-2.0_beta2-r1 Linking: .... r/X11R6/lib -L../3party/libjingle -ljingle -lz -lXss -L../3party/jrtplib -ljrtp -lspeex -lssl -lqt-mt -lXext -lX11 -lm -lpthread .obj/mediastream.o: In function `MediaStream::start(QPtrQueue<QMemArray<char> >*, cricket::MediaChannel*, int)': /var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src/../voip/mediastream.cpp:190: undefined reference to `RTPSession::Create(RTPSessionParams const&, RTPTransmissionParams const*)' .obj/mediastream.o: In function `Private': /var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src/../voip/mediastream.cpp:58: undefined reference to `RTPSession::RTPSession(RTPTransmitter::TransmissionProtocol)' collect2: ld returned 1 exit status make[1]: *** [jabbin] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-im/jabbin-2.0_beta2-r1/work/jabbin-2.0_beta2/src' make: *** [sub-src] Error 2 ... $ dumpelf -v /usr/lib/libjrtp.so | grep RTPSession | grep Create * _ZN10RTPSession11CreateCNAMEEPhPjb * _ZN10RTPSession14InternalCreateERK16RTPSessionParams * _ZN10RTPSession6CreateERK16RTPSessionParamsP14RTPTransmitter * _ZN10RTPSession6CreateERK16RTPSessionParamsPK21RTPTransmissionParamsN14RTPTransmitter20TransmissionProtocolE $ There is a new version: Jabbin 3.0 Beta “Flaming Phoenix” http://www.jabbin.com/blog/ We want this! :-) Guys, there are not a lot of developers in Gentoo to maintain all possible applications and that is why Sunrise overlay was created. The sunrise overlay[1] is a overlay where users are allowed to commit and maintain ebuilds. All ebuilds in this overlay are reviewed by Gentoo developers before entry into the overlay [2] so it's quite safe to use overlay. So if anybody here manages to write good ebuild, that follows quite simple coding standards [3], it's a good opportunity to have ebuild reviewed and shared with other users. [1] http://overlays.gentoo.org/proj/sunrise/ [2] http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq#CanIhaveaccesstotheoverlay [3] http://overlays.gentoo.org/proj/sunrise/wiki/CodingStandards |