First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 122236
Alias:
Product:
Component:
Status: VERIFIED
Resolution: FIXED
Assigned To: Common Lisp Bugs <common-lisp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ivan Toshkov <ivan@toshkov.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sockets-cxx.patch untested patch patch Ivan Toshkov 2006-02-13 14:49 0000 664 bytes Details | Diff
0.9h-sockets-c++-gentoo.patch 0.9h-sockets-c++-gentoo.patch patch Matthew Kennedy (RETIRED) 2006-02-14 10:27 0000 3.41 KB Details | Diff
ecls-files.txt ecls file list text/plain Ivan Toshkov 2006-02-14 22:16 0000 660 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 122236 depends on: Show dependency tree
Bug 122236 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: 2006-02-09 04:12 0000
Add support for the --with-cxx configure option.  Probably the 'c++' USE can be
reused here, because it is obeyed in boehm-gc. (At least in versions 6.3 and
6.4. It seems to be dropped in the latter...)

------- Comment #1 From Matthew Kennedy (RETIRED) 2006-02-13 11:41:38 0000 -------
ok. seems like a reasonable request.

------- Comment #2 From Matthew Kennedy (RETIRED) 2006-02-13 11:48:15 0000 -------
Ran into some problems with the sockets support:

/var/tmp/portage/ecls-0.9h-r1/work/ecl-0.9h/build/ext/sockets.c: In function
`cl_lispunion* LC30socket_accept(cl_lispunion*)':
/var/tmp/portage/ecls-0.9h-r1/work/ecl-0.9h/build/ext/sockets.c:892: error:
invalid conversion from `int*' to `socklen_t*'
/var/tmp/portage/ecls-0.9h-r1/work/ecl-0.9h/build/ext/sockets.c:892: error:  
initializing argument 3 of `int accept(int, sockaddr*, socklen_t*)'
...

------- Comment #3 From Ivan Toshkov 2006-02-13 14:03:43 0000 -------
(In reply to comment #2)
> Ran into some problems with the sockets support:
> 
> /var/tmp/portage/ecls-0.9h-r1/work/ecl-0.9h/build/ext/sockets.c: In function
> `cl_lispunion* LC30socket_accept(cl_lispunion*)':
> /var/tmp/portage/ecls-0.9h-r1/work/ecl-0.9h/build/ext/sockets.c:892: error:
> invalid conversion from `int*' to `socklen_t*'
> /var/tmp/portage/ecls-0.9h-r1/work/ecl-0.9h/build/ext/sockets.c:892: error:  
> initializing argument 3 of `int accept(int, sockaddr*, socklen_t*)'
> ...
> 

Same here.  I tried both with GCC 3.3.6 and GCC 3.4.4.  The problem seems to be
in the socket code only, 'cause when I managed to compile it without
--with-tcp.

------- Comment #4 From Ivan Toshkov 2006-02-13 14:49:50 0000 -------
Created an attachment (id=79725) [edit]
untested patch

This is an untested patch against the CVS HEAD.  But since it is in a contrib
file, I'd guess it hadn't changed for some time.

------- Comment #5 From Matthew Kennedy (RETIRED) 2006-02-14 10:25:41 0000 -------
It looks like the local socket interface in ECL hasn't been tested with the
--with-cxx configuration.  Attached is a patch which should fix the build
errors.  I will try to send it up stream if it also works for you.

------- Comment #6 From Matthew Kennedy (RETIRED) 2006-02-14 10:27:38 0000 -------
Created an attachment (id=79781) [edit]
0.9h-sockets-c++-gentoo.patch

This diff against ecl-0.9h also includes changes to sockets.lisp from CVS HEAD
(of which there were few changes).

------- Comment #7 From Matthew Kennedy (RETIRED) 2006-02-14 15:03:21 0000 -------
0.9h-r1 understands a c++ USE flag which will cause ECL to be built with the
c++ compiler.

------- Comment #8 From Ivan Toshkov 2006-02-14 16:23:24 0000 -------
Looks like it works.  I don't have test code for sockets, though, so all I can
say is, that it compiles.

Thank you.

------- Comment #9 From Ivan Toshkov 2006-02-14 22:16:31 0000 -------
Created an attachment (id=79820) [edit]
ecls file list

This is the result of running "equery files ecls".  Is it normal?

------- Comment #10 From Matthew Kennedy (RETIRED) 2006-02-15 13:48:18 0000 -------
That is odd, but I can offer a theory --

  15 Feb 2006; Matthew Kennedy <mkennedy@gentoo.org>
  files/0.9h-sockets-c++-gentoo.patch:
  Fixed a problem where CVS keywords in patch get changed by repoman commit
  which caused the patch to fail to apply.

Although I didn't experience such an equery files result, perhaps you emerged
ecl while that problem existed in portage.  Try emerge sync and then re-emerge
ecl.  Does the equery files output persist?

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