First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 131080
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tobias Roeser <le.petit.fou@web.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cmake-2.4.0.ebuild dev-util/cmake-2.4.0.ebuild text/plain Tobias Roeser 2006-04-24 02:45 0000 1.22 KB Details
cmake-2.4.0-rpath-fix.patch cmake-2.4.0-rpath-fix.patch patch Tobias Roeser 2006-04-24 02:45 0000 468 bytes Details | Diff
cmake-2.4.0.ebuild cmake-2.4.0.ebuild text/plain Diego E. 'Flameeyes' Pettenò 2006-05-07 07:10 0000 1.04 KB Details
cmake-2.4.1.ebuild dev-util/cmake-2.4.1.ebuild text/plain Tobias Roeser 2006-05-07 08:48 0000 1.23 KB Details
cmake-2.4.1.ebuild dev-util/cmake-2.4.1.ebuild text/plain Tobias Roeser 2006-05-07 13:12 0000 1.05 KB Details
FindQt3.cmake CMake CVS' FindQt3.cmake as of late 7th May text/plain Craig Bradney 2006-05-07 13:24 0000 10.48 KB Details
cmake-2.4.1-FindQt3.patch cmake-2.4.1-FindQt3.patch patch Christian Lemke 2006-05-11 02:24 0000 993 bytes Details | Diff
cmake-2.4.1.ebuild updated version of the ebuild text/plain Pablo De Nápoli 2006-05-13 14:23 0000 1.10 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 131080 depends on: Show dependency tree
Show dependency graph
Bug 131080 blocks: 48552
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-24 02:43 0000
CMake 2.4.0 is out and required to build/develop KDE4 snapshots.

------- Comment #1 From Tobias Roeser 2006-04-24 02:45:10 0000 -------
Created an attachment (id=85347) [edit]
dev-util/cmake-2.4.0.ebuild

This ebuild need the next attached patch, too.

------- Comment #2 From Tobias Roeser 2006-04-24 02:45:58 0000 -------
Created an attachment (id=85348) [edit]
cmake-2.4.0-rpath-fix.patch

This patch is required for the above ebuild.

------- Comment #3 From Craig Bradney 2006-05-01 15:53:17 0000 -------
2.4.1 beta release is out now.

------- Comment #4 From Daniel Black 2006-05-02 06:57:44 0000 -------
Tobias no need to attach files that have just been renames.

What I'd like is for a patch for the ebuild to use  $(tc-getCXX) and
$(tc-getCC) rather than g++/gcc.

Fixes to the parallel make defiency also appreciated.

I'd also appreciate fixed to the self tests:
 23/ 62 Testing OutOfSource                   ***Failed
 25/ 62 Testing conly                         ***Failed
 27/ 62 Testing SimpleInstall                 ***Failed
 28/ 62 Testing SimpleInstall-Stage2          ***Failed
 32/ 62 Testing complex                       ***Failed
 33/ 62 Testing complexOneConfig              ***Failed
 42/ 62 Testing qtwrapping                    ***Failed
 51/ 62 Testing JumpWithLibOut                ***Failed
 52/ 62 Testing JumpNoLibOut                  ***Failed
85% tests passed, 9 tests failed out of 62

The following tests FAILED:
         23 - OutOfSource (Failed)
         25 - conly (Failed)
         27 - SimpleInstall (Failed)
         28 - SimpleInstall-Stage2 (Failed)
         32 - complex (Failed)
         33 - complexOneConfig (Failed)
         42 - qtwrapping (Failed)
         51 - JumpWithLibOut (Failed)
         52 - JumpNoLibOut (Failed)

Was run as 'ebuild cmake-2.4.0.ebuild install' as a non-root user with the
following envirnoment

