Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78908 - [TRACKER] tinyos 1.1.0
Summary: [TRACKER] tinyos 1.1.0
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords: Tracker
Depends on: 78907 86697 98029 98400 98658 98659 98660 98662 100216 101663 102634 102701 102904 102905 102906 102908 102909 102910 102911
Blocks:
  Show dependency tree
 
Reported: 2005-01-21 00:19 UTC by Johannes Ballé
Modified: 2010-11-07 19:04 UTC (History)
5 users (show)

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


Attachments
ebuild file (tinyos-1.1.0.ebuild,1.59 KB, text/plain)
2005-01-21 00:19 UTC, Johannes Ballé
Details
intel open source license (INTEL-LICENSE,1.47 KB, text/plain)
2005-01-21 00:20 UTC, Johannes Ballé
Details
tinyos-1.1.0.ebuild (tinyos-1.1.0.ebuild,1.58 KB, text/plain)
2005-02-17 05:04 UTC, Daniel Black (RETIRED)
Details
from dev-embedded/uisp, solve build error. (uisp-gcc34.patch,239 bytes, patch)
2005-03-26 09:53 UTC, Sandro Bonazzola (RETIRED)
Details | Diff
new ebuild for tinyos-1.1.0 (tinyos-1.1.0.ebuild,5.32 KB, text/plain)
2005-03-26 09:55 UTC, Sandro Bonazzola (RETIRED)
Details
tinyos-1.1.13 cvs snapshot, meta ebuild (tinyos-1.1.13.ebuild,874 bytes, text/plain)
2005-07-05 11:22 UTC, Sandro Bonazzola (RETIRED)
Details
99 tinyos, env variables (99tinyos,55 bytes, text/plain)
2005-07-05 11:24 UTC, Sandro Bonazzola (RETIRED)
Details
tos and doc directory, tinyos-1.1.13 cvs snapshot (tos-1.1.13.ebuild,1.50 KB, text/plain)
2005-07-05 11:26 UTC, Sandro Bonazzola (RETIRED)
Details
RFC and test: final tos-1.1.13.ebuild tos and doc directory. (tos-1.1.13.ebuild,1.94 KB, text/plain)
2005-07-08 03:53 UTC, Sandro Bonazzola (RETIRED)
Details
RFC and test: final tinyos-1.1.13 cvs snapshot. (tinyos-1.1.13.ebuild,740 bytes, text/plain)
2005-07-11 06:01 UTC, Sandro Bonazzola (RETIRED)
Details
update to tos-1.1.14 (tos-1.1.14.ebuild,1.94 KB, text/plain)
2005-08-03 13:03 UTC, Sandro Bonazzola (RETIRED)
Details
update to tinyos-1.1.14 (tinyos-1.1.14.ebuild,742 bytes, text/plain)
2005-08-03 13:08 UTC, Sandro Bonazzola (RETIRED)
Details
update to tos-1.1.14-r1 (tos-1.1.14-r1.ebuild,1.87 KB, text/plain)
2005-08-12 02:46 UTC, Sandro Bonazzola (RETIRED)
Details
tos-1.1.14-r1 fixed for psfig/epsfig, and other fixes (tos-1.1.14-r1.ebuild,2.08 KB, text/plain)
2005-08-14 11:56 UTC, Sandro Bonazzola (RETIRED)
Details
update to tinyos-1.1.14-r1 (tinyos-1.1.14-r1.ebuild,727 bytes, text/plain)
2005-08-17 14:48 UTC, Sandro Bonazzola (RETIRED)
Details
99tinyos, env variables in /usr/src (99tinyos,63 bytes, text/plain)
2006-01-16 09:30 UTC, Aurélien Francillon
Details
tos-1.1.15.ebuild (tos-1.1.15.ebuild,2.19 KB, text/plain)
2006-01-16 09:34 UTC, Aurélien Francillon
Details
tinyos-1.1.15.ebuild (tinyos-1.1.15.ebuild,733 bytes, text/plain)
2006-01-16 09:43 UTC, Aurélien Francillon
Details
TinyOs-1.1.15-AMStandard.patch (TinyOs-1.1.15-AMStandard.patch,866 bytes, text/plain)
2006-01-16 09:52 UTC, Aurélien Francillon
Details
eclass/tinyos.eclass (tinyos.eclass,795 bytes, text/plain)
2007-02-19 19:44 UTC, Aurélien Francillon
Details
eclass/tinyos-java.eclass (tinyos-java.eclass,3.32 KB, text/plain)
2007-02-19 19:45 UTC, Aurélien Francillon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Ballé 2005-01-21 00:19:22 UTC
tinyos is an operating system for embedded systems, such as Berkeley Motes. It is implemented in nesC, a modification of C (see bug #78907).


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Johannes Ballé 2005-01-21 00:19:54 UTC
Created attachment 49092 [details]
ebuild file
Comment 2 Johannes Ballé 2005-01-21 00:20:45 UTC
Created attachment 49093 [details]
intel open source license
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-02-17 05:04:32 UTC
Created attachment 51430 [details]
tinyos-1.1.0.ebuild

make[2]: Entering directory
`/var/tmp/portage/tinyos-1.1.0/work/tinyos-1.1.0/tools/src/uisp'
Making all in src
make[3]: Entering directory
`/var/tmp/portage/tinyos-1.1.0/work/tinyos-1.1.0/tools/src/uisp/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Werror -pipe -c Avr.C
c++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Werror -pipe -c AvrAtmel.C
c++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Werror -pipe -c AvrDummy.C
In file included from AvrDummy.h:33,
		 from AvrDummy.C:40:
Global.h: In member function `void TPt<TRec>::MkRef()':
Global.h:45: error: `NULL' undeclared (first use this function)
Global.h:45: error: (Each undeclared identifier is reported only once for each
function it appears in.)
Global.h: In member function `void TPt<TRec>::UnRef()':
Global.h:46: error: `NULL' undeclared (first use this function)
Global.h: In constructor `TPt<TRec>::TPt()':
Global.h:48: error: `NULL' undeclared (first use this function)
Global.h: In member function `TRec* TPt<TRec>::operator->() const':
Global.h:59: error: `NULL' undeclared (first use this function)
Global.h: In member function `TRec& TPt<TRec>::operator*() const':
Global.h:60: error: `NULL' undeclared (first use this function)
Global.h: In member function `TRec& TPt<TRec>::operator[](int) const':
Global.h:61: error: `NULL' undeclared (first use this function)
make[3]: *** [AvrDummy.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/tinyos-1.1.0/work/tinyos-1.1.0/tools/src/uisp/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tinyos-1.1.0/work/tinyos-1.1.0/tools/src/uisp'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/tinyos-1.1.0/work/tinyos-1.1.0/tools/src'
make: *** [all-recursive] Error 2

!!! ERROR: dev-embedded/tinyos-1.1.0 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! make all failed

any idea?
Comment 4 Johannes Ballé 2005-02-17 06:03:12 UTC
It seems NULL is defined in stddef.h. I can find it in the following packages:

joe uisp # equery belongs stddef.h
[ Searching for file(s) stddef.h in *... ]
dev-embedded/avr-gcc-3.3-r1 (/usr/lib/gcc-lib/avr/3.3/include/stddef.h)
dev-embedded/avr-gcc-3.3-r1 (/usr/lib/gcc-lib/avr/3.3/install-tools/include/stddef.h)
sys-devel/gcc-3.3.5-r1 (/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/install-tools/include/stddef.h)
sys-devel/gcc-3.3.5-r1 (/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h)
sys-kernel/development-sources-2.6.10-r1 (/usr/src/linux-2.6.10-r1/include/linux/stddef.h)
sys-kernel/linux26-headers-2.6.8.1-r2 (/usr/include/linux/stddef.h)

What versions of the above packages have you got installed?

Maybe the file is not included for some reason?
Comment 5 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-25 13:08:34 UTC
According to TinyOS documentation, avarice is required as dependency.
Comment 6 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-25 13:09:29 UTC
According to TinyOS documentation, avarice is required as dependency.
Comment 7 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-26 09:53:09 UTC
Created attachment 54532 [details, diff]
from dev-embedded/uisp, solve build error.

This solve the build error. See the new ebuild for hoe to use it.
Comment 8 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-26 09:55:22 UTC
Created attachment 54533 [details]
new ebuild for tinyos-1.1.0

This should obsolete the previous ebuild. Please review it _before_ trying to
use it. java-team and embedded team should review this...
Comment 9 Daniel Black (RETIRED) gentoo-dev 2005-03-26 18:12:38 UTC
Since the removal cross-avr/gcc and cross-avr/binutils sys-devel/crossdev-0.9 was ment to replace this. I had another user email me to say it wasn't working. Is this the case? Is so please lodge a bug assigned to toolchain@gentoo.org.

please do a 'repoman full' in the overlay directory and this will highlight a few syntax errors.
RESTRICT="maketest" I believe has been simplified to RESTRICT="test"

Bad USE of javacomm. Use something like "if built_with_use dev-java/ibm-jdk-bin javacomm;" (see eutils eclass)

Can you use $(tc-getCC) and $(tc-getCXX) from the toolchain-funcs eclass for gcc and g++ respectively.

I think /etc/profile.d/tinyos.sh is wrong with the classpath - I'll let the java people explain.

Why is it installing source code /opt/tinyos-1.x/tools/src?

Can the documentation be moved to (prefered), or symlinked from, /usr/share/doc/${PF}?

DEPEND should only be those things required to build the package. I'm sure I didn't have most of them and it still built.

Can you explain why you put the PDEPENDS in? would a RDEPEND on a specific version of dev-embedded/tinyos-tools dev-embedded/nesc be accurate?
Comment 10 Daniel Black (RETIRED) gentoo-dev 2005-03-26 18:14:29 UTC
java-config --add-system-classpath for classpath additions.
Comment 11 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-27 00:05:30 UTC
Comments From dragonheart@gentoo.org

> Since the removal cross-avr/gcc and cross-avr/binutils sys-devel/crossdev-0.9 was ment to replace this.

mmm... cross-avr/gcc and cross-avr/binutils are generated by sys-devel/crossdev-0.9 and are in the overlay
not in the portage tree.
Did you want to say dev-embedded/gcc-avr and dev-embedded/binutils-avr?
Or I've missed something?

> I had another user email me to say it wasn't working.
> Is this the case? Is so please lodge a bug assigned to toolchain@gentoo.org.

Well, I'm not sure I've understand, my english is not so good...
But if you're saying sys-devel/crossdev-0.9 wasn't working, well, 
I've build cross-avr/gcc, cross-avr/binutils, cross-avr/libc-avr just unsetting
LOCALE, LC_ALL and LANG because using them caused a strange infinite loop.
crossdev-0.9.5-r1 seems to be unaffected by that and since it's unreproducible
even on my system, I've not opened a bug about it :-)

> please do a 'repoman full' in the overlay directory and this will highlight a few syntax errors.

Thanks.

> RESTRICT="maketest" I believe has been simplified to RESTRICT="test"

Thanks.

> Bad USE of javacomm. Use something like "if built_with_use dev-java/ibm-jdk-bin javacomm;" (see eutils eclass)

Thanks.

Can you use $(tc-getCC) and $(tc-getCXX) from the toolchain-funcs eclass for gcc and g++ respectively.

I think /etc/profile.d/tinyos.sh is wrong with the classpath - I'll let the java people explain.

> Why is it installing source code /opt/tinyos-1.x/tools/src?

In this ebuild I've tried to reproduce the behaviour of the rpm used by the cygwin installation.
I'm not sure that the src will be used by some other package required by TinyOS.
I'm simply trusting TinyOS developers here.

> Can the documentation be moved to (prefered), or symlinked from, /usr/share/doc/${PF}?

Well, I think the documentation can be moved, but I'm not sure it's a good idea.
People using TinyOS under cygwin may be quite confused by moving the docs into another place.
I think a symlink should remain in /opt/tinyos-1.x

> DEPEND should only be those things required to build the package. 
> I'm sure I didn't have most of them and it still built.

This is why actually it builds nearly nothing :-)
The TinyOS installation procedure is quite crazy.

>Can you explain why you put the PDEPENDS in? 

Because TinyOS itself is useless without NesC.
I'm not sure about tinyos tools, I'm using TinyOS by only 2 weeks...
And under cygwin. So if any TinyOS guru can review the ebuild...

> would a RDEPEND on a specific version of dev-embedded/tinyos-tools 
> dev-embedded/nesc be accurate?

mmm I don't think so. It should work with any NesC version >=1.1


Comment 12 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-27 00:06:03 UTC
Comments From dragonheart@gentoo.org
> java-config --add-system-classpath for classpath additions.

I'm trying to figure out what tinyos-1.1.0/tools/scripts/locate-jre
(/opt/tinyos-1.x/bin/locate-jre) exactly do...
Comment 13 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-27 01:28:47 UTC
Examining the rpms it sorted out that tinyos-tools is just the result of the src_compile(). The dependency on dev-embedded/tinyos-tools-1.1.0 can safely be removed or this ebuild can be splitted in two parts.
One installing TinyOS, one installing the tools. Maybe the exixting ebuild for uisp can be used. It needs some testing.
Comment 14 MT 2005-03-30 08:27:35 UTC
I vote for the splitting of ebuilds because it is cleaner and removes all the java dependecies from the core tinyos part. Also it ensures that the emerge system (portage) keeps track of the installed tool files.

The tools seems to be optional in any case. I've been tinkering around with a tinyos-tinyviz ebuild that is not only dependend on the ibm-jdk but can utilize rxtx or any other virtual/javacomm provider as suggested by bug #71606. Anyone interested in this ebuild? According to policy it should be submitted as an independed bug...
Comment 15 Sandro Bonazzola (RETIRED) gentoo-dev 2005-03-30 09:59:45 UTC
> I vote for the splitting of ebuilds because it is cleaner and removes all the
> java dependecies from the core tinyos part. Also it ensures that the emerge
> system (portage) keeps track of the installed tool files.

Mmm, do you think it's better split the entire packages in tinyos-apps tinyos-tos tinyos-tools tinyos-contrib tinyos-regression tinyos-doc ?

> The tools seems to be optional in any case. I've been tinkering around with a
> tinyos-tinyviz ebuild that is not only dependend on the ibm-jdk but can 
> utilize rxtx or any other virtual/javacomm provider as suggested by bug 
> #71606. Anyone interested in this ebuild? According to policy it should be
> submitted as an independed bug...

Maybe this bug can be used as meta-bug for all TinyOS related bugs. It should be better adhere to the policy. Send a new bug and set it as blocker for this bug.
Comment 16 MT 2005-03-30 23:59:16 UTC
> Mmm, do you think it's better split the entire packages in tinyos-apps tinyos-tos tinyos-tools tinyos-contrib tinyos-regression tinyos-doc ?

I was more thinking in the line of having tinyos (or tinyos-core) and tinyos-tinyviz (or tinyos-tools). I don't see the need for tinyos-doc, that should be handled by the doc USE flag. I'm also leaning towards having apps as a tar.gz in the tinyos dir because as far as I a user should extract it somewhere in his home directory and play with it there...

I'm also relatively new to tinyos etc. I've only been playing around with tinyos  (part time) the past month and a half. So I've been using the ebuild dated 2005-02-17 and my ebuild (tinyos-tinyviz) is based on that one. TinyViz is the only tool that I've been using thus far. For what I can see from the 2005-03-26 version it has a lot of stuff related to the tools part (thus the java dependencies) that needs to removed because the tinyos-tinyviz ebuild should take care of it. Maybe we should somehow merge 2005-02-17 and 2005-03-26 removing the java and tools stuff...

> Send a new bug and set it as blocker for this bug.

I would have thought that this bug would be a blocker for tinyos-tinyviz because of its dependency.

Comments?
Comment 17 Sandro Bonazzola (RETIRED) gentoo-dev 2005-06-16 11:03:52 UTC
I'm sorry, I can't work on the ebuild before november. However, it seems better
move to the latest cvs snapshot.
Comment 18 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-05 11:19:54 UTC
I'm waiting bug #98029 in order to test the new ebuild.
I've planned to split the wole tinyos package in a lot of ebuilds. The first
will be tos-1.1.13 which will contain tos and doc directory, with doc as use flag.
This will DEPEND on a working elatex (latex2e) that I can't test on my system
due to bug #98029. I'll attach the tos-1.1.13.ebuild 
Comment 19 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-05 11:22:45 UTC
Created attachment 62697 [details]
tinyos-1.1.13 cvs snapshot, meta ebuild

requires 99tinyos
Comment 20 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-05 11:24:03 UTC
Created attachment 62698 [details]
99 tinyos, env variables
Comment 21 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-05 11:26:35 UTC
Created attachment 62699 [details]
tos and doc directory, tinyos-1.1.13 cvs snapshot 

requires 99tinyos
Comment 22 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-05 11:28:11 UTC
Comment on attachment 62699 [details]
tos and doc directory, tinyos-1.1.13 cvs snapshot 

the latex work need testing. I can't do it myself due to bug #98029
Comment 23 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-08 03:53:44 UTC
Created attachment 62902 [details]
RFC and test: final tos-1.1.13.ebuild tos and doc directory. 

This is the final tos ebuild. I've tested it with the new ebuild of nesc.
Please test and comment.
Comment 24 Sandro Bonazzola (RETIRED) gentoo-dev 2005-07-11 06:01:28 UTC
Created attachment 63136 [details]
RFC and test: final tinyos-1.1.13 cvs snapshot.

This ebuild should be the final for tinyos-1.1.13 base system.
The subdirectory apps, beta, contrib are examples and unstable code.
tools/java need some help from the java team.
Comment 25 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-02 12:30:42 UTC
TinyOS-1.1.14 release candidate available via cvs, I'm waiting the final release
branch on cvs for the version bump. If anyone need the new version immediately,
just change the branch variable in the 1.1.13 ebuild.
Comment 26 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-03 13:03:40 UTC
Created attachment 65014 [details]
update to tos-1.1.14
Comment 27 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-03 13:08:51 UTC
Created attachment 65015 [details]
update to tinyos-1.1.14
Comment 28 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-03 13:11:24 UTC
cvs snapshot version bumped, updated any dependency.
Comment 29 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-12 02:46:53 UTC
Created attachment 65741 [details]
update to tos-1.1.14-r1

ChangeLog:
moved from cvs-live to cvs-snapshot.
fixed pdf and html files generation.
docs moved to standard location.

WARNING:
The cvs-snapshot release differ from the previous cvs-live release.
The cvs-snapshot lacks tos/lib/VM and tos/lib/TinyDB directories that should
be provided by another package. 

Questions:
Is there a better place for fhs compliance for /opt/tinyos-1.x/tos ?
Maybe /usr/src/ or /usr/share a better place?
Comment 30 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-14 11:56:33 UTC
Created attachment 65954 [details]
tos-1.1.14-r1 fixed for psfig/epsfig, and other fixes

The ebuild now updates tinyschema.tex using epsfig instead of psfig.
It works with tetex-3.0 Should be tested with tetex-2.x

Removed code for missing directory in doc: 
tinydb related docs are shipped with tinydb package.

Addedd tinyschema html docs.

Removed trailing spaces.
Comment 31 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-17 14:48:00 UTC
Created attachment 66176 [details]
update to tinyos-1.1.14-r1

add simdriver support.
Comment 32 Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-17 15:20:06 UTC
I've finished to send (hopefully) all the ebuilds required by the latest update.
Let me know if these works for you.
Comment 33 Wouter Horré 2005-10-08 07:10:44 UTC
I have installed tinyos using the ebuild in attachment #65954 [details] (tos-1.1.14-r1).
Building the documentation failed. After issuing the commands in comment #3 of
bug #98029 the installation succeeded.
Comment 34 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-09 11:10:32 UTC
I've just seen that TinyOS 1.1.15 is out, sources available here:
http://www.tinyos.net/dist-1.1.0/tinyos/source/tinyos-1.1.15Dec2005cvs.tar.gz
I'll update the ebuilds ASAP.
Comment 35 Aurélien Francillon 2006-01-13 09:22:43 UTC
(In reply to comment #34)
> I've just seen that TinyOS 1.1.15 is out, sources available here:
> http://www.tinyos.net/dist-1.1.0/tinyos/source/tinyos-1.1.15Dec2005cvs.tar.gz
> I'll update the ebuilds ASAP.
> 
Hi, I have all the ebuilds updated in my own overlay do you want me to post them on the various tinyos bugs or do you prefer to post your own ebuilds updates ?
there is no reall big change in the ebuilds, and it works for me but i don't actually use all the packages.
I put my overlay here : http://naurel.org/stuff/gentoo-overlay-tinyos-2006-01-13.tar.gz 
in case someone wants a preview. 
Btw, maybe it would be a good thing to have an "official beta" overlay for tinyos, it's a real pain to download all the ebuilds by hand ...
thanks,
Aur
Comment 36 Aurélien Francillon 2006-01-13 09:22:43 UTC
(In reply to comment #34)
> I've just seen that TinyOS 1.1.15 is out, sources available here:
> http://www.tinyos.net/dist-1.1.0/tinyos/source/tinyos-1.1.15Dec2005cvs.tar.gz
> I'll update the ebuilds ASAP.
> 
Hi, I have all the ebuilds updated in my own overlay do you want me to post them on the various tinyos bugs or do you prefer to post your own ebuilds updates ?
there is no reall big change in the ebuilds, and it works for me but i don't actually use all the packages.
I put my overlay here : http://naurel.org/stuff/gentoo-overlay-tinyos-2006-01-13.tar.gz 
in case someone wants a preview. 
Btw, maybe it would be a good thing to have an "official beta" overlay for tinyos, it's a real pain to download all the ebuilds by hand ...
thanks,
Aurélien 
Comment 37 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-13 11:21:21 UTC
(In reply to comment #35)
> Hi, I have all the ebuilds updated in my own overlay do you want me to post
> them on the various tinyos bugs or do you prefer to post your own ebuilds
> updates ?

If your ebuilds are ready and as you say

> there is no reall big change in the ebuilds, and it works for me but i don't
> actually use all the packages.

feel free to send your ebuilds on the various bugs. I'll test them and eventually apply some change if needed. I'll work on the ebuilds you don't have in the overlay.

> I put my overlay here :
> http://naurel.org/stuff/gentoo-overlay-tinyos-2006-01-13.tar.gz 
> in case someone wants a preview. 

Thanks.

> Btw, maybe it would be a good thing to have an "official beta" overlay for
> tinyos, it's a real pain to download all the ebuilds by hand ...
> thanks,
> Aur
Comment 38 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-13 11:21:21 UTC
(In reply to comment #35)
> Hi, I have all the ebuilds updated in my own overlay do you want me to post
> them on the various tinyos bugs or do you prefer to post your own ebuilds
> updates ?

If your ebuilds are ready and as you say

> there is no reall big change in the ebuilds, and it works for me but i don't
> actually use all the packages.

feel free to send your ebuilds on the various bugs. I'll test them and eventually apply some change if needed. I'll work on the ebuilds you don't have in the overlay.

> I put my overlay here :
> http://naurel.org/stuff/gentoo-overlay-tinyos-2006-01-13.tar.gz 
> in case someone wants a preview. 

Thanks.

> Btw, maybe it would be a good thing to have an "official beta" overlay for
> tinyos, it's a real pain to download all the ebuilds by hand ...
> thanks,
> Aurélien 

I'm trying to have the ebuild reviewed by peers for committing them to the official tree for 2006.0 ~x86.
If I can't commit for 2006.0, I'll put an "official" beta overlay on my dev space with the ebuilds reviewed on bugzilla.
Comment 39 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-14 02:29:17 UTC
(In reply to comment #35)

> I put my overlay here :
> http://naurel.org/stuff/gentoo-overlay-tinyos-2006-01-13.tar.gz 
> in case someone wants a preview. 

Looking at your overlay:
the file isn't a .gz, it's a .bz2.
channelgen is unchanged between 1.1.14 and 1.1.15 and doesn't need to be bumped.
Maybe quite all java libs doesn't need to be bumped.
For tinyos-1.1.15 the tos root dir will be moved to /usr/src/tinyos-1.x and the tos dir to /usr/src/tinyos-1.x/tos.
I'm trying to leave /opt because on gentoo it's for binary packages only.
Comment 40 Aurélien Francillon 2006-01-15 16:59:00 UTC
(In reply to comment #37)
> Looking at your overlay:
> the file isn't a .gz, it's a .bz2.
oops...
> channelgen is unchanged between 1.1.14 and 1.1.15 and doesn't need to be
> bumped.
> Maybe quite all java libs doesn't need to be bumped.

Ok I will check source code before posting updates, and just post a comment if there is no changes.
But Some one installing the whole thing for the first time will needs to download mutiple versions of the snapshot while one would be enourgh...
Spliting the ebuilds is more gentooish but what about splitting the snapshots by the way ? potentially a lot of work. 

> For tinyos-1.1.15 the tos root dir will be moved to /usr/src/tinyos-1.x and the
> tos dir to /usr/src/tinyos-1.x/tos.
> I'm trying to leave /opt because on gentoo it's for binary packages only.

This definitely makes sense, even if this will looks strange to regular users of tinyos. I will try to update this too.

thanks for your comments.
Aur
Comment 41 Aurélien Francillon 2006-01-15 16:59:00 UTC
(In reply to comment #37)
> Looking at your overlay:
> the file isn't a .gz, it's a .bz2.
oops...
> channelgen is unchanged between 1.1.14 and 1.1.15 and doesn't need to be
> bumped.
> Maybe quite all java libs doesn't need to be bumped.

Ok I will check source code before posting updates, and just post a comment if there is no changes.
But Some one installing the whole thing for the first time will needs to download mutiple versions of the snapshot while one would be enourgh...
Spliting the ebuilds is more gentooish but what about splitting the snapshots by the way ? potentially a lot of work. 

> For tinyos-1.1.15 the tos root dir will be moved to /usr/src/tinyos-1.x and the
> tos dir to /usr/src/tinyos-1.x/tos.
> I'm trying to leave /opt because on gentoo it's for binary packages only.

This definitely makes sense, even if this will looks strange to regular users of tinyos. I will try to update this too.

thanks for your comments.
Aurélien
Comment 42 Aurélien Francillon 2006-01-16 09:30:02 UTC
Created attachment 77274 [details]
99tinyos, env variables in /usr/src

changes the TOSROOT to /usr/src/
Comment 43 Aurélien Francillon 2006-01-16 09:34:08 UTC
Created attachment 77275 [details]
tos-1.1.15.ebuild

update the tinyos dir to tos-1.1.15, add the useflag "example" who adds the "apps" dir in /usr/src/tinyos-1.x/apps.
Comment 44 Aurélien Francillon 2006-01-16 09:43:36 UTC
Created attachment 77276 [details]
tinyos-1.1.15.ebuild

Hi this is the update of tinyos to version 1.1.15,
with the patch following, the whole thing works for me, including programing micaz motes with a MIB510 board (however i dindn't run rteh regression tests...). 
The upgrade form previous ebuilds might needs uninstalling / reinstalling because of the change of TOSROOT to /usr/src/tinyos-1.x, feel free to comment.
I will post soon the whole thing at http://naurel.org/stuff/ in a (hopfully) tar.gz, for convenience. 
thanks
Aur
Comment 45 Aurélien Francillon 2006-01-16 09:43:36 UTC
Created attachment 77276 [details]
tinyos-1.1.15.ebuild

Hi this is the update of tinyos to version 1.1.15,
with the patch following, the whole thing works for me, including programing micaz motes with a MIB510 board (however i dindn't run rteh regression tests...). 
The upgrade form previous ebuilds might needs uninstalling / reinstalling because of the change of TOSROOT to /usr/src/tinyos-1.x, feel free to comment.
I will post soon the whole thing at http://naurel.org/stuff/ in a (hopfully) tar.gz, for convenience. 
thanks
Aurélien
Comment 46 Aurélien Francillon 2006-01-16 09:52:20 UTC
Created attachment 77278 [details]
TinyOs-1.1.15-AMStandard.patch

Fix a bug in tos while building the basic application "CntToLedsAndRfm" with "make micaz install". I will push it to upstrea 
error message is : 
CntToLedsAndRfm....
    compiling CntToLedsAndRfm to a micaz binary
Dans le fichier inclus
Comment 47 Aurélien Francillon 2006-01-16 09:52:20 UTC
Created attachment 77278 [details]
TinyOs-1.1.15-AMStandard.patch

Fix a bug in tos while building the basic application "CntToLedsAndRfm" with "make micaz install". I will push it to upstrea 
error message is : 
CntToLedsAndRfm....
    compiling CntToLedsAndRfm to a micaz binary
Dans le fichier inclus à partir de /usr/src/tinyos-1.x/tos/platform/avrmote/avrh
ardware.h:55,
          à partir de /usr/src/tinyos-1.x/tos/platform/micaz/hardware.h:82,
          à partir de /usr/src/tinyos-1.x/tos/system/tos.h:144:
/usr/lib/gcc/avr/3.4.4/../../../../avr/include/avr/signal.h:36:2: attention : #w
arning "This header file is obsolete.  Use <avr/interrupt.h>."
In file included from /usr/src/tinyos-1.x/tos/system/GenericComm.nc:68,
                 from /usr/src/tinyos-1.x/tos/lib/Counters/IntToRfm.nc:55,
                 from CntToLedsAndRfm.nc:41:
In component `AMStandard':
/usr/src/tinyos-1.x/tos/system/AMStandard.nc:87: conflicting types for `Control.
init'
/usr/src/tinyos-1.x/tos/interfaces/StdControl.nc:63: previous declaration of `Co
ntrol.init'
/usr/src/tinyos-1.x/tos/system/AMStandard.nc:103: conflicting types for `Control
.start'
/usr/src/tinyos-1.x/tos/interfaces/StdControl.nc:70: previous declaration of `Co
ntrol.start'
/usr/src/tinyos-1.x/tos/system/AMStandard.nc:119: conflicting types for `Control
.stop'
/usr/src/tinyos-1.x/tos/interfaces/StdControl.nc:78: previous declaration of `Co
ntrol.stop'
Comment 48 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-20 13:37:23 UTC
(In reply to comment #40)
> Created an attachment (id=77275) [edit]
> tos-1.1.15.ebuild
> 
> update the tinyos dir to tos-1.1.15, add the useflag "example" who adds the
> "apps" dir in /usr/src/tinyos-1.x/apps.

I think it's better a new ebuild for apps. There isn't a good reason for a new use flag here.
Comment 49 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-22 01:32:14 UTC
tos-1.1.15 now in portage as dev-tinyos/tos.
tinyos will be commited when all the ebuilds are in the tree.
Comment 50 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-29 12:14:04 UTC
(In reply to comment #35)

> Btw, maybe it would be a good thing to have an "official beta" overlay for
> tinyos, it's a real pain to download all the ebuilds by hand ...
> thanks,
> Aur
Comment 51 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-29 12:14:04 UTC
(In reply to comment #35)

> Btw, maybe it would be a good thing to have an "official beta" overlay for
> tinyos, it's a real pain to download all the ebuilds by hand ...
> thanks,
> Aurélien 

An "official" overlay is online on my dev space (dev.gentoo.org/~sanchan)
Direct link: http://dev.gentoo.org/~sanchan/sanchan-overlay.tar.bz2
Comment 52 Aurélien Francillon 2006-02-08 03:36:32 UTC
 
> 
> An "official" overlay is online on my dev space (dev.gentoo.org/~sanchan)
> Direct link: http://dev.gentoo.org/~sanchan/sanchan-overlay.tar.bz2
> 

ok all the recent changes are ok for me ...
about the "example" flag i was thinking that the "apps" directory was ok to be considered as example code which is often added by the example flag ... 
that's up to you ...
thanks 
Aur
Comment 53 Aurélien Francillon 2006-02-08 03:36:32 UTC
 
> 
> An "official" overlay is online on my dev space (dev.gentoo.org/~sanchan)
> Direct link: http://dev.gentoo.org/~sanchan/sanchan-overlay.tar.bz2
> 

ok all the recent changes are ok for me ...
about the "example" flag i was thinking that the "apps" directory was ok to be considered as example code which is often added by the example flag ... 
that's up to you ...
thanks 
Aurélien
Comment 54 Sandro Bonazzola (RETIRED) gentoo-dev 2006-02-15 12:17:25 UTC
dev-tinyos/tos-apps now in cvs.
Comment 55 Aquila 2006-03-20 06:52:16 UTC
The latex seems to work with tetex 2.2. There are warnings about the nomencl style, I'm going to check out wether it is necessary. 
Comment 56 Sandro Bonazzola (RETIRED) gentoo-dev 2006-03-26 03:37:03 UTC
Adding java package freeze as blocker.
Comment 57 Daniel Black (RETIRED) gentoo-dev 2006-11-03 17:36:44 UTC
all yours Sandro :-)
Comment 58 Aurélien Francillon 2006-11-06 03:39:20 UTC
Hi, 
I'm having a look at tinyos-2.x beta. ( 2.0.0 is expected to be
released in november )

In source form it comes as 2 packages 
* tinyos-tools-1.2.2.tar.gz  : 
this package claims to be backward compatible with tinyos 1.x 
it provides all the tinyos utilities nicely packaged with autoconf etc.. :
uisp nesdoc ncg ncc motelist mig
tos-write-image tos-storage-stm25p tos-storage-at45db tos-set-symbols
tos-serial-debug tos-serial-configure tos-mote-key tos-locate-jre
tos-install-jni tos-ident-flags tos-check-env tos-channelgen tos-bsl

* the second package is tinyos-2.0.0beta2.tar.gz  
who contains the classical app/ and tos/ source code directories 
and a "support" directory with 
support/make/ -> all the make scripts 
support/sdk/{c,java,python} -> utility code in c, java and python. 

I would be in favor to creating a tinyos-tools-1.2.2.ebuild in order
to install all the utilities without splitting it in 15 packages or so
...  I don't think a such fine grained packaging makes a lot of sense,
it's lot of work and i don't see any obvious benefit ?  For the source
code part it might makes sense to keep a form of splitting :

tos-2.0.0.ebuild 
tos-apps-2.0.0.ebuild [1]
tos-make-2.0.0.ebuild 
tos-sdk-c-2.0.0.ebuild 
tos-sdk-java-2.0.0.ebuild 
tos-sdk-python-2.0.0.ebuild 

[1] -> i don't think it makes a lot of sense to split tos/ and apps/
either ... they could come both as tos-2.0.0.ebuild

I have written a eselect module in order to switch the environnement
between tos-1.x to tos-2.x

if you are interested my overlay is here :
http://naurel.org/stuff/tinyos-2.0-overlay_06-Nov-2006-12h32m32s.tar.gz
but it's ongoing work and far from finished ...


btw: do you prefer that I open a new bug for tracking tos-2.x ? or
continuing this huge thread is ok?

cheers 
Aur
Comment 59 Aurélien Francillon 2006-11-06 03:39:20 UTC
Hi, 
I'm having a look at tinyos-2.x beta. ( 2.0.0 is expected to be
released in november )

In source form it comes as 2 packages 
* tinyos-tools-1.2.2.tar.gz  : 
this package claims to be backward compatible with tinyos 1.x 
it provides all the tinyos utilities nicely packaged with autoconf etc.. :
uisp nesdoc ncg ncc motelist mig
tos-write-image tos-storage-stm25p tos-storage-at45db tos-set-symbols
tos-serial-debug tos-serial-configure tos-mote-key tos-locate-jre
tos-install-jni tos-ident-flags tos-check-env tos-channelgen tos-bsl

* the second package is tinyos-2.0.0beta2.tar.gz  
who contains the classical app/ and tos/ source code directories 
and a "support" directory with 
support/make/ -> all the make scripts 
support/sdk/{c,java,python} -> utility code in c, java and python. 

I would be in favor to creating a tinyos-tools-1.2.2.ebuild in order
to install all the utilities without splitting it in 15 packages or so
...  I don't think a such fine grained packaging makes a lot of sense,
it's lot of work and i don't see any obvious benefit ?  For the source
code part it might makes sense to keep a form of splitting :

tos-2.0.0.ebuild 
tos-apps-2.0.0.ebuild [1]
tos-make-2.0.0.ebuild 
tos-sdk-c-2.0.0.ebuild 
tos-sdk-java-2.0.0.ebuild 
tos-sdk-python-2.0.0.ebuild 

[1] -> i don't think it makes a lot of sense to split tos/ and apps/
either ... they could come both as tos-2.0.0.ebuild

I have written a eselect module in order to switch the environnement
between tos-1.x to tos-2.x

if you are interested my overlay is here :
http://naurel.org/stuff/tinyos-2.0-overlay_06-Nov-2006-12h32m32s.tar.gz
but it's ongoing work and far from finished ...


btw: do you prefer that I open a new bug for tracking tos-2.x ? or
continuing this huge thread is ok?

cheers 
Aurélien
Comment 60 Aurélien Francillon 2006-11-06 11:01:34 UTC
(In reply to comment #51)
> Hi, 
> I'm having a look at tinyos-2.x beta. ( 2.0.0 is expected to be
> released in november )
It's actually relased now.
the anounce went up on tinyos.net 12 minutes after my post ;) 
Comment 61 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-06 11:20:00 UTC
Ok, let us finishing up this and get ready for 2.0.
I actually have an open security bug that have precedence over anything else, after that, tinyos-1.1.15 will be on my way. Then some time for trying to have at least a version of rpm that can do its work and finally go straight to 2.0.
Comment 62 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-06 14:12:43 UTC
(In reply to comment #52)

> It's actually relased now.
> the anounce went up on tinyos.net 12 minutes after my post ;) 

The announce went up before a tarball with the sources is relased. Only binary RPMS on the site, the latest tarball is form july. On sourceforge the latest release is 1.1. Ok, for further requests/ebuild submission for tinyos 2.0 open a new bug :-) Let this remain a traker for 1.x :-)
Comment 63 Aurélien Francillon 2007-02-19 19:42:11 UTC
Hi,
I created two eclasses for tinyos tinyso.eclass and tinyos-java.eclass (should new Java system fully compilant) the functionallity is basic and the eclasses still needs cleanups, review and documentation but this makes tinyos-1.x related ebuilds much lighter,
Also ported most of the ebuilds, I will post the eclasses  here and an example for  tos-util at bug #102905   
i don't want to spam b.g.o ;) so the rest can be found at:
svn checkout https://naurel.org/svn/tinyos-2-overlay/

what do you think about that ? ebuilds are more clear ... will be easier to maintain etc ... 
Comment 64 Aurélien Francillon 2007-02-19 19:44:13 UTC
Created attachment 110683 [details]
eclass/tinyos.eclass

this one is very basic
Comment 65 Aurélien Francillon 2007-02-19 19:45:46 UTC
Created attachment 110685 [details]
eclass/tinyos-java.eclass

this eclass handle most of the repetitive tasks in tinyos java related ebuilds 
it's compatible with new java system
Comment 66 Christian Heim (RETIRED) gentoo-dev 2007-08-10 19:50:00 UTC
Assigning to dev-embedded, since Sanchan has been retired.
Comment 67 Samuli Suominen (RETIRED) gentoo-dev 2010-11-07 19:04:19 UTC
tinyos was removed from tree. closing.