The T-rex will probably die eventually from starvation... Which means I could lose my roof and free food. Biggest challenge will be trying to keep the T-rex alive...
Alternative option: No one said how much or what type of food, and T-Rex are thought to have been scavengers. Spend a month splitting your meal. Tame it. Make friends with it. Teach it to love. Then kill it.