First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 175599
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Default Assignee for New Packages <maintainer-wanted@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: the_mgt <themgt@mail.ru>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
retroshare-0.3.0_pre8.ebuild The ebuild for version 0.3.0_pre8 text/plain the_mgt 2007-04-22 17:46 0000 3.89 KB Details
retroshare-0.3.52a.ebuild the updated ebuild text/plain the_mgt 2008-01-01 16:50 0000 5.63 KB Details
retroshare wrapper script to distribute the kadc.ini to the users ~/.pqiPGPrc text/plain the_mgt 2008-01-01 16:52 0000 217 bytes Details
retroshare-0.4.04b.ebuild updated ebuild for the recent version text/plain the_mgt 2008-07-12 10:16 0000 4.78 KB Details
retroshare-0.4.04b.ebuild most recent stable version text/plain the_mgt 2008-07-12 10:31 0000 4.84 KB Details
retroshare-0.4.09b.ebuild Ebuild for the latest stable linux source text/plain the_mgt 2008-07-30 11:33 0000 4.88 KB Details
retroshare-0.4.09b_gcc43.patch GCC 4.3 compatibility patch Nikolay Orlyuk 2009-03-06 20:56 0000 5.43 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175599 depends on: Show dependency tree
Bug 175599 blocks:
Votes: 16    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-22 17:39 0000
This is an ebuild i wrote for RetroShare, an InstantMessenger and P2P programm
with buildin SSL encryption and Web of Trust. It uses a patched version of
openssl and uses KadC library, both are build within the ebuild.
Project homepage is http://retroshare.sf.net/. The project seems to be under
constant development and is in alpha state atm, but was linked on heise.de, so
i think there is enough interest on it to write an ebuild.

Reproducible: Always

Steps to Reproduce:




Emerges fine here. The openssl component in the ebuild is the only component
with some autoconfig features. The patching of the openssl configure file only
takes care of machines which are identified as "linux-elf", i did not have a
pentium so i did not take care of that. Kadc and the RetroShare core have
nonautomated build functions, so patching should work fine there. The QT Gui
uses qmake to generate a makefile, this makefile is then patched to adapt to
make.conf settings.
Please tell me how it works for you.

------- Comment #1 From the_mgt 2007-04-22 17:46:40 0000 -------
Created an attachment (id=117009) [details]
The ebuild for version 0.3.0_pre8

------- Comment #2 From Markus Rathgeb 2007-06-27 10:10:05 0000 -------
there is now a rc1 available. could you adapt your ebuild?

------- Comment #3 From Thomas Capricelli 2007-07-26 10:58:56 0000 -------
retroshare is gaining momentum, i vote for inclusion in gentoo as well.

------- Comment #4 From the_mgt 2008-01-01 16:42:58 0000 -------
I found some time to update the ebuild for the latest version of RetroShare.
You need the ebuild and the retroshare script in the /files dir of your portage
overlay.

Please report any bugs here or join #retroshare on freenode.
Is mysql a build dependency? I think so...

To the people in charge: I like to be maintainer for this package.

------- Comment #5 From the_mgt 2008-01-01 16:50:15 0000 -------
Created an attachment (id=139794) [details]
the updated ebuild

------- Comment #6 From the_mgt 2008-01-01 16:52:27 0000 -------
Created an attachment (id=139796) [details]
wrapper script to distribute the kadc.ini to the users ~/.pqiPGPrc

this script distributes a file to the users ~ and starts the gui afterwards

------- Comment #7 From Albert Zeyer 2008-03-05 07:20:27 0000 -------
ebuild works here

------- Comment #8 From the_mgt 2008-07-12 10:16:12 0000 -------
Created an attachment (id=160182) [details]
updated ebuild for the recent version

wrapperscript no longer needed

------- Comment #9 From the_mgt 2008-07-12 10:31:37 0000 -------
Created an attachment (id=160183) [details]
most recent stable version

fixed a minor bug/typo and changed 2 makes to emakes

please contact me for connection tests, thanks

------- Comment #10 From the_mgt 2008-07-30 11:33:40 0000 -------
Created an attachment (id=161707) [details]
Ebuild for the latest stable linux source

New source package was released today.
Builds and works fine on 32bit x86. Needs 64bit testing.

I do like to maintain this ebuild, I am an official packager for the Retroshare
project and I maintain the ebuild and another (generic) install script.

------- Comment #11 From Per Abich 2008-08-23 12:34:02 0000 -------
I tried to add the ebuild to the sunrise tree today, but there are too many
issues with it. 
 - The tar referenced contains sources to non-retroshare libraries (openssl,
smplayer etc.)
- the SRC_URI should use ${PN}
- the dependency to >=qt-4.4 is not clear

Maybe the maintainer could submit his package to sunrise himself...

------- Comment #12 From the_mgt 2008-08-23 13:50:52 0000 -------
Thanks for your effort, Per!

" - The tar referenced contains sources to non-retroshare libraries (openssl,
smplayer etc.)"
The Openssl version in the source is a patched one and incompatible to system
ssl. (Or better to say: systems ssl wont work for retroshare). So this one is
needed as provided.

There are no ebuilds for miniupnpc and qcheckers, I could write them, but i was
too lazy and used the build mechanism as intended by the RS developers.

Smplayer is in portage, so I could somehow get the libsmplayer.a which RS
needs.
But here again I was lazy, because I first wanted to see if anybody is willing
to use/test RS.

How strict is the gentoo policy on such tar packages? Are they strictly
forbidden or only have to be avoided? Iirc, audacity does include something
like this aswell.

"- the SRC_URI should use ${PN}"
Why? What is the problem with ${PV}?

"- the dependency to >=qt-4.4 is not clear"
I don't understand what you mean. >=x11-libs/qt-4.2.2 is needed.

I have no idea how to add an ebuild to sunrise. Maybe you can contact me via
email or on freenode (same nick as here) and we can discuss the issues there?

------- Comment #13 From Kamen Dokov 2008-09-21 07:45:28 0000 -------
I tried it on amd64 and it will not compile with the following error :

udpsorter.cc: In member function ‘int UdpSorter::doStun(sockaddr_in)’:
udpsorter.cc:331: warning: unused variable ‘sentlen’
udpsorter.cc: In member function ‘bool UdpSorter::checkStunKeepAlive()’:
udpsorter.cc:625: warning: comparison between signed and unsigned integer
expressions
g++ -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -ftree-vectorize
-ftree-loop-linear -Wall -I ..  -I
../../../../../src/openssl-0.9.7g-xpgp-0.1c/include   -DPQI_USE_XPGP -c
udptestfn.cc
g++ -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -ftree-vectorize
-ftree-loop-linear -Wall -I ..  -I
../../../../../src/openssl-0.9.7g-xpgp-0.1c/include   -DPQI_USE_XPGP -c
tcppacket.cc
g++ -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -ftree-vectorize
-ftree-loop-linear -Wall -I ..  -I
../../../../../src/openssl-0.9.7g-xpgp-0.1c/include   -DPQI_USE_XPGP -c
tcpstream.cc
tcpstream.cc: In member function ‘int TcpStream::send()’:
tcpstream.cc:2113: error: ‘UINT_MAX’ was not declared in this scope
tcpstream.cc: In member function ‘bool TcpStream::isOldSequence(uint32,
uint32)’:
tcpstream.cc:2292: error: ‘UINT_MAX’ was not declared in this scope
tcpstream.cc:2300: error: ‘UINT_MAX’ was not declared in this scope
make[1]: *** [tcpstream.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-misc/retroshare-0.4.09b/work/retroshare-package-v0.4.09b/src/retroshare-v0.4.09b/libretroshare/src/tcponudp'
make: *** [librs] Error 2
 *
 * ERROR: net-misc/retroshare-0.4.09b failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2127:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake of retroshare failed";
 *  The die message:
 *   emake of retroshare 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-misc/retroshare-0.4.09b/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-misc/retroshare-0.4.09b/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'

------- Comment #14 From julakali 2008-10-21 19:41:53 0000 -------
Compiles fine here (x86).
But won't run:
retroshare-nogui: error while loading shared libraries: libminiupnpc.so.2:
cannot open shared object file: No such file or directory

Don't know where to get that lib...

------- Comment #15 From julakali 2008-10-21 20:05:49 0000 -------
(In reply to comment #14)
> Compiles fine here (x86).
> But won't run:
> retroshare-nogui: error while loading shared libraries: libminiupnpc.so.2:
> cannot open shared object file: No such file or directory
> 
> Don't know where to get that lib...
> 

works when compiling manually... -_-

------- Comment #16 From Kamen Dokov 2008-10-21 20:58:21 0000 -------
(In reply to comment #14)
> Compiles fine here (x86).
> But won't run:
> retroshare-nogui: error while loading shared libraries: libminiupnpc.so.2:
> cannot open shared object file: No such file or directory
> 
> Don't know where to get that lib...
> 

http://83.234.250.1/ports/net/miniupnpc/pkg-plist

I tried om my amd64 manually and the ebuild, the error i s the same!

------- Comment #17 From Nikolay Orlyuk 2009-03-06 20:56:06 0000 -------
Created an attachment (id=184174) [details]
GCC 4.3 compatibility

Works for me under amd64 + gcc 4.3.3
but also hitting the problem with libminiupnpc.so.2 (looking forward for
placing right dependencies in ebuild)

------- Comment #18 From Nikolay Orlyuk 2009-03-07 07:37:59 0000 -------
(In reply to comment #14)
> Compiles fine here (x86).
> But won't run:
> retroshare-nogui: error while loading shared libraries: libminiupnpc.so.2:
> cannot open shared object file: No such file or directory
> 
> Don't know where to get that lib...
> 
Looks like this retroshare-nogui is valid only if USE=dedicated present
I have RetroShare binary which does all as expect

------- Comment #19 From the_mgt 2009-03-07 14:59:16 0000 -------
(In reply to comment #18)
> (In reply to comment #14)
> > Compiles fine here (x86).
> > But won't run:
> > retroshare-nogui: error while loading shared libraries: libminiupnpc.so.2:
> > cannot open shared object file: No such file or directory
> > 
> > Don't know where to get that lib...
> > 
> Looks like this retroshare-nogui is valid only if USE=dedicated present
> I have RetroShare binary which does all as expect
> 

retroshare-nogui is only used on headless systems.

the RetroShare binary is what you use on desktops.
I'll look into the ebuild later, but i think we need a svn ebuild, cause
version 4.09b is quite out of date.

Thanks for testing and reporting!

First Last Prev Next    No search results available      Search page      Enter new bug