Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54859 - Colinux 0.6.2 has been ported to Linux (new ebuild)
Summary: Colinux 0.6.2 has been ported to Linux (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/forum/forum.ph...
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-06-22 23:28 UTC by jason wohlgemuth
Modified: 2018-06-07 18:25 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
colinux-0.6.2.ebuild (colinux-0.6.2.ebuild,1.97 KB, text/plain)
2005-05-15 10:06 UTC, Mark Byers
Details
mxml-1.3.ebuild (mxml-1.3.ebuild,523 bytes, text/plain)
2005-05-15 10:28 UTC, Mark Byers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jason wohlgemuth 2004-06-22 23:28:11 UTC
It is now (apparently) possible to build and run Colinux under Linux kernel 2.6.3 and higher. Using your source tree, it builds colinux.ko which allows colinux to interact with your system much in the same way you can do it under windows.

The build instructions are:

Cooperative Linux support code build system
-------------------------------------------

Defaults

    The build defaults to the 'winnt' OS under the 'i386' architecture. 
    You can override this by setting COLINUX_ARCH and COLINUX_HOST_OS. 

    The colinux/arch/current and colinux/os/current symlinks are updated
    automatically according to COLINUX_ARCH and COLINUX_HOST_OS.

Windows port COLINUX_ARCH=i386 COLINUX_HOST_OS=winnt
 
    Basically, it's:
      
        make colinux

    See the Makefile in the colinux/os/winnt/build directory.

Linux port COLINUX_HOST_OS=linux

    Also needed is the path to the sources of the target kernel.
    Currently only 2.6.3 and above are supported.
    
    COLINUX_HOST_KERNEL_DIR=/path/to/your/kernel/tree

    Or:

    COLINUX_HOST_KERNEL_DIR=/lib/modules/`uname -r`/build


---------------------------------------------------

Then when done building you 
insmod colinux.ko
./colinux-daemon -c default.colinux.xml

I've not been able to actually build this manually myself yet, I always get:
make: *** No rule to make target `../../linux/vmlinux', needed by `colinux'.  Stop.

But perhaps someone can figure out an ebuild to make it work with Gentoo
Comment 1 jason wohlgemuth 2004-06-22 23:29:07 UTC
http://www.colinux.org/ is the project site.
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-24 16:43:02 UTC
I don't see how this is a gentoo bug, sorry.
Comment 3 jason wohlgemuth 2004-06-24 21:09:14 UTC
Sorry I guess I wasn't clear. I was requesting an ebuild for it.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-10-02 13:32:39 UTC
This isn't sys-kernel/* related other than the fact that it uses a kernel source tree. Bouncing back to the wranglers.
Comment 5 Brian Jackson (RETIRED) gentoo-dev 2004-11-10 22:58:46 UTC
I might commit it if someone else writes it.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-11-22 05:42:09 UTC
Stefan interested?
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-22 07:52:53 UTC
Thi is one of the requests where bug voting would be really useful, we ccurrently have so many requests for ebuilds in bugzilla, why should we care for exactly this one, if(judged by seeing no CCs) supposedly only one person will use this(the reporter). 

I have already made an ebuild for a driver and the original bug filer seems to be no longer interested in it, at least he did not answer my test request.
See http://bugs.gentoo.org/show_bug.cgi?id=52984

jason wohlgemuth: Are you still interested in getting this in the tree?
Comment 8 Daniel Black (RETIRED) gentoo-dev 2004-12-28 23:13:39 UTC
I'm giving making an ebuild a go. Its not going to be pretty though.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2004-12-30 11:08:40 UTC
sending to you, Daniel, since you're "giving it a go" (you're a stronger man than most for doing so, I might add)
Comment 10 Daniel Black (RETIRED) gentoo-dev 2005-02-09 02:23:22 UTC
Colinux 0.6.2 released if anyone wants to try a linux-mod ebuild before me :-).

If that didn't sound like too much of a plea it was ment to. PLEASE!
Comment 11 Daniel Black (RETIRED) gentoo-dev 2005-02-09 13:01:29 UTC
needs ebuild for http://mxml.sourceforge.net/
Comment 12 Mark Byers 2005-05-15 09:50:20 UTC
I had a go at doing an ebuild for colinux-0.6.2, but ran into a problem.

gcc -DCOLINUX_FILE_ID=`python ../bin/file_id.py create ./colinux/common/files_list.txt colinux/os/current/user/daemon.o` -g -DCOLINUX -DCOLINUX_ARCH=linux -mpush-args -mno-accumulate-outgoing-args -Wno-trigraphs -fno-strict-aliasing -Wall -DCOLINUX_DEBUG -O2  -I. -I/var/tmp/portage/colinux-0.6.2/work/colinux-0.6.2/../linux-2.6.10/include -I../../fltk-1.1.4  -c colinux/os/current/user/daemon.c -o colinux/os/current/user/daemon.o
colinux/os/current/user/daemon.c:123: error: conflicting types for `co_os_daemon_message_receive'
colinux/os/user/daemon.h:21: error: previous declaration of `co_os_daemon_message_receive'
colinux/os/current/user/daemon.c:129: error: conflicting types for `co_os_daemon_pipe_close'
colinux/os/user/daemon.h:20: error: previous declaration of `co_os_daemon_pipe_close'
make[1]: *** [colinux/os/current/user/daemon.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/colinux-0.6.2/work/colinux-0.6.2/src'
make: *** [colinux] Error 2

!!! ERROR: dev-libs/colinux-0.6.2 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Conclusion: This version of colinux cannot be compiled for Linux - only for Windows. The compile error comes from a change to daemon.h between version 0.6.1 and 0.6.2, but only the windows .c file was updated. The linux .c file is still the old version and does not match the header file.

I checked the colinux help forum, and found a post from another user who was having similar problems.

http://sourceforge.net/forum/forum.php?thread_id=1253938&forum_id=342355

I might have a go out compiling colinux-0.6.1 instead or else spend some more time finding out how to resolve the error in colinux-0.6.2.

Hopefully this comment will save some time for anyone else attempting this ebuild.
Comment 13 Mark Byers 2005-05-15 10:06:41 UTC
Created attachment 58962 [details]
colinux-0.6.2.ebuild

Just in case anyone is interested I am attaching my unfinished ebuild, so that
you can get as far as I have. There are lots of things missing, but perhaps
someone will find it useful...
Comment 14 Mark Byers 2005-05-15 10:28:05 UTC
Created attachment 58963 [details]
mxml-1.3.ebuild

Here is an ebuild for mxml.
Comment 15 Daniel Black (RETIRED) gentoo-dev 2005-10-06 05:46:17 UTC
see bug #84098 also  
Comment 16 GNUtoo 2006-04-29 18:25:05 UTC
this is sys-kernel and not sys-apps
it's not like uml...
colinux runs in ring0!!!
i saw this on the colinux page on wikipedia
Comment 17 GNUtoo 2006-05-05 09:53:32 UTC
in oreder to make a corect ebuild we MUST split this in 2 part:
sys-kernel/colinux-sources:The kenrel
???/colinux:The aplication

that would permit to:
*configure your kernel
*use your colinux kernel for windows(windows use a elf32 and not a PE kernel file)

Comment 18 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-01 09:21:25 UTC
should probably be reassigned to maintainer-wanted@ if you are not going to fix this, dragonheart
Comment 19 Daniel Black (RETIRED) gentoo-dev 2006-09-01 15:46:04 UTC
ran out of time - sorry folks
Comment 20 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-08 16:12:21 UTC
(this is an automated message based on filtering criteria that matched this bug)

Hello, The Gentoo Team would like to firstly thank you for your ebuild
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay.
So, the sunrise team is suggesting that you look into this and submit your
ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq