bugDenemo - Bugs: bug #44938, configure.ac needs upgrade

 
 

bug #44938: configure.ac needs upgrade

Submitted by:  Richard Shann <rshann>
Submitted on:  Mon 27 Apr 2015 01:28:22 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jeremiah Benham <jjbenham>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 17 Jan 2016 01:42:52 PM UTC, comment #4:

Well, I would be glad to help with those small commits.

Dr. Tobias Quathamer <tt>
Project Member
Sun 17 Jan 2016 12:17:41 PM UTC, comment #3:

Well, it is rather outside my area of competence (if I can be said to have one of these!), so I assigned it to Jeremiah, but I know he has a lot to do trying to keep binaries built.
If it is not too cheeky to ask, could I add you to the project so you could push the needed improvements to git?

Richard Shann <rshann>
Project Administrator
Sun 17 Jan 2016 11:24:03 AM UTC, comment #2:

Hi Richard,

I can confirm that the attached patch fixes the warnings from automake. Are you considering to apply this patch or is any more information needed?

Dr. Tobias Quathamer <tt>
Project Member
Tue 28 Apr 2015 10:41:11 AM UTC, comment #1:

just to explain a bit more precisely:
my openSUSE 13.2 ships automake-1.15.
at running ./autogen.sh i get a ton of these warnings from automake:

src/Makefile.am:193: warning: source file 'audio/alsabackend.c' is in a subdirectory,
src/Makefile.am:193: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.

./configure runs just fine.

make compiles libsmf, thenwalks the tree until it reaches src/, where this happens:

Making all in src
make[2]: Entering directory '/home/ed/src/Score/denemo/src'
make[2]: *** No rule to make target 'alsabackend.c', needed by 'libaudiobackend_a-alsabackend.o'. Schluss.
make[2]: Leaving directory '/home/ed/src/Score/denemo/src'
Makefile:634: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ed/src/Score/denemo'
Makefile:543: recipe for target 'all' failed
make: *** [all] Error 2

Adding subdir-objects like the patch does, fixes this for me, I get no warnings and make errors anymore.

Edgar

Anonymous
Mon 27 Apr 2015 01:28:22 PM UTC, original submission:

Edgar has reported this:

when running autogen.sh i got a warning about this automake option missing - it said something about keeping source files in subdirs will still place the generated object files to the base dir, and that it should work for now but will be deprecated with automake-2.0
<edogawa> then while compiling it couldn't locate the source files IIRC
after adding this option it just passed the autogen/configure/make sequence

I've attached the diff he kindly created.

Richard Shann <rshann>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33814:  denemo-automake(1).diff added by rshann (429B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tt (Posted a comment)
  • -unavailable- added by rshann (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 17 Jan 2016 03:06:15 PM UTCttStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 27 Apr 2015 01:28:22 PM UTCrshannAttached File-=>Added denemo-automake(1).diff, #33814

    Back to the top


    Powered by Savane 3.1-cleanup1