public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* crosstool-ng packaging for Debian
       [not found] <CAEUG-6j6hLoyqT8MhZmyM=OPEe=vzda_Dd7mRw8_M-ErzzzNCQ@mail.gmail.com>
@ 2017-07-13  0:17 ` Alexis Murzeau
  2017-07-17 15:44   ` Geert Stappers
  0 siblings, 1 reply; 5+ messages in thread
From: Alexis Murzeau @ 2017-07-13  0:17 UTC (permalink / raw)
  To: crossgcc

I resend this mail in text-only format as the first one got rejected.

(by the way, sorry for the possible duplicates)


Alexis Murzeau


-------- Forwarded Message --------
Subject: 	crosstool-ng packaging for Debian
Date: 	Thu, 13 Jul 2017 01:53:53 +0200
From: 	Alexis Murzeau <amubtdx@outlook.fr>
To: 	Chris Packham <Chris.Packham@alliedtelesis.co.nz>, 
721430@bugs.debian.org
CC: 	crossgcc@sourceware.org



Hi,

This week I worked on packaging crosstool-ng 1.23 for Debian using 
existing work.

I found that some dependencies are missing from the binary package so 
`ct-ng build` works correctly with minimal base system (like m4, wget).

I also added patches:
- 0001-Disable-MAKELEVEL-check.patch:
    An alternative to setting MAKELEVEL=0 inside debian/rules.
    This patch comments out the check of MAKELEVEL inside `Makefile.in`.

- 0002-Makefile.in-remove-recursive-part.patch:
    This patch fix the infinite recursion issue. I should probably share 
this into crosstool-ng and put the following text into the patch 
description :).
    The issue is that Debian dh run `make -n` which give `nrR` inside 
MAKEFLAGS and the `filter` function only matches whole words.
    Using `findstring` replaces every occurrences of the given text, 
making the assumption that no long options will contain `rR` or `Rr`.

- 0003-Backport-commit-Fix-debuild-warnings-errors.patch:
    This patch backports the commit [1] to fix lintian warning and errors.

I added installation of the bash completion script into 
/usr/share/bash-completion/completions (which is the new directory 
replacing /etc/bash_completion.d/).

I've added a watch file which use [4] and checks the gpg signature 
against `debian/upstream/signing-key.asc`.
The signing-key.asc file contains public keys of Alexey Neyman and Bryan 
Hundven (not sure if they are all the needed signatures).

I added a autopkgtest test to build a `arm-unknown-eabi` toolchain to 
check that the built package is working properly.

I put my package sources on github [2] with a travis configuration to:
- Build on travis a schroot of unstable (as travis use old ubuntu releases)
- Use this schroot to run sbuild inside which also run lintian and 
autopkgtest.
- Not that relevant but travis-ci also upload the built package to 
bintray when building a tag.

I use git-buildpackage to manage the source package.
My workflow is documented at `debian/README.source`.

Due to the length of the toolchain building and limitation of travis 
build max duration, I only test one toolchain build (arm-unknown-eabi).
FYI, Travis sbuild logs are available here [3].

I'm not sure about my medium/long term availability to maintain this 
package, but I hope what I have done can help to get crosstool-ng into 
Debian :)

[1] 
https://github.com/crosstool-ng/crosstool-ng/commit/1b4e784a0ba636646def1db5ca012fd54ee7a81c
[2] https://github.com/amurzeau/crosstool-ng-debian/
[3] https://travis-ci.org/amurzeau/crosstool-ng-debian/builds/252979392
[4] http://crosstool-ng.org/download/crosstool-ng/

