Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128493 - Emerging xaw3d (new package on my system) fails - bad ebuild
Summary: Emerging xaw3d (new package on my system) fails - bad ebuild
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 03:52 UTC by jon R-B
Modified: 2006-04-02 04:59 UTC (History)
1 user (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 jon R-B 2006-04-02 03:52:43 UTC
Fluid jrb # emerge --info
Portage 2.1_pre7-r3 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fforce-addr -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fforce-addr -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/sites/gentoo  ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo  ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://www.mirror.ac.uk/mirror/www.ibiblio.org/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apm avi berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo canvas cdr crypt cups directfb dri dvd dvdread eds emboss encode extensions fbcon firefox flac foomaticdb fortran gdbm geoip gif gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imlib inkjar insecure-savers ipv6 isdnlog java joystick jpeg jpg kqemu ldap libg++ libwww mad mikmod mme mme2 mmx mmx2 mono motif mozsvg mp3 mpeg mplayer msn nautilus ncurses nls nntp nomotif nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pdf pdflib perl pic plotutils plugin png ppds pppd python quicktime readline real samba sdl softmmu spell sse sse2 ssl svg swat tcpd truetype truetype-fonts type1-fonts unicode usb vim-with-x vorbis win32codecs xinerama xml xml2 xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS



OUTPUT from emerging:

Fluid jrb # emerge world -uvD
Calculating world dependencies... done!
>>> Emerging (1 of 3) x11-libs/Xaw3d-1.5-r1 to /
>>> checksums files   ;-) Xaw3d-1.5-r1.ebuild
>>> checksums files   ;-) files/Xaw3d-out-of-tree.diff
>>> checksums files   ;-) files/digest-Xaw3d-1.5-r1
>>> checksums files   ;-) files/Xaw3d-xfree86.diff
>>> checksums src_uri ;-) Xaw3d-1.5.tar.gz
>>> Unpacking source...
>>> Unpacking Xaw3d-1.5.tar.gz to /var/tmp/portage/Xaw3d-1.5-r1/work
 * Applying Xaw3d-xfree86.diff ...                                        [ ok ] * Applying Xaw3d-out-of-tree.diff ...                                    [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/Xaw3d-1.5-r1/work/xc/lib/Xaw3d ...
/usr/portage/x11-libs/Xaw3d/Xaw3d-1.5-r1.ebuild: line 67: xmkmf: command not found

!!! ERROR: x11-libs/Xaw3d-1.5-r1 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  Xaw3d-1.5-r1.ebuild, line 67:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2006-04-02 03:57:33 UTC
Looks like it should depend on:

x11-misc/imake
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 03:58:14 UTC
No, the ebuild is not bad, the virtual/x11-7.0 is.

*** This bug has been marked as a duplicate of 128353 ***

*** This bug has been marked as a duplicate of 128353 ***
Comment 3 jon R-B 2006-04-02 04:38:32 UTC
OK just re-opening this bug since there seems dependancy missing with hte ebuild for  Xaw3D

So far (from the bug that marked this as a dup ??? - not really fully related)

missing deps:


x11-misc/imake-1.0.1-r1 
x11-misc/gccmakedep-1.0.1-r1


imake allows the patching and config to finish, gccmakedep allows the whole thing to compile



request change to ebuild in Xaw3D to remove the  (or statement) || from this and explicitly make the ebuild depend on imake and gccmakedep

as it stand ebuild is:

DEPEND="${RDEPEND}
        >=sys-apps/sed-4
        >=x11-proto/xextproto
         x11-misc/imake
                x11-misc/gccmakedep )
                virtual/x11 )"


and that fails for me (and more then likely others). I have  sys-apps/sed-4.1.4-r1  installed, now from the EBUILD this causes imake,gccmakedep to not get emerged, but that is wrong, since they are required

As it stand SED is suppose to be a "replacement"


I emerge imake and ggcmakedep manually and now Zaw3D emerges without fault






Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 04:47:44 UTC
(In reply to comment #3)
> OK just re-opening this bug since there seems dependancy missing with hte
> ebuild for  Xaw3D
> 
> So far (from the bug that marked this as a dup ??? - not really fully related)

No, there's no missing dependency, read the ebuild more carefully. This is exact dupe of the other bug, don't reopen it. If you want to see correct deps, emerge -C virtual/x11.

*** This bug has been marked as a duplicate of 128353 ***
Comment 5 jon R-B 2006-04-02 04:51:25 UTC
except 
emerge -C virtual/x11

says "nothing to unmerge"  so that cannot be the fix

manually emering imake and gccmakedep DID fix this particular problem
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 04:59:04 UTC
OMG, *read* the ebuild before claiming missing deps.

Reopen with 'grep -Rni "virtual/x11" /etc/portage' output.