Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450452 - [xfce-dev overlay] xfce4-dev-tools-9999.ebuild -- portage patch fail
Summary: [xfce-dev overlay] xfce4-dev-tools-9999.ebuild -- portage patch fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-01-05 20:17 UTC by Derk W te Bokkel
Modified: 2014-04-15 14:13 UTC (History)
0 users

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


Attachments
elibtool.log (elibtool.log,1.84 KB, text/plain)
2013-01-05 20:21 UTC, Derk W te Bokkel
Details
eclass-debug.log (eclass-debug.log,3.56 KB, text/plain)
2013-01-05 20:22 UTC, Derk W te Bokkel
Details
libtool-elt.patch (libtool-elt.patch,122 bytes, patch)
2013-01-05 20:23 UTC, Derk W te Bokkel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Derk W te Bokkel 2013-01-05 20:17:10 UTC
>>> Unpacked to /var/tmp/portage/dev-util/xfce4-dev-tools-9999/work/xfce4-dev-tools-9999
>>> Source unpacked in /var/tmp/portage/dev-util/xfce4-dev-tools-9999/work
>>> Preparing source in /var/tmp/portage/dev-util/xfce4-dev-tools-9999/work/xfce4-dev-tools-9999 ...
 * Running elibtoolize in: xfce4-dev-tools-9999/

 * Portage patch failed to apply (ltmain.sh version 2.4.2)!
 * Please file a bug report to add a proper patch.
 * ERROR: dev-util/xfce4-dev-tools-9999 failed (prepare phase):
 *   Portage patch failed to apply!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3533:  Called xfconf_src_prepare
 *   environment, line 4061:  Called elibtoolize
 *   environment, line 1305:  Called die
 * The specific snippet of code:
 *                                   die "Portage patch failed to apply!";
 * 
 * If you need support, post the output of `emerge --info '=dev-util/xfce4-dev-tools-9999'`,

rest of info to follow
Comment 1 Derk W te Bokkel 2013-01-05 20:21:10 UTC
Created attachment 334572 [details]
elibtool.log

errors in here .. failure to patch
Comment 2 Derk W te Bokkel 2013-01-05 20:22:18 UTC
Created attachment 334574 [details]
eclass-debug.log
Comment 3 Derk W te Bokkel 2013-01-05 20:23:04 UTC
Created attachment 334576 [details, diff]
libtool-elt.patch
Comment 4 Derk W te Bokkel 2013-01-05 20:26:37 UTC
emerge --info =dev-util/xfce4-dev-tools-9999
Portage 2.1.11.38 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.7.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.1-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.2
Timestamp of tree: Sat, 05 Jan 2013 17:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo xfce-dev derk-personal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask --autounmask-write --quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/xfce-dev /home/derk/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apng archive avcodec avformat berkdb bindist bzip2 cairo cdda cddb cdr cifs cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr encode ffmpeg flac fortran fuse g3dvl gallium gdbm gnome-keyring gnutls gphoto2 gpm gstreamer gtk iconv id3tag ipv6 jpeg jpeg2k lame lcms libnotify live mad mmx modules mp3 mpeg mudflap multilib ncurses nls nptl ntp ogg opengl openmp openrc opus pam pcre pdf pm-utils png policykit ppds pppd qt4 readline scanner session sha512 sna sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype twolame udev ukit unicode v4l vdpau vorbis vpx wav webm wma wma-fixed x264 xcb xinerama xorg xvid 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="authn_core authz_core socache_shmcb unixd 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="*" 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="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev" 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

... no USE flags set ..
Comment 5 Derk W te Bokkel 2013-01-07 11:05:35 UTC
the patch in comment #3 appears to be the one that fails
Comment 6 Derk W te Bokkel 2013-01-09 21:01:37 UTC
I think the patch fails to apply because the autogen.sh included creates a symlink
in the work directory -- ltmain.sh linked to /usr/share/libtool/config/ltmain.sh during the unpack phase

thus epatch? attempts to apply  the libtool-elt.patch  outside the sandbox on the system ltmain.sh ? and fails? or am I off-base?

how to prevent?
Comment 7 Derk W te Bokkel 2013-01-09 21:31:43 UTC
ebuild xfce4-dev-tools-9999.ebuild unpack
>>> Existing ${T}/environment for 'xfce4-dev-tools-9999' will be sourced.
>>> Run 'clean' to start with a fresh environment.
 * checking ebuild checksums ;-) ...                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                       [ ok ]
>>> It appears that 'pretend' has already executed for 'xfce4-dev-tools-9999'; skipping.
>>> Remove '/var/tmp/portage/dev-util/xfce4-dev-tools-9999/.pretended' to force pretend.
>>> It appears that 'setup' has already executed for 'xfce4-dev-tools-9999'; skipping.
>>> Remove '/var/tmp/portage/dev-util/xfce4-dev-tools-9999/.setuped' to force setup.
>>> Unpacking source...
GIT update -->
   repository:               git://git.xfce.org/xfce/xfce4-dev-tools
   at the commit:            d13ceda50e099d1741f3fd1b67b76b4fca4aa5ae
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/xfce4-dev-tools"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/dev-util/xfce4-dev-tools-9999/work/xfce4-dev-tools-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
 * Starting bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
ac-wrapper: warning: invalid WANT_AUTOCONF 'latest'; ignoring.
ac-wrapper: warning: invalid WANT_AUTOCONF 'latest'; ignoring.
configure.ac:52: installing './compile'
configure.ac:55: installing './config.guess'
configure.ac:55: installing './config.sub'
configure.ac:44: installing './install-sh'
configure.ac:44: installing './missing'
Makefile.am: installing './INSTALL'
xdt-csource/Makefile.am: installing './depcomp'
ac-wrapper: warning: invalid WANT_AUTOCONF 'latest'; ignoring.
Skipping configure process.
 * Bootstrap finished
>>> Unpacked to /var/tmp/portage/dev-util/xfce4-dev-tools-9999/work/xfce4-dev-tools-9999
>>> Source unpacked in /var/tmp/portage/dev-util/xfce4-dev-tools-9999/work
Comment 8 Derk W te Bokkel 2013-01-09 21:45:53 UTC
Looks like for xfce4-dev-tools needs a third option for xfconf_src_prepare () portion of xfconf.eclass to skip (i.e. do nothing) as it appears libtool already runs via autogen.sh .. or should the ebuild force  the first option

Is this feasible? Or should another approach be used?
Comment 9 Christoph Mende (RETIRED) gentoo-dev 2013-03-30 08:51:39 UTC
Fixed by skipping xfconf_src_prepare
Comment 10 Derk W te Bokkel 2014-04-14 22:50:58 UTC
pls refix bug came back .. these lines were removed

# Avoid running elibtoolize (bug #450452)
src_prepare() { :; }