Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405023 - net-im/skype-2.2.0.35-r1 USE=qt-static wrong path in prepare step
Summary: net-im/skype-2.2.0.35-r1 USE=qt-static wrong path in prepare step
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 12:42 UTC by Daniel Troeder
Modified: 2012-02-29 13:33 UTC (History)
4 users (show)

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


Attachments
ebuild.diff (workdir.patch,414 bytes, patch)
2012-02-22 17:01 UTC, Julian Ospald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Troeder 2012-02-20 12:42:44 UTC
When merging net-im/skype-2.2.0.35-r1 with USE=static there is an error because f a wrong path:
>>> Source unpacked in /gentoo/tmp/build/working/portage/net-im/skype-2.2.0.35-r1/work
 * ERROR: net-im/skype-2.2.0.35-r1 failed (prepare phase):
 *   The source directory '/gentoo/tmp/build/working/portage/net-im/skype-2.2.0.35-r1/work/skype-2.2.0.35' doesn't exist

The path that gets created is:
/gentoo/tmp/build/working/portage/net-im/skype-2.2.0.35-r1/work/skype_static-2.2.0.35

Reproducible: Always

Steps to Reproduce:
1. USE=static emerge =net-im/skype-2.2.0.35-r1
2. ls -la /gentoo/tmp/build/working/portage/net-im/skype-2.2.0.35-r1/work
Actual Results:  
>>> Emerging (8 of 8) net-im/skype-2.2.0.35-r1
 * skype_static-2.2.0.35.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                          [ ok ]
>>> cfg-update-1.8.2-r1: Skipping checksum index updating...
>>> Unpacking source...
>>> Unpacking skype_static-2.2.0.35.tar.bz2 to /gentoo/tmp/build/working/portage/net-im/skype-2.2.0.35-r1/work
>>> Source unpacked in /gentoo/tmp/build/working/portage/net-im/skype-2.2.0.35-r1/work
 * ERROR: net-im/skype-2.2.0.35-r1 failed (prepare phase):
 *   The source directory '/gentoo/tmp/build/working/portage/net-im/skype-2.2.0.35-r1/work/skype-2.2.0.35' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line 687:  Called ebuild_main 'prepare'
 *   phase-functions.sh, line 955:  Called dyn_prepare
 *   phase-functions.sh, line 372:  Called die
 * The specific snippet of code:
 *   		die "The source directory '${S}' doesn't exist"


Expected Results:  
successful emerge

daniel@moja ~ $ sudo emerge -pqv =net-im/skype-2.2.0.35-r1
[ebuild   R   ] net-im/skype-2.2.0.35-r1  USE="qt-static*" 

daniel@moja ~ $ sudo emerge --info =net-im/skype-2.2.0.35-r1
Portage 2.1.10.48 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r2, 3.1.6-gentoo.moja x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.6-gentoo.moja-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Mon, 20 Feb 2012 11:45:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
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.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo multimedia sunrise spring daniels_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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"
DISTDIR="/gentoo/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/gentoo/pkg"
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="/gentoo/tmp/build/working"
PORTDIR="/gentoo/portage+edb+pkg/portage"
PORTDIR_OVERLAY="/var/lib/layman/multimedia /var/lib/layman/sunrise /var/lib/layman/Spring /gentoo/overlays/daniels_overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="10bit X a52 aac aalib acl acpi alsa amd64 apache2 apng applet archive asyncns autoipd avahi bash-completion berkdb bluetooth bonjour branding brasero bzip2 c++0x cairo calendar caps cdaudio cdda cddax cddb cdio cdr cdrkit cli clucene colord config-file connection-sharing consolekit cracklib crypt css cuda cups curl custom-optimization cxx daap dbus device-mapper dga dhclient dhcp divx dns dri dts dv dvb dvd dvdr dvdread dvi eds emboss enca encode evo exif expat expoblending faac faad fam fame fat ffmpeg fftw firefox flac fontconfig fts fts3 fuse galago gcj gconf gd gdbm gdu gedit gif gimp git glibc-omitfp gmedia gmp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm gps gs gtk gtk3 gudev gzip h323 hal hddtemp hpijs http http-forms http-server hwdb iconv icu id3tag ieee1394 imagemagick imlib inotify introspection ipv6 irc jabber java joystick jpeg kdeenablefinal kdrive kernel-patch kpathsea lame laptop lcms ldap libass libcaca libnotify lm_sensors lzma lzo mad maps matroska mdnsresponder-compat milter minizip mjpeg mmap mms mmx mmxext mng modules mp3 mp4 mpeg mpi mplayer mudflap multilib musicbrainz nautilus ncurses net network networkmanager nfs nfsv3 nfsv4 nls nntp nptl nptlonly nsplugin nss ntfs nuv nvidia offensive ogg opengl openmp openvg optimization pam pango pch pcre pdf pgo pidgin pipechan plotutils png policykit postproc postscript ppds pppd pth pulseaudio qemu qemu-ifup qos qpa qt-faststart quicktime quotas ramfs rar readline realmedia realtime reiserfs remote romio rtmp rtsp ruby18 samba scanner sdl secure-delete semantic-desktop sendto session shout sip smp socialweb spell sqlite sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subtitles subversion svg sysfs system-sqlite taglib tagwriting tcpd theora threads thumbnail tiff truetype twolame udev unicode upnp usb uuid v4l vaapi vcd vcdinfo vcdx vdpau video vorbis vpx wav wifi winbind wmf wmp wps wxwidgets x264 xattr xcb xfs xinerama xml xmlrpc xmp xnest xorg xrandr xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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 aiptek synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

net-im/skype-2.2.0.35-r1 was built with the following:
USE="(multilib) -qt-static"
CFLAGS="-march=native -msse4.1 -O2 -pipe"
CXXFLAGS="-march=native -msse4.1 -O2 -pipe"
Comment 1 Daniel Troeder 2012-02-20 12:46:09 UTC
Damn... it should be "qt-static", not "static"! If an admin sees this: please rename the bugs description (for better search results).
Comment 2 Julian Ospald 2012-02-22 17:01:55 UTC
Created attachment 302815 [details, diff]
ebuild.diff
Comment 3 Julian Ospald 2012-02-22 17:03:40 UTC
"S" is not defined globally which causes the die in dyn_prepare

======
	if [[ -d $S ]] ; then
		cd "${S}"
	elif has $EAPI 0 1 2 3 3_pre2 ; then
		cd "${WORKDIR}"
	elif [[ -z ${A} ]] && ! has_phase_defined_up_to prepare; then
		cd "${WORKDIR}"
	else
		die "The source directory '${S}' doesn't exist"
	fi
======

solution:
use qt-static && S="${WORKDIR}/${PN}_static-${PV}"
before the phases or switch to eapi=3
Comment 4 Randall Wald 2012-02-29 03:52:28 UTC
As the bug reporter, you should see an "Edit" link up at the top next to the bug's name; you can use that to change the title to mention "qt-static".

Also, this bug happens to me as well. I'm also on amd64.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-02-29 08:09:25 UTC
+  29 Feb 2012; Justin Lecher <jlec@gentoo.org> skype-2.2.0.35-r1.ebuild:
+  Correct installation with USE=qt-static, #405023; remove additional dies
+