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

 
 

bug #44938: configure.ac needs upgrade

Submitter:  Richard Shann <rshann>
Submitted:  Mon 27 Apr 2015 01:28:22 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jjbenham
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by tt (Posted a comment)
  • -email is unavailable- added by rshann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-17 tt StatusNone Fixed
        Open/ClosedOpen Closed
    2015-04-27 rshann Attached File- Added denemo-automake(1).diff, #33814

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code