Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26980 - foomatic-db-20030716 fails to emerge
Summary: foomatic-db-20030716 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-20 05:37 UTC by Richard Stevens
Modified: 2003-10-19 04:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge foomatic build. (nohup.out.gz,17 bytes, application/octet-stream)
2003-08-20 10:37 UTC, Richard Stevens
Details
Output of failing foomatic build. Just created by calling emerge foomatic with nohup after erasing ccache. (nohup.out.gz,2.43 KB, application/x-gzip)
2003-08-20 14:40 UTC, Richard Stevens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Stevens 2003-08-20 05:37:26 UTC
Trying to emerge foomatic-db fails with the following message: 
 
(... snip) 
local_foomatic_rip=/usr/bin/foomatic-rip; \ 
foomatic_filters_root=${local_foomatic_rip%/*}; \ 
cp ${foomatic_filters_root}/foomatic-gswrapper \ 
  ${packagename}/bin || exit 1; \ 
cp *.1 ${packagename}/share/man/man1 \ 
   || exit 1; \ 
cp foomatic-filters-ppds-install ${packagename}/install || exit 1; \ 
cp foomatic-filters-ppds-README ${packagename}/README || exit 1; \ 
cp COPYING ${packagename}/COPYING || exit 1; \ 
chmod -R a+rX,go-w ${packagename} || exit 1; \ 
rm -f ${packagename}.tar.gz || exit 1; \ 
unset GZIP; \ 
tar -cf - ${packagename} | gzip > ${packagename}.tar.gz || exit 1 
 
Generating Foomatic PPD files ... 
 
Storing files in directory 
/var/tmp/portage/foomatic-db-20030716/work/foomatic/foomatic-db-engine-3.0.0/ppd. 
Could not run "foomatic-perl-data"! at 
/var/tmp/portage/foomatic-db-20030716/work/foomatic/foomatic-db-engine-3.0.0/lib//Foomatic/DB.pm 
line 137. 
make: *** [filters-ppds] Error 1 
 
!!! ERROR: net-print/foomatic-db-20030716 failed. 
!!! Function src_compile, Line 48, Exitcode 2 
!!! (no error message) 
 
System is a freshly installed Gentoo 1.4. Useflags contain ppds and cups.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-20 09:28:39 UTC
hm, very strange, is foomatic-filters and foomatic-db installed (should because it is a depend), what about "emerge info"
Comment 2 Richard Stevens 2003-08-20 09:40:49 UTC
Yes, uhm, no. foomatic-filters and foomatic-db-engine is installed, foomatic-db is the one 
that breaks. 
 
emerge search foomatic gives: 
 
*  net-print/foomatic 
      Latest version available: 3.0.0 
      Latest version installed: [ Not Installed ] 
      Size of downloaded files: 0 kB 
      Homepage:    http://www.linuxprinting.org/foomatic 
      Description: The Foomatic printing meta package 
 
*  net-print/foomatic-db 
      Latest version available: 20030716 
      Latest version installed: [ Not Installed ] 
      Size of downloaded files: 694 kB 
      Homepage:    http://www.linuxprinting.org/foomatic 
      Description: Foomatic printer database 
 
*  net-print/foomatic-db-engine 
      Latest version available: 3.0.0 
      Latest version installed: 3.0.0 
      Size of downloaded files: 264 kB 
      Homepage:    http://www.linuxprinting.org/foomatic 
      Description: Foomatic printer database engine 
 
*  net-print/foomatic-filters 
      Latest version available: 3.0.0 
      Latest version installed: 3.0.0 
      Size of downloaded files: 114 kB 
      Homepage:    http://www.linuxprinting.org/foomatic 
      Description: Foomatic wrapper scripts 
 
 
Here is emerge info: 
 
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(TM) MP 1600+ 
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="oss apm mikmod nls slang svga gpm gtk 3dnow acl acpi alsa apache2 arts avi 
berkdb bonobo cdr crypt cscope cups curl doc dvd encode ethereal firebird foomaticdb gd 
gdbm gif gphoto2 -gnome gtk2 imap imlib innodb jack java jpeg junit kde ladcca -ldap 
libg++ libwww mad maildir mcal mmx motif mozilla mpeg mysql nas ncurses oggvorbis 
opengl pam -pcmcia pda ppds pdflib perl plotutils png postgres python qt quicktime 
readline ruby samba scanner sdl spell ssl tcltk tcpd tetex tiff truetype usb wmf wxwindows 
X Xaw3d xml2 xmms xv zlib zeo x86" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=athlon-mp -funroll-loops -fprefetch-loop-arrays -pipe" 
CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -fprefetch-loop-arrays -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
 
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-20 09:50:38 UTC
strange, try to remerge foomatic-db-engine and foomatic-filters and perl
Comment 4 Richard Stevens 2003-08-20 10:37:12 UTC
Created attachment 16369 [details]
output of emerge foomatic build.

Ok, I rebuilt all three, perl first, then the other two. No errors, no warnings
I noticed. Then I tried to emerge foomatic again and now it fails with a
different error. I get a very long output of 

{standard input}:748: Error: symbol `__u' is already defined
{standard input}:754: Error: symbol `__u' is already defined


and various other errors before that. The output is attached. It seems some
libxml stuff is missing. I emerged libxml-perl and now it compiles but leaves
me with the old error again. FYI: I cleard the ccache directory before building
just to make sure.

Strange, isn't it? Does foomatic need libxml1?
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-20 11:44:35 UTC
not it does not, try to remerge libxml2
Comment 6 Richard Stevens 2003-08-20 13:01:16 UTC
I remerged libxml2 and after that foomatic-db-engine and foomatic filters. Then, trying to 
emerge foomatic again, I run into the same error. I'm not sure if it's a library issue. At least 
the tool in question finds libxml2. 
 
ldd /usr/bin/foomatic-perl-data 
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4d50b000) 
        libz.so.1 => /usr/lib/libz.so.1 (0x4d617000) 
        libpthread.so.0 => /lib/libpthread.so.0 (0x4d628000) 
        libm.so.6 => /lib/libm.so.6 (0x4d678000) 
        libc.so.6 => /lib/libc.so.6 (0x4d69a000) 
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4d4e8000) 
 
Any other ideas? 
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-20 13:21:43 UTC
your attachement seems to be corrupt, please attach again 
Comment 8 Richard Stevens 2003-08-20 14:40:49 UTC
Created attachment 16387 [details]
Output of failing foomatic build. Just created by calling emerge foomatic with nohup after erasing ccache.
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-26 11:17:55 UTC
and do you have a log of the unresolved symbol thing?
Comment 10 Aleksi Pihkanen 2003-09-04 06:03:26 UTC
I have the same problem. I've found that foomatic-perl-data fails for some printer definitions in /usr/share/foomatic/db/source/driver/*.xml but not all of them.
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-18 03:53:25 UTC
i just commited foomatic-20031018, please try this one
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-19 04:07:36 UTC
this should be fixed.