Re: trying to overwrite `/sw/var/tomcat8/webapps', which is also in package metaboanalyst-tomcat8-r31
Jack Howarth <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <CAP5Ds0Am67nDaskO4iNVYW+LfhXFHX2SeUP-EwUNfvo+pdVyXw@mail.gmail.com> |
FYI, I have fixed this issue in 10.7 tree by moving the %p/var/tomcat[6,7,8]webapps symlinks out of the main tomcat[6,7,8] packages. It is now created into the PostInstScript and deleted in the PreRmScript script which solves reinstalling tomcat[6,7,8] while metaboanalyst- tomcat[6,7,8] -r[30,31] is installed. On Fri, May 23, 2014 at 8:13 AM, Jack Howarth <[email protected]>wrote: > I am running into a conflict between the tomcat-webapps split-off of > tomcat[6,7,8] and metaboanalyst-tomcat[6,7,8]-r[30,31] which is very > confusing. The metaboanalyst--r packaging stores a war file in > %p/share/webapps. While… > > fink install metaboanalyst-tomcat8-r31 > > works fine, installing both tomcat8 and then metaboanalyst-tomcat8-r31, if > you them execute… > > fink rebuild tomcat8 > > or > > fink reinstall tomcat8 > > the reinstallation of tomcat8 fails with… > > Preparing to replace tomcat8 8.0.5-2 (using > .../tomcat8_8.0.5-2_darwin-x86_64.deb) ... > Unpacking replacement tomcat8 ... > /sw/bin/dpkg: error processing > /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat8_8.0.5-2_darwin-x86_64.deb > (--install): > trying to overwrite `/sw/var/tomcat8/webapps', which is also in package > metaboanalyst-tomcat8-r31 > Preparing to replace tomcat8-webapps 8.0.5-2 (using > .../tomcat8-webapps_8.0.5-2_darwin-x86_64.deb) ... > Unpacking replacement tomcat8-webapps ... > Setting up tomcat8-webapps (8.0.5-2) ... > > Errors were encountered while processing: > > /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat8_8.0.5-2_darwin-x86_64.deb > > This is very puzzling because an identical situation exists with the gcc48 > and dragonegg-gcc-gcc48 packages. In that case, the dragonegg-gcc48 package > installs a file %p//lib/gcc4.8]/lib/dragonegg.so which is placed in the > same %p//lib/gcc4.8//lib subdirectory contained in the gcc84-shlibs package. > I don't see any error in that case if I have dragonegg-gcc48 installed > and do… > > fink rebuild gcc48 > > which reinstalled gcc48-shlibs. > The only difference I can see is that the gcc48.info script only > implicitly includes %p//lib/gcc4.8]/lib in the gcc48-shlibs split-off > whereas, in the case of the tomcat-webapps split-off ,the > %p/var/tomcat8/webapps subdirectory is explicitly listed. > Am I running into a bug in the fink/dpkg packaging system here? I > thought I might be able to suppress this error by replacing... > > Files: << > share/webapps > << > > with > > Files: << > share/webapps/docs > share/webapps/examples > share/webapps/host-manager > share/webapps/manager > share/webapps/ROOT > << > > in the tomcat8-webpps split-off, but I still get the… > > trying to overwrite `/sw/var/tomcat8/webapps', which is also in package > metaboanalyst-tomcat8-r31 > > error when reinstalling tomcat8 with metaboanalyst-tomcat8-r31 installed. > I really don't see any significant differences in these two cases. The > gcc48-shlibs split-off has… > > Files: << > lib/gcc4.8/lib/libgfortran.3*.dylib > lib/gcc4.8/lib/libstdc++.6*.dylib > lib/gcc4.8/lib/libgcc_s.1*.dylib > lib/gcc4.8/lib/libgcc_ext.1*.dylib > lib/gcc4.8/lib/libgcj.14*.dylib > lib/gcc4.8/lib/libgcj-tools.14*.dylib > lib/gcc4.8/lib/libgij.14*.dylib > lib/gcc4.8/lib/libitm.1*.dylib > lib/gcc4.8/lib/libssp.0*.dylib > lib/gcc4.8/lib/libobjc-gnu.4*.dylib > lib/gcc4.8/lib/libgomp.1*.dylib > lib/gcc4.8/lib/libquadmath.0*.dylib > lib/gcc4.8/lib/libatomic.1*.dylib > lib/gcc4.8/lib/libasan.0*.dylib > lib/gcc4.8/lib/gcj-%v-14 > lib/gcc4.8/lib/i386/libgfortran.3*.dylib > lib/gcc4.8/lib/i386/libgcj.14*.dylib > lib/gcc4.8/lib/i386/libgcj-tools.14*.dylib > lib/gcc4.8/lib/i386/libgij.14*.dylib > lib/gcc4.8/lib/i386/libitm.1*.dylib > lib/gcc4.8/lib/i386/libstdc++.6*.dylib > lib/gcc4.8/lib/i386/libssp.0*.dylib > lib/gcc4.8/lib/i386/libobjc-gnu.4*.dylib > lib/gcc4.8/lib/i386/libgomp.1*.dylib > lib/gcc4.8/lib/i386/libquadmath.0*.dylib > lib/gcc4.8/lib/i386/libatomic.1*.dylib > lib/gcc4.8/lib/i386/libasan.0*.dylib > lib/gcc4.8/lib/i386/gcj-%v-14 > << > > which would seem to be identical to my proposed change to tomcat8 to avoid > explicitly listing > the share/webapps toplevel subdirectory in the Files list of the > tomcat8-webapps split-off. Neither dragonegg-gcc.info nor > metaboanalyst-r.info have a Files field. Can anyone explain why dpkg > bitches in the case of tomcat8 vs metaboanalyst-tomcat8-r31 and not in the > case of gcc48-shlibs vs dragonegg-gcc48. This additional strictness in the > first case seems to make absolutely no sense. > Jack > > > > > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Fink-devel mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel