Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 46568
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Frank van de Pol (RETIRED) <fvdpol@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Schnake <schnake.newsletter@t-online.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
hydrogen-0.8.2-ui-spacer.patch Fixes missing declarations from the hydrogen headers. patch Michael Schnake 2004-04-02 01:11 0000 1.86 KB Details | Diff
hydrogen-0.8.2.ebuild.patch Adds epatch the ui-spacer patch and the missing addwrite call patch Michael Schnake 2004-04-02 01:16 0000 534 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46568 depends on: Show dependency tree
Bug 46568 blocks: 54340
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-02 01:04 0000
Compile aborts with following error:

source='AudioEngineInfoForm_UI.cpp' object='AudioEngineInfoForm_UI.o' libtool=no \
depfile='.deps/AudioEngineInfoForm_UI.Po' tmpdepfile='.deps/AudioEngineInfoForm_UI.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O3  -c -o AudioEngineInfoForm_UI.o `test -f 'AudioEngineInfoForm_UI.cpp' || echo './'`AudioEngineInfoForm_UI.cpp
AudioEngineInfoForm_UI.cpp: In constructor `
   AudioEngineInfoForm_UI::AudioEngineInfoForm_UI(QWidget*, const char*,
   unsigned int)':
AudioEngineInfoForm_UI.cpp:75: error: `Spacer2' undeclared (first use this
   function)
AudioEngineInfoForm_UI.cpp:75: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
AudioEngineInfoForm_UI.cpp:80: error: `Spacer1' undeclared (first use this
   function)
make[3]: *** [AudioEngineInfoForm_UI.o] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2/hydrogen_gui'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2/hydrogen_gui'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2'
make: *** [all] Fehler 2

!!! ERROR: media-sound/hydrogen-0.8.2 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! (no error message)

After looking through the code the reason is two missing QSpacerItem type member declarations from the header. This also applies to LadspaFXSelector_UI.h and PreferencesDialog_UI.h

------- Comment #1 From Michael Schnake 2004-04-02 01:11:59 0000 -------
Created an attachment (id=28549) [details]
Fixes missing declarations from the hydrogen headers.

To be placed into the files/ dir.

------- Comment #2 From Michael Schnake 2004-04-02 01:16:47 0000 -------
Created an attachment (id=28550) [details]
Adds epatch the ui-spacer patch and the missing addwrite call

This includes the sandbox violation fix for bug #40347.

------- Comment #3 From Jeremy Huddleston (RETIRED) 2004-04-03 02:04:48 0000 -------
torbenh, you're listed as maintainer in this package, so I'll hand this off to
you.  I removed some old ebuilds and added the qt addwrite to the remaining
ones, but you should check out this patch to see if this is how you want to
handle it.

------- Comment #4 From Nicolai Lissner 2004-04-04 15:11:13 0000 -------
Michael, your patch to the ebuild (comment #2) contains a "#" before epatch,
so nothing is patched - but after removing this "#" it works really fine.

Thank you.

------- Comment #5 From Michael Schnake 2004-04-05 00:51:42 0000 -------
Oops, yes, I commented out the epatch line to reconstruct the exact error
message for filing this bug, and accidently diffed agains that ebuild ;-)

------- Comment #6 From Artjom Simon 2004-04-11 21:53:59 0000 -------
Hmm, this is very strange..

When patching the unpacked directory "by hand" and then running configure; make install, everything compiles ok.. but when i let the ebuild patch the sources, it's getting patched, but still runs into the same compile errors as if it wasn't (and yes, i *have* uncommented the epatch line.. =)

the unpacked sources in the /var/tmp/portage/ directory *really* get patched (i even diffed the two directories, i didn't trust emerge saying it was patching it when i saw that it still produced the same error... but no, they're identical %\

can anyone reproduce this, or do i just need some sleep..?

------- Comment #7 From aent 2004-04-15 20:07:41 0000 -------
I'm also having the problem, its not just you.

------- Comment #8 From Michael Schnake 2004-04-16 01:31:53 0000 -------
I just cleaned all and emerged again to check, and for me it worked without
problems (using portage-2.0.50-r6).

But I've found a related description of a "manual configure works, but econf
does not"-Phenomenon at http://bugs.gentoo.org/show_bug.cgi?id=47329#c7 

So I assume it's a problem with portage. Perhaps you should file a separate bug
on this.

------- Comment #9 From Jeremy Huddleston (RETIRED) 2004-05-04 20:15:22 0000 -------
setting WORKSFORME

------- Comment #10 From Eldad Zack (RETIRED) 2004-05-08 03:29:42 0000 -------
I've got the same problem, on a clean system - same error message as the first
comment.
ONLY With the patch it compiles fine.

------- Comment #11 From Dan Bullok 2004-05-26 08:58:27 0000 -------
What's the deal with this patch not being added to the ebuild?  Is there
something wrong with it?  The patch works for me, and hydrogen was broken
without it.


------- Comment #12 From Brian Harring 2004-05-26 12:55:12 0000 -------
Re-opening, I just hit the same compilation failure.
Running w/ audiofile-0.2.5, qt-3.3.0-r1, gcc 3.3.2-r5.  
Fails regardless of use flags, 

------- Comment #13 From Jeremy Huddleston (RETIRED) 2004-05-27 22:59:19 0000 -------
torbenh is non-responsive... reassigning...

------- Comment #14 From Brian Harring 2004-05-28 11:58:28 0000 -------
Jeremy, thoughts on the addwrite?  iirc, I'd thought you were futzing w/ a
similiar issue...
Aside from that, looking at the upstream code (coz I'm lazy), they threw out
the Spacer* from the ui definition, between ver 1.12 and 1.15.

http://cvs.sourceforge.net/viewcvs.py/hydrogen/hydrogen/hydrogen_gui/AudioEngineInfoForm_UI.ui?r1=text&tr1=1.13&r2=text&tr2=1.12&diff_format=h

I'd be inclined to do the same, although it is varying from the original a
bit..  Thoughts?
I'd rather chuck the spacer* definitions, since they're not even used, although
it ought to change the layout a bit. I don't use hydrogen, although I can
emerge it for testing...

------- Comment #15 From Jeremy Huddleston (RETIRED) 2004-05-28 12:47:02 0000 -------
the addwrite gets set when you use 'inherit kde' and use the kde_src_install (i
believe that's correct)... or youcan do it manually...

as for the spacer stuff... I don't really use this app, so I'll trust your
judgement =)

------- Comment #16 From Brian Harring 2004-05-28 17:03:26 0000 -------
*** Bug 51056 has been marked as a duplicate of this bug. ***

------- Comment #17 From Frank van de Pol (RETIRED) 2004-06-16 17:05:25 0000 -------
I do use the hydrogen drummachine (although from the cvs release); I can bake
and test a compilation patch if you wish.

------- Comment #18 From Frank van de Pol (RETIRED) 2004-06-18 13:00:51 0000 -------
Committed to CVS as hydrogen-0.8.2-r1. thanks for the patch!

------- Comment #19 From Marc-Éric Dupuis 2004-07-21 14:29:23 0000 -------
I just had this problem because the unpatched ebuild is still the one available
by default in portage. Using "ACCEPT_KEYWORDS=~x86 emerge hydrogen" I was able
to compile hydrogen-0.8.2-r4. Since the actual ebuild(hydrogen-0.8.2.ebuild)
does not work should not it be removed in favor of a working one(r4 is fine
here) before saying the problem is fixed?

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug