URL:
  <http://savannah.gnu.org/bugs/?41097>

                 Summary: ar: no archive members specified
                 Project: GNU MIX Development Kit
            Submitted by: ryandesign
            Submitted on: Sat 04 Jan 2014 02:32:11 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Compilation of mdk fails on OS X v10.9:


Making all in lib
gnumake[2]: Entering directory
`/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_mdk/mdk/work/mdk-1.2.7/lib'
rm -f libreplace.a
ar cru libreplace.a  
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
        ar -m [-TLsv] archive file ...
        ar -m [-abiTLsv] position archive file ...
        ar -p [-TLsv] archive [file ...]
        ar -q [-cTLsv] archive file ...
        ar -r [-cuTLsv] archive file ...
        ar -r [-abciuTLsv] position archive file ...
        ar -t [-TLsv] archive [file ...]
        ar -x [-ouTLsv] archive [file ...]
gnumake[2]: *** [libreplace.a] Error 1
gnumake[2]: Leaving directory
`/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_mdk/mdk/work/mdk-1.2.7/lib'


This problem was known to the MacPorts project when mdk 1.2.1 was initially
added to MacPorts in 2005, but was apparently not reported to you because the
problem remains with 1.2.7:

https://trac.macports.org/ticket/5090

It seems that libreplace.a is empty, and OS X's version of ar does not allow
you to use empty libraries.

The workaround we committed was to add a dummy function to the library so that
it is not empty:

https://trac.macports.org/browser/trunk/dports/lang/mdk/files/patch-lib-foo.c?rev=16880
https://trac.macports.org/browser/trunk/dports/lang/mdk/files/patch-lib-Makefile.am?rev=16880




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 04 Jan 2014 02:32:11 PM GMT  Name: main.log  Size: 53kB   By:
ryandesign

<http://savannah.gnu.org/bugs/download.php?file_id=30184>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41097>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
bug-mdk mailing list
bug-mdk@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-mdk

Reply via email to