[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Geant4 package



Hello Lifeng,


Excellent, I applied the patches, and it now builds successfully. The git repository is updated.


I tested the package afterwards, and there seems to be some issue with the wrapper scripts

g4run/g4env. g4run is essential for this package (you find it in debian/scripts). If you execute
"g4run g4env", you are supposed to get the environment variables printed, but it returned nothing for me. I will have a look (anyone are welcome to fix!). I checked, and I have no changes made to the scripts since the previous build. Further, I have pretty much no changes to the pathces, except for the "set fortran compiler" one since it used cernlib scripts.


I also have some lintian errors/warnings:

Now running lintian...

W: geant4 source: patch-system-but-no-source-readme

W: geant4 source: ancient-standards-version 3.7.3 (current is 3.9.1)

E: geant4-common: maintainer-script-modifies-ld-so-conf preinst:17

E: geant4-common: package-modifies-ld.so-search-path etc/ld.so.conf.d/geant4-common.conf

W: geant4-common: symlink-is-self-recursive usr/lib/geant4/Linux-g++ .

N: 6 tags overridden (6 warnings)

Finished running lintian.


I know Kevin had it "lintian free" back in the days, but as I have only recently become aware of this, I do not know when it changed. Would be good to improve if someone knows how to.


Cheers,

Yngve


Fredag 01 juli 2011 04.46.53 skrev Lifeng Sun :

> Hello Yngve,

>

> The attached patchset removes cernlib dependencies and fixes a

> regression that breaks the compilation of 4.9.4.p01. There are also

> some minor changes. Could you please apply it to the repo?

>

>

> Cheers,

> Lifeng

>

> On 09:34 Tue 06/28/11 Jun , Yngve Inntjore Levinsen wrote:

> > I uploaded the Geant4 package to git now, and are wondering if there are anyone willing to help me fix it/improve it. Currently I have managed to build a previous version 4.9.3.p02. The recent version, 4.9.4.p01 however, have not been built successfully. A couple of comments:

> >

> > - The packaging depended on CERNLIB before, but since Geant4 itself should not depend on CERNLIB anymore (?), I tried to remove the dependency (potentially not very successfully)

> > - The package depends on CLHEP, which has a redistribution license problem. We have been allowed to redistribute it on our unofficial CERN Debian server, where you can find the package: http://cern.ch/lcg-heppkg/debian/

> > - I tried to build the new version against the most recent version of CLHEP, 2.1.0.1. To get that version, contact me or do "apt-get source clhep2", update the source ( http://proj-clhep.web.cern.ch/proj-clhep/#download ) and build the package yourself.

> > - The Geant4 package was very well constructed from the original packager, Kevin B. McCarty. I might have broken some stuff, and misunderstood some parts. E.g. the soversion in debian/rules have been a bit of a mystery to me. Please fix/improve anything you see that I have done wrong.

> > - I am in the final 6 months of my PhD at the moment, so I have very little time working on this (sadly). I know though that there are quite a few people using this package, so if we could be able to release the new version it would be appreciated. As soon as the package builds fine I will immediately build and release the 64bit versions on our server, and see if I can get someone to build the 32bit versions as well.

> > - New Geant4 patch was released last week ( http://geant4.cern.ch/ ), that should ideally be incorporated as well.

> >

> > Cheers,

> > Yngve

>

>



Reply to: