Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357063 - x11-misc/xkeyboard-config-2.1 - compilation error on make -j3 clean
Summary: x11-misc/xkeyboard-config-2.1 - compilation error on make -j3 clean
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-02 07:36 UTC by David
Modified: 2011-03-03 18:00 UTC (History)
2 users (show)

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


Attachments
emerge --info (info.txt,4.76 KB, text/plain)
2011-03-02 07:39 UTC, David
Details
build.log (build.log,6.82 KB, text/plain)
2011-03-02 07:39 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2011-03-02 07:36:05 UTC
can't compile x11-misc/xkeyboard-config-2.1  - make -j3 clean 

Reproducible: Always

Steps to Reproduce:
1. emerge -q xkeyboard-config
Actual Results:  
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1 ...
make -j3 clean 
make: *** Keine Regel, um »clean« zu erstellen.  Schluss.
emake failed
 * ERROR: x11-misc/xkeyboard-config-2.1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3432:  Called die
 * The specific snippet of code:
 *       emake clean || die;
 *
Comment 1 David 2011-03-02 07:39:00 UTC
Created attachment 264327 [details]
emerge --info

emerge --info
Comment 2 David 2011-03-02 07:39:21 UTC
Created attachment 264329 [details]
build.log

build.log
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-02 17:19:39 UTC
Please add the build log with locale="C" or you'll limit the amount of people able to process this bug.
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-02 17:24:31 UTC
According to Google translation tools, the error is:

No rule to make target `clean'

It builds here from the cvs tree and I have it installed.
Comment 5 David 2011-03-02 19:11:57 UTC
I deleted all xkeyboard-config files in distfiles. After remerged the xkeyboard-config packaged I got the same result.

I get this error at compiling xkeyboard-confg >= 2.0



LC_ALL="C" emerge -q xkeyboard-config
FEATURES variable contains unknown value(s): loadpolicy

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-misc/xkeyboard-config-2.1
>>> Failed to emerge x11-misc/xkeyboard-config-2.1, Log file:
>>>  '/var/tmp/portage/x11-misc/xkeyboard-config-2.1/temp/build.log'
 * Package:    x11-misc/xkeyboard-config-2.1
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux selinux userland_GNU
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1_build"
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for xkbcomp... /usr/bin/xkbcomp
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for intltool >= 0.30... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.2
checking for XML::Parser... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating geometry/Makefile
config.status: creating geometry/digital_vndr/Makefile
config.status: creating geometry/sgi_vndr/Makefile
config.status: creating keycodes/Makefile
config.status: creating keycodes/digital_vndr/Makefile
config.status: creating keycodes/sgi_vndr/Makefile
config.status: creating keymap/Makefile
config.status: creating keymap/digital_vndr/Makefile
config.status: creating keymap/sgi_vndr/Makefile
config.status: creating keymap/sun_vndr/Makefile
config.status: creating semantics/Makefile
config.status: creating rules/Makefile
config.status: creating rules/bin/Makefile
config.status: creating rules/compat/Makefile
config.status: creating rules/extras/Makefile
config.status: creating symbols/Makefile
config.status: creating symbols/digital_vndr/Makefile
config.status: creating symbols/fujitsu_vndr/Makefile
config.status: creating symbols/hp_vndr/Makefile
config.status: creating symbols/macintosh_vndr/Makefile
config.status: creating symbols/nec_vndr/Makefile
config.status: creating symbols/nokia_vndr/Makefile
config.status: creating symbols/sgi_vndr/Makefile
config.status: creating symbols/sony_vndr/Makefile
config.status: creating symbols/sun_vndr/Makefile
config.status: creating symbols/xfree68_vndr/Makefile
config.status: creating symbols/extras/Makefile
config.status: creating types/Makefile
config.status: creating xkeyboard-config.pc
config.status: creating xkeyboard-config.spec
config.status: creating docs/Makefile
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
***********************************************************
  xkeyboard-config is configured with the following parameters:
    XKB base directory: "/usr/share/X11/xkb"
    Symbolic link(s) to legacy rules: xorg
    Compatibility rules are included
***********************************************************
make: *** No rule to make target `clean'.  Stop.
emake failed
 * ERROR: x11-misc/xkeyboard-config-2.1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3432:  Called die
 * The specific snippet of code:
 *       emake clean || die;
 * 
 * If you need support, post the output of 'emerge --info =x11-misc/xkeyboard-config-2.1',
 * the complete build log and the output of 'emerge -pqv =x11-misc/xkeyboard-config-2.1'.
 * The complete build log is located at '/var/tmp/portage/x11-misc/xkeyboard-config-2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xkeyboard-config-2.1/temp/environment'.
 * S: '/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1'

 * Messages for package x11-misc/xkeyboard-config-2.1:

 * ERROR: x11-misc/xkeyboard-config-2.1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3432:  Called die
 * The specific snippet of code:
 *       emake clean || die;
 * 
 * If you need support, post the output of 'emerge --info =x11-misc/xkeyboard-config-2.1',
 * the complete build log and the output of 'emerge -pqv =x11-misc/xkeyboard-config-2.1'.
 * The complete build log is located at '/var/tmp/portage/x11-misc/xkeyboard-config-2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xkeyboard-config-2.1/temp/environment'.
 * S: '/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-02 19:15:12 UTC
Let's see if the selinux team has any idea about this.
Comment 7 Sven Vermeulen 2011-03-02 19:22:49 UTC
Did the same (clean all distfiles, reemerge) but didn't have any issues:

config.status: executing po/stamp-it commands
***********************************************************
  xkeyboard-config is configured with the following parameters:
    XKB base directory: "/usr/share/X11/xkb"
    Symbolic link(s) to legacy rules: xorg
    Compatibility rules are included
***********************************************************
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1_build"
make -j4 clean 
Making clean in docs
make[1]: Entering directory `/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1_build/docs'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1_build/docs'
Making clean in types
make[1]: Entering directory `/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1_build/types'
test -z "types.dir" || rm -f types.dir
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1_build/types'
Making clean in symbols

If the build fails, can you go in the workdir (/var/tmp/portage/x11-misc/xkeyboard-config-2.1/work/xkeyboard-config-2.1_build and run "make -j4 clean" manually? Is there a Makefile?

I don't think it is a SELinux issue (you can always verify by checking the SELinux audit logs in /var/log/audit.log or /var/log/avc.log, or even just temporarily disable SELinux if it is enabled).
Comment 8 jennifer guo 2011-03-03 16:58:40 UTC
I had exactly the same error during emerge!
I solved it by editing xkeyboard-config-2.1.ebuild
in src_compile() instead of "emake clean || die" -> " xorg-2_src_compile clean
"
The ebuild version on gentoo-portage.com was written in this different way, although I recently synced. Don't know if I did something wrong during installation, or if there was a bug.

Hope if helps..
Comment 9 David 2011-03-03 18:00:43 UTC
thank you very much!