Mike Kazantsev <mk.frag...@gmail.com> writes: > man 1 ebuild > ebuild /usr/portage/mail-filter/procmail configure > (do-some-sed-in-/var/tmp) > ebuild /usr/portage/mail-filter/procmail merge
Many thanks for the tips... and hugely usefull. But: Yikes I may have jumped the gun thinking I was good to go but at least I now have the commands to get a little further... unfortunately the build breaks for a different reason now. ebuild \ /usr/portage/mail-filter/procmail/procmail-3.22-r10.ebuild configure cd to source: /var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22 sed -i -e 's/getline/get_line/g' src/*.c src/*.h (all good so far) ebuild \ /usr/portage/mail-filter/procmail/procmail-3.22-r10.ebuild merge [...] tail of error below: Whoeaaa! There's something fishy going on here. You have a look and see if you detect anything uncanny: ******************************************************* i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe -fno-inline-functions _autotst.c -o _autotst -Wl,-O1 cc1: error: unrecognized command line option "-fno-inline-functions2" :::: cc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe -fno-inline-functions _autotst.c -o _autotst -Wl,-O1 cc1: error: unrecognized command line option "-fno-inline-functions2" :::: gcc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe -fno-inline-functions _autotst.c -o _autotst -Wl,-O1 cc1: error: unrecognized command line option "-fno-inline-functions2" :::: ******************************************************* I suggest you take a look at the definition of CFLAGS* and CC in the Makefile before you try make again. make[1]: *** [init] Error 1 make[1]: Leaving directory `/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22' make: *** [src/Makefile] Error 2 * * ERROR: mail-filter/procmail-3.22-r10 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2531: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die * The die message: * (no error message)