Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152678 - x11-misc/beryl-settings-0.1.1 failed to compile [amd64]
Summary: x11-misc/beryl-settings-0.1.1 failed to compile [amd64]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-24 10:31 UTC by Tomas Srnka
Modified: 2006-10-24 10:52 UTC (History)
0 users

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 Tomas Srnka 2006-10-24 10:31:55 UTC
Hi,
I want to upgrade my beryl but x11-misc/beryl-settings-0.1.1 failed to compile. This is the output from emerge:

.......
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/beryl-settings-0.1.1/work/beryl-settings'
Making all in src
make[2]: Entering directory `/var/tmp/portage/beryl-settings-0.1.1/work/beryl-settings/src'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/beryl   -DPIXMAPS_DIR='"/usr/share/pixmaps"' -DDATADIR='"/usr/share"' -DLIBDIR='"/usr/lib64"' -DLOCALEDIR="\"/usr/share/locale\""    -march=athlon64 -O2 -pipe -MT beryl_settings-main.o -MD -MP -MF ".deps/beryl_settings-main.Tpo" -c -o beryl_settings-main.o `test -f 'main.c' || echo './'`main.c; \
        then mv -f ".deps/beryl_settings-main.Tpo" ".deps/beryl_settings-main.Po"; else rm -f ".deps/beryl_settings-main.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe   -o beryl-settings  beryl_settings-main.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpng12 -lXcomposite -lXdamage -lXrandr -lSM -lXinerama -lstartup-notification-1 -lXfixes -lICE
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for_stream'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'
collect2: ld returned 1 exit status
make[2]: *** [beryl-settings] Error 1
make[2]: Leaving directory `/var/tmp/portage/beryl-settings-0.1.1/work/beryl-settings/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beryl-settings-0.1.1/work/beryl-settings'
make: *** [all] Error 2

!!! ERROR: x11-misc/beryl-settings-0.1.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  beryl-settings-0.1.1.ebuild, line 27:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

I've also got warning before ./configure... :
Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.



emerge --info:
Portage 2.1.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r13 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r13 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Mon, 23 Oct 2006 05:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
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=athlon64 -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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US sk"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/berkano-overlay /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X addbookmarks alias alsa arts autoreplace berkdb bitmap-fonts cli connectionstatus contactnotes cracklib crypt css cups dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode extras ffmpeg foomaticdb fortran gadu gif gpm groupwise hal highlight history imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irc isdnlog jingle jpeg kde kdehiddenvisibility kernel_linux linguas_en_US linguas_sk lzw lzw-tiff mad mp3 mpeg musicbrainz ncurses nls nowlistening nptl nptlonly nvidia ogg opengl pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection sametime sdl session spell spl ssl statistics svg tcpd texteffect theora tiff truetype-fonts type1-fonts usb userland_GNU video_cards_nvidia vorbis webpresence winpopup xine xorg xpm xscreensaver xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-24 10:33:38 UTC
We totally need to fix the labeling on the check box so people quit making bugs developer-only...
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2006-10-24 10:40:33 UTC
recompile cairo with USE="pdf" if you're running unstsable cairo
Comment 3 Tomas Srnka 2006-10-24 10:52:32 UTC
Ok, that works :). Thank you.