[MacPorts] #32424: clhep: outdated (request for 2.1.1.0) & broken on Lion

MacPorts noreply at macports.org
Sat Dec 17 15:06:36 PST 2011


#32424: clhep: outdated (request for 2.1.1.0) & broken on Lion
--------------------------------------------+-------------------------------
 Reporter:  mojca.miklavec.lists@…          |       Owner:  cristiano.fontana@…         
     Type:  defect                          |      Status:  new                         
 Priority:  Normal                          |   Milestone:                              
Component:  ports                           |     Version:  2.0.3                       
 Keywords:  haspatch                        |        Port:  clhep                       
--------------------------------------------+-------------------------------

Comment(by mojca.miklavec.lists@…):

 I'm not sure if I should open a new ticket or not, but in the meantime a
 new version of clhep has been released which fixes some bugs that
 prevented smooth compilation of 2.1.1.0 with clang. Here is a port that
 works fine for me:

 {{{
 PortSystem          1.0
 PortGroup           cmake 1.0
 name                clhep
 version             2.1.2.0
 revision            0
 categories          science
 maintainers         pd.infn.it:cristiano.fontana
 license             public-domain
 description         A Class Library for High Energy Physics
 long_description    A Class Library for High Energy Physics
 homepage            http://www.cern.ch/clhep
 platforms           darwin
 extract.suffix      .tgz
 master_sites        http://proj-clhep.web.cern.ch/proj-
 clhep/DISTRIBUTION/tarFiles/

 checksums           md5 05fcf105cb9839e24fee58b7fc2878bb

 # a workaround for out-of-source build; below we need to specify
 '${workpath}/${version}/CLHEP' as source
 worksrcdir          ${version}/build
 post-extract { file mkdir ${worksrcpath} }

 configure.args-append -DCMAKE_BUILD_TYPE:STRING=Release \
                       ${workpath}/${version}/CLHEP
 }}}

 There is also a possibly relevant option CLHEP_BUILD_DOCS that I didn't
 yet try out. Until the decision about dropping the package is made: can
 somebody please update the port?

 There is one tiny bug in macports though (or my misunderstanding?), but
 I'm not sure where it comes from. The build system doesn't quite respect
 the site from where it should fetch the package:

 {{{
 > sudo port install clhep
 --->  Computing dependencies for clhep
 --->  Fetching archive for clhep
 --->  Attempting to fetch clhep-2.1.2.0_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/clhep
 --->  Fetching clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from http://proj-
 clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://distfiles.macports.org/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://jog.id.distfiles.macports.org/macports/mpdistfiles/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://lil.fr.distfiles.macports.org/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://sea.us.distfiles.macports.org/macports/mpdistfiles/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://svn.macports.org/repository/macports/distfiles/clhep
 Error: Target org.macports.fetch returned: fetch failed
 Log for clhep is at:
 /opt/local/var/macports/logs/_Users_mojca_app_macports_mojca_science_clhep/clhep/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

 > sudo port install clhep
 --->  Computing dependencies for clhep
 --->  Fetching clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from
 http://lil.fr.distfiles.macports.org/clhep
 --->  Attempting to fetch clhep-2.1.2.0.tgz from http://proj-
 clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/
 --->  Verifying checksum(s) for clhep
 --->  Extracting clhep
 --->  Configuring clhep
 --->  Building clhep
 --->  Staging clhep into destroot
 --->  Installing clhep @2.1.2.0_0
 --->  Activating clhep @2.1.2.0_0
 --->  Cleaning clhep
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32424#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list