In process of building steemd...steemCreated with Sketch.

in #steem7 years ago (edited)

I

 

have been busy much of today, after @benjojo sorta makes me realise that since I have been calling out the mischief going on here, I have an obligation to do something towards providing the remedy, if only to reinforce the point about what a bunch of lowlifes are sitting on assets that may soon become worthless, and improperly gained, at the expense of everyone else here.


So, I wrote a script to do the build, and I'm still having some issues getting it to actually build, after about 3 hours and lots of revisions:

loki@vmi120844:~$ cat buildsteem.sh 
#!/bin/bash
echo "DOCUMENTATION IS DOCUMENTATION!"
echo "Building Steemd"
echo "Install prerequisite packages"
sudo apt install -y autoconf automake cmake g++ git libssl-dev libtool make pkg-config python3 python3-jinja2 doxygen libncurses5-dev libreadline-dev perl libbz2-dev
echo "Download Boost 1.60 (because C++ fuck you)"
URL='https://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.bz2/download'; wget -c "$URL" -O boost_1_60_0.tar.bz2
echo "Unpack Boobs archive"
tar xjf boost_1_60_0.tar.bz2
echo "Change working directory to Boobs."
cd boost_1_60_0
echo "Boobstrap, with extra titties (size optimization)"
CXXFLAGS='-Os -pipe' ./bootstrap.sh "--prefix=$HOME/boobs"
echo "Build the Boobs!"
./b2 -j$(nproc) install
echo "Escape from the Boobs!"
cd ..
echo "Erase the Boobs! Or the preminers will flag you! (note, we are not going to delete it because you might need the boobs again)"
rm -rf boost*
pwd
echo "Clone the steem"
git clone https://github.com/steemit/steem -b v0.19.1
echo "enter the Bog of eternal Steem, make sure you have first donned your biohazard suit"
cd steem
echo "Update submodules"
git submodule update --init --recursive
echo "Configuring Cmake crap (note, this is just for making your own personal copy of the blagchain, aka p2p node)... edit this script to build a witness, or impossible to run RPC node"
mkdir build
cd build
BOOST_ROOT="$HOME/boobs" cmake -DCMAKE_BUILD_TYPE=Release -DLOW_MEMORY_NODE=ON -DSKIP_BY_TX_ID=ON ..
echo "Build it, and they probably won't come"
make -j`nproc`
echo "Prepare to sign away your life with your user password"
sudo make install
echo "Now, you may run 'steemd' and it will vandalise your hard drive with all their premine"
cd ..


I finally got it to pass through to the actual build stage for steemdand the build tells me there is a serious type mismatch error for a binary left shift operation between two variables. You can see well enough that I have precisely used every version to match what is the latest, and, ya know what, I'm gonna try again with the v0.19.1rc1, because I didn't have this problem building that version. But for posterity, here is the console screenie of the glaring programmer error.

In common language, what we have here, is an attempt to move a decimal place beyond the right hand side of a string of numbers, and anything to the left is disappeared. In other words, if this operation were to be not considered an error, it would always produce zero. Unless the chopped off stuff goes back around from the right hand side, which if it does, is wrong.

This is probably due to the fact that I am running ubuntu 17.04, and that GCC++ was allowing this before, was an error, and that this operation, is an ERROR. I'd guess that there is some compiler flag I can trigger to fix this, but it's still an error.


Right click and select 'open in a new tab' to see it up close.

PS

https://stackoverflow.com/questions/7401888/why-doesnt-left-bit-shift-for-32-bit-integers-work-as-expected-when-used

This behaviour is undefined in the C++ standard. It may well be that the amount of shift requested in the offending command would not shift down to zero, but the compiler does not assume thing, in this version. So, how do I fix this shit, and how many other more shits am I going to find?

I will just start again with ubuntu 16.04, now that I have saved this script here.

PS


Oh, and as I went to fork steem, I got this:

I presume that Stinc has 'banned' me from forking it. The absurdity, is beyond, absurdity. really. I can just clone it and create a new one and voila. Why even bother such a symbolic prohibition...

Update

I learned that I can in fact switch ubuntu 17 to gcc/g++ version 5, and so, I installed 5 and switched (the documentation how to change the softlinks was not very easy to dig up or understand, so I just used my shell ju-ju to do it manually. I just want to make double sure that the steem fork repo actually builds so I can actually change it, as I plan to do. First, of course, the entirely superficial business of changing the name.

By the way, it is funny as hell to set up $HOME/boobs as the boost installation location. Every time I watch the build flying past I giggle. Yes, it's gonna stay that way in the repository. It's the only way to keep a smile on your face while you delve into the bog of eternal steem.

Sort:  

@elfspice I'm glad you are able to put your joy back into this important effort 😃
More eyeballs and honorable support is growing around this effort - thanks for being here and sharing, cheers!

Keep up the good work bro! At least someones working on a solution of sorts. Thanks

You're welcome. I'm actually enjoying the shit out of this. I had got tired of fending off the trolls and trying to set the story straight. Fuck it. Now I can just make a new story, that does not include their premined power.

I am willing to bet the next 6 months of my life that this is gonna pay me very well to do this. If not, I'll learn a lot, anyway.

what happened with u getting flagged ??? Maybe i dont even ant to knwo or get involvd but i am guessing ur really getting comfortable calling out people here, sinvce u know u will have ur own fork of steem? lol, peopl cant seriously be mad at u for trying to fork steem blockchain can they?!?!

yeah, they seem to be. on top of that I have got some others who have been in the crosshairs of this kind of attack working on the project now, and they are also very motivated to get this happening.

We may not have a big flashy corporation or launch or anythting, and maybe it will take a year before there is a large userbase, but better that than building a hornets nest that eventually falls apart because of infighting.... don't you think?

yeah, you don't want to get involved, if you depend on your income from this platform, because it will put you in the firing line as well. But you can always go visit the chat and quietly get involved :)

Coin Marketplace

STEEM 0.27
TRX 0.12
JST 0.032
BTC 66843.30
ETH 3094.89
USDT 1.00
SBD 3.67