Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171480 - authconfig-5.3.5 fails compiling - desktop-file-install?
Summary: authconfig-5.3.5 fails compiling - desktop-file-install?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 21:10 UTC by John Hand
Modified: 2008-01-07 17:44 UTC (History)
0 users

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


Attachments
Ebuild for install authconfig (authconfig-5.3.5.ebuild,1.56 KB, text/plain)
2008-01-07 17:43 UTC, Marcus Fazzi
Details
Correct Makefile.am and Makefile.in (5.3.5-Makefile.patch,1.02 KB, patch)
2008-01-07 17:44 UTC, Marcus Fazzi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Hand 2007-03-19 21:10:18 UTC
I am emerging authconfig-5.3.5, and after a while it fails.


The error seems to be category-for-app based? It is this part that seems central in my opinion:

desktop-file-install --vendor redhat \
		--add-category=X-Red-Hat-Base \
		--add-category=Application \
		--add-category=System \
		--dir=/var/tmp/portage/app-admin/authconfig-5.3.5/image///usr/share/applications \
		authconfig.desktop


An entire build.conf has been pastebinned here:
http://rafb.net/p/bvlngr42.html


It is not only my system, for a person on IRC (sorry, forgot name :/) had the same problem when he tried to reproduce.




Reproducible: Always

Steps to Reproduce:
1.attempt to emerge authconfig-5.3.5
2.should fail as according to mine
3.if not, my system is bodged up

Actual Results:  
See pastebin.

Expected Results:  
Compiled correctly. :-/

## MY "emerge info" ##

nox@localhost /var/tmp/portage/app-admin/authconfig-5.3.5 $ emerge info
--- Invalid atom in /etc/portage/package.keywords: dev-python/pyxf86config-0.3.30
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 19 Mar 2007 15:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/xeffects-experimental /usr/local/layman/voip"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apache2 arts avahi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif glitz gnome gpm gstreamer gtk ha1 hal iconv ipv6 isdnlog jpeg ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




## Yes, I should really fix that pyxf86config thing, but can't be bothered atm ^^ ##
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-19 21:57:10 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity; plus never refer to pastebins for bug descriptions. 

Reopen after you've posted all relevant info here.

Comment 2 Marcus Fazzi 2008-01-07 17:43:18 UTC
Created attachment 140389 [details]
Ebuild for install authconfig

To compile authconfig we need to remove Red Hat desktop references from Makefile.am and Makefile.in.
Use this ebuild and the patch on my next attachment.
Comment 3 Marcus Fazzi 2008-01-07 17:44:18 UTC
Created attachment 140391 [details, diff]
Correct Makefile.am and Makefile.in

Gentoo patch for Makefile.am and Makefile.in