public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: [PATCH] toolchain-glibc.eclass: fix libm.so symlinking for live glibc
Date: Thu, 10 Aug 2017 21:41:24 +0000 (UTC)	[thread overview]
Message-ID: <pan$57216$cfbeaae6$37435876$302b6eaa@cox.net> (raw)
In-Reply-To: 20170808155322.16552-1-slyfox@gentoo.org

Sergei Trofimovich posted on Tue, 08 Aug 2017 16:53:22 +0100 as excerpted:

> The failure happens when live glibc-9999 ebuild is installed:
>  * QA Notice: Missing gen_usr_ldscript for libm-2.26.90.so * ERROR:
>  sys-libs/glibc-9999::gentoo failed:
>  *   add those ldscripts
> 
> The problem here is how upstream glibc version is detected:
>     dosym ../../$(get_libdir)/libm-${PV}.so
>     $(alt_usrlibdir)/libm-${PV}.so
> 
> Change to use 'version.h' to pick upstream version.

Interesting that it's libm.  See bug #627378

https://bugs.gentoo.org/627378

... where ~arch glibc-2.25-r2 (apparently) allows the symlink creation 
line above to clobber the original library binary, in usr merge (/lib64 
and /usr/lib64 are the same dir) cases, or at least when /usr -> . (aka 
"reverse" usr merge).

Comment #4 says it's not new code, thus the "(apparently)" above, but 
perhaps it's acting differently now due to the recent migration away from 
eblits?  What I know for sure is that the upgrade broke my system until I 
manually copied the libm binary from the binpkg back into place.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman



  reply	other threads:[~2017-08-10 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08 15:53 [gentoo-dev] [PATCH] toolchain-glibc.eclass: fix libm.so symlinking for live glibc Sergei Trofimovich
2017-08-10 21:41 ` Duncan [this message]
2017-08-11  8:14   ` [gentoo-dev] " Sergei Trofimovich
2017-08-11  9:29     ` Duncan

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='pan$57216$cfbeaae6$37435876$302b6eaa@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox