Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52892 - media-gfx/scrot-0.6 fails to build
Summary: media-gfx/scrot-0.6 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 09:57 UTC by Martti Rannanjärvi
Modified: 2004-09-23 03:33 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 Martti Rannanjärvi 2004-06-03 09:57:24 UTC
Scrot 0.6 fails to build on my system. (0.8 builds fine)

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for a BSD compatible install... /bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for giblib-config... /usr/bin/giblib-config
checking for giblib - version >= 1.2.1... yes
checking for getopt_long... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scrot.spec
config.status: creating src/Makefile
config.status: creating src/config.h
Making all in src
make[1]: Entering directory `/var/tmp/portage/scrot-0.6/work/scrot-0.6/src'
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include  -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -I/usr/X11R6/include    -march=athlon-xp -O2 -pipe -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include  -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -I/usr/X11R6/include    -march=athlon-xp -O2 -pipe -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include  -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -I/usr/X11R6/include    -march=athlon-xp -O2 -pipe -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include  -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -I/usr/X11R6/include    -march=athlon-xp -O2 -pipe -c options.c
main.c: In function `main':
main.c:43: warning: implicit declaration of function `_estrdup'
main.c:43: warning: assignment makes pointer from integer without a cast
main.c:44: warning: assignment makes pointer from integer without a cast
main.c:64: warning: implicit declaration of function `eprintf'
options.c: In function `scrot_parse_option_array':
options.c:87: warning: implicit declaration of function `_estrdup'
options.c:87: warning: assignment makes pointer from integer without a cast
options.c:130: warning: implicit declaration of function `weprintf'
options.c: In function `name_thumbnail':
options.c:147: warning: implicit declaration of function `_emalloc'
options.c:147: warning: assignment makes pointer from integer without a cast
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -Wall -I/usr/X11R6/include  -I/usr/include -I/usr/include -I. -DPREFIX=\""/usr"\" -I/usr/include/giblib -I/usr/X11R6/include    -march=athlon-xp -O2 -pipe -c imlib.c
main.c: In function `im_printf':
main.c:494: warning: return makes pointer from integer without a cast
main.c: In function `scrot_grab_shot_multi':
main.c:570: warning: assignment makes pointer from integer without a cast
imlib.c: In function `init_x_and_imlib':
imlib.c:41: warning: implicit declaration of function `eprintf'
gcc  -march=athlon-xp -O2 -pipe -L/usr/X11R6/lib -o scrot  main.o getopt.o getopt1.o options.o imlib.o -lX11 -L/usr/lib -lgiblib -L/usr/lib -lImlib2 -lfreetype -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib -lm
main.o(.text+0x1bb): In function `main':
/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:89: undefined reference to `eprintf'
main.o(.text+0x1cc):/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:83: undefined reference to `eprintf'
main.o(.text+0x1e1):/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:72: undefined reference to `eprintf'
main.o(.text+0x1f2):/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:64: undefined reference to `eprintf'
main.o(.text+0x22b):/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:43: undefined reference to `_estrdup'
main.o(.text+0x23c):/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:44: undefined reference to `_estrdup'
main.o(.text+0x5eb): In function `scrot_sel_and_grab_image':
/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:266: undefined reference to `eprintf'
main.o(.text+0xbbe):/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:184: undefined reference to `eprintf'
main.o(.text+0xcd8): In function `im_printf':
/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:494: undefined reference to `_estrdup'
main.o(.text+0x10ac): In function `scrot_grab_shot_multi':
/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/main.c:570: undefined reference to `_estrdup'
options.o(.text+0x108): In function `scrot_parse_option_array':
/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/options.c:87: undefined reference to `_estrdup'
options.o(.text+0x228):/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/options.c:130: undefined reference to `weprintf'
options.o(.text+0x251): In function `name_thumbnail':
/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/options.c:147: undefined reference to `_emalloc'
imlib.o(.text+0x13d): In function `init_x_and_imlib':
/var/tmp/portage/scrot-0.6/work/scrot-0.6/src/imlib.c:41: undefined reference to `eprintf'
collect2: ld returned 1 exit status
make[1]: *** [scrot] Error 1
make[1]: Leaving directory `/var/tmp/portage/scrot-0.6/work/scrot-0.6/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/scrot-0.6 failed.
!!! Function src_compile, Line 19, Exitcode 2
!!! (no error message)

emerge info:

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.4.15
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="3dnow X alsa crypt gtk2 jpeg mmx ncurses oggvorbis opengl pam png sdl sse ssl truetype unicode x86"

So i recommend making scrot 0.8 stable..
Comment 1 robertc96 2004-07-29 13:00:35 UTC
Scrot 0.6 is no longer available in portage as far as I can tell.  Scrot 0.8 is the stable version in portage and bug submitter says scrot 0.8 builds fine and it also compiles for me.   
Looks like this bug is a good candidate for being closed.
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2004-09-23 03:33:18 UTC
0.6 hasn't been in portage for quite a while; closing.