Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compile of libdrm 2.4.38 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
olaf12
n00b
n00b


Joined: 07 Jan 2005
Posts: 9

PostPosted: Mon Aug 20, 2012 9:05 am    Post subject: compile of libdrm 2.4.38 failed Reply with quote

Hi all

I have some problems while installing xorg-server 1.12.99.904 from the gentoo repository


libdrm 2.4.38 (on which xorg-server is depending) fails while emerging it see error below
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
make[3]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38_build/tests/vbltest'
CC vbltest.o
CCLD vbltest
vbltest.o: In function `main':
vbltest.c:(.text.startup+0x2ab): undefined reference to `__fdelt_chk'
collect2: ld returned 1 exit status
make[3]: *** [vbltest] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38_build/tests/vbltest'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38_build/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38_build'
make: *** [all] Error 2
* ERROR: x11-libs/libdrm-2.4.38 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.38'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.38'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.38/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.38/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38_build'
* S: '/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38'

>>> Failed to emerge x11-libs/libdrm-2.4.38, Log file:

>>> '/var/tmp/portage/x11-libs/libdrm-2.4.38/temp/build.log'

* Messages for package x11-libs/libdrm-2.4.38:

* ERROR: x11-libs/libdrm-2.4.38 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-libs/libdrm-2.4.38'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/libdrm-2.4.38'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.38/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.38/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38_build'
* S: '/var/tmp/portage/x11-libs/libdrm-2.4.38/work/libdrm-2.4.38'


emerge --info gives the following system settings


Portage 2.1.11.10 (default/linux/x86/10.0, gcc-4.6.3, glibc-2.14.1-r3, 3.4.4-gentoo i686)
=================================================================
System uname: Linux-3.4.4-gentoo-i686-Pentium_III_-Coppermine-with-gentoo-2.1
Timestamp of tree: Mon, 20 Aug 2012 06:15:01 +0000
app-shells/bash: 4.2_p29
dev-lang/python: 2.6.8, 2.7.2-r3, 3.1.4-r3, 3.2.3-r1
dev-util/cmake: 2.8.1-r2
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.10.3
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.6.3-r1, 1.10.2, 1.11.1, 1.12.1
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.1.2, 4.4.5, 4.5.3-r2, 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gcj gdbm gpm iconv ipv6 kde modules mudflap ncurses nls nptl openmp pam pcre pppd qt3 qt4 readline session ssl tcpd unicode x86 zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 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" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


how can i resolve and install successfuly X on the machiche?

Thanks for your help
Back to top
View user's profile Send private message
zappatized
n00b
n00b


Joined: 18 Aug 2012
Posts: 21

PostPosted: Tue Aug 21, 2012 11:24 pm    Post subject: Re: compile of libdrm 2.4.38 failed Reply with quote

I'm not sure if this has bearing on the error, but it seems curious to me:
olaf12 wrote:
ACCEPT_KEYWORDS="x86 ~amd64 ~x86"

I also wonder about this:
olaf12 wrote:
VIDEO_CARDS="vesa"

x11-libs/libdrm-2.4.8 doesn't show a video_card_vesa use flag. If you want to double-check your settings you can use this site: http://kmuto.jp/debian/hcl/
Back to top
View user's profile Send private message
olaf12
n00b
n00b


Joined: 07 Jan 2005
Posts: 9

PostPosted: Wed Aug 22, 2012 12:18 pm    Post subject: Re: compile of libdrm 2.4.38 failed Reply with quote

zappatized wrote:
I'm not sure if this has bearing on the error, but it seems curious to me:
olaf12 wrote:
ACCEPT_KEYWORDS="x86 ~amd64 ~x86"

I also wonder about this:
olaf12 wrote:
VIDEO_CARDS="vesa"

x11-libs/libdrm-2.4.8 doesn't show a video_card_vesa use flag. If you want to double-check your settings you can use this site: http://kmuto.jp/debian/hcl/


Hi thanks for your tipps ~amd64 was in the Make.conf cause i copied the wrong file from the AMD 64 Bit Machine

VIDEO_CARDS is the USE Flag of the xorg-server if im not mistaken
Back to top
View user's profile Send private message
zappatized
n00b
n00b


Joined: 18 Aug 2012
Posts: 21

PostPosted: Wed Aug 22, 2012 1:22 pm    Post subject: Reply with quote

Ok. Post back if it works or you find more problems.
Back to top
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4810

PostPosted: Wed Aug 22, 2012 3:24 pm    Post subject: Re: compile of libdrm 2.4.38 failed Reply with quote

olaf12 wrote:
VIDEO_CARDS is the USE Flag of the xorg-server if im not mistaken

- not quite
- ...and it's rarely the one you'd want to use
Back to top
View user's profile Send private message
olaf12
n00b
n00b


Joined: 07 Jan 2005
Posts: 9

PostPosted: Fri Aug 24, 2012 3:49 pm    Post subject: succeded Reply with quote

Hi all

Now it works

my gcc seemed to be corrupt or whatelse and after remerging it the compile of the lib succeded
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum