Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] cmake upgrade -- missing patch file?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SaltyPeanut
n00b
n00b


Joined: 10 Sep 2012
Posts: 8

PostPosted: Mon Sep 10, 2012 1:37 am    Post subject: [solved] cmake upgrade -- missing patch file? Reply with quote

As part of the libpng fiasco fix, I'm trying to update from cmake 2.8.1 to 2.8.8-r3 and I'm getting a missing patch error:

Code:
# emerge --verbose  poppler

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-util/cmake-2.8.8-r3 [2.8.1-r2] USE="ncurses -emacs -qt4 -test% -vim-syntax" 0 kB
[ebuild  N     ] app-text/poppler-0.18.4-r2  USE="cairo cjk curl cxx introspection jpeg lcms png tiff utils -debug -doc -jpeg2k -qt4" 0 kB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-util/cmake-2.8.8-r3
 * cmake-2.8.8.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                [ ok ]
 * Fixing java access violations ...
>>> Unpacking source...
>>> Unpacking cmake-2.8.8.tar.gz to /var/tmp/portage/dev-util/cmake-2.8.8-r3/work
>>> Source unpacked in /var/tmp/portage/dev-util/cmake-2.8.8-r3/work
>>> Preparing source in /var/tmp/portage/dev-util/cmake-2.8.8-r3/work/cmake-2.8.8 ...
 * Applying cmake-2.6.3-darwin-bundle.patch ...                                                                                                           [ ok ]
 * Applying cmake-2.6.3-no-duplicates-in-rpath.patch ...                                                                                                  [ ok ]
 * Applying cmake-2.6.3-fix_broken_lfs_on_aix.patch ...                                                                                                   [ ok ]
 * Applying cmake-2.8.0-darwin-default-install_name.patch ...                                                                                             [ ok ]
 * Applying cmake-2.8.1-libform.patch ...                                                                                                                 [ ok ]
 * QA: File or directory "/usr/portage/dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch" does not exist.
 * QA: Check your PATCHES array or add missing file/directory.
 * Applying cmake-2.8.7-FindBoost-python.patch ...                                                                                                        [ ok ]
 * Applying cmake-2.8.7-FindBLAS.patch ...                                                                                                                [ ok ]
 * Applying cmake-2.8.7-FindLAPACK.patch ...                                                                                                              [ ok ]
 * Applying cmake-2.8.8-FindPkgConfig.patch ...                                                                                                           [ ok ]
 * Applying cmake-2.8.8-more-no_host_paths.patch ...                                                                                                      [ ok ]
 * Applying cmake-2.8.8-tests.patch ...                                                                                                                   [ ok ]
 * Applying cmake-2.8.8-pkgconfig.patch ...                                                                                                               [ ok ]
 * ERROR: dev-util/cmake-2.8.8-r3 failed (prepare phase):
 *   Some patches failed. See above messages.


output of emerge --info:
Code:
# emerge --info '=dev-util/cmake-2.8.8-r3'
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.2-r3, 3.2.1-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_Phenom-tm-_9550_Quad-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Sun, 09 Sep 2012 23:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.8, 3.1.5, 3.2.3
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.1-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.3-r1
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.5, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.1.2, 4.3.4, 4.4.5
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.81-r2
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.11.2-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbo
x sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.mcs.anl.gov/pub/gentoo/ http://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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=/d
istfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac acl acpi afs aim alsa amd64 avahi bash-completion berkdb bzip2 cdr cjk cli cracklib crypt css cups curl cxx dbus dri dvd dvdr encode exif ffmpeg flac
foomaticdb fortran ftp gdbm gif gimp gpm gtk iconv ieee1394 imagemagick ipv6 jabber jpeg kerberos mdnsresponder-compat mime mmx modules mpeg mplayer mudflap mult
ilib ncurses nls nptl ogg opengl openmp pam pcre pdf png pppd readline session socks5 spell sse sse2 ssl svg tcpd tiff truetype unicode usb vnc vorbis xcomposite
 xine xinerama xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel int
el8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec95
8 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_ano
n 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 defla
te 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 s
tatus unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGIN
S="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 wacom" KERNEL
="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_T
ARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota
2 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_R
SYNC_EXTRA_OPTS, USE_PYTHON


Seems like the error is that I'm missing the "/usr/portage/dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch" but I can't seem to figure out where I'm supposed to get the patch from. Any help would be appreciated.


Last edited by SaltyPeanut on Mon Sep 10, 2012 3:09 am; edited 1 time in total
Back to top
View user's profile Send private message
SaltyPeanut
n00b
n00b


Joined: 10 Sep 2012
Posts: 8

PostPosted: Mon Sep 10, 2012 3:09 am    Post subject: Reply with quote

Fixed my own problem (hopefully):

Grabbed the patch file from the CVS repo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/cmake/files/?hideattic=0

Made my own ebuild with the patch file, seemed to fix the issue. I guess I could have also put the patch file in the /etc/portage/dev-util/cmake/files/ directory, but I didn't want to mess with the main tree.

I note that the missing patch file seems to have been deleted from the main tree sometime earlier this evening, so maybe this was just some oversight error. Anyway, cmake compiled now when I replaced the patch file, and hopefully I didn't break anything too bad. :D
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7904

PostPosted: Mon Sep 10, 2012 3:21 am    Post subject: Reply with quote

That is exactly the workaround which I was going to suggest after checking that the file was absent and still called for in the current version of that ebuild, the former would indicate a problem with your copy of the tree whereas the latter would just mean another emerge --sync would be in order, within the usual guidelines for such. As it is, this is a known bug and the developers maintaining that package have been notified.

And with that, welcome to the forums.
Back to top
View user's profile Send private message
SaltyPeanut
n00b
n00b


Joined: 10 Sep 2012
Posts: 8

PostPosted: Mon Sep 10, 2012 3:58 am    Post subject: Reply with quote

desultory wrote:
That is exactly the workaround which I was going to suggest after checking that the file was absent and still called for in the current version of that ebuild, the former would indicate a problem with your copy of the tree whereas the latter would just mean another emerge --sync would be in order, within the usual guidelines for such. As it is, this is a known bug and the developers maintaining that package have been notified.

And with that, welcome to the forums.


Thanks. I am a bit confused as to why the patch was removed; the change log seems to indicate that portage 2.2+ users won't need it? But last I checked, the portage package is still at 2.1 (at least that is what packages.gentoo.org shows me). I guess we'll be seeing some new changes pushed through in the next few days?
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7904

PostPosted: Mon Sep 10, 2012 4:34 am    Post subject: Reply with quote

So far as I can tell, from the relatively quick check that I made, it appears to have been removed on the assumption that it was no longer necessary for versions remaining in the tree. Once the bug is resolved, which I suspect will be within a day, we should know with more certainty.
Back to top
View user's profile Send private message
lostpaperclips
n00b
n00b


Joined: 19 Jun 2011
Posts: 9
Location: United States

PostPosted: Mon Sep 10, 2012 5:49 am    Post subject: Reply with quote

This can be tracked by Bug #434524.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum