FTBFS after latest upgrade of karmic because of the unsuccessfull test Timezone.tjp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskjuggler (Fedora) |
Fix Released
|
High
|
|||
taskjuggler (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: taskjuggler
Hi,
This package was buildig correctly on the 3rd of August, but after the updates done on the 4th, it's not building anymore:
make[3]: Entering directory `/build/
Testing in CSV-Reports
Testing in HTML-Reports
Testing in Misc
Testing in Scheduler
Testing in Syntax
Test Timezone.tjp failed!
Testing in TJX-Reports
1 errors detected!
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/build/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/
dh_auto_build: make returned exit code 2
As stated in Redhat (https:/
Cheers,
Fabrice
Related branches
summary: |
- FTBFS after latest upgrade to karmic because of not passing test + FTBFS after latest upgrade of karmic because of the unsuccessfull test Timezone.tjp |
Changed in taskjuggler (Fedora): | |
status: | Unknown → In Progress |
Changed in taskjuggler (Ubuntu): | |
status: | New → Confirmed |
Changed in taskjuggler (Fedora): | |
importance: | Unknown → High |
status: | In Progress → Fix Released |
Created attachment 348342
Sample program to show the failure
Description of problem:
The attached code fragment returns the wrong value when TZ is set to "foo/bar"
Version-Release number of selected component (if applicable): 10.1-2. x86_64
glibc-2.
How reproducible:
100% on F11
Steps to Reproduce:
1. compile code fragment: g++ time.cpp -o time
2. run it: ./time
Actual results: ======= ======= =====
Debugging Information
=====
tZone: foo/bar
false || (true && false) == true
strcmp(tzname[0], tZone): -1
strcmp(tZone, "UTC"): 1
strcmp(tzname[0], "UTC"): 1
tzname[0]: foo, tzname[1]:
Expected results:
F9 returns:
Bad Timezone set. foo/bar is not a valid timezone ======= ======= =====
Debugging Information
=====
tZone: foo/bar
tzname[0]: foo/bar, tzname[1]:
true || (true && false) == false
strcmp(tzname[0], tZone): 0
strcmp(tZone, "UTC"): 1
strcmp(tzname[0], "UTC"): 1
Additional info:
tzset(3) man page says:
If the TZ variable does appear in the environment but its value is empty or its value cannot be interpreted using any of the formats
specified below, Coordinated Universal Time (UTC) is used.