Can't save benc files under uClibc 0.9.31
|Reported by:||ossy||Owned by:||charles|
Description (last modified by charles)
I cross compiled transmission for my arm device like it is done in several other projects like openwrt,oe,slugos,freetz etc. Unfortunatly I cannot add torrents via the webinterface after I successfully compiled and installed the software on the target. All directories and config files are created, but if I add a torrent via the webinterface I get the following error in the logfile:
... [22:22:33.372] Searching for web interface file "/usr/share/transmission/web/index.html" (platform.c:526) [22:22:34.374] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:95) [22:22:39.376] Couldn't save file "/var/transmission-statedir/torrents/evbarmcd-5.0.2.iso.9fe3ef5b5a32e862.torrent": Success (bencode.c:1706) [22:22:51.380] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:242) [22:24:26.389] Couldn't save file "/var/transmission-statedir/resume/evbarmcd-5.0.2.iso.9fe3ef5b5a32e862.resume": Success (bencode.c:1706)
I tracked the problem to the code line and found the very common call to write() (bencode.c:1706). If I made a touch outside of transmission the file could be created without problems (with the same user, as transmission runs on).
The port forwarding is not activated now, but I guess the torrent should be saveable anyway. The torrent itself looks good (at least my uTorrent on Windows accepts it).
I'm using uclibc 0.9.31, gcc 4.4.5 optimized for size, linuxthreads and running on armv5te. The problem exists in version 2.04 and 2.10.
Could this be a configuration issue (I do not use any special settings.json, transmission writes the defaults to settings.json) ?
Thanks for any comment or hint how to come over this issue.
Change History (11)
Changed 6 years ago by charles
comment:6 Changed 6 years ago by charles
- Keywords backport-2.0x added
- Milestone changed from None Set to 2.11
- Owner set to charles
- Status changed from new to assigned
comment:7 Changed 6 years ago by charles
- Status changed from assigned to new
- Summary changed from Couldn't save file - running with uClibc and gcc 4.4 - torrent not savable to Can't save benc files under uClibc 0.9.31
comment:9 Changed 6 years ago by charles
- Resolution set to fixed
- Status changed from assigned to closed