We're updating the issue view to help you get more done. 

incompatible types when assigning to type 'struct icaltimetype' from type 'int'

Description

On powerpc rhel 7 provides libical-devel version 3.0.3, which seems incompatible with PBS Pro 18.1.2.

gcc -DHAVE_CONFIG_H -I. -I../../../src/include -I../../../src/include -I/usr/include/libical -I/cm/shared/apps/hwloc/current/include -MT libutil_a-munge_supp.o -MD -MP -MF .deps/libutil_a-munge_supp.Tpo -c -o libutil_a-munge_supp.o `test -f 'munge_supp.c' || echo './'`munge_supp.c
mv -f .deps/libutil_a-pbs_secrets.Tpo .deps/libutil_a-pbs_secrets.Po
mv -f .deps/libutil_a-entlim.Tpo .deps/libutil_a-entlim.Po
mv -f .deps/libutil_a-daemon_protect.Tpo .deps/libutil_a-daemon_protect.Po
mv -f .deps/libutil_a-pbs_array_list.Tpo .deps/libutil_a-pbs_array_list.Po
pbs_ical.c: In function 'get_num_occurrences':
pbs_ical.c:129:8: error: incompatible types when assigning to type 'struct icaltimetype' from type 'int'
start = icaltime_from_timet(dtstart, 0);
^
pbs_ical.c: In function 'get_occurrence':
pbs_ical.c:210:8: error: incompatible types when assigning to type 'struct icaltimetype' from type 'int'
start = icaltime_from_timet(dtstart, 0);
^
pbs_ical.c: In function 'check_rrule':
pbs_ical.c:354:8: error: incompatible types when assigning to type 'struct icaltimetype' from type 'int'
start = icaltime_from_timet(dtstart, 0);
^
make[3]: *** [libutil_a-pbs_ical.o] Error 1

Acceptance Criteria

None

Status

Assignee

Unassigned

Reporter

Taras Shapovalov

Severity

3-High

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Affects versions

18.1.2

Priority

High