Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546830 - x11-drivers/xf86-video-chips-1.2.5-r1: error: 'struct <anonymous>' has no member named 'textClockFreq'
Summary: x11-drivers/xf86-video-chips-1.2.5-r1: error: 'struct <anonymous>' has no mem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 378027
  Show dependency tree
 
Reported: 2015-04-16 18:35 UTC by Fernando (likewhoa)
Modified: 2015-09-26 16:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,24.01 KB, text/x-log)
2015-04-16 18:36 UTC, Fernando (likewhoa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando (likewhoa) 2015-04-16 18:35:08 UTC
similar issue with other x11-drivers

Reproducible: Always

Steps to Reproduce:
1. emerge =x11-drivers/xf86-video-chips-1.2.5-r1 
Actual Results:  
/bin/sh ../libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm   -DCHIPS_MMIO -DCHIPS_HIQV -O2 -march=i686 -pipe -c -o libct_accelhi_la-ct_accel.lo `test -f 'ct_accel.c' || echo '/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/'`ct_accel.c
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c: In function 'chipsPreInitHiQV':
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:2101:27: error: 'struct <anonymous>' has no member named 'textClockFreq'
     if (cPtr->pEnt->device->textClockFreq > 0) {
                           ^
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:2102:37: error: 'struct <anonymous>' has no member named 'textClockFreq'
  SaveClk->Clock = cPtr->pEnt->device->textClockFreq;
                                     ^
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c: In function 'chipsPreInitWingine':
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:2666:12: warning: assignment discards 'const' qualifier from pointer target type
     if ((s = xf86GetOptValString(cPtr->Options, OPTION_ROTATE))
            ^
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:2810:23: error: 'struct <anonymous>' has no member named 'textClockFreq'
  if(cPtr->pEnt->device->textClockFreq > 0) {
                       ^
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:2811:41: error: 'struct <anonymous>' has no member named 'textClockFreq'
      SaveClk->Clock = cPtr->pEnt->device->textClockFreq;
                                         ^
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c: In function 'chipsPreInit655xx':
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:3169:12: warning: assignment discards 'const' qualifier from pointer target type
     if ((s = xf86GetOptValString(cPtr->Options, OPTION_ROTATE))
            ^
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:3503:24: error: 'struct <anonymous>' has no member named 'textClockFreq'
  if (cPtr->pEnt->device->textClockFreq > 0) {
                        ^
/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_driver.c:3504:41: error: 'struct <anonymous>' has no member named 'textClockFreq'
      SaveClk->Clock = cPtr->pEnt->device->textClockFreq;
                                         ^
libtool: compile:  i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -DCHIPS_MMIO -DCHIPS_HIQV -O2 -march=i686 -pipe -c /var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_accel.c  -fPIC -DPIC -o .libs/libct_accelhi_la-ct_accel.o
libtool: compile:  i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -DCHIPS_MMIO -O2 -march=i686 -pipe -c /var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5/src/ct_accel.c  -fPIC -DPIC -o .libs/libct_accelmm_la-ct_accel.o
Makefile:450: recipe for target 'ct_driver.lo' failed
make[2]: *** [ct_driver.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5_build/src'
Makefile:349: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-chips-1.2.5-r1/work/xf86-video-chips-1.2.5_build'
Makefile:280: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-chips-1.2.5-r1::gentoo failed (compile phase):



Portage 2.2.18 (python 3.3.5-final-0, default/linux/x86/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 3.17.7-gentoo i686)
=================================================================
System uname: Linux-3.17.7-gentoo-i686-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-gentoo-2.2
KiB Mem:    28830932 total,   4193000 free
KiB Swap:    1048572 total,   1011576 free
Timestamp of repository gentoo: Tue, 14 Apr 2015 17:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
distcc 3.2rc1 i686-pc-linux-gnu [disabled]
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.1-r1::gentoo
dev-util/cmake:           3.2.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac accessibility acl acpi alsa atm avahi berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode exif fam fbcondecor firefox flac fortran gdbm gif glamor gnome gnome-keyring gpm gtk iconv ipv6 jpeg kde lcms ldap libav libnotify livecd loop-aes mad mmx mng modules mpeg nautilus ncurses nls nouveau nptl ogg opengl openmp pam pango pcre pdf png policykit portaudio ppds qt3support qt4 readline sdl semantic-desktop session socks5 spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vdpau vino vorbis wxwidgets x86 xcb xml xv zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="af ar as ast az be bg bn bo br brx bs ca ca@valencia ca_XV cs csb cy da de dgo dz el en en_GB en_ZA eo es et eu fa fi fo fr fy ga gd gl gu gu_IN ha he hi hr hsb hu ia id is it ja ka kk km kn kn_IN ko kok ks ku lb lo lt lv mai mi mk ml mn mni mr ms mt my nb nds ne nl nn nr nso oc om or pa pa_IN pl pt pt_BR ro ru rw sa_IN sat sd se sh si sk sl sq sr ss st sv sw sw_TZ ta ta_IN te tg th tn tr ts tt ug uk uz ve ven vi wa xh zh_CN zh_HK zh_TW zu" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="i915 i965 r100 r200 r300 r600 qxl virtualbox nouveau glint intel mga nv radeon trident vesa via vmware ast i740 imstt tseng v4l vermilion" XFCE_PLUGINS="menu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Fernando (likewhoa) 2015-04-16 18:36:44 UTC
Created attachment 401386 [details]
build.log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-09-24 15:10:01 UTC
re-assigning to correct maintainer.

This particular issue may be fixed by
http://cgit.freedesktop.org/xorg/driver/xf86-video-chips/commit/?id=9187d76bd4f8d500fc3403b6d4a7bef55508bf2b
but there are potentially more patches which need to be applied for a successful build.
Comment 3 Fernando (likewhoa) 2015-09-25 16:19:16 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #2)
> re-assigning to correct maintainer.
> 
> This particular issue may be fixed by
> http://cgit.freedesktop.org/xorg/driver/xf86-video-chips/commit/
> ?id=9187d76bd4f8d500fc3403b6d4a7bef55508bf2b
> but there are potentially more patches which need to be applied for a
> successful build.

Above patch failed to apply.
Comment 4 Matt Turner gentoo-dev 2015-09-26 16:41:55 UTC
Version bumped to 1.2.6 (straight to stable), which now compiles.