Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406893 - media-gfx/fontforge-20110222-r1: /usr/share/mime/application/fontforge.xml is owned but does not exist
Summary: media-gfx/fontforge-20110222-r1: /usr/share/mime/application/fontforge.xml is...
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 14:51 UTC by Kevin Lyles
Modified: 2016-11-13 01:07 UTC (History)
0 users

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


Attachments
Build log (fontforge-20110222-r1:20120305-231209.log,456.35 KB, text/plain)
2012-03-05 23:14 UTC, Kevin Lyles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Lyles 2012-03-04 14:51:18 UTC
As the summary says, media-gfx/fontforge-20110222-r1 owns /usr/share/mime/application/fontforge.xml, but that file does not actually exist.  I re-emerged fontforge to confirm that this happens every time.


Reproducible: Always

Steps to Reproduce:
1. emerge -1 =media-gfx/fontforge-20110222-r1 (may not be needed if already installed)
2. equery belongs /usr/share/mime/application/fontforge.xml (or equery files fontforge)
3. ls /usr/share/mime/application/fontforge.xml

Actual Results:  
Equery reports that fontforge owns the file, but ls says it doesn't exist.

Expected Results:  
Either equery doesn't mention the file, or ls shows it.

# emerge --info fontforge
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 03 Mar 2012 21:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/hddtemp/hddtemp.db"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average=9"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles multilib-strict news parallel-fetch parallel-install protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en_US en"
MAKEOPTS="--jobs=12 --load-average=9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="3dnow X a52 aac acl acpi aim alsa amd64 bash-completion berkdb bluetooth branding btrfs bzip2 cairo caps cjk cli consolekit cracklib crypt cscope css cups curl cxx dbus declarative dga dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fontconfig fontforge fortran gd gdbm gdu gif git gpm gsm gtk gtk3 handbook hddtemp iconv icu idn imagemagick inotify ipv6 jabber jpeg jpeg2k kde kipi lame latex lcms libnotify libsamplerate lm_sensors lua lzma lzo mad matroska mikmod mmap mmx mng modules mp3 mp4 mpeg mpi mplayer msn mudflap multilib musicbrainz ncurses network-cron nls nptl nptlonly nsplugin ntfs ogg openal opencl opengl openmp openvg pam pango pch pcre pdf phonon pic plasma png policykit portaudio ppds pppd qt3support qt4 readline sdl session smp speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora threads tiff tk truetype udev unicode usb vaapi video vim-syntax vnc vorbis vpx x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

media-gfx/fontforge-20110222-r1 was built with the following:
USE="X cairo cjk (consolekit) gif jpeg (multilib) nls pango png (policykit) python svg tiff truetype unicode -debug -doc -pasteafter -tilepath -truetype-debugger -type3"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-05 20:34:17 UTC
The ebuild does a neat:

    insinto /usr/share/mime/application
    doins Packaging/fontforge.xml || die

so I suspect the fault isn't in the ebuild.

Still, could you attach the full build log to this bug report?
Comment 2 Zac Medico gentoo-dev 2012-03-05 21:02:35 UTC
I can reproduce it. The build log shows the file is properly merged, so apparently the file is removed in pkg_postinst by the fdo-mime functions.
Comment 3 Kevin Lyles 2012-03-05 23:14:28 UTC
Created attachment 304345 [details]
Build log

Attaching the build log as requested.
Comment 4 Mike Gilbert gentoo-dev 2016-11-13 01:07:50 UTC
Current versions do not exhibit this problem.