Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352861 - sys-fs/squashfs-tools-4.1 - Makefile:168: *** "COMP_DEFAULT isn't selected to be built!". Alto.
Summary: sys-fs/squashfs-tools-4.1 - Makefile:168: *** "COMP_DEFAULT isn't selected to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 19:46 UTC by mondrillo
Modified: 2011-01-31 02:53 UTC (History)
2 users (show)

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 mondrillo 2011-01-26 19:46:33 UTC
emerge catalyst failed  with the error:

...snip...
>>> Compiling source in /var/tmp/portage/sys-fs/squashfs-tools-4.1/work/squashfs4.1/squashfs-tools ...
make 
Makefile:168: *** "COMP_DEFAULT isn't selected to be built!".  Alto.
emake failed
 * ERROR: sys-fs/squashfs-tools-4.1 failed:
 *   emake failed


Reproducible: Always




sudo emerge catalyst
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 4) sys-fs/squashfs-tools-4.1
 * squashfs4.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                               [ ok ]
 * Package:    sys-fs/squashfs-tools-4.1
 * Repository: gentoo
 * Maintainer: livecd@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   ccache sandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking squashfs4.1.tar.gz to /var/tmp/portage/sys-fs/squashfs-tools-4.1/work
>>> Source unpacked in /var/tmp/portage/sys-fs/squashfs-tools-4.1/work
>>> Preparing source in /var/tmp/portage/sys-fs/squashfs-tools-4.1/work/squashfs4.1/squashfs-tools ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/squashfs-tools-4.1/work/squashfs4.1/squashfs-tools ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/squashfs-tools-4.1/work/squashfs4.1/squashfs-tools ...
make 
Makefile:168: *** "COMP_DEFAULT isn't selected to be built!".  Alto.
emake failed
 * ERROR: sys-fs/squashfs-tools-4.1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2379:  Called _eapi2_src_compile
 *     ebuild.sh, line  659:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-fs/squashfs-tools-4.1',
 * the complete build log and the output of 'emerge -pqv =sys-fs/squashfs-tools-4.1'.
 * The complete build log is located at '/var/tmp/portage/sys-fs/squashfs-tools-4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/squashfs-tools-4.1/temp/environment'.
 * S: '/var/tmp/portage/sys-fs/squashfs-tools-4.1/work/squashfs4.1/squashfs-tools'
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-01-28 08:31:03 UTC
full emerge --info and build.log please
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-30 20:36:10 UTC
(In reply to comment #1)
> full emerge --info and build.log please

Looks like a full build log to me...
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-30 20:38:32 UTC
oops
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-30 20:46:32 UTC
Ah I see it. This happens when you set USE=-*, in which case no default is picked by the ebuild, so make then fails because it actually needs one.

Using backticks (line 42) in ebuilds isn't a thrill to begin with, but if USE="-gzip lzma lzo", then nothing gets echoed here:

local def=`usev gzip || usev lzma || usev lzo || echo gzip`

You should use if/elseif/fi here.

$ false || false || false || echo true
true
$ false || true || false || echo true
$ [blink]
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-31 02:53:07 UTC
Fixed in -r1.