<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>46568</bug_id>
          
          <creation_ts>2004-04-02 01:04 0000</creation_ts>
          <short_desc>hydrogen-0.8.2 compile errors</short_desc>
          <delta_ts>2004-07-21 14:32:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>54340</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>schnake.newsletter@t-online.de</reporter>
          <assigned_to>fvdpol@gentoo.org</assigned_to>
          <cc>harold.martin@gmail.com</cc>
    
    <cc>hoek@linuxartist.org</cc>
    
    <cc>makerik@gmail.com</cc>
    
    <cc>sound@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>schnake.newsletter@t-online.de</who>
            <bug_when>2004-04-02 01:04:40 0000</bug_when>
            <thetext>Compile aborts with following error:

source=&apos;AudioEngineInfoForm_UI.cpp&apos; object=&apos;AudioEngineInfoForm_UI.o&apos; libtool=no \
depfile=&apos;.deps/AudioEngineInfoForm_UI.Po&apos; tmpdepfile=&apos;.deps/AudioEngineInfoForm_UI.TPo&apos; \
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 &apos;AudioEngineInfoForm_UI.cpp&apos; || echo &apos;./&apos;`AudioEngineInfoForm_UI.cpp
AudioEngineInfoForm_UI.cpp: In constructor `
   AudioEngineInfoForm_UI::AudioEngineInfoForm_UI(QWidget*, const char*,
   unsigned int)&apos;:
AudioEngineInfoForm_UI.cpp:75: error: `Spacer2&apos; 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&apos; 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&apos;
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2/hydrogen_gui&apos;
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/hydrogen-0.8.2/work/hydrogen-0.8.2&apos;
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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schnake.newsletter@t-online.de</who>
            <bug_when>2004-04-02 01:11:59 0000</bug_when>
            <thetext>Created an attachment (id=28549)
Fixes missing declarations from the hydrogen headers.

To be placed into the files/ dir.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schnake.newsletter@t-online.de</who>
            <bug_when>2004-04-02 01:16:47 0000</bug_when>
            <thetext>Created an attachment (id=28550)
Adds epatch the ui-spacer patch and the missing addwrite call

This includes the sandbox violation fix for bug #40347.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-04-03 02:04:48 0000</bug_when>
            <thetext>torbenh, you&apos;re listed as maintainer in this package, so I&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nlissne@linux01.gwdg.de</who>
            <bug_when>2004-04-04 15:11:13 0000</bug_when>
            <thetext>Michael, your patch to the ebuild (comment #2) contains a &quot;#&quot; before epatch,
so nothing is patched - but after removing this &quot;#&quot; it works really fine.

Thank you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schnake.newsletter@t-online.de</who>
            <bug_when>2004-04-05 00:51:42 0000</bug_when>
            <thetext>Oops, yes, I commented out the epatch line to reconstruct the exact error message for filing this bug, and accidently diffed agains that ebuild ;-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hoek@linuxartist.org</who>
            <bug_when>2004-04-11 21:53:59 0000</bug_when>
            <thetext>Hmm, this is very strange..

When patching the unpacked directory &quot;by hand&quot; and then running configure; make install, everything compiles ok.. but when i let the ebuild patch the sources, it&apos;s getting patched, but still runs into the same compile errors as if it wasn&apos;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&apos;t trust emerge saying it was patching it when i saw that it still produced the same error... but no, they&apos;re identical %\

can anyone reproduce this, or do i just need some sleep..?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aent@invisiontools.com</who>
            <bug_when>2004-04-15 20:07:41 0000</bug_when>
            <thetext>I&apos;m also having the problem, its not just you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schnake.newsletter@t-online.de</who>
            <bug_when>2004-04-16 01:31:53 0000</bug_when>
            <thetext>I just cleaned all and emerged again to check, and for me it worked without problems (using portage-2.0.50-r6).

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

So I assume it&apos;s a problem with portage. Perhaps you should file a separate bug on this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-05-04 20:15:22 0000</bug_when>
            <thetext>setting WORKSFORME</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eldad@gentoo.org</who>
            <bug_when>2004-05-08 03:29:42 0000</bug_when>
            <thetext>I&apos;ve got the same problem, on a clean system - same error message as the first comment.
ONLY With the patch it compiles fine.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dan.devel@bullok.com</who>
            <bug_when>2004-05-26 08:58:27 0000</bug_when>
            <thetext>What&apos;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.
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferringb@gmail.com</who>
            <bug_when>2004-05-26 12:55:12 0000</bug_when>
            <thetext>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, </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-05-27 22:59:19 0000</bug_when>
            <thetext>torbenh is non-responsive... reassigning...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferringb@gmail.com</who>
            <bug_when>2004-05-28 11:58:28 0000</bug_when>
            <thetext>Jeremy, thoughts on the addwrite?  iirc, I&apos;d thought you were futzing w/ a similiar issue...
Aside from that, looking at the upstream code (coz I&apos;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&amp;tr1=1.13&amp;r2=text&amp;tr2=1.12&amp;diff_format=h

I&apos;d be inclined to do the same, although it is varying from the original a bit..  Thoughts?
I&apos;d rather chuck the spacer* definitions, since they&apos;re not even used, although it ought to change the layout a bit. I don&apos;t use hydrogen, although I can emerge it for testing...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-05-28 12:47:02 0000</bug_when>
            <thetext>the addwrite gets set when you use &apos;inherit kde&apos; and use the kde_src_install (i believe that&apos;s correct)... or youcan do it manually...

as for the spacer stuff... I don&apos;t really use this app, so I&apos;ll trust your judgement =)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferringb@gmail.com</who>
            <bug_when>2004-05-28 17:03:26 0000</bug_when>
            <thetext>*** Bug 51056 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fvdpol@gentoo.org</who>
            <bug_when>2004-06-16 17:05:25 0000</bug_when>
            <thetext>I do use the hydrogen drummachine (although from the cvs release); I can bake and test a compilation patch if you wish.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fvdpol@gentoo.org</who>
            <bug_when>2004-06-18 13:00:51 0000</bug_when>
            <thetext>Committed to CVS as hydrogen-0.8.2-r1. thanks for the patch!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>makerik@gmail.com</who>
            <bug_when>2004-07-21 14:29:23 0000</bug_when>
            <thetext>I just had this problem because the unpatched ebuild is still the one available by default in portage. Using &quot;ACCEPT_KEYWORDS=~x86 emerge hydrogen&quot; 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?</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28549</attachid>
            <date>2004-04-02 01:11 0000</date>
            <desc>Fixes missing declarations from the hydrogen headers.</desc>
            <filename>hydrogen-0.8.2-ui-spacer.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtcnUgaHlkcm9nZW4tMC44LjIvaHlkcm9nZW5fZ3VpL0F1ZGlvRW5naW5lSW5mb0Zvcm1f
VUkuaCBoeWRyb2dlbi0wLjguMi1maXhlZC9oeWRyb2dlbl9ndWkvQXVkaW9FbmdpbmV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bWJvQm94OworY2xhc3MgUVNwYWNlckl0ZW07CiAKIGNsYXNzIFByZWZlcmVuY2VzRGlhbG9nX1VJ
IDogcHVibGljIFFEaWFsb2cKIHsKQEAgLTk5LDYgKzEwMCw4IEBACiAKIHByb3RlY3RlZDoKICAg
ICBRSEJveExheW91dCogTGF5b3V0MzM7CisgICAgUVNwYWNlckl0ZW0qIFNwYWNlcjE7CisgICAg
UVNwYWNlckl0ZW0qIFNwYWNlcjI7CiAKIHByb3RlY3RlZCBzbG90czoKICAgICB2aXJ0dWFsIHZv
aWQgbGFuZ3VhZ2VDaGFuZ2UoKTsK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28550</attachid>
            <date>2004-04-02 01:16 0000</date>
            <desc>Adds epatch the ui-spacer patch and the missing addwrite call</desc>
            <filename>hydrogen-0.8.2.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGh5ZHJvZ2VuLTAuOC4yLmVidWlsZAkyMDA0LTAzLTI5IDE2OjIwOjAyLjAwMDAwMDAwMCAr
MDIwMAorKysgL3Vzci9sb2NhbC9wb3J0YWdlL21lZGlhLXNvdW5kL2h5ZHJvZ2VuL2h5ZHJvZ2Vu
LTAuOC4yLmVidWlsZAkyMDA0LTA0LTAyIDEwOjU3OjM5LjAyNjg3MTIyNCArMDIwMApAQCAtMjgs
NiArMjgsOCBAQAogc3JjX3VucGFjaygpIHsKIAl1bnBhY2sgJHtBfQogCisJIyBlcGF0Y2ggJHtG
SUxFU0RJUn0vJHtQfS11aS1zcGFjZXIucGF0Y2gKKwogCSMgRHJ1bSBraXRzIHRvIGluc3RhbGwK
IAlsb2NhbCBLSVRTCiAJS0lUUz0iMzM1NTYwNmtpdCBFYXN0ZXJuSG9wLTEgSGlwSG9wLTEgSGlw
SG9wLTIgU3ludGhpZS0xIFRSODA4OTA5IFRlY2huby0xIgpAQCAtNTgsNiArNjAsOCBAQAogfQog
CiBzcmNfY29tcGlsZSgpIHsKKwlhZGR3cml0ZSAke1FURElSfS9ldGMvc2V0dGluZ3MKKwkKIAll
aW5mbyAiUmVjb25maWd1cmluZy4uLiIKIAlleHBvcnQgV0FOVF9BVVRPQ09ORj0yLjUKIAlleHBv
cnQgV0FOVF9BVVRPTUFLRT0xLjYK
</data>        

          </attachment>
    </bug>

</bugzilla>