OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: ArchiMark on October 04, 2015, 04:22:05 pm

Title: Openbsd 5.8
Post by: ArchiMark on October 04, 2015, 04:22:05 pm
Installed 5.8 yesterday on my 3200.

Installed OK and so far all is working well.

Using my Socket 10/100 ethernet CF card and works well and OBSD recognized it....

In process of building nano to see how builds go.....

If it works OK, will move onto cmake.....and then other programs....

Crossing my fingers that 5.8 will be OK with builds as compared to 5.6 the last version I installed about 9 months ago....
Title: Openbsd 5.8
Post by: danboid on October 04, 2015, 05:34:29 pm
Good to hear it!

If I can get suspend fixed I'll be joining you. The promise of working suspend is the big pull for me over Arch and NetBSD and if it works on the C3200 then there is a good chance it should be able to work on the C3000 too but I've had no such luck under 5.8 or 5.7. I don't really want to go back to 5.6 or earlier if I can avoid it but I don't know if suspend ever did work on the C3000 anyway?

I'll leave it at that as I don't want to hijack your thread with my woes!
Title: Openbsd 5.8
Post by: ArchiMark on October 04, 2015, 08:13:48 pm
Thanks!

I wonder if maybe something about your install didn't go right or maybe there is an issue with the install files downloaded?

I'm pretty sure that suspend should work OK on the 3000.....

Maybe you should try installing again from fresh downloaded files?

Meanwhile, think nano build is plugging along.....think it's getting close now.....
Title: Openbsd 5.8
Post by: ArchiMark on October 05, 2015, 01:29:43 am
12 hours 15 minutes and counting.....since started building nano.....

Still chugging along.....

 
Title: Openbsd 5.8
Post by: danboid on October 05, 2015, 03:06:20 am
12+ hours!!! For nano!? Arch has just got more attractive!

I've never had to compile nano. I always expected it'd be quite small but there's obviously more to it than I thought.

No-one can say you're not patient Mark!
Title: Openbsd 5.8
Post by: ArchiMark on October 05, 2015, 09:00:00 am
Quote from: danboid
12+ hours!!! For nano!? Arch has just got more attractive!

I've never had to compile nano. I always expected it'd be quite small but there's obviously more to it than I thought.

No-one can say you're not patient Mark!

Thanks for the good works, danboid!

Just got up this morning....checked on Z........

Still building...

About 20 hours so far......

Hopefully not much more now.......

Please note that the first thing you build will likely take long time as in order to build the program, it first has to build all the dependencies.....so, depending upon the dependencies, there may be multiple dependencies to them too.

This means the next program you build will take less time as it will find that many of the dependencies needed are already built......

 
Title: Openbsd 5.8
Post by: danboid on October 05, 2015, 09:25:23 am
Of course! It's compiling all the deps too! I didn't think it could possibly take that long just to build nano. I expect you'd be waiting weeks the first time you try compiling a KDE app!

On the up side its good news as this is a great stress test of your Z and the new OBSD release and it sounds like its coping well.

I think I will try installing 5.8 again next and I'll check the checksums manually before I install this time. I've been putting the checksum files in the same dir as the OBSD install tarballs but for some reason the installer never finds it so I've been uninstalling without the integrity check. What's the trick to get the installer to find the sum files when installing off SD or CF? I specify sd0 for the source drive and then I use / as the path as I put the files in the root dir of the (vfat) CF or SD card.
Title: Openbsd 5.8
Post by: danboid on October 05, 2015, 11:28:27 am
Mark:

Can you be sure your 5.8-CURRENT packages will all work under 5.8-RELEASE or whatever the stable version gets called?

Do OBSD binary packages contain the dev stuff too?
Title: Openbsd 5.8
Post by: ArchiMark on October 05, 2015, 12:07:17 pm
Quote from: danboid
Of course! It's compiling all the deps too! I didn't think it could possibly take that long just to build nano. I expect you'd be waiting weeks the first time you try compiling a KDE app!

On the up side its good news as this is a great stress test of your Z and the new OBSD release and it sounds like its coping well.

I think I will try installing 5.8 again next and I'll check the checksums manually before I install this time. I've been putting the checksum files in the same dir as the OBSD install tarballs but for some reason the installer never finds it so I've been uninstalling without the integrity check. What's the trick to get the installer to find the sum files when installing off SD or CF? I specify sd0 for the source drive and then I use / as the path as I put the files in the root dir of the (vfat) CF or SD card.

See planetofidiots.com for info on checking files....or maybe it's in the OBSD zaurus install instruction pages...can't remember....signify command.....


Quote from: danboid
Mark:

Can you be sure your 5.8-CURRENT packages will all work under 5.8-RELEASE or whatever the stable version gets called?

Do OBSD binary packages contain the dev stuff too?

Do you mean whether the packages I build while using the current snapshot release will work with the official 5.8 release? If so, good question....I think so, but not 100% sure....

Regarding OBSD binary packages....not sure what you mean exactly....by binary packages, you mean packages I build or ?  

And what are you referring to by 'dev stuff' ?
Title: Openbsd 5.8
Post by: danboid on October 05, 2015, 12:16:00 pm
Quote from: ArchiMark
Regarding OBSD binary packages....not sure what you mean exactly....by binary packages, you mean packages I build or ?  

And what are you referring to by 'dev stuff' ?

I'm a total OBSD newb but I'm presuming your nano build will produce a number of binary packages that we could install under 5.8 without the multi-day compilation, right? I'd hope so!

As for 'dev stuff', under some Linux distros (eg Deb and Ubuntu) most binary packages have a binary package and a -dev equivalent that contains the 'dev stuff' like headers etc whereas other distros such as Arch include both in the binary packages. What does OBSD do?
Title: Openbsd 5.8
Post by: ArchiMark on October 05, 2015, 12:54:45 pm
Quote from: danboid
Quote from: ArchiMark
Regarding OBSD binary packages....not sure what you mean exactly....by binary packages, you mean packages I build or ?  

And what are you referring to by 'dev stuff' ?

I'm a total OBSD newb but I'm presuming your nano build will produce a number of binary packages that we could install under 5.8 without the multi-day compilation, right? I'd hope so!

As for 'dev stuff', under some Linux distros (eg Deb and Ubuntu) most binary packages have a binary package and a -dev equivalent that contains the 'dev stuff' like headers etc whereas other distros such as Arch include both in the binary packages. What does OBSD do?

Yes, nano build will produce a bunch of binary packages that are all the various library files, etc, probably what you refer to as 'dev stuff' files....and can be copied over to your Z and save lots of time building that way......

After you've built a few packages, it gets faster to build the next ones as you already have the 'dev stuff' on the Z for the build process to find and use....
Title: Openbsd 5.8
Post by: ArchiMark on October 06, 2015, 02:07:54 am
Monday evening 11:06PM, October 5th.....

Nano is done building and it works!

Now onto cmake...

 
Title: Openbsd 5.8
Post by: danboid on October 06, 2015, 10:04:12 am
Congrats Mark!

So what was that then? 2/3 days straight Z building action?

Its a shame you can't cross-compile OBSD packages. That'd save huge amounts of time and prolong the life of your Z.
Title: Openbsd 5.8
Post by: ArchiMark on October 06, 2015, 10:40:56 am
Thank you!

It was only about 37 hours.......

 
Title: Openbsd 5.8
Post by: TheWalt on October 08, 2015, 08:54:14 am
Ok now you got my interest again damn you!  

I had the FTP server setup with the builds to share from 5.6 but took it down after we all kinda got side tracked.  The first build dependencies is a killer but after that things go pretty quick.

I'll see if I can find some time, with winter upon us projects like this will be ideal to work on as outdoor activities are put on hold for 6 months.
Title: Openbsd 5.8
Post by: ArchiMark on October 08, 2015, 09:25:51 am
Quote from: TheWalt
Ok now you got my interest again damn you!  

Had a feeling this might get your attention, ol' boy......sorry about that.....

 

Quote
I had the FTP server setup with the builds to share from 5.6 but took it down after we all kinda got side tracked.  The first build dependencies is a killer but after that things go pretty quick.

I'll see if I can find some time, with winter upon us projects like this will be ideal to work on as outdoor activities are put on hold for 6 months.

Sounds great!

I'm in midst of making 'cmake'.....managed to get it built a year ago....after several attempts....
Hopefully, it will go smooth this time, so, far, going good....

By the time it finishes I'll have quite a few dependencies built....
Title: Openbsd 5.8
Post by: ArchiMark on October 10, 2015, 03:24:13 pm
Got all the dependencies for cmake built....but after awhile of building cmake, it stops with error 1 and error 11 messages....

Tried running make again, but it stops with same errors...

 
Title: Openbsd 5.8
Post by: ArchiMark on October 11, 2015, 04:15:28 pm
Here's the error messages I get each time I try to build cmake....

Quote
‘cmake’ is up to date.
Loading initial cache file /usr/ports/pobj/cmake-3.3.2/build-arm/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error:  Error processing file: /usr/ports/pobj/cmake-3.3.2/build-arm/Bootstrap.cmk/InitialCacheFlags.cmake
Assertion “cmSystemTools:FileExists(currentStart.c_str(), true)” failed: file “/usr/ports/pobj/cmake-3.3.2/cmake-3.3.2/Source/cmLocalGenerator.cxx”, line 121, function “Configure”
Abort trap (core dumped)
__________________________________________________________________

Error when bootstrapping CMake:
Problem while running initial CMake
__________________________________________________________________

*** Error 11 in .  (/usr/ports/infrastructure/mk/bsd.port.mk:2744 ‘/usr/ports/pobj/cmake-3.3.2/build-arm/.configure_done’)
*** Error 1 in /usr/ports/devel/cmake (/usr/ports/infrastructure/mk/bsd.port.mk:2488 ‘all’)