From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 2767] New: Build for lsof broken in buildroot-2010.08
Date: Thu, 4 Nov 2010 09:29:36 +0000 (UTC) [thread overview]
Message-ID: <bug-2767-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=2767
Summary: Build for lsof broken in buildroot-2010.08
Product: buildroot
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: andyg1001 at hotmail.co.uk
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 2635
--> https://bugs.busybox.net/attachment.cgi?id=2635
Error log
The build process for the lsof package has been broken in buildroot-2010.08.
In buildroot-2010.05 it was not broken.
The attached build log file shows the error as it occurs. Note how the
compiler options passed to make via CFGF, don't actually get passed to gcc, as
should be the case.
The problem has been tracked down to a change made in buildroot: specifically
that it now includes CFLAGS="..." in TARGET_CONFIGURE_OPTS, whereas before this
was not the case.
However, the Configure script for lsof also generates its own CFLAGS
declaration inside the Makefile, which is now overridden by that given by
buildroot. Fortunately, lsof has a partial solution to this problem which is
the LSOF_CFLAGS_OVERRIDE=1 configuration option. CFLAGS from buildroot is
still then passed through Configure and incorporated into the CFLAGS
declaration inside the Makefile, but then the Makefile declaration of CFLAGS
can then be marked 'override' so that when calling make, it continues to build
correctly.
Unfortunately, the solution provided by lsof is only partial. The
configuration option only applies to liblsof, not the application itself.
Attached also is a patch file that fixes both this, plus adds the configuration
option into the package's lsof.mk file.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next reply other threads:[~2010-11-04 9:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-04 9:29 bugzilla at busybox.net [this message]
2010-11-04 9:30 ` [Buildroot] [Bug 2767] Build for lsof broken in buildroot-2010.08 bugzilla at busybox.net
2010-11-04 15:36 ` bugzilla at busybox.net
2010-11-04 16:06 ` bugzilla at busybox.net
2010-11-04 16:10 ` bugzilla at busybox.net
2010-11-04 16:17 ` bugzilla at busybox.net
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=bug-2767-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.