Retirement tax questions

To fund an IRA you must have taxable compensation.  Pension income is not taxable compensation.