Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52087 - kxmleditor-1.0.0 fails when using unsermake
Summary: kxmleditor-1.0.0 fails when using unsermake
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 06:11 UTC by Adam Bolte
Modified: 2004-08-05 19:29 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 Adam Bolte 2004-05-26 06:11:11 UTC
When unsermake is configured (due to the UNSERMAKE environment setting being detected), the ebuild attempts to use it. Unfortunately (as used to be the case with a lot of KDE ebuilds), this ebuild will proceed to die as soon as 'configure' is completed.

Unsetting the UNSERMAKE environment value corrects the problem, but this shouldn't be happening.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge unsermake
2. set UNSERMAKE="/usr/kde/unsermake/unsermake" in say /etc/env.d/02unsermake
3. env-update && source /etc/profile
4. emerge -u kxmleditor

Actual Results:  
The ebuild *appeared* to successfully run 'configure', but failed to start 'make'.

Expected Results:  
kxmleditor should have completed installation.

Some of the older kde ebuilds had this same problem, so check them out for a
hint to get around the issue. We should look at supporting unsermake, since it
has an official (but so far masked) ebuild now.
Comment 1 Adam Bolte 2004-05-26 06:15:21 UTC
I forgot to include (in case it's necessary):

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://planetmirror.com/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo ftp://ftp.vic.keypoint.com.au http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi alsa apm arts avi berkdb bonobo cdr cjk crypt cscope cups curl dedicated dga directfb doc dvb dvd dvdr emacs encode esd ethereal evo fbcon flash foomaticdb gb gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib jack java jikes joystick jpeg junit kde ladcca lcms leim libg++ libgda libwww mad matroska mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nls nocd odbc oggvorbis opengl oss pam pda pdas pdflib perl plotutils png ppds prelude python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp speex spell ssl svga tcltk tcpd tetex theora tiff truetype unicode usb video_cards_radeon videos wmf wxwindows x86 xinerama xml xml2 xmms xosd xv xvid yahoo zeo zlib"
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-05-26 08:18:00 UTC
what's the exact error?  Maybe it's just something not yet compatible with unsermake.
Comment 3 Adam Bolte 2004-05-26 08:57:55 UTC
It should be compatible, since when the ebuild begins to install it states:

root@werewolf abolte # emerge kxmleditor
Calculating dependencies ...done!
>>> emerge (1 of 1) app-editors/kxmleditor-1.0.0 to /
>>> md5 src_uri ;-) kxmleditor-1.0.0.tar.gz
>>> Unpacking source...
>>> Unpacking kxmleditor-1.0.0.tar.gz to /var/tmp/portage/kxmleditor-1.0.0/work
>>> Source unpacked.
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
*** YOU'RE USING UNSERMAKE.
*** GOOD LUCK!! :)
*** Creating acinclude.m4
*** Creating list of subdirectories


Eventually, it ends with:

fast creating part/pics/Makefile.rules
fast creating po/Makefile
fast creating po/Makefile.rules
fast creating MakeVars
config.status: creating config.h
config.status: executing default-1 commands
 
Good - your configure finished. Start make now
 
Makefile:17: *** missing separator.  Stop.
 
!!! ERROR: app-editors/kxmleditor-1.0.0 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make


I remember I used to see the same problem (it died at the same place) with KDE packages (such as kdeadmin) when using unsermake - before unsermake was officially an ebuild. Those packages are all fixed now - that's why I'm confident it's a problem with the kxmleditor ebuild, or at least there is a workaround.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-05-26 09:00:09 UTC
The kxmleditor package just needs to use a newer set of build scripts.  The fact that it's complaining about "head -1" shows that it's a pretty old package.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-08-05 19:29:29 UTC
won't fix here - if the upstream authors release a new package that fixes the problem then maybe we can get it in.