If there is a compilation error, emerge continues. To avoid this you should use emake || die "emake failed" However, in this case, the default src_compile() works just fine, so removing the src_compile() function from the ebuild may be the better option. The package is also missing metadata.xml. # CFLAGS="-Wall -Werror" emerge conf-update Calculating dependencies... done! >>> Creating Manifest for /usr/portage/app-portage/conf-update >>> Emerging (1 of 1) app-portage/conf-update-0.9 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking conf-update-0.9.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking conf-update-0.9.tar.bz2 to /var/tmp/portage/conf-update-0.9/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/conf-update-0.9/work/conf-update-0.9 ... gcc $(pkg-config --cflags glib-2.0) -W -Wall -Wall -Werror -c core.c gcc $(pkg-config --cflags glib-2.0) -W -Wall -Wall -Werror -c helpers.c cc1: warnings being treated as errors helpers.c: In function 'get_listing': helpers.c:48: warning: passing argument 2 of 'exit_error' discards qualifiers from pointer target type helpers.c:50: warning: control reaches end of non-void function make: *** [helpers.o] Error 1 make: *** Waiting for unfinished jobs.... >>> Source compiled. >>> Test phase [not enabled]: app-portage/conf-update-0.9 >>> Install conf-update-0.9 into /var/tmp/portage/conf-update-0.9/image/ category app-portage !!! dosbin: conf-update does not exist >>> Completed installing conf-update-0.9 into /var/tmp/portage/conf-update-0.9/image/ man: gzipping man page: conf-update.1 >>> Merging app-portage/conf-update-0.9 to / --- /usr/ --- /usr/sbin/ --- /usr/share/ --- /usr/share/man/ --- /usr/share/man/man1/ >>> /usr/share/man/man1/conf-update.1.gz --- /etc/ >>> /etc/conf-update.conf >>> Regenerating /etc/ld.so.cache... >>> app-portage/conf-update-0.9 merged. >>> Recording app-portage/conf-update in "world" favorites file...
ugh, and such a person is a mentor to others... looks like my mind was a bit absent when I wrote that. Either way, fixed now, thanks for reporting :)