Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[ SOLVED ] xorg-server fails to compile >> lots of warnings

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
18 posts • Page 1 of 1
Author
Message
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

[ SOLVED ] xorg-server fails to compile >> lots of war

  • Quote

Post by Thistled » Sun Jun 17, 2012 2:09 pm

Hey team, this is a weird one. I rebuilt my world the other night, and portage has borked on about 20 or so packages out of 1790 odd.
One of those packages is xorg-server-1-11.4-r1
The thing is, I am seeing a lot of warnings during compile time.
Therefore I know failure is imminent.

Code: Select all

warning: redundant redeclaration of 'foo' 
and

Code: Select all

note: previous declaration of ‘foo’ was here
I am seeing these warnings on nearly every line.
It always fails at Xephyr.

Code: Select all

/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4/hw/kdrive/ephyr/ephyrinit.c:111:1: warning: function might be possible candidate for attribute ‘noreturn’
  CCLD     libxephyr-hostdri.la
  CCLD     libxephyr.la
  CCLD     Xephyr
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIQueryVersion':
XF86dri.c:(.text+0x175): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIQueryDirectRenderingCapable':
XF86dri.c:(.text+0x295): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIOpenConnection':
XF86dri.c:(.text+0x3b6): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIAuthConnection':
XF86dri.c:(.text+0x525): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRICloseConnection':
XF86dri.c:(.text+0x646): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o):XF86dri.c:(.text+0x716): more undefined references to `_XGetRequest' follow
collect2: ld returned 1 exit status
make[4]: *** [Xephyr] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4_build/hw/kdrive/ephyr'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4_build/hw/kdrive/ephyr'
make[2]: *** [all-recursive] Error 1
Initially I thought it might have had something to do with the system re-emerging and older kernel (3.1.*) and building the system against that, but I am not sure if it is that.
I have downgraded my GCC to stable versions and rebuilt glibc against those to see if that makes any difference. No change.
I have now spent the best part of 2 days trying to nail this and I am out of ideas.

Webkit-gtk fails with:

Code: Select all

/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_rec_mutex_lock'
/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_rec_mutex_unlock'
/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_private_replace'
/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_private_get'
collect2: ld returned 1 exit status
make: *** [Programs/ImageDiff] Error 1
make: *** Waiting for unfinished jobs....
 [31;01m*[0m ERROR: net-libs/webkit-gtk-1.8.1-r201 failed (compile phase):
Evolution data server fails with

Code: Select all

Failed Running automake !
Gnome-contacts fails with....

Code: Select all

contacts-utils.c: In function ‘contacts_utils_start_call’:
contacts-utils.c:257:9: warning: assignment from incompatible pointer type
  CCLD   gnome-contacts
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgnome-desktop-3.so: undefined reference to `g_mutex_lock'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libedataserver-1.2.so: undefined reference to `g_cond_free'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgoa-1.0.so: undefined reference to `g_main_context_ref_thread_default'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgnome-desktop-3.so: undefined reference to `g_mutex_unlock'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libedataserver-1.2.so: undefined reference to `g_cond_broadcast'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgoa-1.0.so: undefined reference to `g_dbus_interface_skeleton_get_connections'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgnome-desktop-3.so: undefined reference to `g_mutex_free'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libedataserver-1.2.so: undefined reference to `g_cond_new'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `g_mutex_trylock'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libedataserver-1.2.so: undefined reference to `g_cond_timed_wait'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgoa-1.0.so: undefined reference to `g_mutex_init'
/usr/lib/libORBit-2.so.0: undefined reference to `g_private_new'
/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_rec_mutex_unlock'
/usr/lib/libORBit-2.so.0: undefined reference to `g_private_set'
/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_private_replace'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgoa-1.0.so: undefined reference to `g_mutex_clear'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libcamel-1.2.so: undefined reference to `g_thread_create'
/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_rec_mutex_lock'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libedataserver-1.2.so: undefined reference to `g_cond_wait'
/usr/lib/libgmodule-2.0.so.0: undefined reference to `g_private_get'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libcamel-1.2.so: undefined reference to `g_cond_signal'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libgnome-desktop-3.so: undefined reference to `g_mutex_new'
collect2: ld returned 1 exit status
make[2]: *** [gnome-contacts] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-contacts-3.2.2/work/gnome-contacts-3.2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-contacts-3.2.2/work/gnome-contacts-3.2.2'
Man, I'm ranting. This post is with regards to Xorg-server, I am posting some of the other errors to see if you guys can see a link.
I'm not seeing it this time.

