Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 16015
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kurt Hindenburg <kurt.hindenburg@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gtk-sharp.log Full output of emerge text/plain Kurt Hindenburg 2003-02-19 12:12 0000 73.29 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 16015 depends on: Show dependency tree
Bug 16015 blocks:
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: 2003-02-19 11:59 0000
emerging gtk-sharp 0.6 or 0.7 will generate compile errors.

Reproducible: Always
Steps to Reproduce:
1.emerge gtk-sharp # 0.6
  OR
2.ACCEPT_KEYWORDS="~x86" emerge gtk-sharp # 0.7


Actual Results:  
...
mcs --unsafe -o treeviewdemo.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L
../gtk  -L ../glade  -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r
gdk-sharp.dll -r gtk-sharp.dll  -r glade-sharp.dll -r System.Drawing TreeViewDemo.cs
Compilation succeeded
mcs --unsafe -o glade-viewer.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L
../gtk  -L ../glade  -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r
gdk-sharp.dll -r gtk-sharp.dll  -r glade-sharp.dll -r System.Drawing GladeViewer.cs
GladeViewer.cs(24) error CS0246: Cannot find type `Program'
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [glade-viewer.exe] Error 1
make[1]: *** Waiting for unfinished jobs....
Compilation succeeded
make[1]: Leaving directory
`/mnt/zeta/var/tmp/portage/gtk-sharp-0.7/work/gtk-sharp-0.7/sample'
make: *** [binding] Error 1

!!! ERROR: dev-libs/gtk-sharp-0.7 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)

------- Comment #1 From Kurt Hindenburg 2003-02-19 12:12:13 0000 -------
Created an attachment (id=8488) [details]
Full output of emerge

------- Comment #2 From foser (RETIRED) 2003-02-19 16:49:51 0000 -------
hmm well, it works for me.. so 'will generate' may be put a bit too broad.

I suppose you do have glade around ? Do you have USE gnome (give us your 'emerge info').

------- Comment #3 From Kurt Hindenburg 2003-02-20 10:37:48 0000 -------
Ok, nevermind, I don't have the necessary packages installed.  I would have
thought that gnome/etc would be dependencies to gtk-sharp.  Perhaps you can fix
this dependency issue?

      * gnome-sharp.dll: no
      * glade-sharp.dll: yes
      * gda-sharp.dll: no
      * gnomedb-sharp.dll: no

------- Comment #4 From foser (RETIRED) 2003-02-20 11:21:32 0000 -------
well glade support should be seperate from gnome support.. (as it is in the
ebuild right now). So if you have only glade it should build support for that.

------- Comment #5 From foser (RETIRED) 2003-02-20 11:24:34 0000 -------
Problem seems to be that the Glade example uses gnome and gets built even when
gnome support isn't built, so i have to disable building the tests i think if
thats possible.

------- Comment #6 From foser (RETIRED) 2003-02-20 12:05:14 0000 -------
ok did some hacks to disable samples build, could you please try 0.7-r1 and see
if that one builds ok for you ?

------- Comment #7 From Kurt Hindenburg 2003-02-21 02:08:19 0000 -------
      * glade-sharp.dll: yes
I think this is a wast of time; I don't have glade installed yet.  I'm not sure why the configure on gtk-sharp thinks glade is installed.

[...]

make[2]: Entering directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
mcs ClientBase.cs Client.cs ChangeSet.cs _Entry.cs NoSuchKeyException.cs NotifyEventArgs.cs NotifyEventHandler.cs NotifyWrapper.cs Value.cs  -L ../../glib /r:glib-sharp.dll /target:library /out:gconf-sharp.dll

** (/usr/bin/mcs.exe:9389): CRITICAL **: : shared file [/root/.wapi/shared_data-0] open error: Permission denied
make[2]: *** [gconf-sharp.dll] Error 255
make[2]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf'
make: *** [install-binding] Error 1

!!! ERROR: dev-libs/gtk-sharp-0.7-r1 failed.
!!! Function einstall, Line 361, Exitcode 2
!!! einstall failed

------- Comment #8 From Kurt Hindenburg 2003-02-21 03:10:13 0000 -------
Ok, glade installed...still get errors (dev-util/glade-0.6.4)


make[2]: Entering directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
mcs ClientBase.cs Client.cs ChangeSet.cs _Entry.cs NoSuchKeyException.cs NotifyEventArgs.cs NotifyEventHandler.cs NotifyWrapper.cs Value.cs  -L ../../glib /r:glib-sharp.dll /target:library /out:gconf-sharp.dll

** (/usr/bin/mcs.exe:1760): CRITICAL **: : shared file [/root/.wapi/shared_data-0] open error: Permission denied
make[2]: *** [gconf-sharp.dll] Error 255
make[2]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf'
make: *** [install-binding] Error 1

!!! ERROR: dev-libs/gtk-sharp-0.7-r1 failed.
!!! Function einstall, Line 361, Exitcode 2
!!! einstall failed


------- Comment #9 From foser (RETIRED) 2003-02-21 07:35:09 0000 -------
it is 'libglade' that you need to have installed to trigger this and it's a
dep, so it should be installed.

The new error actually is different as you can see, have you upgraded your
portage cause the snag you hit there should be solved in the ebuild. What's
'emerge info' for you ?

------- Comment #10 From Kurt Hindenburg 2003-02-22 11:23:59 0000 -------
Nevermind, I'm an idiot...I had -gnome in the USE.  0.7-r1 compiled just fine. 
Sorry for the waste of time.

------- Comment #11 From foser (RETIRED) 2003-02-22 12:37:00 0000 -------
-gnome should still work (aka gtk/glade-only)

------- Comment #12 From foser (RETIRED) 2003-03-03 15:32:56 0000 -------
fixed and marked stable

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