Your message dated Thu, 17 Jul 2014 19:33:36 +0000 with message-id <[email protected]> and subject line Bug#695257: fixed in fsl 5.0.7-2 has caused the Debian Bug report #695257, regarding fsl: Clean enviroment path to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 695257: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695257 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: fsl Version: 4.1.9-6~nd60+1 Severity: normal Tags: patch upstream Having multiple versions of fsl installed, I find that the PATH and LD_LIBRARY_PATH are not cleaned when switching versions (sourceing fsl.sh multiple times). Arguably a corner case, with a simple solution: AWK ONLY: =-=-=--==- --- /tmp/4 2012-12-05 13:36:24.000000000 +0100 +++ /etc/fsl/fsl.sh 2012-12-06 10:00:17.000000000 +0100 @@ -13,7 +13,8 @@ # Possum is installed in the same directory POSSUMDIR=$FSLDIR -# add the fsl binary path to the search path +# clean up and add the fsl binary path to the search path +PATH=$( echo $PATH | awk -F":" '{ORS="";MYOUT=0;for (i=1;i<=NF;i++){ if ($i !~ /\/fsl\//){if (MYOUT==0){ print $i ; MYOUT++ } else print ":"$i }}}' ) PATH=$PATH:/usr/lib/fsl/4.1 # The following variable selects the default output image type @@ -62,7 +63,8 @@ FSLWISH FSLBROWSER FSLLOCKDIR FSLMACHINELIST FSLREMOTECALL -# Configure the linker search path for Debian FSLs internal shared libraries +# Clean and Configure the linker search path for Debian FSLs internal shared libraries +LD_LIBRARY_PATH=$( echo $LD_LIBRARY_PATH | awk -F":" '{ORS="";MYOUT=0;for (i=1;i<=NF;i++){ if ($i !~ /\/fsl\//){if (MYOUT==0){ print $i ; MYOUT++ } else print ":"$i }}}' ) LD_LIBRARY_PATH=/usr/lib/fsl/4.1${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} export LD_LIBRARY_PATH SHORTER BUT MORE PROGS INVOLVED =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --- /tmp/4 2012-12-06 10:24:30.841855594 +0100 +++ /tmp/fsl 2012-12-05 17:41:58.732980398 +0100 @@ -13,6 +13,9 @@ # Possum is installed in the same directory POSSUMDIR=$FSLDIR +# clean out previous fsl PATH components +PATH=$( echo $PATH | tr ":" "\n" | grep -v "/fsl/" | tr -s "\n" ":" | sed 's/:$//') + # add the fsl binary path to the search path PATH=$PATH:/usr/lib/fsl/4.1 @@ -62,6 +65,9 @@ FSLWISH FSLBROWSER FSLLOCKDIR FSLMACHINELIST FSLREMOTECALL +# clean out previous fsl LD_LIBRARY_PATH components +LD_LIBRARY_PATH=$( echo $LD_LIBRARY_PATH | tr ":" "\n" | grep -v "/fsl/" | tr -s "\n" ":" | sed 's/:$//') + # Configure the linker search path for Debian FSLs internal shared libraries LD_LIBRARY_PATH=/usr/lib/fsl/4.1${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} export LD_LIBRARY_PATH Thank you Michael for ND and Mark for FSL! Vincent -- System Information: Debian Release: 6.0.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/16 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages fsl depends on: ii fsl-4.1 4.1.9-6~nd60+1 analysis tools for FMRI, MRI and D fsl recommends no packages. fsl suggests no packages. -- no debconf information ------------------------------------------------------------------------------ De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Het Universitair Medisch Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W. (Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197. Denk s.v.p aan het milieu voor u deze e-mail afdrukt. ------------------------------------------------------------------------------ This message may contain confidential information and is intended exclusively for the addressee. If you receive this message unintentionally, please do not use the contents but notify the sender immediately by return e-mail. University Medical Center Utrecht is a legal person by public law and is registered at the Chamber of Commerce for Midden-Nederland under no. 30244197. Please consider the environment before printing this e-mail.
--- End Message ---
--- Begin Message ---Source: fsl Source-Version: 5.0.7-2 We believe that the bug you reported is fixed in the latest version of fsl, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Hanke <[email protected]> (supplier of updated fsl package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 17 Jul 2014 15:44:44 +0200 Source: fsl Binary: fsl fsl-5.0 fsl-core fsl-5.0-core Architecture: source amd64 all Version: 5.0.7-2 Distribution: unstable Urgency: low Maintainer: NeuroDebian Team <[email protected]> Changed-By: Michael Hanke <[email protected]> Description: fsl - transitional dummy package fsl-5.0 - transitional dummy package fsl-5.0-core - analysis tools for FMRI, MRI and DTI brain imaging fsl-core - metapackage for the latest version of FSL Closes: 685757 693373 695257 Changes: fsl (5.0.7-2) unstable; urgency=low . * Add a patch to make randomise_parallel work on systems that do not have bash as their default shell (Closes: #693373). Thanks to Philip Chase for the patch. * Add a patch to honor an unset FSLPARALLEL (do not submit jobs to a cluster) even in cases where SGE_ROOT is set (Closes: #685757). Thanks to German Gomez-Herrero for the patch. * Sanitize PATH and LD_LIBRARY_PATH when sourcing the configuration file. Old/duplicate FSL path entries are now removed (Closes: #695257). Thanks to Vincent Kersten for the patch. Checksums-Sha1: fdd30310a8f7f4d7a4c934f7c04fa2e98b3f786b 2496 fsl_5.0.7-2.dsc d590beb5738304d60da422bf9c39341765e35930 36000 fsl_5.0.7-2.debian.tar.xz 68cc2cff8d7b4a57c21af8b84edf86b76f3cd11c 8309864 fsl-5.0-core_5.0.7-2_amd64.deb efff40ce119b5edb30b5d8c9c2e679ce21e24882 20070 fsl_5.0.7-2_all.deb d116eb82f0a753cd4dd5ed511dd50e3accfbd6af 18658 fsl-5.0_5.0.7-2_all.deb c79e937c667021a98456e55e3fdbc4bbb50f2ffd 19930 fsl-core_5.0.7-2_all.deb Checksums-Sha256: db2afe3fd6d98709f589c5b536400e74c7aba8575d291b213dae1eb602458948 2496 fsl_5.0.7-2.dsc cca299a22345ab34692c47cef1ac234c82f886fe67420d05f507b0582128630b 36000 fsl_5.0.7-2.debian.tar.xz b346b42af27c139e7607b21704a834d837b49c7d9400cbe69ad93fa13222a787 8309864 fsl-5.0-core_5.0.7-2_amd64.deb 04d7dbf22acdcf7ca9d92d89ba895577112c235e605412f89c48c9a22a1a71ba 20070 fsl_5.0.7-2_all.deb 2eb4bb6f093bb593f8f2548ce5996775184f2039b7be7bdd3344aa5dcc72b2af 18658 fsl-5.0_5.0.7-2_all.deb 4daab31e793b02a415f823e6626a6b0ad8421095a2c9cebdf700b502a714c29a 19930 fsl-core_5.0.7-2_all.deb Files: 8dc304e509ea68c84b3dcb4a94f53346 8309864 non-free/science optional fsl-5.0-core_5.0.7-2_amd64.deb ea96cc7041d15c7e0dd2ce7db5a19c0b 20070 non-free/oldlibs optional fsl_5.0.7-2_all.deb 487eedd7c893a9a52ab8333f3803f84c 18658 non-free/oldlibs optional fsl-5.0_5.0.7-2_all.deb 7f9b39961292d97e5b090f9862ab4837 19930 non-free/science optional fsl-core_5.0.7-2_all.deb a962ffbe6fae329043cf51ea592995ea 2496 non-free/science optional fsl_5.0.7-2.dsc cb60efc98a2d5153d3b5cf15943eb7a8 36000 non-free/science optional fsl_5.0.7-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTyCCTAAoJEMBz0ih/+56bYnsP/jtH7zBNtagGn5/YOGFfEX5V z/L0s2qZ6ELoTWg9lD1qsxQN3HjBJLmJgsZDNhgCtIrZSYkZSPif58D0bGGsJVRj 863bk5hrp5diITQIarmGWDFHaXBR8phuOafBd0OZ7WYbtXYkkSKkBD12p/3Z2Crd g3kKlGaBngKCsfhF//CcdOJHQbryR//VpU/a5DwWxhcoxhJBZrxIzfq6RlKdbaLN Gpg1igpA4mz0V52gHOYBtous+slVx2n7kqo0hv/vTgZ7CVqq1sNhu7AGNYxcXPTV aSCPKYdF5jJUV6bJt+KJulsREEUaiBxhbbHqek7QwE3/UZzv6pvI4BMkgeZJR2xn i7PP2LpsGWvGzqVnFt15ZcRoJa+Oeae+Kikd8uAI1adnbAGLUfTkwiYR98EL6Xet RKya9U5XUxqOQjjvi4Nj3xGL50LyK1jOQ5QaNG6SbHS+KN/lYRohEu8qoQW0y4/E DQbB9/oMl7+Ez/p/pyXVegWOeHt7QHc6LUdc19L5fuSl4XraMpqMspf5kqaKFDSu St9xAokoOaztsLQo/zVx0zT9UFZxXAShH0fCxu1UyabigBeEBR5d1JtoMhEA3VK4 DYj3XC4lOGDetrTFAzuj5HdqwRePww0I4PwAvvetth5vKoaQGnUIPmXMNZC9A54m 7z1qOyIzVy4Oe4Xpz8M6 =ra/6 -----END PGP SIGNATURE-----
--- End Message ---

