unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Roel Janssen <roel@gnu.org>
To: "Tomáš Čech" <sleep_walker@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] Fix compiling on CentOS 7.
Date: Sun, 28 Aug 2016 16:13:57 +0200	[thread overview]
Message-ID: <87r399dlqy.fsf@gnu.org> (raw)
In-Reply-To: <20160828095336.uh4mjcdxskkqzjdp@venom>


Tomáš Čech writes:

> On Sun, Aug 28, 2016 at 12:34:44PM +0300, Efraim Flashner wrote:
>>On Sun, Aug 28, 2016 at 10:11:02AM +0200, Tomáš Čech wrote:
>>> On Sun, Aug 28, 2016 at 01:33:10AM +0200, Roel Janssen wrote:
>>> >
>>> > Florian Paul Schmidt writes:
>>> >
>>> > > On 08/27/2016 10:51 AM, Roel Janssen wrote:
>>> > >
>>> > > > I don't see a way to apply this patch "on the CentOS side" except for
>>> > > > waiting (another two or three years) until they upgrade Automake.
>>> > >
>>> > > When packaging guix for CentOS, just add a patch to the source package
>>> > > definition..
>>> >
>>> > I do not intend to create an RPM package for CentOS, I am merely trying
>>> > to do the following:
>>> >  git clone git://git.sv.gnu.org/guix.git
>>> >  cd guix
>>> >  ./bootstrap
>>> >  ./configure
>>> >  make
>>>
>>> I see, I haven't thought about that...
>>>
>>> But, in that case, wouldn't be creating guix RPM package for CentOS even
>>> more beneficial alternative (making it easy for all CentOS7 users...)?
>>>
>>> Best regards,
>>>
>>> S_W
>>
>>That would require keeping it up-to-date.
>
> Actually I think that this particular patch could be replaced by
> script snippet (untested) in spec:
>
>  for dir in doc emacs gnu nix; do
>    sed "s@%D%@${dir}@g" "${dir}/local.mk"
>  done
>
> Furthermore, it requires usually fix once per release - when user run
> `guix pull', it becomes irrelevant what is user running (but daemon
> changes).

But what is the point of scripting the patch procedure if we can just
prevent the need for it?  Typos that weren't there anyway?  Moving
directories around that we're not planning, and we could adjust for with
the above three lines _when the change is relevant_?  We can lower the
version requirement for Automake by this simple patch!  And doing so is
relevant to getting things to work as expected on CentOS 7.

> I must say I'm impressed by the effort to fully maintain CentOS 7 to
> 2020. If you don't want to go package way (which I think is
> prefferable) I'm not against the reverting patch anymore.

Thanks.  Mathieu, could you revert your patch, or do you want me to look
at it?

Kind regards,
Roel Janssen

  reply	other threads:[~2016-08-28 14:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 19:48 [PATCH] Fix compiling on CentOS 7 Roel Janssen
2016-08-26 23:27 ` ng0
2016-08-27  0:16   ` Roel Janssen
2016-08-27  6:14 ` Ricardo Wurmus
2016-08-27  6:57 ` Tomáš Čech
2016-08-27  8:39   ` Alex Kost
2016-08-27  8:51     ` Roel Janssen
2016-08-27 10:28       ` Florian Paul Schmidt
2016-08-27 23:33         ` Roel Janssen
2016-08-28  8:11           ` Tomáš Čech
2016-08-28  9:34             ` Efraim Flashner
2016-08-28  9:53               ` Tomáš Čech
2016-08-28 14:13                 ` Roel Janssen [this message]
2016-08-28 14:42                   ` Mathieu Lirzin
2016-08-27 13:06       ` Mathieu Lirzin
2016-08-28 20:11       ` Ludovic Courtès
2016-08-28 20:32         ` Roel Janssen
2016-08-29 12:51           ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r399dlqy.fsf@gnu.org \
    --to=roel@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=sleep_walker@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).