Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

libplist-1.3 build error in plistPYTHON_wrap.cxx

#236

$ cmake [...] [100%] Building CXX object swig/CMakeFiles/plist.dir/plistPYTHON_wrap.cxx.o cd /usr/ports/pobj/libplist-1.3/libplist-1.3/swig && /usr/bin/c++ -D_plist_EXPORTS -O2 -pipe -fPIC -I/usr/ports/pobj/libplist-1.3/libplist-1.3/include -I/usr/local/include/python2.7 -o CMakeFiles/plist.dir/plistPYTHON_wrap.cxx.o -c /usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx
/usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx: In function 'PyObject _wrap_Date_get_value(PyObject, PyObject)': /usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx:9770: error: invalid conversion from 'long int' to 'const time_t' /usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx:9770: error: initializing argument 1 of 'tm gmtime(const time_t)' ** Error code 1

The offending line in plistPYTHON_wrap.cxx are:
struct tm* t = gmtime ( &(&result)->tv_sec );

$ swig -version SWIG Version 2.0.4
Compiled with c++ [i386-unknown-openbsd5.0]
Configured options: +pcre

$ g++ -dumpversion 4.2.1

Reported by ronin-166163 (at lighthouseapp) · October 7th, 2011 @ 09:55 AM

State: invalid
Milestone: none
Assigned to: Nikias Bassen Nikias Bassen

Activity

  1. Martin S.
    Martin S.
    • State changed from new to open
    • Tag set to build, libplist, swig
    • Assigned user set to Nikias Bassen

    February 24th, 2012 @ 11:53 AM

  2. Olivier LAHAYE
    Olivier LAHAYE

    what is version 1.3???
    I thougth that we were at V1.8 by now (March 2nd, 2012)

    March 2nd, 2012 @ 02:29 PM

  3. Martin S.
    Martin S.

    Please try again with libplist 1.8.

    March 21st, 2012 @ 11:48 AM

  4. Martin S.
    Martin S.
    • State changed from open to invalid

    Please reopen if still encountered using latest libplist.

    March 19th, 2013 @ 12:24 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.