emerge --info below.

Code: Select all

pig ~ # emerge --info '=x11-base/xorg-server-1.11.4-r1'
Portage 2.1.10.65 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.1
Timestamp of tree: Sat, 16 Jun 2012 23:00:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
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.9.6-r3, 1.10.3, 1.11.5, 1.12.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo gamerlay-stable spring zugaina sunrise OVERLAY-pigs_overlay
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 dlj-1.1 Oracle-BCLA-JavaSE PUEL ut2003"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/Spring /var/lib/layman/zugaina /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://pig2/gentoo-portage"
USE="X X509 a52 aac acl acpi additions alsa animation-rtl antialiasing apache2 applet archive artworkextra autoipd berkdb binary-drivers bluetooth bonobo branding bzip2 cairo caps cdaudio cdda cdio cdr cdrkit cdrom cdrtools cg cifs cleartype cli client clutter colord consolekit cracklib crypt cups curl curlwrappers cursors cxx dbase dbus dconf desktop-effects device-mapper dga dns dri dso dts dv dvb dvbpsi dvd dvdnav dvdr dvdread eds effects emboss encode equalizer evo exif extraicons extras fallback fam fat fat16 fbcondecor fbosd fbsplash ffmpeg fftw firefox fits flac flash fltk flv fontconfig foomaticdb fortran ftp fuse g3dvl games gcj gconf gd gdbm gdm gdu gedit geoloc gif git gjs glade glib glitz glx gmedia gnome gnome-dvb-daemon gnome-keyring gnome-online-accounts gnome-print gnome-shell gnomecanvas gnomecd gnutls gphoto2 gpib gpm gps graphviz grub gstreamer gtk gtk3 gtkhtml gtkstyle gudev h224 hardware hddtemp help-screen hibernate-script hidd howl-compat hpn htsp http httpd i2c icc icons iconv id3 id3tag idn ieee1394 imagemagick imap inotify introspection ipc iplayer iptables ipv6 ivman jack java java6 javascript jit jpeg jpeg2k json kdrive kerberos keymap lame laptop lastfm lastfmradio lcms ldap libburn libgda libmpeg2 libnotify libsamplerate libsexy libsoup libv4l2 libvisual lm_sensors logrotate lzo mad mailwrapper mbox mdnsresponder-compat metadata mime mms mmx mmxext mng modplug modules mono mozilla mp2 mp3 mp4 mpd mpeg mpg123 mplayer msn mudflap nautilus ncurses net network networking networkmanager new-login nfs nfsv3 nfsv4 nls nptl nsplugin nss ntfs ntp nvcontrol nvram objc offensive ogg openal opengl openmp openstreetmap optimization osc oss outputs overlays pam pango parted pcre pdf perl pipechan pixmaps player playlist plugins pm-utils pmu png policykit ppds pppd previewer pulseaudio pvr pyqt4 python python-daap quicktime quvi raw readline rss rsync rtsp sasl scrobbler sctp sdl search-screen sendto server session sftp shaders sharedext sharedmem shm shmvideo shotwell showtabbar sid sip slideshow slp smi smp smtp sndfile snmp socialweb sockets sound spell splash sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg swf symlink syslog sysvipc taglib tcpd tdb teletext terminal tetex themes theora tiff tk toolbar tools tordns totem tracker transcode truetype tvheadend twisted twolame type3 udev udev-acl udisks underscores unicode unsupported upnp upower usb userpriv v4l v4l2 v8 vaapi vala vdpau vfat vga vhook video videos virtualbox vnc vorbis wav wavpack weather webdav webgl win32codecs wma wmf wmp wxwidgets x264 x86 x86emu xattr xcb xcomposite xcursors xf86 xine xml xorg xosd xpm xrandr xrender xulrunner xv xvid xvmc youtube yv12 zlib" ALSA_CARDS="emu10k1 hda-intel" 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="auth_digest authn_file authz_groupfile authz_host dav dav_fs dir mime status" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="plymouth" DVB_CARDS="usb-dtt200u usb-wt220u" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

