Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142292 - media-gfx/sane-backends-1.0.17 fails to compile asking for epkowa which doesn't exist.
Summary: media-gfx/sane-backends-1.0.17 fails to compile asking for epkowa which doesn...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 08:37 UTC by Sam
Modified: 2006-08-01 03:09 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 Sam 2006-07-31 08:37:21 UTC
I've written in the gentoo forum about it in the url above, and others reported the same problems too. Basically, portage fails on sane-backends 1.0.17, asking for epkowa claiming there's no make all rule for that.

 i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib -DV_MAJOR=1 -DV_MINOR=0 -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -W -Wall sanei_jpeg.c  -fPIC -DPIC -o .libs/sanei_jpeg.o
ar r libsanei.a sanei_ab306.o sanei_constrain_value.o sanei_init_debug.o sanei_net.o sanei_wire.o sanei_codec_ascii.o sanei_codec_bin.o sanei_scsi.o sanei_config.o sanei_config2.o sanei_pio.o sanei_pa4s2.o sanei_auth.o sanei_usb.o sanei_thread.o sanei_pv8630.o sanei_pp.o sanei_lm983x.o sanei_access.o sanei_jpeg.o
ar: creating libsanei.a
i686-pc-linux-gnu-ranlib libsanei.a
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/sanei'
making all in backend
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
make[1]: *** No rule to make target `libsane-epkowa.la', needed by `all'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/sane-backends-1.0.17 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  sane-backends-1.0.17.ebuild, line 105:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.







If i run manually 
 ebuild /usr/portage/media-gfx/sane-backends/sane-backends-1.0.17.ebuild compile 
I get the following error

-> The following backends will be built:
epkowa v4l sm3600 
****************************************************************
* Please be sure to read file PROBLEMS in this directory       *
* BEFORE running any of the SANE applications.  Some devices   *
* may be damaged by inproper operation, so please do heed this *
* advice.                                                      *
****************************************************************
making depend in include
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/include'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/include'
making depend in lib
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/lib'
makedepend -I. -I../include *.c 2>/dev/null
making all in include
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/include'
making all in lib
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/lib'
making all in sanei
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/sanei'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/sanei'
making all in backend
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
make[1]: *** No rule to make target `libsane-epkowa.la', needed by `all'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
make: *** [all-recursive] Error 1
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/lib'
making depend in sanei

make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/sanei'
makedepend -I. -I../include *.c 2>/dev/null
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/sanei'
making depend in backend
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
makedepend -I. -I. -I../include -I../include *.c 2>/dev/null
makedepend -a -o.lo -I. -I. -I../include -I../include *.c 2>/dev/null
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
making depend in frontend
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/frontend'
makedepend -I. -I. -I../include -I../include -I/usr/local/include *.c 2>/dev/null
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/frontend'
making depend in tools
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/tools'
makedepend -I. -I. -I../include -I../include *.c 2>/dev/null
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/tools'
making depend in doc
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/doc'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/doc'
making depend in po
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/po'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/po'

!!! ERROR: media-gfx/sane-backends-1.0.17 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  sane-backends-1.0.17.ebuild, line 105:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


i'm on ck-sources, with gcc 4.1.1, make 3.80, 
CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 08:46:20 UTC
Don't restrict bugs without any reason. Leave the checkboxes alone. Also, post your emerge --info.

Comment 2 Sam 2006-07-31 08:50:29 UTC
Oh, sorry, I misread it.

xushitop ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-ck1 i686)
=================================================================
System uname: 2.6.17-ck1 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb"
CHOST="i686-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="ar de en_GB he et"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa amarok amuled apache2 apm asf atk automount avi bash-completion berkdb bidi bindist bitmap-fonts browserplugin bzlib cddb cdinstall cdparanoia cjk clamav clamd cli cpdflib cpudetection crypt css cups dba dcc divx divx4linux dlloader dri dv dvd dvdr dvdread effects encode epson extras firefox flac flash foomaticdb freetype gd-external gdbm gif gimp gimpprint gpm gstreamer gtk2 hal ieee1394 ifp imlib infopipe inkjar ipv6 isdnlog jabber jpeg kde kdeenablefinal kdepim lame libg++ libwww live lm_sensors mad mikmod mmap mmx motif mp3 mpc mpeg mpeg2 mpeg4 mplayer musicbrainz nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl oscar pam pcre pdflib perl plugin pmu png posix ppds pppd print pthreads python qt qt3 qt4 quicktime rar readline real reflection remote samba scanner sdl session slp sox spell spl sse sse2 ssl t1lib tcpd theora threads truetype truetype-fonts type1 type1-fonts unicode usb utf8 v4l v4l2 vcd vidix visualization vorbis wifi win32codecs wma wmv wxgtk1 xml2 xorg xprint xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_ar linguas_de linguas_en_GB linguas_he linguas_et userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

xushitop ~ # 
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2006-08-01 01:54:49 UTC
Is it possible that you are asking for the "epkowa" backend using the SANE_BACKENDS variable?

If no, sorry and please re-open this bug.

If yes, please only include backends in SANE_BACKENDS that are actually included in the sane-backends package. HINT: epkowa is provided by media-gfx/iscan.
Comment 4 Sam 2006-08-01 02:24:24 UTC
I don't recall setting SANE_BACKENDS before, nor do I know how.  I don't even have iscan emerged, so i emerged it and still the same error.

I did a bit of reading on that variable in the docs, and noticed that the scanner i have (epson perfection 2480) needs the SnapScan backend, so i did, 

SANE_BACKENDS="SnapScan" emerge sane-backends

but got another error this time,
TH_SANE_LOCK_DIR=/var/lib -DV_MAJOR=1 -DV_MINOR=0 -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -W -Wall sanei_pp.c  -fPIC -DPIC -o .libs/sanei_pp.o
 i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib -DV_MAJOR=1 -DV_MINOR=0 -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -W -Wall sanei_access.c  -fPIC -DPIC -o .libs/sanei_access.o
 i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib -DV_MAJOR=1 -DV_MINOR=0 -Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -W -Wall sanei_jpeg.c  -fPIC -DPIC -o .libs/sanei_jpeg.o
ar r libsanei.a sanei_ab306.o sanei_constrain_value.o sanei_init_debug.o sanei_net.o sanei_wire.o sanei_codec_ascii.o sanei_codec_bin.o sanei_scsi.o sanei_config.o sanei_config2.o sanei_pio.o sanei_pa4s2.o sanei_auth.o sanei_usb.o sanei_thread.o sanei_pv8630.o sanei_pp.o sanei_lm983x.o sanei_access.o sanei_jpeg.o
ar: creating libsanei.a
i686-pc-linux-gnu-ranlib libsanei.a
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/sanei'
making all in backend
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
make[1]: *** No rule to make target `libsane-SnapScan.la', needed by `all'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
make: *** [all-recursive] Error 1
make: *** Waiting for unfinished jobs....
makedepend -a -o.lo -I. -I. -I../include -I../include *.c 2>/dev/null
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/backend'
making depend in frontend
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/frontend'
makedepend -I. -I. -I../include -I../include -I/usr/local/include *.c 2>/dev/null
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/frontend'
making depend in tools
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/tools'
makedepend -I. -I. -I../include -I../include *.c 2>/dev/null
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/tools'
making depend in doc
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/doc'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/doc'
making depend in po
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/po'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.17/work/sane-backends-1.0.17/po'

!!! ERROR: media-gfx/sane-backends-1.0.17 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  sane-backends-1.0.17.ebuild, line 105:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


I'm reopening it as requested. Thanks.
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2006-08-01 02:33:09 UTC
I think that I will have to filter for invalid backend names in future versions, but I still have no idea where you got this from - please try again using "snapscan" instead of "SnapScan" and re-open if this still does not work. Thanks.
Comment 6 Sam 2006-08-01 02:38:58 UTC
That did the trick.

Thanks for the help, i'll notify the others. Yea i still don't know how or where this occured from, but i'll keep an eye out.
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2006-08-01 03:09:27 UTC
(In reply to comment #6)
> That did the trick.
> 
> Thanks for the help, i'll notify the others. Yea i still don't know how or
> where this occured from, but i'll keep an eye out.
> 

I think here's a misunderstanding - I know exactly where this error came from (invalid backend name), but I do now know how you got the idea that "SnapScan" is a valid name for a backend. Filenames are case sensitive.