<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>154075</bug_id>
          
          <creation_ts>2006-11-04 14:55 0000</creation_ts>
          <short_desc>x11-drivers/xf86-input-evdev-1.1.4 uses undefined function xf86OSRingBell</short_desc>
          <delta_ts>2006-12-18 02:53:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>marienz@gentoo.org</reporter>
          <assigned_to>x11@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2006-11-04 14:55:02 0000</bug_when>
            <thetext>If I use xf86-input-evdev-1.1.4 as my keyboard driver and do something that triggers the bell (&quot;emerge beep &amp;&amp; beep&quot; works as a testcase) my X server crashes. As far as I can tell that is because evdev_key.c calls:

  xf86OSRingBell(percent, ctrl-&gt;bell_pitch, ctrl-&gt;bell_duration);

which does not exist yet:
evdev_key.c:245: warning: implicit declaration of function &apos;xf86OSRingBell&apos;

Commenting out that line stops the crash.

It looks like it was added to the server three days ago:

http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=81728558a044fdde0e1d63da7b6314755f77296e

and my xorg-server is definitely older than that :)

Portage 2.1.2_rc1-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1-m1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1-m1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.6
Last Sync: Unknown
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-ggdb -O2 -march=athlon-xp -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config&quot;                                     CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c&quot;               CXXFLAGS=&quot;-ggdb -O2 -march=athlon-xp -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig candy collision-protect cvs metadata-transfer sandbox sfper
ms sign splitdebug strict stricter test userpriv usersandbox verify-rdepend&quot;    GENTOO_MIRRORS=&quot;http://ftp.easynet.nl/mirror/gentoo/&quot;
LANG=&quot;en_US.UTF-8&quot;
PKGDIR=&quot;/var/tmp/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;                                   PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/var/cvsco/gentoo-x86&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage/mzbot-overlay /usr/local/portage/twisted-div
mod-overlay /usr/local/portage/setuptools-overlay /usr/local/portage/private /usr/local/portage/bzr-overlay /usr/local/portage/pyatlantic-overlay&quot;              SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowex 3dnowext X a52 aac alsa ansi apache2 bonobo browserplugin
 bzip2 cairo canvas ccache cdr crypt cups dbus dri elibc_glibc emacs faad fbcon firefox flac gif glibc-omitfp glitz glut gmp gnome gpgme gstreamer gstreamer010 gtk gzip-el hal imap input_devices_evdev javascript jit jpeg kdeenablefinal kdehiddenvisibility kernel_linux kqemu libcaca libnotify mad maildir md5sum mmx mmx2 mmxext mng mozdevelop moznocompose moznoirc moznomail mozsvg mpeg musepack nautilus ncurses nethack network new-login nls nntp no-helpbrowser no-old-linux nonfsv4 nptl nptlonly nsplugin numeric offensive ogg oggvorbis opengl pam pdf png preview-latex python qemu-fast quicktime readline real rtc softmmu spell splash sqlite sse ssl startup-notification svg symlink test tetex theora toolkit-scroll-bars truetype truetype-fonts unicode userland_GNU userlocales video_cards_radeon vorbis win32codecs wxwindows xcomposite xinerama xml2 xorg xv zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MA
KEOPTS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joshuabaergen@gentoo.org</who>
            <bug_when>2006-11-04 15:43:55 0000</bug_when>
            <thetext>Thanks for finding this - I&apos;ve alerted upstream about the issue.

I&apos;ll look at putting a temporary solution into the tree, since this is quite a simple fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>VValdo@gmail.com</who>
            <bug_when>2006-11-04 15:57:40 0000</bug_when>
            <thetext>I had this problem as well.  Thanks for finding the solution... 

Interestingly, backing off to evdev-1.1.2-r2 failed with a &quot;SendCoreEvents&quot; and &quot;DontSendCoreEvents&quot; as well.

So I&apos;m evdevless until this gets fixed.

W</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>VValdo@gmail.com</who>
            <bug_when>2006-11-04 15:59:41 0000</bug_when>
            <thetext>whoops I shoulda been more specific about my problem rolling back to 1.1.2-r2

evdev.c line 235 has those functions undeclared (in function EvDevSwitchMode)

Dunno why this previously stable package is suddenly crashing for me.  Anyway if this package gets fixed in 1.1.4 it shouldn&apos;t be an issue for me.

W</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joshuabaergen@gentoo.org</who>
            <bug_when>2006-11-04 16:25:38 0000</bug_when>
            <thetext>Created an attachment (id=101251)
1.1.4-fix_compatibility.patch

Please give this patch a whirl.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joshuabaergen@gentoo.org</who>
            <bug_when>2006-11-04 16:27:50 0000</bug_when>
            <thetext>Note that this patch is a bit of a hack - hopefully upstream will have something better soon.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marienz@gentoo.org</who>
            <bug_when>2006-11-05 06:10:34 0000</bug_when>
            <thetext>Patch seems to work fine (no crashing).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joshuabaergen@gentoo.org</who>
            <bug_when>2006-11-05 08:32:30 0000</bug_when>
            <thetext>Alright.

I&apos;ve put it in the tree as 1.1.4-r1.  I&apos;m pretty confident it&apos;ll hold the fort until upstream provides a new version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>VValdo@gmail.com</who>
            <bug_when>2006-12-18 02:53:48 0000</bug_when>
            <thetext>This bug seems to still exist in 1.1.5

evdev_key.c: In function &apos;EvdevKbdBell&apos;:
evdev_key.c:245: warning: implicit declaration of function &apos;xf86OSRingBell&apos;

I can&apos;t reopen this bug, so I&apos;ll create a new one.

W
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>101251</attachid>
            <date>2006-11-04 16:25 0000</date>
            <desc>1.1.4-fix_compatibility.patch</desc>
            <filename>1.1.4-fix_compatibility.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9ldmRldl9rZXkuYy5vbGQJMjAwNi0xMS0wNCAxNzowMTo1Ny4wMDAwMDAwMDAgLTA3
MDAKKysrIHNyYy9ldmRldl9rZXkuYwkyMDA2LTExLTA0IDE3OjA1OjI4LjAwMDAwMDAwMCAtMDcw
MApAQCAtMjQwLDkgKzI0MCwxMSBAQAogc3RhdGljIHZvaWQKIEV2ZGV2S2JkQmVsbCAoaW50IHBl
cmNlbnQsIERldmljZUludFB0ciBkZXZpY2UsIHBvaW50ZXIgYXJnLCBpbnQgdW51c2VkKQogewor
I2lmZGVmIHhmODZPU1JpbmdCZWxsCiAgICAgS2V5YmRDdHJsICpjdHJsID0gYXJnOwogCiAgICAg
eGY4Nk9TUmluZ0JlbGwocGVyY2VudCwgY3RybC0+YmVsbF9waXRjaCwgY3RybC0+YmVsbF9kdXJh
dGlvbik7CisjZW5kaWYKIH0KIAogc3RhdGljIHZvaWQK
</data>        

          </attachment>
    </bug>

</bugzilla>