Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412245 - app-text/mupdf-0.9 - mv: kan status van ‘/tmp/portage/portage/app-text/mupdf-0.9/image/usr/bin/pdfinfo’ niet opvragen: Bestand of map bestaat niet
Summary: app-text/mupdf-0.9 - mv: kan status van ‘/tmp/portage/portage/app-text/mupdf-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 18:45 UTC by Maik Nijhuis
Modified: 2012-06-12 18:39 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 Maik Nijhuis 2012-04-16 18:45:17 UTC
The ebuild for app-text mupdf-0.9 contains the line:

mv "${D}"usr/bin/pdfinfo "${ED}"usr/bin/mupdf_pdfinfo || die

The ebuild fails on this line, as "${D}"usr/bin/pdfinfo doesn't exist.
When I change ${D} to ${ED}, portage doesn't complain anymore. mupdf compiles normally, however, it does not install binaries and libraries. equery f mupdf shows:

/usr
/usr/lib
/usr/lib/pkgconfig
/usr/lib/pkgconfig/mupdf.pc
/usr/share
/usr/share/applications
/usr/share/applications/mupdf.desktop
/usr/share/doc
/usr/share/doc/mupdf-0.9
/usr/share/doc/mupdf-0.9/README.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mupdf.1.bz2
/usr/share/man/man1/pdfclean.1.bz2
/usr/share/man/man1/pdfdraw.1.bz2
/usr/share/man/man1/pdfshow.1.bz2
/usr/share/pixmaps
/usr/share/pixmaps/mupdf.xpm



Reproducible: Always

Steps to Reproduce:
1.emerge mupdf
2.
3.



ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.3 Intel-SDP"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mmmx -msse -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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=pentium-m -mmmx -msse -O3 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j2 --keep-going --load-average=2.0"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="nl_NL.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en en_US"
MAKEOPTS="-j1"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/jokey /usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dhcp dlna dri dts dvd dvdr dvdread dynamic emboss encode exif expat fam fasteap fbcon ffmpeg filepicker firefox flac gdbm gdu gif git gnutls gpm gstreamer gtk hal i8x0 iconv icu idn imap inotify ipv6 java javascript jikes jpeg justify kerberos kpathsea lcms ldap libnotify mad md5sum mmx mmx2 mng modules mp3 mp4 mpeg mudflap ncurses network nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango parcheck passfile pcre pdf png policykit ppds pppd qt3support qt4 readline rtc sasl sdl sensord session slang smtp sound spell sse sse2 ssl startup-notification stroke subversion svg sysfs tcpd tetex theora tiff toolbar truetype udev unicode usb v4l v4l2 vaapi video vorbis webdav wifi win32codecs x264 x86 xcb xml xmms xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 sheets 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="mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Maik Nijhuis 2012-04-16 18:54:00 UTC
last lines from the build.log:


>>> Install mupdf-0.9 into /tmp/portage/portage/app-text/mupdf-0.9/image/ category app-text
make -j1 prefix=usr LIBDIR=usr/lib build=debug verbose=true install 
install -d usr/bin usr/lib usr/include usr/share/man/man1
install build/debug/libmuxps.a build/debug/libmupdf.a build/debug/libfitz.a usr/lib
install fitz/fitz.h pdf/mupdf.h xps/muxps.h usr/include
install build/debug/pdfdraw build/debug/pdfclean build/debug/pdfextract build/debug/pdfinfo build/debug/pdfshow build/debug/xpsdraw build/debug/mupdf usr/bin
install apps/man/pdfdraw.1 apps/man/pdfshow.1 apps/man/mupdf.1 apps/man/pdfclean.1 usr/share/man/man1
mv: kan status van ‘/tmp/portage/portage/app-text/mupdf-0.9/image/usr/bin/pdfinfo’ niet opvragen: Bestand of map bestaat niet
 * ERROR: app-text/mupdf-0.9 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 1834:  Called die
 * The specific snippet of code:
 *       mv "${D}"usr/bin/pdfinfo "${ED}"usr/bin/mupdf_pdfinfo || die



tmp/portage/portage/app-text/mupdf-0.9/image/usr/bin/pdfinfo indeed doesn't exist. The proper location is /tmp/portage/portage/app-text/mupdf-0.9/work/mupdf-0.9/usr/bin/pdfinfo  or /tmp/portage/portage/app-text/mupdf-0.9/work/mupdf-0.9/build/debug/pdfinfo (both are exact copies of eachother).
Comment 2 Maik Nijhuis 2012-04-16 19:27:39 UTC
Hi Jeroen, do you think that putting my Dutch error message in the bug title will help solve this bug quicker?

Moreover: It's not only pdfinfo that breaks: The mupdf binary also isn't installed.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-04-16 20:31:01 UTC
Hello Maik,

thanks for your report, i'm on it.

Michael
Comment 4 Michael Weber (RETIRED) gentoo-dev 2012-06-11 07:22:08 UTC
Hello Maik,

can you please test this problem with mupdf-1.0 and reopen the bug if it still exists?

Thanks.
Comment 5 Maik Nijhuis 2012-06-12 18:39:21 UTC
mupdf-1.0 compiles and installs cleanly. Thanks for your effort. Closing this one.