Alexis Murzeau

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: crosstool-ng packaging for Debian
  2017-07-13  0:17 ` crosstool-ng packaging for Debian Alexis Murzeau
@ 2017-07-17 15:44   ` Geert Stappers
       [not found]     ` <AM4P190MB0179FF1C5F01A494986EB730DAA00@AM4P190MB0179.EURP190.PROD.OUTLOOK.COM>
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Stappers @ 2017-07-17 15:44 UTC (permalink / raw)
  To: Alexis Murzeau, Chris Packham, stappers, 721430; +Cc: crossgcc

[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]

On Thu, Jul 13, 2017 at 12:17:01AM +0000, Alexis Murzeau wrote:
> I resend this mail in text-only format as the first one got rejected.
> 
> (by the way, sorry for the possible duplicates)
 
  :-)


> 
> Alexis Murzeau
> 
> 
> -------- Forwarded Message --------
> Subject: 	crosstool-ng packaging for Debian
> Date: 	Thu, 13 Jul 2017 01:53:53 +0200
> From: 	Alexis Murzeau <amubtdx@outlook.fr>
> To: 	Chris Packham <Chris.Packham@alliedtelesis.co.nz>, 721430@bugs.debian.org
> CC: 	crossgcc@sourceware.org
> 
> 
> 
> Hi,
> 
> This week I worked on packaging crosstool-ng 1.23 for Debian

Thanks for doing so.


> using existing work.

Most likely you missed some of the existing work.
We, Chris, you (Alexis Murzeau) and I (Geert),
need to find out what work exists and merge it in one.

What is needed that some of us says:
  URL is for the time being the leading SCM repository



Groeten
Geert Stappers
Debian Developer
Uploader of crosstool-ng
-- 
Leven en laten leven

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug#721430: crosstool-ng packaging for Debian
       [not found]     ` <AM4P190MB0179FF1C5F01A494986EB730DAA00@AM4P190MB0179.EURP190.PROD.OUTLOOK.COM>
@ 2017-07-18 19:57       ` Geert Stappers
  2017-07-24  0:32         ` Chris Packham
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Stappers @ 2017-07-18 19:57 UTC (permalink / raw)
  To: Alexis Murzeau, Geert Stappers, Chris Packham; +Cc: crossgcc, 721430

On Mon, Jul 17, 2017 at 09:26:53PM +0000, Alexis Murzeau wrote:
> On 17/07/2017 17:44, Geert Stappers wrote:
> >
> >> using existing work.
> > Most likely you missed some of the existing work.
> > We, Chris, you (Alexis Murzeau) and I (Geert),
> > need to find out what work exists and merge it in one.
> >
> > What is needed that some of us says:
> >    URL is for the time being the leading SCM repository
> >
> 
> I've found so far only the main repository on github at [1] to contains 
> Debian packaging files.
> I've not checked the package on mentors.debian.net extensively but found 
> it relatively close to the one in official sources [1].
> I can't find the crosstool-ng package on mentors.debian.net anymore, 
> does it get to a new stage ?
> 
> 
> Is there other already known repositories out there ?

 git repro https://github.com/cpackham/crosstool-ng.git  
 branch debian-packaging-update

> (So I can maybe  make a pull request or something :-) ).
> I guess it's better for the Debian package source repository to be a 
> separate one from the upstream crosstool-ng one ?

Yes, some indepency from upstream has advantages


> Alexis Murzeau

Groeten
Geert Stappers


