Bug 154795 - app-pda/barry - sync tools for Blackberry (new ebuild)
Bug#: 154795 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P3
Resolution: FIXED Assigned To: jsin@gentoo.org Reported By: raistlin@s0ftpj.org
Component: Ebuilds
URL:  http://sourceforge.net/projects/barry/
Summary: app-pda/barry - sync tools for Blackberry (new ebuild)
Keywords:  EBUILD, InCVS
Status Whiteboard: 
Opened: 2006-11-11 05:32 0000
Description:   Opened: 2006-11-11 05:32 0000
The barry project is still in its early stages, but it's the only solution
available to sync a blackberry under Linux...

http://sourceforge.net/projects/barry/
http://www.netdirect.ca/software/packages/barry/

------- Comment #1 From Simone Piunno 2007-02-03 22:15:04 0000 -------
Created an attachment (id=109050) [details]
Ebuild

------- Comment #2 From Kevin Fullerton 2007-03-24 23:53:56 0000 -------
Created an attachment (id=114303) [details]
Ebuild for 0.6a

Ebuild for barry-0.6a

------- Comment #3 From Kevin Fullerton 2007-03-25 12:05:08 0000 -------
Created an attachment (id=114349) [details]
Ebuild for 0.6

------- Comment #4 From Jason Komar 2007-06-07 05:34:25 0000 -------
Created an attachment (id=121374) [details]
Ebuild for 0.7

Version bump.

------- Comment #5 From Anton Bolshakov 2007-06-07 06:08:10 0000 -------
JYI, 
A simple driver allowing Blackberry devices to be charged from a Linux system's
USB port has been merged into 2.6.21. You might want to change the ebuild if
necessary.

------- Comment #6 From Yogesh 2007-09-09 20:14:13 0000 -------
Created an attachment (id=130438) [details]
barry 0.8 ebuild

------- Comment #7 From Jason Smathers (RETIRED) 2007-09-15 19:04:12 0000 -------
moved to portage

------- Comment #8 From Josh Sled 2007-11-19 15:48:56 0000 -------
The barry-0.8 ebuild works for 0.9 with a rename.

------- Comment #9 From Jason Smathers (RETIRED) 2007-11-19 21:16:01 0000 -------
bumped to 0.9 in portage

------- Comment #10 From Ricky Rivera 2007-11-23 08:08:20 0000 -------
Created an attachment (id=136737) [details]
barry-0.9-r1.ebuild

Modification to barry 0.9 ebuild to build gui and opensync plugin.  libtar
isn't keyworded for amd64 yet, so I'm sumbitting it untested for the brave
souls out there.  Thoughts?

------- Comment #11 From Michael Schönbeck (RETIRED) 2007-12-02 01:18:10 0000 -------
Hi,

I had to add >=dev-cpp/libglademm-2.4 to the DEPENDs of the gui to get the
./configure pass.

But now the ebuild fails with this message:


        then mv -f ".deps/tarfile-ops-nt.Tpo" ".deps/tarfile-ops-nt.Po"; else
rm -f ".deps/tarfile-ops-nt.Tpo"; exit 1; fi
tarfile-ops-nt.cc:107: Fehler: ungültige Umwandlung von »int (*)(int)« in
»int (*)(long int)«
tarfile-ops-nt.cc:107: Fehler: ungültige Umwandlung von »ssize_t (*)(int,
void*, size_t)« in »ssize_t (*)(long int, void*, size_t)«
tarfile-ops-nt.cc:107: Fehler: ungültige Umwandlung von »ssize_t (*)(int,
const void*, size_t)« in »ssize_t (*)(long int, const void*, size_t)«
make[4]: *** [tarfile-ops-nt.o] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
make[4]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.9-r1/work/barry-0.9/gui/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.9-r1/work/barry-0.9/gui'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.9-r1/work/barry-0.9/gui'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.9-r1/work/barry-0.9'
make: *** [all] Fehler 2

If you tell me, how I can turn build errors into english language I will do so.

------- Comment #12 From Ricky Rivera 2008-02-11 00:42:49 0000 -------
I went ahead and unmasked libtar so I could give it a try, and I get the same
error.  If anyone is still paying attention to this bug, here's the output in
English:

------
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..
-I/var/tmp/portage/app-pda/barry-0.11-r1/work/barry-0.11  -pthread
-I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
-I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include
-I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0
-I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/lib64/gtk-2.0/include -I/usr/include/cairomm-1.0
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/libglademm-2.4
-I/usr/lib64/libglademm-2.4/include -I/usr/include/libglade-2.0
-I/usr/include/libxml2     -DBARRYBACKUP_GLADEDIR='"/usr/share/barry/glade/"' 
-ansi -Wall -g -march=nocona -O2 -pipe -MT tarfile-ops-nt.o -MD -MP -MF
".deps/tarfile-ops-nt.Tpo" -c -o tarfile-ops-nt.o tarfile-ops-nt.cc; \
        then mv -f ".deps/tarfile-ops-nt.Tpo" ".deps/tarfile-ops-nt.Po"; else
rm -f ".deps/tarfile-ops-nt.Tpo"; exit 1; fi
tarfile-ops-nt.cc:107: error: invalid conversion from 'int (*)(int)' to 'int
(*)(long int)'
tarfile-ops-nt.cc:107: error: invalid conversion from 'ssize_t (*)(int, void*,
size_t)' to 'ssize_t (*)(long int, void*, size_t)'
tarfile-ops-nt.cc:107: error: invalid conversion from 'ssize_t (*)(int, const
void*, size_t)' to 'ssize_t (*)(long int, const void*, size_t)'
make[4]: *** [tarfile-ops-nt.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.11-r1/work/barry-0.11/gui/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.11-r1/work/barry-0.11/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.11-r1/work/barry-0.11/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-pda/barry-0.11-r1/work/barry-0.11'
make: *** [all] Error 2
-----

Looking at barry's mailing list[1], it appears to be a problem with libtar.  I
applied the patch to libtar.h from the e-mail, but it didn't seem to help. 
Guess I'll just wait for libtar to become offically unmasked.

[1]
http://sourceforge.net/mailarchive/message.php?msg_id=20070803200729.GA7068%40foursquare.net