Portage 2.1_pre10 (!/home/dan/gentoo/gentoo-x86/profiles/hardened/x86/2.6,
gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Athlon(tm)
Gentoo Base System version 1.12.0_pre18
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect cvs digest keepwork metadata-transfer
nostrip sandbox sfperms sign strict stricter test userpriv usersandbox
verify-rdepend"
GENTOO_MIRRORS=""
LDFLAGS=" -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac acpi alsa avi bash-completion berkdb bitmap-fonts
bzip2 caps crypt cups divx4linux dlloader ecc encode ethereal extensions
fastcgi fla flac fortran gd gmp gnutls gphoto2 gstreamer gtk gtk2 hardened hpn
i8x0 imagemagick imlib ipv6 javacomm jpeg kde kdeenablefinal kerberos libgda
lzo mbox mmx mp3 mpeg multitarget mysql nptl nptlonly ntlm ogg oggvorbis openal
opengl operanom2 pam perl php pic png postgres ppds python qt quicktime
readline samba sdl sguil slp socks5 sox spell sse ssl tiff true-type truetype
type1-fonts usb userlocales vhosts vorbis x86 xine xinerama xml xml2 zlib
elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LINGUAS

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2006-05-07 07:10:25 0000 -------
Created an attachment (id=86360) [edit]
cmake-2.4.0.ebuild

I've looked a bit at the ebuild, this version does not hardcode the
tc-getCC/tc-getCXX in the installed files so that a change in CHOST won't break
it and won't break crosscompile.
It also exports CC/CXX/LD before bootstrap so that the right compiler is used
during build.

It also uses versionator to get the v2.4 part for the SRC_URI.

I haven't looked at the tests yet.

------- Comment #6 From Tobias Roeser 2006-05-07 08:48:41 0000 -------
Created an attachment (id=86368) [edit]
dev-util/cmake-2.4.1.ebuild

version bump.

Same test failed as with 2.4.0. :(

------- Comment #7 From Diego E. 'Flameeyes' Pettenò 2006-05-07 08:51:56 0000 -------
Their own tests are broken, I suppose this is where RESTRICT=test would be
useful to use.

------- Comment #8 From Tobias Roeser 2006-05-07 12:50:07 0000 -------
(In reply to comment #6)
> Created an attachment (id=86368) [edit]
> dev-util/cmake-2.4.1.ebuild
> 
> version bump.

Sorry, this was derived from my (old) 2.4.0 ebuild, I've overseen flameeyes
one's. Have to submit a updated one, please wait...

------- Comment #9 From Craig Bradney 2006-05-07 13:08:50 0000 -------
FYI: FindQt3.cmake from CMake CVS finds Qt3's uic and moc correctly on Gentoo
when Qt4 is also installed. Was committed today. Tested it with our Scribus
CMake setup. It would be worth taking this file from CVS as a replacement
file/patch.

------- Comment #10 From Tobias Roeser 2006-05-07 13:12:40 0000 -------
Created an attachment (id=86392) [edit]
dev-util/cmake-2.4.1.ebuild

2.4.1 version bump derived from Diego's ebuild.

------- Comment #11 From Craig Bradney 2006-05-07 13:24:50 0000 -------
Created an attachment (id=86393) [edit]
CMake CVS' FindQt3.cmake as of late 7th May

This is the file. Unsure of the diff format you want so am attaching the whole
file. 

------- Comment #12 From Christian Lemke 2006-05-11 02:24:21 0000 -------
Created an attachment (id=86596) [edit]
cmake-2.4.1-FindQt3.patch

Here is a working patch for the FindQt3.cmake file.

------- Comment #13 From Pablo De Nápoli 2006-05-13 14:23:16 0000 -------
Created an attachment (id=86717) [edit]
updated version of the ebuild

updated version of the ebuild

------- Comment #14 From Pablo De Nápoli 2006-05-13 14:26:49 0000 -------
I've added the patch in comment #12
and reanamed the patch in comment #2
to version 2.4.1

------- Comment #15 From Kurt Hindenburg 2006-05-17 10:24:29 0000 -------
2.4.2 just release which seems to incorporte the FindQT3 patch.  I've been
using 2.4.1 w/o the rpath patch and it compiles KDE4 fine.

------- Comment #16 From Paul de Vrieze 2006-05-17 11:51:28 0000 -------
Kurt, the rpath patch causes binary specific paths for library files not to be
added. Those paths, when wrong, can be a security issue. As gentoo builds
packages in the /var/tmp temporary directory, it is possible for attackers to
add a library in the rpath directory and abuse this. Portage checks for such
rpaths and issues a warning that this is insecure. The given patch causes this
issue to not be present.

------- Comment #17 From Craig Bradney 2006-05-17 12:40:17 0000 -------
Yes, no need for the FindQt3.cmake patch with 2.4.2.

------- Comment #18 From Caleb Tennis 2006-05-23 05:47:29 0000 -------
Any chance to get 2.4.2 into portage?  Would be very helpful for people working
on KDE4 stuff.  I'm willing to bump it up myself (using a local copy here), but
don't want to step on any toes.

------- Comment #19 From Daniel Black 2006-05-23 16:47:27 0000 -------
Caleb I'm guess you haven't found any problems that may indicate the self tests
are correct in failing.

I was just going to try to debug them before continuing but if your comfortable
feel free to commit. Sorry for holding you up.

------- Comment #20 From Alexander Stein 2006-05-24 03:17:31 0000 -------
I have problems with the cmake-2.4.1-FindQt3.patch renamed for 2.4.2, but 2.4.1
installs fine.
But I have another problem: i tried to compile a program which need cmake
>=2.4, but i got these errors:
[...]
-- Didn't find KDE3 headers
-- Didn't find KDE3 core library
-- Found KDE3 dcopidl preprocessor: /usr/kde/3.5/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /usr/kde/3.5/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /usr/kde/3.5/bin/kconfig_compiler
Could NOT find everything required for compiling KDE 3 programs
-- Configuring done

I have to set the headers and the core lib by hand to compile the programm. How
can this be fixed? KDEDIR seems to be depricated.

------- Comment #21 From Craig Bradney 2006-05-24 03:39:53 0000 -------
You don't need the patch for 2.4.2, the difference between the 2.4.1 and 2.4.2
files should be the patch, unless any changes were made from when I pulled it
from 2.4.2cvs.

------- Comment #22 From Daniel Black 2006-05-24 15:26:28 0000 -------
added - thanks everyone.  Any fixes to the selftest please let me know.

------- Comment #23 From Bill Hoffman 2006-06-19 19:28:20 0000 -------
CMake 2.2.3 had a bug with rpaths, in that installed programs could
have rpaths pointing into the build tree.  As of CMake 2.4.0, cmake
will no longer do that.   However, the patch applied to cmake 2.4.2 breaks
it, as all rpaths are disabled.   How can this issue be resolved so that
CMake is not modified anymore on gentoo?

------- Comment #24 From Daniel Black 2006-08-01 07:23:55 0000 -------
(In reply to comment #23)
> However, the patch applied to cmake 2.4.2 breaks
> it, as all rpaths are disabled.

2.4.2 contains an probably unneeded rpath patch
2.4.2-r1 contains a kde path patch (bug #137918, kde bug #129737)

>  How can this issue be resolved
The issue of no rpaths? what applications need them? or is this some of your
custom work?

> so that
> CMake is not modified anymore on gentoo?

2.4.2-r1's patch is only slight intrusive on the kde side.

I don't profess to be an expert in cmake so all the explaination you can give
is appreciated.

Note for next time- this is really a new bug.

First Last Prev Next    No search results available      Search page      Enter new bug