From: Laura Abbott <labbott@redhat.com>
To: Lucas De Marchi <lucas.de.marchi@gmail.com>,
Laura Abbott <labbott@fedoraproject.org>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>,
linux-modules <linux-modules@vger.kernel.org>
Subject: Re: [PATCH 1/4] build: Properly check for Cython
Date: Fri, 18 Sep 2015 10:38:11 -0700 [thread overview]
Message-ID: <55FC4C03.4040101@redhat.com> (raw)
In-Reply-To: <CAKi4VAKzR+=Gnk1EGwe6a_Rmg5vA1dgLvZ9mwVcBrzjd+Ag-Pg@mail.gmail.com>
On 09/12/2015 11:27 AM, Lucas De Marchi wrote:
> On Fri, Sep 11, 2015 at 5:55 PM, Laura Abbott <labbott@fedoraproject.org> wrote:
>>
>> Cython is necessary to compile if --enable-python is used.
>> Currently, the configuration just sets Cython to ':' if
>> it isn't found. ':' is a valid command which results in
>> confusing build errors:
>>
>> CCLD libkmod/libkmod.la
>> CCLD libkmod/libkmod-internal.la
>> ar: `u' modifier ignored since `D' is the default (see `U')
>> CYTHON libkmod/python/kmod/kmod.c
>> CC libkmod/python/kmod/libkmod_python_kmod_kmod_la-kmod.lo
>> gcc: error: ./libkmod/python/kmod/kmod.c: No such file or directory
>> gcc: fatal error: no input files
>>
>> Explicitly check if cython is available and then error out
>> if it isn't found.
>> ---
>
> Since we distribute the generated python files, cython is only needed
> on "building from git tree" cases, not for packages.
>
>
> Lucas De Marchi
>
I don't think I have a clear answer about whether or not you want to take
this patch even after Kay's response. If you don't want to add the
autoconf check I'll update the README and put a note under hacking to make
sure cython is installed if the intention is to ship the generated files.
Thanks,
Laura
next prev parent reply other threads:[~2015-09-18 17:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-11 20:55 [PATCH 0/4] depmod and modprobe error message fixups Laura Abbott
2015-09-11 20:55 ` [PATCH 1/4] build: Properly check for Cython Laura Abbott
2015-09-12 18:27 ` Lucas De Marchi
2015-09-18 17:38 ` Laura Abbott [this message]
2015-09-24 1:11 ` Lucas De Marchi
2015-09-11 20:55 ` [PATCH 2/4] modprobe: Add appropriate error message when path is missing Laura Abbott
2015-09-12 18:45 ` Lucas De Marchi
2015-09-11 20:55 ` [PATCH 3/4] depmod: Fix message printing before log_setup_kmod_log Laura Abbott
2015-09-12 18:55 ` Lucas De Marchi
2015-09-18 18:26 ` Laura Abbott
2015-09-24 1:16 ` Lucas De Marchi
2015-09-11 20:55 ` [PATCH 4/4] depmod: Add error message for bad version Laura Abbott
2015-09-12 19:00 ` Lucas De Marchi
2015-09-18 18:30 ` Laura Abbott
2015-09-24 1:17 ` Lucas De Marchi
2015-09-12 19:05 ` [PATCH 0/4] depmod and modprobe error message fixups Lucas De Marchi
2015-09-16 23:35 ` Kay Sievers
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55FC4C03.4040101@redhat.com \
--to=labbott@redhat.com \
--cc=labbott@fedoraproject.org \
--cc=linux-modules@vger.kernel.org \
--cc=lucas.de.marchi@gmail.com \
--cc=lucas.demarchi@intel.com \
/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.
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 NNTP newsgroup(s).