[1] https://github.com/crosstool-ng/crosstool-ng/tree/master/debian
-- 
Leven en laten leven

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug#721430: crosstool-ng packaging for Debian
  2017-07-18 19:57       ` Bug#721430: " Geert Stappers
@ 2017-07-24  0:32         ` Chris Packham
  2017-07-24  0:43           ` Chris Packham
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Packham @ 2017-07-24  0:32 UTC (permalink / raw)
  To: Geert Stappers, Alexis Murzeau; +Cc: crossgcc, 721430

On 19/07/17 07:57, Geert Stappers wrote:
> On Mon, Jul 17, 2017 at 09:26:53PM +0000, Alexis Murzeau wrote:
>> On 17/07/2017 17:44, Geert Stappers wrote:
>>>
>>>> using existing work.
>>> Most likely you missed some of the existing work.
>>> We, Chris, you (Alexis Murzeau) and I (Geert),
>>> need to find out what work exists and merge it in one.
>>>
>>> What is needed that some of us says:
>>>     URL is for the time being the leading SCM repository
>>>
>>
>> I've found so far only the main repository on github at [1] to contains
>> Debian packaging files.
>> I've not checked the package on mentors.debian.net extensively but found
>> it relatively close to the one in official sources [1].
>> I can't find the crosstool-ng package on mentors.debian.net anymore,
>> does it get to a new stage ?
>>
>>
>> Is there other already known repositories out there ?
> 
>   git repro https://github.com/cpackham/crosstool-ng.git
>   branch debian-packaging-update
> 

The changes from that branch have been merged to the upstream repo so 
it's effectively dead. I'll probably delete it shortly.

>> (So I can maybe  make a pull request or something :-) ).
>> I guess it's better for the Debian package source repository to be a
>> separate one from the upstream crosstool-ng one ?
> 
> Yes, some indepency from upstream has advantages
> 
> 
>> Alexis Murzeau
> 
> Groeten
> Geert Stappers
> 
> 
> [1] https://github.com/crosstool-ng/crosstool-ng/tree/master/debian
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug#721430: crosstool-ng packaging for Debian
  2017-07-24  0:32         ` Chris Packham
@ 2017-07-24  0:43           ` Chris Packham
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Packham @ 2017-07-24  0:43 UTC (permalink / raw)
  To: Geert Stappers, Alexis Murzeau; +Cc: crossgcc, 721430

On 24/07/17 12:33, Chris Packham wrote:
> On 19/07/17 07:57, Geert Stappers wrote:
>> On Mon, Jul 17, 2017 at 09:26:53PM +0000, Alexis Murzeau wrote:
>>> On 17/07/2017 17:44, Geert Stappers wrote:
>>>>
>>>>> using existing work.
>>>> Most likely you missed some of the existing work.
>>>> We, Chris, you (Alexis Murzeau) and I (Geert),
>>>> need to find out what work exists and merge it in one.
>>>>
>>>> What is needed that some of us says:
>>>>      URL is for the time being the leading SCM repository
>>>>
>>>
>>> I've found so far only the main repository on github at [1] to contains
>>> Debian packaging files.
>>> I've not checked the package on mentors.debian.net extensively but found
>>> it relatively close to the one in official sources [1].
>>> I can't find the crosstool-ng package on mentors.debian.net anymore,
>>> does it get to a new stage ?
>>>
>>>
>>> Is there other already known repositories out there ?
>>
>>    git repro https://github.com/cpackham/crosstool-ng.git
>>    branch debian-packaging-update
>>
> 
> The changes from that branch have been merged to the upstream repo so
> it's effectively dead. I'll probably delete it shortly.
> 
>>> (So I can maybe  make a pull request or something :-) ).
>>> I guess it's better for the Debian package source repository to be a
>>> separate one from the upstream crosstool-ng one ?
>>
>> Yes, some indepency from upstream has advantages
>>

Sorry hit send too soon :(.

Separating them is probably a good idea short term at least. I'd like to 
get the current released version 1.23 packaged. This may require patches 
to fix lintian issues (some of which have already been applied to master).

Longer term we can decide to either maintain the packaging completely 
separately (and remove the /debian directory from crosstool-ng.git) or 
bribe Alexy to make it part of the upstream release process.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-24  0:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAEUG-6j6hLoyqT8MhZmyM=OPEe=vzda_Dd7mRw8_M-ErzzzNCQ@mail.gmail.com>
2017-07-13  0:17 ` crosstool-ng packaging for Debian Alexis Murzeau
2017-07-17 15:44   ` Geert Stappers
     [not found]     ` <AM4P190MB0179FF1C5F01A494986EB730DAA00@AM4P190MB0179.EURP190.PROD.OUTLOOK.COM>
2017-07-18 19:57       ` Bug#721430: " Geert Stappers
2017-07-24  0:32         ` Chris Packham
2017-07-24  0:43           ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).