Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280925 - sci-physics/root-5.24.00 version bump
Summary: sci-physics/root-5.24.00 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-09 21:24 UTC by Andrew Savchenko
Modified: 2009-11-19 05:49 UTC (History)
3 users (show)

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


Attachments
ebuild (root-5.24.00.ebuild,8.88 KB, text/plain)
2009-08-09 21:25 UTC, Andrew Savchenko
Details
root-5.24.00-prop-flags.patch (root-5.24.00-prop-flags.patch,1.65 KB, patch)
2009-08-09 21:26 UTC, Andrew Savchenko
Details | Diff
root-5.24.00-as-needed.patch (root-5.24.00-as-needed.patch,956 bytes, patch)
2009-08-09 21:26 UTC, Andrew Savchenko
Details | Diff
root-5.24.00-xrootd-prop-flags.patch (root-5.24.00-xrootd-prop-flags.patch,31.37 KB, patch)
2009-08-09 21:28 UTC, Andrew Savchenko
Details | Diff
root-5.24.00-configure-paths.patch (root-5.24.00-configure-paths.patch,2.69 KB, patch)
2009-08-09 21:28 UTC, Andrew Savchenko
Details | Diff
root-5.24.00-g4root-flags.patch (root-5.24.00-g4root-flags.patch,553 bytes, patch)
2009-08-09 21:30 UTC, Andrew Savchenko
Details | Diff
root-5.24.00-configure-sandbox.patch (root-5.24.00-configure-sandbox.patch,583 bytes, patch)
2009-08-09 21:31 UTC, Andrew Savchenko
Details | Diff
root-5.24.00-minuit2-openmp.patch (root-5.24.00-minuit2-openmp.patch,514 bytes, patch)
2009-08-10 00:36 UTC, Andrew Savchenko
Details | Diff
root-5.24.00.ebuild (root-5.24.00.ebuild,8.92 KB, text/plain)
2009-08-10 00:40 UTC, Andrew Savchenko
Details
gcc-4.4.x fix (root-5.24.00-gcc-4.4.x.patch,427 bytes, patch)
2009-08-23 18:38 UTC, Andrew Savchenko
Details | Diff
ebuild with gcc-4.4 patch (root-5.24.00.ebuild,8.97 KB, text/plain)
2009-08-23 18:39 UTC, Andrew Savchenko
Details
patch for --as-needed width fix for xrootd build problem (root-5.24.00-as-needed.patch,2.16 KB, patch)
2009-09-29 12:12 UTC, Andrew Savchenko
Details | Diff
ebuild for new --as-needed patch (root-5.24.00.ebuild,8.97 KB, text/plain)
2009-09-29 12:15 UTC, Andrew Savchenko
Details
patch for portage ebuild and newer --as-needed patch (root-5.24.00.ebuild-as-needed.patch,554 bytes, patch)
2009-10-09 19:18 UTC, Andrew Savchenko
Details | Diff
tmva pdf installation fix (root-5.24.00.ebuild-tmva.patch,460 bytes, patch)
2009-10-13 19:58 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2009-08-09 21:24:21 UTC
Hello,

5.24.00 is out for a quite long while, but is still outside the portage.
This is version bump altogether with updated patches from 5.22.00 patchset.

Please note that svn29183, cint7-libdir and xrootd-shared patches are needed no longer as an appropriate changes made upstream in the 5.24.00
Comment 1 Andrew Savchenko gentoo-dev 2009-08-09 21:25:24 UTC
Created attachment 200733 [details]
ebuild

Users Guide version is updated as well.
Comment 2 Andrew Savchenko gentoo-dev 2009-08-09 21:26:31 UTC
Created attachment 200735 [details, diff]
root-5.24.00-prop-flags.patch

from 5.22.00
Comment 3 Andrew Savchenko gentoo-dev 2009-08-09 21:26:56 UTC
Created attachment 200737 [details, diff]
root-5.24.00-as-needed.patch

from 5.22.00
Comment 4 Andrew Savchenko gentoo-dev 2009-08-09 21:28:07 UTC
Created attachment 200739 [details, diff]
root-5.24.00-xrootd-prop-flags.patch

Updated from 5.22.00.
I'm not 100% sure I updated all required places, at least it seems to work ok.
Comment 5 Andrew Savchenko gentoo-dev 2009-08-09 21:28:32 UTC
Created attachment 200740 [details, diff]
root-5.24.00-configure-paths.patch

