bugDenemo - Bugs: bug #53804, errors building with portaudio:...

 
 

bug #53804: errors building with portaudio: multiple defenitions

Submitter:  Zlobin Nikita <nick87720z>
Submitted:  Tue 01 May 2018 04:30:24 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 May 2018 12:03:46 PM UTC, comment #4: 

This bug happens only when patch for #52741 is applied. Thus, with patch i can build only without portaudio, and without patch - only with portaudio.

Yet i did not notice first, that HAVE_PORTAUDIO with some other switches is supplied in command line by -D options.

Zlobin Nikita <nick87720z>
Wed 02 May 2018 08:07:59 AM UTC, comment #3: 

The preprocessor token is

HAVE_PORTAUDIO

with underscores before and after (the convention is to avoid leading underscores in user code). What is bizarre is that the leading and trailing underscores are missing in the comment #1 on the bug tracker though they appear in the email that the bug tracker sent, thus: (Copied from the mailing list http://lists.gnu.org/archive/html/denemo-devel/2018-05/msg00002.html)

"
Update of bug #53804 (project denemo):

                  Status:                    None => Need Info             

    _____________________________________________________

Follow-up Comment #1:

You wrote "with portaudio" yet the definitions in midi.c are surrounded by

#ifndef HAVE_PORTAUDIO

so it would seem that you are building without  HAVE_PORTAUDIO defined. You
don't say what sources you are using to build (presumably old ones, since you
don't have the patch already?)
Why would you want to do that?

You can attach files to the bug report, rather than using an external hosting
site.
"
Whatever is wrong with the bugtracker, the leading underscores are needed. But you still didn't say what sources you are using (I don't know what "ebuild" is either ...)

Richard Shann <rshann>
Group administrator
Tue 01 May 2018 08:41:56 PM UTC, comment #2: 

Exact config command (copied after ebuild output, then changed some options):

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/denemo-2.2.0 --htmldir=/usr/share/doc/denemo-2.2.0/html --libdir=/usr/lib64 --enable-nls=yes --disable-guile_1_8 --enable-guile_2_0=yes --enable-jack=yes --enable-evince=yes --enable-aubio=yes --enable-gtk3 --enable-alsa=yes --enable-fluidsynth=yes --enable-rubberband=yes --enable-portaudio=yes --enable-portmidi=yes  --enable-gtk-doc=yes --enable-gtk-doc-html=yes --enable-gcov=no --enable-always-build-tests=yes --enable-installed-tests=yes --enable-debug=no --enable-static=no --disable-mem --disable-binreloc

With --disable-portaudio it is ok.

But it is right, that HAVE_PORTAUDIO is missing in config.h. But also there is nothing about PORTMIDI... which i can select for midi if enabled.

Yet, adding to config.h:
#define HAVE_PORTAUDIO 1
makes no changes.

I was lame, compating with #52741 (which is about undefined references)

Zlobin Nikita <nick87720z>
Tue 01 May 2018 04:55:59 PM UTC, comment #1: 

You wrote "with portaudio" yet the definitions in midi.c are surrounded by

#ifndef HAVE_PORTAUDIO

so it would seem that you are building without  HAVE_PORTAUDIO defined. You don't say what sources you are using to build (presumably old ones, since you don't have the patch already?)
Why would you want to do that?

You can attach files to the bug report, rather than using an external hosting site.

Richard Shann <rshann>
Group administrator
Tue 01 May 2018 04:30:24 PM UTC, original submission:  

Seems to be same as #52741, but in less errors. After applying patch, posted in thread for that issue, it gives these errors:
http://codepad.org/vfMycAha

(not so long, but i don't know, how to paste better text output here)

Zlobin Nikita <nick87720z>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-28 rshann Open/ClosedOpen Closed
    2018-05-01 rshann StatusNone Need Info

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code