Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 37928
Alias:
Product:
Component:
Status: RESOLVED
Resolution: LATER
Assigned To: John Mylchreest (RETIRED) <johnm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Troy Dack <troy@tkdack.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
multisync-0.83_pre20050115.ebuild app-pda/multisync-0.83_pre20050115 ebuild with palm support application/octet-stream Tom Hendrikx 2005-01-27 01:03 0000 4.20 KB Details
multisync-0.83_pre20050115-r1.ebuild app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild application/octet-stream Joel Brauer 2005-04-22 11:20 0000 4.28 KB Details
multisync-0.83_pre20050115-r1.ebuild app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild application/octet-stream Joel Brauer 2005-04-22 16:09 0000 4.34 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 37928 depends on: Show dependency tree
Bug 37928 blocks:
Votes: 0    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: 2004-01-11 17:58 0000
When I tried to emerge multisync-0.81 and found out the palm_sync plugin wasn't
built, I tried to edit the ebuild to include it. Building the plugin dies in:

checking for pi_socket in -lpisock... yes
checking pi-socket.h usability... no
checking pi-socket.h presence... no
checking for pi-socket.h... no
configure: error: You must have the libpisock-dev package installed.

...during configure. Building the palm_sync plugin and/or multisync from the
source at their website does the same. However, the missing file is available
on my system at /usr/include/libpisock/pi-socket.h, as part of the
app-pda/pilot-link package. Compiling pilot-link from original source seems to
give the exact same file.

The only problem the ebuild seems to have, is not finding the pi-socket.h file.
I can code a little although I have no experience with C, so I'm don't know how
to solve the problem (although it seems to me this could be as easy as
adjusting a path somewhere).

For now, I'm willing to test any adjustments and offer any other help on this
ebuild :)

To reproduce:
USE="+pda" emerge multisync (using attached ebuild)

------- Comment #1 From Troy Dack 2004-01-11 18:01:39 0000 -------
See Bug #35399, Comment #7 by Tom Hendrikx.

Ebuild: http://bugs.gentoo.org/attachment.cgi?id=23609&action=view

------- Comment #2 From Alexander Isacson 2004-01-12 11:09:40 0000 -------
I to have the exact same error after doing the exact same procedure.

------- Comment #3 From Matt Dainty 2004-01-27 03:57:19 0000 -------
Hi,

I can fix the problem by amending the ebuild to set CPPFLAGS=-I/usr/include/libpisock, however I'm unsure where to correctly add the necessary CPPFLAGS declaration as just defining CPPFLAGS in the ebuild doesn't appear to be passed through. The current hack is:

  src_compile() {
+     if [ `use pda` ] ; then
+         EXTRA_ECONF="CPPFLAGS=-I/usr/include/libpisock"
+     fi
      einfo "Building Multisync with these plugins:"

...which appears to allow the palm_sync plugin to build. There is bound to be a nicer way to get this working.

------- Comment #4 From Alastair Tse (RETIRED) 2004-03-06 07:39:54 0000 -------
*** Bug 43723 has been marked as a duplicate of this bug. ***

------- Comment #5 From Matt Martin 2004-03-19 00:24:51 0000 -------
Seems to need a path to libpysock. If I add -I/usr/include/libpysock/ to
CFLAGS, it works. 

------- Comment #6 From Alastair Tse (RETIRED) 2005-01-26 03:43:53 0000 -------
has the new ebuild solved this problem? if so, just close this bug :)

------- Comment #7 From Shawn Kovalchick 2005-01-26 23:27:55 0000 -------
Is there any update on this bug?  This "new" bug  just celebrated its first
birthday. :)  Anyway, it appears multisync-0.83_pre20050115 still has the same
problem:  no palm sync.

------- Comment #8 From Tom Hendrikx 2005-01-27 01:03:19 0000 -------
Created an attachment (id=49635) [details]
app-pda/multisync-0.83_pre20050115 ebuild with palm support

This ebuild builds the palm_sync plugin if USE="pda". However the original bug
problem (missing CFLAGS) still is valid. To emerge this ebuild succesfully,
you'll have to specify the extra CFLAGS on the commandline:

CPPFLAGS="-I/usr/include/libpisock" emerge multisync

Note: multisync shows the plugin to me so I conclude that it builds without
problems. But since I no longer use a palm (switched to ipod), bugreaders who
do use a palm are encouraged to test the ebuild and confirm that the plugin
actually works :)

------- Comment #9 From John Mylchreest (RETIRED) 2005-03-21 08:15:34 0000 -------
currently the .83-pre ebuild in the tree is a mixture of stable and cvs code.
There is no support for the pda/palm_sync in there in this capacity.
I will have a proper look in the coming week

------- Comment #10 From Joel Brauer 2005-04-22 11:20:25 0000 -------
Created an attachment (id=56936) [details]
app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild

not sure if there is a better way to do this, but this ebuild automatically
does the CFLAGS='-I/usr/include/libpisock' for the palm_sync plugin.

------- Comment #11 From Joel Brauer 2005-04-22 13:28:24 0000 -------
(From update of attachment 56936 [details])
does not work, working on a new one

------- Comment #12 From Joel Brauer 2005-04-22 16:09:12 0000 -------
Created an attachment (id=56954) [details]
app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild

Ok, this one works.  Hope it helps... Credit is given to the above comment #3
Matt Dainty.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug