Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124572 - emerge of ddccontrol fails on amd64 machine
Summary: emerge of ddccontrol fails on amd64 machine
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 14:54 UTC by Hal Engel
Modified: 2006-03-24 22:47 UTC (History)
2 users (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 Hal Engel 2006-03-01 14:54:10 UTC
When trying to emerge dcccontrol I get the following errors:

In file included from /usr/include/pci/pci.h:14,
                 from ddcpci.h:25,
                 from main.c:35:
/usr/include/pci/types.h:26: error: conflicting types for 'u64'
/usr/include/asm-x86_64/types.h:56: error: previous declaration of 'u64' was here
make[3]: *** [main.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/pci/pci.h:14,
                 from ddcpci.h:25,
                 from nvidia.c:33:
/usr/include/pci/types.h:26: error: conflicting types for 'u64'
/usr/include/asm-x86_64/types.h:56: error: previous declaration of 'u64' was here

-----------------------------

emerge info:


Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.osuosl.org/ http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus doc dvr eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde lcms libwww lzw lzw-tiff mad mng motif mp3 mpeg nas ncurses nls nptl nvidia ogg openal opengl pam pcre pdflib perl pic png ppds python qt quicktime readline scanner sdl smp spell sse3 ssl tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf wxwindows xine xinerama xml xml2 xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2006-03-01 15:12:18 UTC
Interesting. I get these errors:

In file included from /usr/include/pci/pci.h:14,
                 from ddcpci.h:28,
                 from main.c:35:
/usr/include/pci/types.h:37: error: parse error before "pciaddr_t"
In file included from ddcpci.h:28,
                 from main.c:35:
/usr/include/pci/pci.h:81: error: parse error before "u16"

Remarkably is that the ebuild on my system uses this patch:
 * Applying ddccontrol-0.3-u64-conflicting-types.patch ...      

Robbat2: Any ideas?                                                 
Comment 2 Nicolas Boichat 2006-03-05 03:41:50 UTC
Hal: I think you are using ddccontrol-0.3-r1, and not -r2. -r2 should fix this problem.

Danny: Which version of pciutils and linux-headers are you using?
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-03-24 22:47:55 UTC
use a newer version of ddccontrol, this was fixed a while ago.