from 5.22.00
Comment 6 Andrew Savchenko gentoo-dev 2009-08-09 21:30:31 UTC
Created attachment 200743 [details, diff]
root-5.24.00-g4root-flags.patch

fix for 276406.
Comment 7 Andrew Savchenko gentoo-dev 2009-08-09 21:31:45 UTC
Created attachment 200745 [details, diff]
root-5.24.00-configure-sandbox.patch

fix for #280869
Comment 8 Andrew Savchenko gentoo-dev 2009-08-10 00:36:35 UTC
Created attachment 200763 [details, diff]
root-5.24.00-minuit2-openmp.patch

It appears 5.24 fails to compile with minuit2 and openmp.
Fix is rather simple: the reason is forgotten ifndef clause.
Comment 9 Andrew Savchenko gentoo-dev 2009-08-10 00:40:00 UTC
Created attachment 200765 [details]
root-5.24.00.ebuild

New ebuild using openmp patch.

Note: Bug #280197 is still in effect for 5.24.
It seems to be an API change in recent mit-krb5-1.7, compilation is ok with 1.6.3.
Comment 10 Andrew Savchenko gentoo-dev 2009-08-23 18:38:31 UTC
Created attachment 202069 [details, diff]
gcc-4.4.x fix

With gcc-4.4.1 root fails to build with the following:
bin/rmkdepend -R -fmain/src/hadd.d -Y -w 1000 -- -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -march=athlon-xp -m32 --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -mfpmath=sse -pipe -pthread -D__cplusplus -- main/src/hadd.cxx
i686-pc-linux-gnu-g++  -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -march=athlon-xp -m32 --param l1-cache-line-size=64 --param l1-cache-size=64 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -mfpmath=sse -pipe -pthread  -o main/src/hadd.o -c main/src/hadd.cxx
g++ -m32  -Wl,-O1 -o bin/hadd main/src/hadd.o  \
                   -Llib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix -lMathCore -lThread -lm -ldl  -pthread -rdynamic
