Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93810 - cups-1.1.23-r3 wants to use empty /etc/cups/mime.{convs,types} files
Summary: cups-1.1.23-r3 wants to use empty /etc/cups/mime.{convs,types} files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 08:30 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2005-05-24 12:07 UTC (History)
1 user (show)

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 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-05-24 08:30:32 UTC
as of cups-1.1.23-r3, the ebuild wants to use empty /etc/cups/mime.
{convs,types} files, which might cause problems with printing.
This might be related to xpdf being emerged without the motif useflag, not 
sure, since I have no plans on installing X on my server to find out.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-
2.3.5-r0, 2.6.12-rc3-mm3-jupiter i686)
=================================================================
System uname: 2.6.12-rc3-mm3-jupiter i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -mmmx -msse -O3 -pipe -fomit-frame-pointer -funit-at-a-
time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share
/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mmmx -msse -O3 -pipe -fomit-frame-pointer -funit-at-
a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS=""
MAKEOPTS="-j4 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gurlinet.dk/gentoo-portage"
USE="x86 acl acpi apache2 apm bitmap-fonts bzip2 bzlib caps chroot crypt cups 
curl dba dhcp emboss examples fam foomaticdb fortran ftp gd gdbm gif hardened 
idn imap innodb ipv6 java jpeg libg++ libwww maildir md5sum mmx mng mp3 mpm-
threadpool mpm-worker mppe-mppc mysql ncurses nls no-htdocs nptl nptlonly pam 
pam-mysql pdflib perl php pic pie png posix ppds python readline ruby samba 
session simplexml slang slp sse ssl symlink tcpd threads tiff truetype-fonts 
type1-fonts usb userlocales vhosts xml xml2 xsl xslt zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-05-24 08:36:40 UTC
a diff on the two ebuilds shows this:

-       sed -i -e "s:#application/octet-stream:application/octet-stream" 
${D}/etc/cups/mime.types
-       sed -i -e "s:#application/octet-stream:application/octet-stream" 
${D}/etc/cups/mime.conv
+       dosed "s:#application/octet-stream:application/octet-
stream:" /etc/cups/mime.types /etc/cups/mime.convs

maybe something it that is causing problems
Comment 2 Chris Smith 2005-05-24 09:05:04 UTC
fixed in revision 1.3
see bug 93553
Comment 3 Chris Smith 2005-05-24 09:10:31 UTC
just to add - it was typo in one of the ebuild's dosed commands that wiped out
the contents of mime.type and mime.convs
cups didn't want those files empty the ebuild just hosed them
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-24 12:07:04 UTC
already fixed.