LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  February 2014

QSERV-L February 2014

Subject:

Re: Remarks and proposals about eupspkg

From:

Mario Juric <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Thu, 13 Feb 2014 09:33:32 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (83 lines)

On 2/10/14, 10:08 , Fabrice Jammes wrote:
> Hello,
> 
> The issues faced while packaging Qserv dependencies with eupspkg are
> discussed here :
> https://dev.lsstcorp.org/trac/wiki/db/Qserv/Packaging/eupspkg
> 

Hi Fabrice,
	Thanks for the page, it's very helpful. I think I see three issues there:

* The "git checkout" bug -- I believe I already fixed that on the
  'eupspkg' branch in my fork of EUPS on githup. I'll ask you to try it
  out when I'm done with a few other changes there (likely today).

* The python 2.6 vs. 2.7 issue.

  This is a thornier one. I understand the desire not to require a
  version of python higher than what's really needed, but would it be
  very inconvenient to require 2.7 for qserv as well as the rest of the
  stack? I think most distros other than RHEL6 are already on 2.7, and
  when RHEL7 is out this year it will be as well. The downside is that
  for RHEL6, where most of your development takes place, you'd have to
  install a third-party python (e.g., Anaconda, which will be provided
  by EUPS as well)

* mysql-server vs. mysql-client

  I think it should be possible to build two packages -- the server and
  the client one. That's how RPMs are organized on RedHat's distros
  (though one SRPM builds both the -server and -client binary RPM, but
  that's a detail). I'll see how to do it.

PS: As a heads up, after the January discussion with the Princeton
group, I've slightly changed the format of ./ups/eupspkg:

* The file is now called ./ups/eupspkg.sh, and it gets sourced by the
  $EUPS_DIR/lib/eupspkg.sh file, instead of the other way around. That
  means there's no need for lots of boilerplate code that was
  previously required, i.e.:

  Old ./ups/eupspkg:
      ================================================================
       #!/bin/bash

       . "$EUPS_DIR/lib/eupspkg.sh"

       # ---- customizations start here ----
       CONFIGURE_OPTIONS="--prefix=$PREFIX --disable-shared"
       export CFLAGS="$CFLAGS -fPIC"
       # ---- customizations end here ----

       "$@"
       ================================================================

  New ./ups/eupspkg.sh:
      ================================================================
       # EupsPkg config file. Sourced by 'eupspkg'

       CONFIGURE_OPTIONS="--prefix=$PREFIX --disable-shared"
       export CFLAGS="$CFLAGS -fPIC"
       ================================================================

Once Robert merges those changes, you'll need to rename/modify your
existing ./ups/eupspkg files to conform to the new format. Sorry for the
inconvenience; I think it's worth doing it -- less boilerplate, less
chance for errors!

PPS: Overall, this is great! I think we'll soon be able to have a
unified repo and buildbot for both qserv and the rest of DM!

Cheers,
-- 
Mario Juric,
Data Mgmt. Project Scientist, Large Synoptic Survey Telescope
Web : http://research.majuric.org     Phone : +1 617 744 9003

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use