Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144583 - app-portage/conf-update-0.9.ebuild missing die in src_compile()
Summary: app-portage/conf-update-0.9.ebuild missing die in src_compile()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Simon Stelling (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 21:18 UTC by Thomas Cort (RETIRED)
Modified: 2006-08-21 02:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cort (RETIRED) gentoo-dev 2006-08-20 21:18:42 UTC
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...
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-08-21 02:20:26 UTC
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 :)