public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* build-many-glibcs.py and Hurd requirement for libtirpc
@ 2021-08-24 16:54 Joseph Myers
  2021-08-24 17:20 ` Samuel Thibault
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2021-08-24 16:54 UTC (permalink / raw)
  To: libc-alpha, samuel.thibault

Building compilers for i686-gnu with build-many-glibcs.py is currently 
failing when configuring Hurd:

checking for libtirpc... no
configure: error: Package requirements (libtirpc) were not met:

No package 'libtirpc' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libtirpc_CFLAGS
and libtirpc_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

FAIL: compilers-i686-gnu hurd configure


Since libtirpc depends on libc but the Hurd glibc build requires Hurd 
headers to be installed before glibc is built, this circular dependency is 
a problem.  I'm not sure if this should be fixed in Hurd (passing a fourth 
argument to PKG_CHECK_MODULES to allow libtirpc to be missing, or adding 
some other mechanism to allow it to be missing, when only installing Hurd 
headers), or whether there should be some other workaround in 
build-many-glibcs.py to make Hurd configure think libtirpc is present when 
actually it isn't.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: build-many-glibcs.py and Hurd requirement for libtirpc
  2021-08-24 16:54 build-many-glibcs.py and Hurd requirement for libtirpc Joseph Myers
@ 2021-08-24 17:20 ` Samuel Thibault
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2021-08-24 17:20 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

Hello,

Joseph Myers, le mar. 24 août 2021 16:54:50 +0000, a ecrit:
> Building compilers for i686-gnu with build-many-glibcs.py is currently 
> failing when configuring Hurd:
> 
> checking for libtirpc... no
> configure: error: Package requirements (libtirpc) were not met:

Ah, sorry, it's actually already optional in the makefiles.  I have now
fixed configure.

Thanks for the notification,
Samuel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-24 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24 16:54 build-many-glibcs.py and Hurd requirement for libtirpc Joseph Myers
2021-08-24 17:20 ` Samuel Thibault

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).