public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug locale/27649] New: check target fails when building from a read only source tree as objdir is not used
@ 2021-03-25 1:02 venture37 at geeklan dot co.uk
2021-03-25 1:04 ` [Bug build/27649] " venture37 at geeklan dot co.uk
2021-03-25 15:12 ` venture37 at geeklan dot co.uk
0 siblings, 2 replies; 3+ messages in thread
From: venture37 at geeklan dot co.uk @ 2021-03-25 1:02 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27649
Bug ID: 27649
Summary: check target fails when building from a read only
source tree as objdir is not used
Product: glibc
Version: 2.33
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: locale
Assignee: unassigned at sourceware dot org
Reporter: venture37 at geeklan dot co.uk
Target Milestone: ---
I have my glibc source tree available as read only to the user I am running
builds with and utilise a separate objdir to build everything. That works fine
for the build of the source but fails when it comes to 'make check' as gperf
attempts to generate charmap-kw.h.new & locfile-kw.h.new in the source
directory and fails because it is unable to write the files out.
I use the following change to address the issue
diff -r 53021903d9a6 lib/glibc/dist/locale/Makefile
--- a/lib/glibc/dist/locale/Makefile Wed Mar 24 23:22:16 2021 +0000
+++ b/lib/glibc/dist/locale/Makefile Thu Mar 25 00:47:28 2021 +0000
@@ -73,8 +73,8 @@
programs/%-kw.h: programs/%-kw.gperf
cd programs \
- && $(GPERF) $(GPERFFLAGS) -N $(@F:-kw.h=_hash) $(<F) > $(@F).new
- mv -f $@.new $@
+ && $(GPERF) $(GPERFFLAGS) -N $(@F:-kw.h=_hash) $(<F) >
$(objdir)/programs/$(@F).new
+ mv -f $(objdir)/$@.new $(objdir)/$@
$(objpfx)localedef: $(localedef-modules:%=$(objpfx)%.o)
$(objpfx)localedef: $(localedef-aux:%=$(objpfx)%.o)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug build/27649] check target fails when building from a read only source tree as objdir is not used
2021-03-25 1:02 [Bug locale/27649] New: check target fails when building from a read only source tree as objdir is not used venture37 at geeklan dot co.uk
@ 2021-03-25 1:04 ` venture37 at geeklan dot co.uk
2021-03-25 15:12 ` venture37 at geeklan dot co.uk
1 sibling, 0 replies; 3+ messages in thread
From: venture37 at geeklan dot co.uk @ 2021-03-25 1:04 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27649
Sevan Janiyan <venture37 at geeklan dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|locale |build
CC| |carlos at redhat dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug build/27649] check target fails when building from a read only source tree as objdir is not used
2021-03-25 1:02 [Bug locale/27649] New: check target fails when building from a read only source tree as objdir is not used venture37 at geeklan dot co.uk
2021-03-25 1:04 ` [Bug build/27649] " venture37 at geeklan dot co.uk
@ 2021-03-25 15:12 ` venture37 at geeklan dot co.uk
1 sibling, 0 replies; 3+ messages in thread
From: venture37 at geeklan dot co.uk @ 2021-03-25 15:12 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27649
Sevan Janiyan <venture37 at geeklan dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Sevan Janiyan <venture37 at geeklan dot co.uk> ---
Ugh, not a bug. Timestamp changes locally causing the headers in
locale/programs to be regenerated.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-25 15:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 1:02 [Bug locale/27649] New: check target fails when building from a read only source tree as objdir is not used venture37 at geeklan dot co.uk
2021-03-25 1:04 ` [Bug build/27649] " venture37 at geeklan dot co.uk
2021-03-25 15:12 ` venture37 at geeklan dot co.uk
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).