x11-base/xorg-server-1.11.4-r1 was built with the following:
USE="ipv6 kdrive nptl udev xorg -dmx -doc -minimal (-selinux) -static-libs -tslib -xnest -xvfb"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"
Last edited by Thistled on Fri Jun 29, 2012 6:46 pm, edited 1 time in total.
Whatever you do, do it properly!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Jun 17, 2012 3:05 pm

Thistled,

The common theme is

Code: Select all

ld returned 1 exit status
The linker does not like you, or rather its unable to resolve some symbols at link time.
Your LDFLAGS seem sane.

Run

Code: Select all

lafilefixer --justfixit
which you may need to emerge.

Also some Xorg related things don't like to emerge unless

Code: Select all

eselect opengl 
is set to the defualt xorg-x11.
It shouldn't matter and I can't reproduce it reliably, so its worth a try.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Sun Jun 17, 2012 3:35 pm

Many thanks Neddy.

But no luck. I ran lafilefixer and all files were up to date.
Xorg-server mesa evolution-data-server all fail to compile.
I am still getting the ld returned 1 exit status error.

I think I will now attempt to rebuild the system and take it from there.

Thanks for your help.

EDIT:
The last time I built the system I used the command

Code: Select all

emerge -e system
Which I noticed pulled in around 300 packages.
This time I have run

Code: Select all

emerge -e --deep system
and it is pulling in nearly 600 packages.
A lesson learned perhaps?
It might transpire my current problem is because I have only rebuilt half the system packages. (But I would have thought rebuilding world afterwards would have picked up on this)
I should know by around midnight tonight hopefully.
Whatever you do, do it properly!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Jun 17, 2012 4:13 pm

Thistled,

Code: Select all

emerge -e system
can build a lot of non system things too as you get -uDN for free.
If you have the doc USE flag set, a large part of Xorg, doxygen and so on will get pulled in.

Try

Code: Select all

cd /usr/portage
scripts/bootstrap.sh
gcc-config -l (choose the newest gcc if required)
emerge -e world
Do not interrupt scripts/bootstrap.sh as its not resumable.
That rebulds your toolchain, lets you select your newest gcc, if its not already selected, then rebuilds your entire system.

Homework - what was scripts/bootstrap.sh origninally provided for?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Sun Jun 17, 2012 8:20 pm

I presume it's a script to ensure the toolchain is sane. Or at least the bare bones are installed in order to compile a sane toolchain?

EDIT:
bootstrap.sh interrupted itself and started complaining about /usr/lib and /usr/lib32

God knows why there is a lib32 and /usr/lib32 on my system. I would have thought that was only needed if I was 64bit and was running 32bit apps within such an environment.
I have moved /usr/lib32 to /usr/lib32.bak and ran the bootstrap again.

It seems to have resumed from where it interrupted itself.
Currently compiling GCC-4.5.3 (the last package)

Fingers crossed.
Whatever you do, do it properly!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Jun 17, 2012 8:54 pm

Thistled,

In the old days bootstrap.sh was called stage1.

It was (still is) used to build the toolchain that you then use to build everthing else.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Mon Jun 18, 2012 1:14 am

Hello NeddySeagoon

So I am currently implementing

Code: Select all

emerge -e world
and portage has failed at x11-libs-libsexy
with the same message I experienced with the OP (albeit with evolution-data-server)

Code: Select all

Failed Running automake !
I have the following versions of automake installed:
1.9.6-r3
1.10.3
1.11.
and automake.out says

Code: Select all

***** automake *****
***** PWD: /var/tmp/portage/x11-libs/libsexy-0.1.11-r3/work/libsexy-0.1.11
***** automake --add-missing --copy

gtk-doc.make:55: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:78:   `gtk-doc.make' included from here
gtk-doc.make:60: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:78:   `gtk-doc.make' included from here
Whatever you do, do it properly!
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Mon Jun 18, 2012 2:22 pm