lib/libRIO.so: undefined reference to `int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int, int, int)'
collect2: ld returned 1 exit status
make: *** [bin/hadd] Error 1

This problem was also reported by Arch users:
http://bbs.archlinux.org/viewtopic.php?id=76927
and discussed at root talks:
http://root.cern.ch/root/roottalk/roottalk09/0267.html

Proposed patch is not the best solution, but it seems gcc-4.4.x broke something. At least the patch works ok for me.
Comment 11 Andrew Savchenko gentoo-dev 2009-08-23 18:39:17 UTC
Created attachment 202071 [details]
ebuild with gcc-4.4 patch
Comment 12 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-24 00:09:40 UTC
It's now in portage however masked since I encounter still a few problems on amd64 and with xrootd enabled.
If someone has extra patches, please share.
Thanks.
Comment 13 Andrew Savchenko gentoo-dev 2009-09-28 13:05:50 UTC
(In reply to comment #12)
> It's now in portage however masked since I encounter still a few problems on
> amd64 and with xrootd enabled.
> If someone has extra patches, please share.
> Thanks.

Problem with xrootd is triggered by --as-needed (at least in my case), otherwise it compiles OK. Will look more thoroughly to this problem later.
Comment 14 Andrew Savchenko gentoo-dev 2009-09-29 12:12:14 UTC
Created attachment 205578 [details, diff]
patch for --as-needed width fix for xrootd build problem

Path for issue with xrootd and --as-needed. Maybe this fix problem Sébastien mentioned. Tested on x86; sorry, I have no setup to test on amd64.

Note: this patch must be applied after root-5.24.00-xrootd-prop-flags.patch.
Comment 15 Andrew Savchenko gentoo-dev 2009-09-29 12:15:24 UTC
Created attachment 205580 [details]
ebuild for new --as-needed patch

Newer ebuild instead of earlier proposed.

Sorry, can't adapt it for current in-tree ebuild for 5.24 right now because my main portage tree is frozen for global --as-needed recompile, if I'll mix portage update with emerge -e process, this will be a horrible mess.
Comment 16 Andrew Savchenko gentoo-dev 2009-09-29 12:19:03 UTC
Sébastien, by the way at least some of gentoo patches may be (and should be) applied upstream. Have an attempt to contact upstream been made? Were there any objections? They are usually good on communications.
Comment 17 Andrew Savchenko gentoo-dev 2009-09-30 23:04:06 UTC
Unfortunately root compiled with --as-needed freezes on run-time in some cases for me, without --as-needed it works OK. This happens for both 5.22.00-r2 and 5.24.00 thus I opened new bug 287178 for this issue.
Comment 18 Sébastien Fabbro (RETIRED) gentoo-dev 2009-10-02 17:19:20 UTC
(In reply to comment #15)
> Created an attachment (id=205580) [edit]
> ebuild for new --as-needed patch
>

Hi,

Thanks for the patch. Please patch your ebuild against the tree one, which is quite modified with respect to the earlier one you posted. I will take a deeper look.

(In reply to comment #16)
> Sébastien, by the way at least some of gentoo patches may be (and should be)
> applied upstream. Have an attempt to contact upstream been made? 

I've been slacking lately with my upstream communication. Will do more as soon as we have thoses patches stable.


Comment 19 John (EBo) David 2009-10-03 23:15:18 UTC
I just installed 5.24.00 for testing purposes and found that various makefiles in /etc/root/vmc/Makefile.* replaced their definitions of CC, CXX, and F77 with calls to root-config.  Unfortunately, "root-config --f77" the following returns nothing, however gfortran is installed, running, and widely used on my system.

==================== obligatory emerge --info ======================



Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r3, 2.6.31-tuxonice i686)
=================================================================
System uname: Linux-2.6.31-tuxonice-i686-Intel-R-_Pentium-R-_Dual_CPU_T2330_@_1.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 03 Oct 2009 16:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/pd-overlay /usr/local/portage/layman/sunrise /home/ebo/gtd/projects/computer/local_portage/ref/local-portage"
SYNC=" rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa arts audiofile bash-completion berkdb blas blender-game bluetooth branding bzip2 cairo cdr cern cli clisp cmucl consolekit cracklib crypt css cups curl cvs dbus divx dri dts dvd dvdr dvdread eds emacs emboss encode esd evo fam ffmpeg fftw firefox fits flac fortran ft2232 ftdi ftp gcl gd gdbm geant4 geos gif gimp git gmedia gnome gpg gpm graphviz gstreamer gtk hal haskell hddtemp hdf5 iconv ieee1394 iodbc ipod ipv6 ipw3945 isdnlog jack java java6 javascript jpeg jpeg2k kde lapack laptop latex ldap libnotify lm_sensors lzf lzo mad mikmod modules mp3 mp4 mpeg mpi mudflap mysql ncurses netcdf nls nptl nptlonly nsplugin odbc ogdi ogg openal opengl openmp osc pam parport pcre pdf perl php png portaudio postgres ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection romio sasl sbcl scanner sdl session snmp spell spl sql ssl startup-notification subversion svg sysfs tcl tcpd theora threads thunar tiff tk truetype unicode usb vorbis wavpack webdav-neon win32codecs wmf wmp wxwidgets x264 x86 xcb xine xinerama xml xorg xpm xprint xrootd xulrunner xv 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="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 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" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 v4l vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 20 Andrew Savchenko gentoo-dev 2009-10-09 19:18:06 UTC
Created attachment 206573 [details, diff]
patch for portage ebuild and newer --as-needed patch

Hello,

(In reply to comment #18)
[...]
> Thanks for the patch. Please patch your ebuild against the tree one, which is
> quite modified with respect to the earlier one you posted. I will take a deeper
> look.

OK. Patch itself works well without changes.
This is the patch for in-portage ebuild.
Comment 21 Andrew Savchenko gentoo-dev 2009-10-09 19:20:23 UTC
(In reply to comment #19)
> I just installed 5.24.00 for testing purposes and found that various makefiles
> in /etc/root/vmc/Makefile.* replaced their definitions of CC, CXX, and F77 with
> calls to root-config.  Unfortunately, "root-config --f77" the following returns
> nothing, however gfortran is installed, running, and widely used on my system.

This is odd, on both my systems root-config --f77 returns gfortran. Please post your root-config --config, on my systems in contains "--with-f77=gfortran".
Comment 22 Andrew Savchenko gentoo-dev 2009-10-13 19:58:39 UTC
Created attachment 207005 [details, diff]
tmva pdf installation fix

Present ebuild fails to install TMVA pdf due to '-'=>'_' mismatch in pdf file name. This patch fixes it.

Bug is also present for older ebuils with similar fix. You got the idea.
Comment 23 Sébastien Fabbro (RETIRED) gentoo-dev 2009-11-19 05:49:27 UTC
root-5.24.00-r1 unmasked. Please file new bugs if you encounter problems with this version.
Thanks