[racket-dev] package-system update

From: Togan Muftuoglu (toganm at opensuse.org)
Date: Sun Jul 21 11:52:43 EDT 2013

>>>>> On Sat, 20 Jul 2013 10:36:09 -0600, Matthew Flatt <mflatt-sDh8Nw2yj/+Vc3sceRu5cw at public.gmane.org> said:

    Matthew> At Sat, 20 Jul 2013 17:12:26 +0200, Togan Muftuoglu wrote:
    >> >>>>> On Fri, 19 Jul 2013 17:43:42 -0600, Matthew Flatt 
    >> <mflatt-sDh8Nw2yj/+Vc3sceRu5cw-XMD5yJDbdMReXY1tMh2IBg at public.gmane.org> said:
    >> 
    Matthew> The documentation directory and collection directory should be
    Matthew> configurable, now.
    >> 
    >> Looks like but I still have problems with the build process as directory
    >> contents are not copied to the destinations.

    Matthew> The "share", "doc", and "etc" directories will be empty/missing
    Matthew> for a core build, so that's as expected. (But "config" vs. "etc"
    Matthew> was a bug that now should be fixed.)

    Ok there is some progress but I am still not there. Let me briefly go over
    the current problems, this could be due to I am building rpm packages, but
    nevertheless:

    1. Makefile in the main directory (not racket/src/Makefile.in) does not
    understand rpmmacro %_smp_mflags which basically sets the CPU and JOBS automatically
    setting CUPS="`/usr/bin/getconf _NPROCESSORS_ONLN`"  get this done easier

    That goes also true for %configure macro which sets most of the things
    based on the build machine ie /usr/lib64 for x86_64 and /usr/lib for i586.
    Not being able to the rpm macros makes packaging pain

    So currently I am avoiding using this Makefile

    2. using racket/src configure for x86_64 build and make produces this

 make[6]: Leaving directory `/home/abuild/rpmbuild/BUILD/racket-5.90.0.1/racket/src/gracket'
 cd ..; rm -f "/home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64/racket/gracketcgc"
 cd ..; rm -f "/home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64/racket/gracket"
 cd ..; echo 'MROPTIONS=' >> "/home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64/racket/buildinfo"
 cd ..; echo "MRLIBS=" >> "/home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64/racket/buildinfo"
 cd ..; echo "MRLDFLAGS=-pthread -L../racket" >> \
 "/home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64/racket/buildinfo"
 cd ..; mkdir -p "/home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64";
 make[5]: Leaving directory `/home/abuild/rpmbuild/BUILD/racket-5.90.0.1/racket/src/gracket'
 make install-wx_xt-3m
 make[5]: Entering directory `/home/abuild/rpmbuild/BUILD/racket-5.90.0.1/racket/src/gracket'
 make install-lib-3m-wx_xt
 make[6]: Entering directory `/home/abuild/rpmbuild/BUILD/racket-5.90.0.1/racket/src/gracket'
  make[6]: Leaving directory `/home/abuild/rpmbuild/BUILD/racket-5.90.0.1/racket/src/gracket'
 cd ..; /usr/bin/libtool --mode=install cp gracket/gracket3m \
        "/home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64/racket/gracket"
 libtool: install: cp gracket/.libs/gracket3m \
          /home/abuild/rpmbuild/BUILDROOT/racket-5.90.0.1-22.1.x86_64/usr/lib64/racket/gracket
                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^                                              
                                                                     
    That should not be the case gracket is not a library file it belongs to /usr/bin

gracket: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), \
               dynamically linked (uses shared libs), for GNU/Linux 2.6.32,                                                                      

    There is also starter as /usr/lib64/racket/starter which has it come down
    to play yet but that is also wrong location for an executable

    starter: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32,


    
    Thanks


-- 

     o    .o.    o     o_    o_    _o     _o   ,_o      o_
    <|>   `|'   (|)    )'    ),'  ` |(   ' (,   ,(     )| '
    ( )   [ ]   [ ]    >\   / >    < \    /<    < \    / >

Posted on the dev mailing list.