Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204639 - x11-drivers/xf86-input-calcomp-1.1.0 fails to build
Summary: x11-drivers/xf86-input-calcomp-1.1.0 fails to build
Status: RESOLVED DUPLICATE of bug 276596
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-06 18:22 UTC by Evil Compile Person
Modified: 2009-07-12 18:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
calcomp dbg patch (calcomp-1.1.0-dbg.patch,517 bytes, patch)
2008-02-21 17:27 UTC, Tomáš Chvátal (RETIRED)
Details | Diff
ebuild using previous patch (xf86-input-calcomp-1.1.0.ebuild,650 bytes, text/plain)
2008-02-21 17:28 UTC, Tomáš Chvátal (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2008-01-06 18:22:54 UTC
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -I/usr/include/xorg -I../src -MT xf86Calcomp.lo -MD -MP -MF .deps/xf86Calcomp.Tpo -c xf86Calcomp.c  -fPIC -DPIC -o .libs/xf86Calcomp.o
xf86Calcomp.c:47:1: warning: "NEED_XF86_TYPES" redefined
In file included from ../config.h:4,
                 from xf86Calcomp.c:37:
/usr/include/xorg/xorg-server.h:69:1: warning: this is the location of the previous definition
xf86Calcomp.c: In function 'CalcompPreInit':
xf86Calcomp.c:682: error: 'TS_Raw' undeclared (first use in this function)
xf86Calcomp.c:682: error: (Each undeclared identifier is reported only once
xf86Calcomp.c:682: error: for each function it appears in.)
xf86Calcomp.c:684: error: 'TS_Scaled' undeclared (first use in this function)
make[2]: *** [xf86Calcomp.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-calcomp-1.1.0/work/xf86-input-calcomp-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-calcomp-1.1.0/work/xf86-input-calcomp-1.1.0'
make: *** [all] Error 2
 *
 * ERROR: x11-drivers/xf86-input-calcomp-1.1.0 failed.

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 04 Jan 2008 18:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl amd64 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-21 17:23:23 UTC
Fastest way in this would be replacing calcomp 1.1.0 by 1.1.1
1.1.0 uses incorrect headers (for new xorg, with older one you should be ok) and it was allready fixed by upstream...
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-21 17:27:30 UTC
Created attachment 144236 [details, diff]
calcomp dbg patch

this fixed it (i guess mainstream did it same way)
PS: about previous post: dont mind about second line :)
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-21 17:28:06 UTC
Created attachment 144237 [details]
ebuild using previous patch

this compiles & runs -> test it
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-07-12 18:58:49 UTC
DUPE and WONTFIX :)

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