Bug 12982 - xorg-server-1.4-r3 compile dies if net-dialup/dtrace-2.01 is installed on GENTOO
Summary: xorg-server-1.4-r3 compile dies if net-dialup/dtrace-2.01 is installed on GENTOO
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-28 04:24 UTC by Stefan Werner
Modified: 2008-01-29 09:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Stefan Werner 2007-10-28 04:24:27 UTC
If I have net-dialup/dtrace installed (DTRACE traces ISDN messages with AVM ISDN-controllers) from ftp://ftp.avm.de/develper/d3trace/ the compilation of xserver-1.4.0 dies. It looks like it expects solaris dtrace when it finds /usr/bin/dtrace, tries to use it and fails:

[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

---
please also see:
http://bugs.gentoo.org/show_bug.cgi?id=197154
Comment 1 Alan Coopersmith 2008-01-29 09:59:50 UTC
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



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.