Comments (3)
So I have tested it and reproduced, the cause is timgm()
returning -1
(without setting errno
for some reason). And based on what I read about this, it seems it is a "feature" of 32b systems so I am not sure what you expect from libyang to make it work.
from sysrepo.
In case you can recompile everything (and I mean it, everything, since this is obviously a huge ABI change), and you're already on kernel 5.1+ and glibc 2.34+, then you can set -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
and you're good to go. Beware, though, that you might face some nasty surprises if you have, say, a time_t
in some binary on-disk file. If you're using a system such as Buildroot, there's a config option for this already, BR2_TIME_BITS_64
.
TL;DR: this fix IMHO belongs to the "system library", not into libyang.
from sysrepo.
Thank you for the answers!
from sysrepo.
Related Issues (20)
- Memory leak while fetching items from a multi key list when specified only one key is xpath HOT 5
- copy-config works from candidate to startup (shouldn't be allowed based on RFC8342) HOT 10
- Subscribe for changes with different users HOT 11
- Module installation kill sysrepo and now even (sysrepoctl -l) is not working HOT 2
- double lock when running sr_install_module on QNX HOT 3
- Config ipv4 address(openconfig-interface-ip.yang) failed Error "Unexpected valid opaque node list "address" HOT 8
- taxonomy of sysrepo CLI-ish HOT 13
- Internal error while subscription to a notif and processing it at the same time HOT 2
- Netopeer2-server crash when send <edit_config> RPC with problems HOT 2
- Is it possible to have concurrent candidate datastore for each netconf session/ user? HOT 3
- regression: pushing multiple `leaf-list` data inside an operational `list` doesn't preserve all values HOT 5
- sr_get_node fails when pointing to a leaf-list path HOT 6
- About sr_oper_get_subscribe: entering callback function multiple times HOT 2
- Error Encountered While Attempting to Deviate Leaf Attributes in YANG File HOT 1
- Segmentation fault - Program terminated with signal 11, Segmentation fault. HOT 3
- SSH and TLS Callhome HOT 1
- Module ietf-yang-instance-data caused sysrepo to fail HOT 4
- Segmentation fault when pushing operational data HOT 2
- sr_oper_get_items_subscribe not called
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysrepo.