[Buildroot] [PATCH v5 1/1] package/rpm: switch to version 4.12.0.1

James Knight james.knight at rockwellcollins.com
Thu Sep 15 15:50:08 UTC 2016


On Mon, Sep 12, 2016 at 6:22 PM, James Knight
<james.knight at rockwellcollins.com> wrote:
>
> >> +     --disable-largefile \
> >
> >  Why disable? Probably needs a comment in commit message or in .mk file.
>
> Actually, I cannot recall. I'll investigate and add an appropriate
> correction or comment.

Actually, from the subset of builds I've tried, it seems to work
without this option set (I'll do more testing once I cleaned up the
entire patch).

That being said, I believe I added the option to help explicitly
define as many configurations as possible for the package. I recall
being told that the more options you can explicitly set, the better.
Looking for example in Buildroot, I don't really see (or just can't
find) any generic configuration option which indicates the target
system supports large files (to explicitly enable/disable large file
support). If it's better just to remove the option and let defaults
take place, I don't mind. Just looking for an opinion on the best
approach.

>
> >> +     --enable-python=no \
> >
> >  Doesn't --without-python or --disable-python work?
>
> Most likely does; will cleanup.

After examining the configure[.ac] files, it seems that only the
`enable-python` option is checked. By default, Python features are not
enabled. If the `enable-python` option is inconsistent with options
usually applied, I can just remove it and nothing should really
change; but this goes back to my previous comment on whether or not we
want to explicitly set all/most configuration options or leaving it to
implicitly configure the package.


On Tue, Sep 13, 2016 at 2:29 AM, Arnout Vandecappelle <arnout at mind.be> wrote:
>>> >  Oh, and there's an active upstream at
>>> > https://github.com/rpm-software-management/rpm
>>> > Could you submit it there (if still relevant)?
>> I'll investigate this. I won't be able to try this until next month or
>> so, so I hope having these patches for now will suffice/causes no
>> complaints.
>
>  No worries.

On a plus note, they've pulled in Thomas's the first patch upstream
[1] (yay); the second one doesn't really apply anymore due to several
changes on the HEAD. I wonder if they ever plan to do another release
in the future (I'll try pinging some individuals). At least for now,
I'll be hoping to cleanup this current patch and submit it again.

Maybe, in the future, if no official release will ever be made, I can
try an attempt too pull a stable hash from GitHub and do a series of
tests to make sure everything is stable enough. Then we can drop these
additional patches.

[1]: https://github.com/rpm-software-management/rpm/commit/b5f1895aae096836d6e8e155ee289e1b10fcabcb.patch



More information about the buildroot mailing list