IGNORE THE ABOVE POST
I have removed libsexy and libsexymm from my system.
I have also removed ( to .bak) /lib32 and /usr/lib32 (again :roll: ) as baselayout complains about this.
At least now I am past the "libsexy" part which was stopping portage and preventing me from rebuilding my system any further.
Currently at 400 packages out of 1752.
Fingers crossed. (Again). :wink:
Nice weather in Scotland today isn't it Neddy?
Especially after all that drizzle over the weekend.
Whatever you do, do it properly!
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Mon Jun 18, 2012 7:46 pm

Stop the bus!
Busted again with 900 odd packages to go.
Portage is failing on a package which doesn't seem to be in my eix databse. :?
The package in question is...

Code: Select all

app-arch/lha-114i-r7

Code: Select all

eix lha-114i
No matches found.
It fails right at the beginning of the build with the following error.

Code: Select all

* Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-arch/lha-114i-r7/temp/aclocal.out
 * ERROR: app-arch/lha-114i-r7 failed (prepare phase):
 *   Failed Running aclocal !
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 2750:  Called eautoreconf
 *   environment, line  770:  Called eaclocal
 *   environment, line  677:  Called autotools_run_tool '--at-m4flags' 'aclocal'
 *   environment, line  547:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
In all the years I have been using portage, I have never encountered a "Failed Running aclocal" error.
The contents of aclocal.out....

Code: Select all

***** aclocal *****
***** PWD: /var/tmp/portage/app-arch/lha-114i-r7/work/lha-1.14i-ac20050924p1
***** aclocal

/usr/share/aclocal/gtkglextmm-1.2.m4:225: warning: underquoted definition of AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   run info Automake 'Extending aclocal'
/usr/share/aclocal/gtkglextmm-1.2.m4:225:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:17: error: automatic de-ANSI-fication support has been removed
/usr/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded from...
configure.ac:17: the top level
autom4te-2.68: /usr/bin/m4 failed with exit status: 1
aclocal-1.12: error: autom4te failed with exit status: 1
gtkglextmm and gtkglext were built as part of the world this afternoon
I am a little confused with the "configure.ac:17: error: automatic de-ANSI-fication support has been removed" part above.
Can anyone explain what this is trying to tell me?
Whatever you do, do it properly!
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Mon Jun 18, 2012 9:02 pm

I've removed the offending package, and resumed the emerge.
I can't see any reason to have lha installed, and I am not aware of any lzh file archive on my system.
I'll start crying in public if it comes back to bite.
842 to go, and counting.
Whatever you do, do it properly!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Jun 18, 2012 9:25 pm

Thistled wrote:Nice weather in Scotland today isn't it Neddy?
Especially after all that drizzle over the weekend.
Yep. Unfortunately, I've been at work.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Mon Jun 18, 2012 11:48 pm

Yeah but it is nice to look out of the window and see some sunbeams for a change. lol.
emerge borked at sys-power/suspend, and in order to fix it I had to recompile with -crypt USE flag.

BTW, now that I seem to be fixing problematic packages by adjusting USE flags "along the way", should I rebuild my world (again)
when portage eventually finishes the world build?
Whatever you do, do it properly!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Jun 19, 2012 6:05 pm

Thistled,

If you generally need the USE flags you have been changing except for a small number of packages, you can (and should) set per package USE flags in /etc/portage/package.use
You may want to populate that file, so portage is aware of the settings.

You should also search bugzilla and maybe pst bugs with what doesn't work. Then the devs will look at it.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Tue Jun 19, 2012 8:16 pm

Thanks for that Neddy.

I generally set USE flags on a per package basis anyway, and tend not to do so globally.
I have a well populated package.use file just now. :)
I can't figure out why suddenly sys-power/suspend should be built -crypt, in saying that, I don't even know why it needs /needed to be built with it.
Awakening encrypted partitions perhaps? :roll:
Anyways, I am stuck with 287 packages to go as I have been hit with a webkit-gtk / automake bug.

https://bugs.gentoo.org/show_bug.cgi?id=420591
Just about to try my hand at applying a patch in a local overlay to see if I can finish this mother of an emerge.
Whatever you do, do it properly!
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Tue Jun 19, 2012 10:25 pm

Okay so the local overlay webkit-gtk failed. Problem at my end. I have other ebuilds in my local overlay and portage sees them, but not the webkits. Never mind.

It seems the temp solution is to remove automake-1.12
http://forums.gentoo.org/viewtopic-p-7060762.html
Then re-emerge it when the "Failed automake" packages successfully build.

