* [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly @ 2010-08-22 12:52 covici 2010-08-22 13:22 ` Alex Schuster 2010-08-22 13:29 ` Arttu V. 0 siblings, 2 replies; 10+ messages in thread From: covici @ 2010-08-22 12:52 UTC (permalink / raw To: gentoo-user Hi. I am running the unstable gentoo 32-bit and today I emerged -- amoung other packages in a system update -- glibc-2.12.1-r1, however after doing this at least one package had an undefined reference to S_ISCHR. I tried to downgrade glibc, but apparently this is not supported and I am a bit stumped as to how to fix this problem. Any ideas on this would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 12:52 [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly covici @ 2010-08-22 13:22 ` Alex Schuster 2010-08-22 13:29 ` Arttu V. 1 sibling, 0 replies; 10+ messages in thread From: Alex Schuster @ 2010-08-22 13:22 UTC (permalink / raw To: gentoo-user covici@ccs.covici.com writes: > Hi. I am running the unstable gentoo 32-bit and today I emerged -- > amoung other packages in a system update -- glibc-2.12.1-r1, however > after doing this at least one package had an undefined reference to > S_ISCHR. I tried to downgrade glibc, but apparently this is not > supported and I am a bit stumped as to how to fix this problem. Looks like a real bad problem, I'm glad I did not update yet. http://blog.flameeyes.eu/2010/08/18/compounded-issues-in-glibc-2-12 has some explanation on this. I wonder how this glibx version did make it into ~arch. > Any ideas on this would be appreciated. Don't know. Maybe wait a little and see if another new glibc fixes this, or the packages having issues with the new glibc might get updated. Wonko ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 12:52 [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly covici 2010-08-22 13:22 ` Alex Schuster @ 2010-08-22 13:29 ` Arttu V. 2010-08-22 13:47 ` covici 2010-08-22 16:22 ` Alan McKinnon 1 sibling, 2 replies; 10+ messages in thread From: Arttu V. @ 2010-08-22 13:29 UTC (permalink / raw To: gentoo-user On 8/22/10, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > Hi. I am running the unstable gentoo 32-bit and today I emerged -- > amoung other packages in a system update -- glibc-2.12.1-r1, however > after doing this at least one package had an undefined reference to > S_ISCHR. I tried to downgrade glibc, but apparently this is not > supported and I am a bit stumped as to how to fix this problem. > > Any ideas on this would be appreciated. Which package is failing? Please check if it is already reported, and if not then please report a new bug, and if possible make it block this tracker bug: http://bugs.gentoo.org/show_bug.cgi?id=331665 A wild guess out of the blue would be that the error could be simply a missing include of stat.h in the package's sources. But there might be other omissions as well, so please provide more info. I think that unless API/ABIs were changed then the older, already installed version should still work just fine, as then the missing includes would only affect compile-time situation. -- Arttu V. -- Running Gentoo is like running with scissors ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 13:29 ` Arttu V. @ 2010-08-22 13:47 ` covici 2010-08-22 16:22 ` Alan McKinnon 1 sibling, 0 replies; 10+ messages in thread From: covici @ 2010-08-22 13:47 UTC (permalink / raw To: gentoo-user Arttu V. <arttuv69@gmail.com> wrote: > On 8/22/10, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > > Hi. I am running the unstable gentoo 32-bit and today I emerged -- > > amoung other packages in a system update -- glibc-2.12.1-r1, however > > after doing this at least one package had an undefined reference to > > S_ISCHR. I tried to downgrade glibc, but apparently this is not > > supported and I am a bit stumped as to how to fix this problem. > > > > Any ideas on this would be appreciated. > > Which package is failing? Please check if it is already reported, and > if not then please report a new bug, and if possible make it block > this tracker bug: > > http://bugs.gentoo.org/show_bug.cgi?id=331665 > > A wild guess out of the blue would be that the error could be simply a > missing include of stat.h in the package's sources. But there might be > other omissions as well, so please provide more info. > > I think that unless API/ABIs were changed then the older, already > installed version should still work just fine, as then the missing > includes would only affect compile-time situation. > OK, I will check on that -- I am thinking that for that package a missing include will fix this, but I could shoot whoever broke this without thinking at all. I wonder if the failure of php to compile because my_compiler.h is missing has something to do with this also? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 13:29 ` Arttu V. 2010-08-22 13:47 ` covici @ 2010-08-22 16:22 ` Alan McKinnon 2010-08-22 18:57 ` covici 1 sibling, 1 reply; 10+ messages in thread From: Alan McKinnon @ 2010-08-22 16:22 UTC (permalink / raw To: gentoo-user Apparently, though unproven, at 15:29 on Sunday 22 August 2010, Arttu V. did opine thusly: > On 8/22/10, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > > Hi. I am running the unstable gentoo 32-bit and today I emerged -- > > amoung other packages in a system update -- glibc-2.12.1-r1, however > > after doing this at least one package had an undefined reference to > > S_ISCHR. I tried to downgrade glibc, but apparently this is not > > supported and I am a bit stumped as to how to fix this problem. > > > > Any ideas on this would be appreciated. > > Which package is failing? Please check if it is already reported, and > if not then please report a new bug, and if possible make it block > this tracker bug: > > http://bugs.gentoo.org/show_bug.cgi?id=331665 > > A wild guess out of the blue would be that the error could be simply a > missing include of stat.h in the package's sources. But there might be > other omissions as well, so please provide more info. > > I think that unless API/ABIs were changed then the older, already > installed version should still work just fine, as then the missing > includes would only affect compile-time situation. There is a way to downgrade for the brave. quickpkg glibc move the 2.11.? version ebuild you want to your local overlay. Edit it and find the check that disallows downgrades. Comment it out. Mask glibc2.12 update glibc At this point it's probably very wise to rebuild at least system, then revdep- rebuild. Note that rebuilding system might fail in which case you are really up the creek. Feel free to rip to pieces the dev that committed this version. It could not possibly have undergone decent testing -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 16:22 ` Alan McKinnon @ 2010-08-22 18:57 ` covici 2010-08-22 19:19 ` Alan McKinnon 0 siblings, 1 reply; 10+ messages in thread From: covici @ 2010-08-22 18:57 UTC (permalink / raw To: gentoo-user Alan McKinnon <alan.mckinnon@gmail.com> wrote: > Apparently, though unproven, at 15:29 on Sunday 22 August 2010, Arttu V. did > opine thusly: > > > On 8/22/10, covici@ccs.covici.com <covici@ccs.covici.com> wrote: > > > Hi. I am running the unstable gentoo 32-bit and today I emerged -- > > > amoung other packages in a system update -- glibc-2.12.1-r1, however > > > after doing this at least one package had an undefined reference to > > > S_ISCHR. I tried to downgrade glibc, but apparently this is not > > > supported and I am a bit stumped as to how to fix this problem. > > > > > > Any ideas on this would be appreciated. > > > > Which package is failing? Please check if it is already reported, and > > if not then please report a new bug, and if possible make it block > > this tracker bug: > > > > http://bugs.gentoo.org/show_bug.cgi?id=331665 > > > > A wild guess out of the blue would be that the error could be simply a > > missing include of stat.h in the package's sources. But there might be > > other omissions as well, so please provide more info. > > > > I think that unless API/ABIs were changed then the older, already > > installed version should still work just fine, as then the missing > > includes would only affect compile-time situation. > > > There is a way to downgrade for the brave. > > quickpkg glibc > move the 2.11.? version ebuild you want to your local overlay. > Edit it and find the check that disallows downgrades. Comment it out. > Mask glibc2.12 > update glibc > > At this point it's probably very wise to rebuild at least system, then revdep- > rebuild. Note that rebuilding system might fail in which case you are really > up the creek. > > Feel free to rip to pieces the dev that committed this version. It could not > possibly have undergone decent testing I have another idea -- what would I have to restore from backup to completely cancel the entire update process I have done since yesterday -- and then I could mask off the bad glibc and be back to something at least somewhat consistent? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 18:57 ` covici @ 2010-08-22 19:19 ` Alan McKinnon 2010-08-22 19:44 ` covici 0 siblings, 1 reply; 10+ messages in thread From: Alan McKinnon @ 2010-08-22 19:19 UTC (permalink / raw To: gentoo-user Apparently, though unproven, at 20:57 on Sunday 22 August 2010, covici@ccs.covici.com did opine thusly: > > There is a way to downgrade for the brave. > > > > > > > > quickpkg glibc > > move the 2.11.? version ebuild you want to your local overlay. > > Edit it and find the check that disallows downgrades. Comment it out. > > Mask glibc2.12 > > update glibc > > > > > > > > At this point it's probably very wise to rebuild at least system, then > > revdep- rebuild. Note that rebuilding system might fail in which case > > you are really up the creek. > > > > > > > > Feel free to rip to pieces the dev that committed this version. It could > > not possibly have undergone decent testing > > I have another idea -- what would I have to restore from backup to > completely cancel the entire update process I have done since yesterday > -- and then I could mask off the bad glibc and be back to something at > least somewhat consistent? I too have another idea - look at emerge.log and tell us what you emerged since yesterday. Then restore those packages. -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 19:19 ` Alan McKinnon @ 2010-08-22 19:44 ` covici 2010-08-22 19:56 ` Alan McKinnon 2010-08-22 20:25 ` Volker Armin Hemmann 0 siblings, 2 replies; 10+ messages in thread From: covici @ 2010-08-22 19:44 UTC (permalink / raw To: gentoo-user Alan McKinnon <alan.mckinnon@gmail.com> wrote: > Apparently, though unproven, at 20:57 on Sunday 22 August 2010, > covici@ccs.covici.com did opine thusly: > > > > There is a way to downgrade for the brave. > > > > > > > > > > > > quickpkg glibc > > > move the 2.11.? version ebuild you want to your local overlay. > > > Edit it and find the check that disallows downgrades. Comment it out. > > > Mask glibc2.12 > > > update glibc > > > > > > > > > > > > At this point it's probably very wise to rebuild at least system, then > > > revdep- rebuild. Note that rebuilding system might fail in which case > > > you are really up the creek. > > > > > > > > > > > > Feel free to rip to pieces the dev that committed this version. It could > > > not possibly have undergone decent testing > > > > I have another idea -- what would I have to restore from backup to > > completely cancel the entire update process I have done since yesterday > > -- and then I could mask off the bad glibc and be back to something at > > least somewhat consistent? > > > I too have another idea - look at emerge.log and tell us what you emerged > since yesterday. Then restore those packages. > > > -- > alan dot mckinnon at gmail dot com If I tried that -- how would I downgrade glibc in the process -- I am sure I could figure out all the packages, but that downgrade scares me -- would I do the packages in reverse order, or what? I also changed my gcc before this update, I could certainly reverse that as well. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 19:44 ` covici @ 2010-08-22 19:56 ` Alan McKinnon 2010-08-22 20:25 ` Volker Armin Hemmann 1 sibling, 0 replies; 10+ messages in thread From: Alan McKinnon @ 2010-08-22 19:56 UTC (permalink / raw To: gentoo-user Apparently, though unproven, at 21:44 on Sunday 22 August 2010, covici@ccs.covici.com did opine thusly: > Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > Apparently, though unproven, at 20:57 on Sunday 22 August 2010, > > > > covici@ccs.covici.com did opine thusly: > > > > There is a way to downgrade for the brave. > > > > > > > > > > > > > > > > quickpkg glibc > > > > move the 2.11.? version ebuild you want to your local overlay. > > > > Edit it and find the check that disallows downgrades. Comment it out. > > > > Mask glibc2.12 > > > > update glibc > > > > > > > > > > > > > > > > At this point it's probably very wise to rebuild at least system, > > > > then revdep- rebuild. Note that rebuilding system might fail in > > > > which case you are really up the creek. > > > > > > > > > > > > > > > > Feel free to rip to pieces the dev that committed this version. It > > > > could not possibly have undergone decent testing > > > > > > I have another idea -- what would I have to restore from backup to > > > completely cancel the entire update process I have done since yesterday > > > -- and then I could mask off the bad glibc and be back to something at > > > least somewhat consistent? > > > > I too have another idea - look at emerge.log and tell us what you emerged > > since yesterday. Then restore those packages. > > If I tried that -- how would I downgrade glibc in the process -- I am > sure I could figure out all the packages, but that downgrade scares me > -- would I do the packages in reverse order, or what? I also changed my > gcc before this update, I could certainly reverse that as well. It all depends on what tools you have available and how many packages were upgraded between yesterday and today. If you have tarballs for at least system in your packages dir, then just merge the old ones back. If not, then downgrade glibc and either emerge -e system or run revdep-rebuild. gcc is not a major issue, it simply builds runnable code and links to other stuff. As long as the ABI didn't change, and it didn't, gcc will not cause any relevant problems. The real problem is glibc which provides the C library. Almost everything links to that and it's interfaces can and do change. So packages built since that upgrade may well break with a downgrade. But like I said the best approach will depend on what packages are involved and you still haven't provided that list. I used to have a crystal ball that could gaze into your mind and your disk to find these answer, but ironically it too is now broken by the very same glibc upgrade you are dealing with. So you must look into this yourself. However, it's not all bad news - at least my fee to you will not increase. -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly 2010-08-22 19:44 ` covici 2010-08-22 19:56 ` Alan McKinnon @ 2010-08-22 20:25 ` Volker Armin Hemmann 1 sibling, 0 replies; 10+ messages in thread From: Volker Armin Hemmann @ 2010-08-22 20:25 UTC (permalink / raw To: gentoo-user On Sunday 22 August 2010, covici@ccs.covici.com wrote: > Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > Apparently, though unproven, at 20:57 on Sunday 22 August 2010, > > > > covici@ccs.covici.com did opine thusly: > > > > There is a way to downgrade for the brave. > > > > > > > > > > > > > > > > quickpkg glibc > > > > move the 2.11.? version ebuild you want to your local overlay. > > > > Edit it and find the check that disallows downgrades. Comment it out. > > > > Mask glibc2.12 > > > > update glibc > > > > > > > > > > > > > > > > At this point it's probably very wise to rebuild at least system, > > > > then revdep- rebuild. Note that rebuilding system might fail in > > > > which case you are really up the creek. > > > > > > > > > > > > > > > > Feel free to rip to pieces the dev that committed this version. It > > > > could not possibly have undergone decent testing > > > > > > I have another idea -- what would I have to restore from backup to > > > completely cancel the entire update process I have done since yesterday > > > -- and then I could mask off the bad glibc and be back to something at > > > least somewhat consistent? > > > > I too have another idea - look at emerge.log and tell us what you emerged > > since yesterday. Then restore those packages. > > If I tried that -- how would I downgrade glibc in the process -- I am > sure I could figure out all the packages, but that downgrade scares me > -- would I do the packages in reverse order, or what? I also changed my > gcc before this update, I could certainly reverse that as well. you can also leave that glibc version in place. Only a few packages are affected, most are fixed already. Just sync and retry the failing package. No need to downgrade glibc and recompile a bunch of packages. Besides, between 2.12.1 and 2.12.0 you should not need to recompile anything. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-08-22 20:25 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-08-22 12:52 [gentoo-user] glibc 2.12.1-r1 seems to not be working correctly covici 2010-08-22 13:22 ` Alex Schuster 2010-08-22 13:29 ` Arttu V. 2010-08-22 13:47 ` covici 2010-08-22 16:22 ` Alan McKinnon 2010-08-22 18:57 ` covici 2010-08-22 19:19 ` Alan McKinnon 2010-08-22 19:44 ` covici 2010-08-22 19:56 ` Alan McKinnon 2010-08-22 20:25 ` Volker Armin Hemmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox