Author

Topic: Which libmemenv.a is used when using the gitian builder? (Read 958 times)

legendary
Activity: 1148
Merit: 1018
It's about time -- All merrit accepted !!!
this is a level db issue, did you get it solved ?
newbie
Activity: 4
Merit: 0
I'm trying to build the Windows binaries for an altcoin using the gitian building process as described here:

https://github.com/litecoin-project/litecoin/blob/v0.8.6.2/contrib/gitian-descriptors/README

I'm running:

Code:
   ./bin/gbuild --commit altcoin=HEAD ./gitian-win32.yml

But get this error:

Code:
/home/ubuntu/build/altcoin/src/leveldb/libmemenv.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[1]: Leaving directory `/home/ubuntu/build/nationscoin'
make[1]: *** [release/nationscoin-qt.exe] Error 1
make: *** [release] Error 2
I've been trying a variety of solutions (trying to rebuild/reindex libmemenv.a), but they did not seem to work. This made me wonder if my changes had any impact at all because the output was always exactly the same. So I removed the libmemenv.a file:

Code:
rm /home/gitian-builder/inputs/altcoin/src/leveldb/libmemenv.a

Turns out, the error remains the same (so no complaint about the missing file!). This leads me to think that I am not working with the right libmemenv.a file. A 'locate libmemenv.a' returns only one file though so I am utterly confused exactly WHICH libmemenv.a is causing this problem. Any ideas?
Jump to: