| Summary: | util-linux-2.30/.stamp_built' failed | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Refik Tuzakli <tuzakli.refik> |
| Component: | Other | Assignee: | Carlos Santos <casantos> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | buildroot, mirq-boogs |
| Priority: | P5 | ||
| Version: | 2018.11.3 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | patch for util-linux configure.ac | ||
|
Description
Refik Tuzakli
2017-06-19 11:11:57 UTC
Please check if the problem persists on a recent master snapshot (as of commit 74235a6854d6e469f2dbc141fe08ce9ae94e7d3c).
Please provide a copy of your defconfig. Run
$ make savedefconfig BR2_DEFCONFIG=/tmp/bug_9966_defconfig
Then attach /tmp/bug_9966_defconfig to this bug report.
After I run make clean, I run make again then it works. Looks like the reporter attempted to perform a dirty build in an output directory containing traces of a previous build, for a different architecture. Closing as RESOLVED/WORKSFORME, since the reporter did not provide enough information to reproduce the failure and was able to circumvent the problem by means of a clean build. I just stumbled on this problem on 2018.11.3 after adding a patch that modifies configure.ac. 'make clean' does not help in this case. It seems that this modification triggers regererating of aclocal.m4 (it has some parts replaced with an older version) and all the paths to tools and libraries in resulting Makefiles get mixed up. Created attachment 7961 [details]
patch for util-linux configure.ac
For reproduction: put attached patch in package/util-linux/
(In reply to Michał Mirosław from comment #5) Sorry, this is not a bug in Buildroot. You add a patch that knowingly breaks the build and then complain that the build gets broken. Also, please do not reopen an old bug just because you saw a similar behavior in a new situation. A bug must be reopened if it's resolution was not correct. New problems must be reported as new bugs. (In reply to Carlos Santos from comment #6) I don't want to point fingers. Adding 'UTIL_LINUX_AUTORECONF = YES' line to package/util-linux/util-linux.mk fixes the problem. I guess it has something to do with buildroot's makefile replacing config/ltmain.sh in the package but not in autotools it provides. The file get's replaced with unpatched version when ./configure runs autoreconf to update itself. (In reply to Michał Mirosław from comment #7) Let me clarify my point: I'm not against adding a patch to disable rtcwake, even though I believe this should be submitted upstream first. My point is that such change would be an improvement, not a bug fix, so the right way to do it is by means of a patch on Buildroot that adds the required patch for util-linux and also turns AUTORECONF to YES. Also, this discussion should happen on the buildroot mailing list, not on a bug report, so I stop here. |