Summary: | bc --mathlib doesn't work with bc-1.06.94 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robin Stocker <nibor> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | askwar, esigra, ftlofaro, hansmi, hiyuh.root, ken, killerfox |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Robin Stocker
2006-06-13 05:01:45 UTC
The following change to the ebuild fixes it, but it isn't very nice: --- /usr/portage/sys-devel/bc/bc-1.06.94.ebuild 2006-06-11 16:07:20.000000000 +0200 +++ /usr/local/portage/sys-devel/bc/bc-1.06.94.ebuild 2006-06-13 14:04:30.000000000 +0200 @@ -30,6 +30,7 @@ fi use static && append-ldflags -static econf ${myconf} || die + touch bc/libmath.b emake || die } The problem is that libmath.h (in the bc folder) isn't built because its timestamp is newer than the one of libmath.b and libmath.h is a useless file. $ ls -l libmath.* -rw-r--r-- 1 robin robin 7110 2006-06-09 19:09 libmath.b -rw-r--r-- 1 robin robin 4 2006-06-09 19:25 libmath.h $ cat libmath.h {0} I'm not sure how that version of libmath.h got into the source tarball --- it should either be the fully built libmath.h or _no_ libmath.h, not that stub version used in bootstrapping. In the short term, yes that ugly touch command, or even a "rm -f bc/libmath.h" should serve as a work-around. For the real fix, I'll make sure that 1.06.95 gets packaged correctly. Thanks for pointing this out. *** Bug 136847 has been marked as a duplicate of this bug. *** Any idea when 1.06.95 will be available in the portage tree? Or what about a fixed 1.06.94-r1? Most people won't notice this bug, but still I consider it quite severe when basic tools like bc suddenly behave wrong. Yeah, it's ~x86, but still... Good question... and as fate would have it I was finally getting back to working on the .95 release. I hope to have it out within the week. nothing is stopping you from downgrading I did not even upgrade yet :) I was just wondering, no offense intended. things get upgraded when i get time 1.06.95 now in portage |