Bug 108701
Summary: | package fails make test when built on certain dates | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Mario Lorenz <ml> |
Component: | at | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED CANTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | ccb, milan.kerslager, mitr, notting, ryan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-10-10 08:04:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mario Lorenz
2003-10-31 10:58:17 UTC
What I forgot to add (but might be obvious from the bug description): Building this two weeks earlier/later (or setting date apropriately) causes the package to pass "make test" and be built. I see this behavior to. This seems to me like locale problem. I tryed various locale (C, EN_US, POSIX, en_US.UTF-8) and 4 or 5 tests failed. I see "next week +- 1 month" tests failed too. The solution for building the package is to use thic command: rpmbuild --define "_without_check 1" -ba SPECS/at.spec *** Bug 108942 has been marked as a duplicate of this bug. *** I disagree. --define the check away is about the worst thing to do, its cutting your lifeline... Locale dependencies result from the additional fact that "next week" tests may yield different results per locale (eg. some start counting the week on sundays, some on mondays. This is not the main problem here. The main problem is simply that the order of operations is significant when dealing with dates. "Five days from now, and then a month later" is simply not the same as "In a month, and then five days", when you are close to the end of the month. (in one case, the "month later" may have 30 days, in the other case 31 days) Then again, it is usually accepted that when counting in months, you count with 30 days. Since both results are right in some way, it is a matter of making test.pl agreeing on what at says or vice versa. Whats the correct way is hopefully written in some unix standards... I noticed this bug too, but I noticed that it only seems to occur if you're building in a timezone that uses DST (like PST8PDT). If you run "make TZ=UTC test", the test harness succeeds. *** Bug 124365 has been marked as a duplicate of this bug. *** 'Red Hat Raw Hide' refers to the development tree for Red Hat Linux. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues were not resolved in a more timely manner. However, we do want to make sure that important don't slip through the cracks. If these issues are still present in a current release, such as Fedora Core 5, please move these bugs to that product and version. Note that any remaining Red Hat Raw Hide bugs will be closed as 'CANTFIX' on September 30, 2006. Thanks again for your help. |