Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197154 - xorg-server-1.4-r3 compile dies if net-dialup/dtrace-2.01 is installed
Summary: xorg-server-1.4-r3 compile dies if net-dialup/dtrace-2.01 is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2007-10-26 16:02 UTC by Stefan Werner
Modified: 2008-05-09 07:23 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 Stefan Werner 2007-10-26 16:02:18 UTC
I had to remove net-dialup/dtrace in order to get xorg-server compile:

[ebuild     U ] x11-base/xorg-server-1.4-r2 [1.3.0.0] USE="dmx dri hal%* ipv6 nptl sdl xorg -3dfx -debug -kdrive -minimal -xprint" INPUT_DEVICES="aiptek evdev keyboard mouse -acecad -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev nv nvidia radeon vesa -amd% -apm -ark -chips -cirrus -cyrix -dummy -epson -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion% -vga -via -vmware -voodoo -xgi% (-fglrx%)" 0 kB
[...configure...]
checking for dtrace... /usr/bin/dtrace
[...configure...]
[...compile...]
Making all in dix
make[1]: Entering directory `/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/xorg-server-1.4/dix'
/usr/bin/dtrace -C -h -o Xserver-dtrace.h -s ./Xserver.d \
                || cp Xserver-dtrace.h.in Xserver-dtrace.h
unknown option /C
Option /h, supply more characters
¯hilfe®
¯hex®
unknown option /o
unknown option /dtrace.h
unknown option /Xserver.d
make  all-am
[...]
/usr/bin/dtrace -G -C -o dtrace-dix.o -s ../dix/Xserver.d .libs/*.o
make[2]: *** [dtrace-dix.o] Speicherzugriffsfehler
make[2]: *** Warte auf noch nicht beendete Prozesse...
i686-pc-linux-gnu-ar cru .libs/libdix.a .libs/atom.o .libs/colormap.o .libs/cursor.o .libs/devices.o .libs/dispatch.o .libs/dixfonts.o .libs/dixutils.o .libs/events.o .libs/extension.o .libs/ffs.o .libs/gc.o .libs/getevents.o .libs/globals.o .libs/glyphcurs.o .libs/grabs.o .libs/initatoms.o .libs/main.o .libs/pixmap.o .libs/privates.o .libs/property.o .libs/resource.o .libs/swaprep.o .libs/swapreq.o .libs/tables.o .libs/window.o .libs/strcasecmp.o
i686-pc-linux-gnu-ranlib .libs/libdix.a
creating libdix.la
(cd .libs && rm -f libdix.la && ln -s ../libdix.la libdix.la)
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/xorg-server-1.4/dix'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/xorg-server-1.4/dix'
make: *** [all-recursive] Fehler 1

Reproducible: Always

Steps to Reproduce:
1. emerge net-dialup/dtrace-2.01
2. emerge x11-base/xorg-server-1.4-r3

Actual Results:  
compile error

Expected Results:  
should compile

removing dtrace solves the problem
Comment 1 Chad A. Simmons 2007-10-26 18:32:03 UTC
looks like Xorg is expecting Solaris dtrace instead of this other app that has the same name.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-28 07:54:09 UTC
Haha, that's just awesome.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-28 07:57:22 UTC
Please file an upstream bug at bugs.freedesktop.org in the xorg product, and post the URL here so we can track it. Once it's fixed upstream, please reopen this bug for inclusion of the fix into Gentoo.
Comment 4 Stefan Werner 2007-10-28 11:29:31 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=12982

I think there sould be a block for dtrace in the meantime to care for the rare case where a user has it installed.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-29 06:50:08 UTC
Done.
Comment 6 Stefan Werner 2008-01-30 13:56:38 UTC
looks like it was fixed upstream some time ago:


  ------- Comment  #1 From Alan Coopersmith  2008-01-29 09:59:50 PST  -------

This should be fixed in git master by this commit:

commit 4fc288a13f825db942c9dcd64f4abd0265652faf
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Dec 7 17:28:37 2007 -0800

    Check for <sys/sdt.h> as well when determining to enable dtrace probes

    Avoids auto-detecting dtrace is present on systems with the ISDN trace tool
    named dtrace installed, but not the dynamic tracing facility named dtrace

Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2008-05-07 03:58:09 UTC
I've got a local copy of the upstream git 1.4 branch with this patch in it. I'll see if I can get it merged upstream.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2008-05-09 07:23:30 UTC
Fixed in xorg-server-1.4.0.90-r4, which I expect to rekeyword as soon as a few last patches find their way in.