Still trudging along with emerge -e world.
The thing is, I am currently doing some decorating at home, and all the breakages seem to fail as soon as I leave the room, or as soon as I go to bed.
I don't wan't to use the --keep-going flag as I want to see what is breaking and implement the resolution immediately, after all, I am trying to build "world", and
get it right.
It's almost as if portage knows when I am going to be out of the room for a period, so borks on me. :x
120 and counting...... :?
Whatever you do, do it properly!
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Wed Jun 20, 2012 7:55 pm

Completely stuck now.

Being hampered by the following when trying to compile xorg-server.

Code: Select all

x11-base/xorg-server-1.11.4-r1

/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4/hw/kdrive/ephyr/os.c:42:9: warning: passing argument 1 of 'processScreenArg' discards qualifiers from pointer target type
/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4/hw/kdrive/ephyr/os.c:31:13: note: expected 'char *' but argument is of type 'const char *'
  CCLD   libxephyr-hostdri.la
  CCLD   libxephyr.la
  CCLD   Xephyr
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIQueryVersion':
XF86dri.c:(.text+0x175): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIQueryDirectRenderingCapable':
XF86dri.c:(.text+0x295): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIOpenConnection':
XF86dri.c:(.text+0x3b6): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRIAuthConnection':
XF86dri.c:(.text+0x525): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o): In function `XF86DRICloseConnection':
XF86dri.c:(.text+0x646): undefined reference to `_XGetRequest'
./.libs/libxephyr-hostdri.a(XF86dri.o):XF86dri.c:(.text+0x716): more undefined references to `_XGetRequest' follow
collect2: ld returned 1 exit status
make[4]: *** [Xephyr] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4_build/hw/kdrive/ephyr'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4_build/hw/kdrive/ephyr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4_build/hw/kdrive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4_build/hw'
make: *** [all-recursive] Error 1
 * ERROR: x11-base/xorg-server-1.11.4-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-base/xorg-server-1.11.4-r1'`,
 * the complete build log and the output of `emerge -pqv '=x11-base/xorg-server-1.11.4-r1'`.
 * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4_build'
 * S: '/var/tmp/portage/x11-base/xorg-server-1.11.4-r1/work/xorg-server-1.11.4'
I disabled the kdrive USE flag, and then it compiled, but that didn't seem to be a good idea, as my system was complaining about a missing libEGL.so
This is going from bad to worse.
Whatever you do, do it properly!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Jun 20, 2012 8:10 pm

Thistled,

I have a bad feeling that this us related to your per package USE flag settings.

To see if it really makes a difference, you need to set the /kde profile the look at emerge -evp world output.
Green use flags are changed as a result of your profile change. You might find you want some or all of those flags.
This will destroy your emerge progress record, so --resume will no longer be possible.

The library that is supposed to provide the symbol _XGetRequest has that symbol definition missing for some reason.
I'm guessing its provided by optional code that you have opted not to have.
If this is really the case, its a bug in the x11-base/xorg-server-1.11.4-r1 ebuild, since portage should tell you you need the dependency built with a certain USE flag and stop.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Sun Jun 24, 2012 12:19 am

Greetings Neddy.

Sorry I haven't replied. My system completely died. :oops:
First of all gnome-panel disappeared, then I lost nautilus and terminal and then the web browser.
Was afraid to reboot.

I attempted to downgrade the system back to x86 instead of running ~x86, as I gathered having a mixed stable and unstable system was what got me into this mess in the first place.
I am completely aware that in Gentoo land, all manner of nasty things can happen when doing this. Which is exactly what happened to me.
However, my attempt to move back to x86 completely broke my system.

I have not changed to a KDE profile in order to have a gander at USE flags.
In all honesty, I have not changed any USE flags in package.use for a long time, so I am not even sure if it is a change in the aforementioned that caused my problem.

I am now back to compiling an ACCEPT_KEYWORDS="~x86" system :oops:

Still, ebuilds are compiling now.

The Failed Running aclocal ! are resolved by removing automake-0.12.1 and the build is successful.

600 packages to go, and yet to experience a breakage, think it might be fixed now.
Well, fingers crossed for now. :?
Whatever you do, do it properly!
Top
Post Reply

18 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic