Re: [DNG] building for armhf

2016-08-31 Thread Jaromil

dear shraptor,

On Tue, 30 Aug 2016, shraptor wrote:

> I want to build packages for a rpi3
> 
> I wonder if there is something to re-use from
> 
> https://git.devuan.org/devuan/arm-sdk
> 
> It is used in auto-build of devuan iso for rpi.

arm-sdk has nothing to do with package build,

it deals with iso packaging, kernel building and firmware inclusion

> In the instruction for arm-sdk If I follow the recipe down to
> 
> ; init devuan raspi2
> 
> Am I close to having an environment for buildin packages for armhf?
> 
> Maybe there is some script there I could spy on for info?

for package building we are still using the "legacy" arm-sdk scripts,
the SDK is still work in progress that should merge all the efforts
going in the same direction by parazyd, katolaz and me

to re-build packages you need to setup jenkins with the
devuan-jenkins-glue and qemu using with pinthread. you may also want
to freeze your own build toolchain. this is all not documented yet.

ciao

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] building for armhf

2016-08-31 Thread shraptor

On 2016-08-31 09:21, Jaromil wrote:

for package building we are still using the "legacy" arm-sdk scripts,
the SDK is still work in progress that should merge all the efforts
going in the same direction by parazyd, katolaz and me

to re-build packages you need to setup jenkins with the
devuan-jenkins-glue and qemu using with pinthread. you may also want
to freeze your own build toolchain. this is all not documented yet.


That is old greek to me unfortunately.


pinthread   I guess is this one https://github.com/nexlab/pinthread
and the USAGE seems pretty OK for me to follow.



devuan-jenkins-glue  
https://git.devuan.org/devuan-infrastructure/jenkins-debian-glue
 and I could check http://jenkins-debian-glue.org/ 
to get a notion what its

 doing


jenkins  Jenkins Continuous Integration system. I could read here
  http://www.vogella.com/tutorials/Jenkins/article.html



I could use some more pointers are there some scripts I could spy on?
I mean how it all fits together?

I guess this is not prioritized but do you think it will be documented 
any time in the future?



/scooby
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] building for armhf

2016-09-01 Thread Jaromil

hay Scooby

On Thu, 01 Sep 2016, shraptor wrote:

> That is old greek to me unfortunately.

you seem to translate it pretty well :^) anyway yes, apologies for the
brevity, I was writing while on the road.

> pinthread   I guess is this one https://github.com/nexlab/pinthread
> and the USAGE seems pretty OK for me to follow.

yes, it is a LD_SO_PRELOAD wrapper that solves the problem of
cross-building packages via qemu on multi-threaded cpus, an issue
Nextime has encountered (and solved) while building our CI
infrastructure.



> devuan-jenkins-glue
> https://git.devuan.org/devuan-infrastructure/jenkins-debian-glue
>  and I could check http://jenkins-debian-glue.org/ to
> get a notion what its doing

yes. also our patches were applied upstream. I'm just puzzled by the
public hostility the maintainer of this project shows towards Devuan.
The fix to the jenkins-debian-glue was in fact the first contribution
Devuan has made to Debian ;^)

> jenkins  Jenkins Continuous Integration system. I could read here
>   http://www.vogella.com/tutorials/Jenkins/article.html

yes, and you can see it in action for us here https://ci.devuan.org

of course this shows compilation only of "official" Devuan packages
when there is need for it and, as we can see, that doesn't happens
often after the initial builds. the silent good news is that the
cross-builds arm/mips are back online as shown.

we of course intend to document all steps needed to setup the CI,
something we can expect to be accomplished in the first quarter of
2017, so that people can also build their own.


however it is not a priority now, nor it is a priority to have rpi3
specific packages. we decided some time ago that rpi2 packages are
just fine and work on both, while there are little advantages in
dropping the rpi2 compatibility. I'd be interested in reading your
motivation to have rpi3 specific builds.


ciao



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] building for armhf

2016-09-01 Thread shraptor

...


we of course intend to document all steps needed to setup the CI,
something we can expect to be accomplished in the first quarter of
2017, so that people can also build their own.


So is this the only way to setup a tool chain for armhf on devuan?

I got to research some more.

I only want to rebuild a couple of packages




however it is not a priority now, nor it is a priority to have rpi3
specific packages. we decided some time ago that rpi2 packages are
just fine and work on both, while there are little advantages in
dropping the rpi2 compatibility. I'd be interested in reading your
motivation to have rpi3 specific builds.


I agree with packages working on both rpi2 and rpi3,
Sorry you get no arguments from me on that.

My motivation for rebuilding packages for rpi was

1.) Rebuild tor package to the newest version. I want to run the latest 
tor software

Probably important for privacy of users of the onion network, right?

Official tor builds will pull in libsystemd0

2.) Yearn to run vdev on my rpi.



/scooby
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] building for armhf

2016-09-01 Thread KatolaZ
On Thu, Sep 01, 2016 at 02:28:04PM +0200, shraptor wrote:
> ...
> 
> >we of course intend to document all steps needed to setup the CI,
> >something we can expect to be accomplished in the first quarter of
> >2017, so that people can also build their own.
> 
> So is this the only way to setup a tool chain for armhf on devuan?
> 
> I got to research some more.
> 
> I only want to rebuild a couple of packages
> 

Hi,

I managed to set up a toolchain for rpi3, a few months ago, but I have
not documented the process so far. I hope I will have time to do that
ASAP.

Sorry for the sloppiness on the matter...

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng