bugGNU MIX Development Kit - Bugs: bug #41097, ar: no archive members specified

 
 

bug #41097: ar: no archive members specified

Submitted by:  Ryan Schmidt <ryandesign>
Submitted on:  Sat Jan 4 14:32:11 2014  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jose Antonio Ortega Ruiz <jao>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon Jul 21 07:13:16 2014, comment #6:

Thanks. the latest version in the repository builds fine for me.

Ryan Schmidt <ryandesign>
Tue May 20 16:34:07 2014, comment #5:

OK, i just pushed a candidate fix for the problem. Please let me know whether it fixes the problem for you.

Jose Antonio Ortega Ruiz <jao>
Project AdministratorIn charge of this item.
Tue May 20 16:05:42 2014, comment #4:

Joel, i just managed to reproduce the error with libreadline 3.3, so nevermind about my previous mail... i'll try to fix things soonish....

Jose Antonio Ortega Ruiz <jao>
Project AdministratorIn charge of this item.
Tue May 20 15:54:16 2014, comment #3:

Joel, i think this is happening because you have an old version of libreadline installed in '/usr/local/include' and its header file is being read instead of the one in '/usr/local/Cellar/readline/6.3.3/include'... could that be the case?

Jose Antonio Ortega Ruiz <jao>
Project AdministratorIn charge of this item.
Sun May 18 20:37:31 2014, comment #2:

Hi. I'm attempting to build current git head on OS X 10.9. I can confirm that the archive problem no longer occurs (it occurred when I downloaded 1.2.7 and attempted to build it, Google search of the error led me here).

Unfortunately there's also a compiler error later in the build:

gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wall -fno-strict-aliasing -D_THREAD_SAFE -I/usr/local/Cellar/guile/2.0.11/include/guile/2.0 -I/usr/local/Cellar/gmp/5.1.3/include -I/usr/local/Cellar/readline/6.3.3/include -I/usr/local/Cellar/bdw-gc/7.2e/include -I/usr/local/Cellar/glib/2.40.0_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.40.0_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -DG_DISABLE_DEPRECATED -I/usr/local/include -I.. -DMAKE_GUILE -g -O2 -MT mixvm_command.o -MD -MP -MF .deps/mixvm_command.Tpo -c -o mixvm_command.o mixvm_command.c
mixvm_command.c:83:20: error: use of undeclared identifier 'Function'
{ (char )NULL, (Function )NULL, (char *)NULL }
^
mixvm_command.c:83:30: error: expected expression
{ (char )NULL, (Function )NULL, (char *)NULL }
^
mixvm_command.c:220:39: error: use of undeclared identifier 'CPPFunction'
rl_attempted_completion_function = (CPPFunction *)mixvm_cmd_completion_;
^
mixvm_command.c:220:52: error: expected expression
rl_attempted_completion_function = (CPPFunction *)mixvm_cmd_completion_;
^
4 errors generated.
make[2]: *** [mixvm_command.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Joel Heikkila <hxp>
Mon Jan 6 02:03:52 2014, comment #1:

Thanks for the report, Ryan. I've commited to the git repo a candidate fix, but i cannot test it because i don't have an OS X system. Could you try it, please?

Jose Antonio Ortega Ruiz <jao>
Project AdministratorIn charge of this item.
Sat Jan 4 14:32:11 2014, original submission:

Compilation of mdk fails on OS X v10.9:

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

Ryan Schmidt <ryandesign>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #30184:  main.log added by ryandesign (53kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hxp (Posted a comment)
  • -unavailable- added by jao (Posted a comment)
  • -unavailable- added by ryandesign (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Aug 2 17:24:35 2014jaoStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon Jan 6 02:03:52 2014jaoStatusNone=>Ready For Test
      Assigned toNone=>jao
    Sat Jan 4 14:32:11 2014ryandesignAttached File-=>Added main.log, #30184

    Back to the top


    Powered by Savane 3.1-cleanup