Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 130826
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Saleem Abdulrasool (RETIRED) <compnerd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Zsolt Barat <joy@telephonefm.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
3205-bless-0.4.0.log "emerge bless" log text/plain Roman Polach 2006-04-24 16:08 0000 5.13 KB Details
bless-0.4.0-namespace.patch bless-0.4.0-namespace.patch patch Tristan Heaven 2006-04-26 22:34 0000 1.09 KB Details | Diff
bless-0.4.0-strictness.patch bless-0.4.0-strictness.patch patch Tristan Heaven 2006-04-26 22:35 0000 424 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130826 depends on: Show dependency tree
Bug 130826 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: 2006-04-22 05:44 0000
bless, a hexeditor from dev-util/bless-0.4.0 refuses to compile.
compilation aborts with:
gui/DataViewDisplay.cs(434,4): warning CS0642: Possible mistaken empty
statement
ByteBuffer/SaveAsOperation.cs(66,3): error CS0234: The type or namespace name
`Statvfs' does not exist in the namespace `Mono.Unix'. Are you missing an
assembly reference?
ByteBuffer/SaveAsOperation.cs(62,47): error CS0103: The name `pc' does not
exist in the context of `Bless.Buffers.SaveAsOperation'
ByteBuffer/SaveOperation.cs(56,3): error CS0234: The type or namespace name
`Statvfs' does not exist in the namespace `Mono.Unix'. Are you missing an
assembly reference?
ByteBuffer/SaveOperation.cs(50,15): error CS0103: The name `bb' does not exist
in the context of `Bless.Buffers.SaveOperation'
Compilation failed: 4 error(s), 1 warnings

Gentoo Base System version 1.12.0_pre17
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1,
2.6.15-suspen                    d2-r8 i686)
=================================================================
System uname: 2.6.15-suspend2-r8 i686 Intel(R) Pentium(R) III Mobile CPU      
8                    66MHz
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disable                    d]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -mfpmath=sse,387
-fforce-                    addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X1                    1/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/                    config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr       
            /share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -mfpmath=sse,387
-fforc                    e-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.uni-erl                    angen.de/pub/mirrors/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://                   
ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu"
LANG="POSIX"
LC_ALL="POSIX"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 apm audiofile avi bash-completion
ber                    kdb bitmap-fonts bluetooth bzip2 cairo cdb cdr crypt
cups curl dbus doc dri dv e                    ds emboss encode ethereal evo
exif expat fam ffmpeg flac foomaticdb fortran gd g                    dbm gif
glut gmp gnome gstreamer gtk gtk2 gtkhtml hal httpd idn imagemagick imli       
            b insecure-drivers ipv6 isdnlog jack java jpeg junit lcms ldap
libg++ libwww liv                    e logrotate mad makecheck matroska mhash
mikmod mmx mng mono mozilla mozsvg mp3                     mpeg mysql ncurses
network nls nokia6600 nptl nptlonly ogg oggvorbis opengl oss                   
 pam pcmcia pcre pda pdflib perl php pic png ppds pppd python qt quicktime
readli                    ne real samba sdl shout slang spell sqlite sse ssl
stream svg svga tcltk tcpd te                    tex theora tiff truetype
truetype-fonts type1-fonts udev unicode usb vcd vlm vor                    bis
x86 xml2 xv xvid yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS

------- Comment #1 From Saleem Abdulrasool (RETIRED) 2006-04-22 12:56:24 0000 -------
What version of mono are you using?  Also a full log of the build would be
useful.

------- Comment #2 From Roman Polach 2006-04-24 16:06:16 0000 -------
I have the same problem:



# emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3,
2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa amr apache2 apm audiofile avi bash-completion berkdb
bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli crypt cups curl dbus dri
dts dv dvb dvd dvdr dvdread emboss encode esd exif expat fam fbcon ffmpeg
firefox flac font-server foomaticdb fortran ftp gdbm gif glut gmp gnome gphoto2
gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib ipv6 isdnlog jpeg
lcms ldap libg++ libwww lirc mad matroska mikmod mmx mng modplug mono mozsvg
mp3 mp4 mpeg nautilus ncurses nls nptl ogg openal opengl pam pcre pdf pdflib
perl png ppds pppd python quicktime readline real reflection sdl session speex
spell spl sse sse2 ssl svg tcltk tcpd theora tiff truetype truetype-fonts
type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs wma wmf x264 xanim xml
xml2 xv xvid zlib linguas_cs linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY





# emerge bless
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/bless-0.4.0 to /
>>> md5 files   ;-) bless-0.4.0.ebuild
>>> md5 files   ;-) files/digest-bless-0.4.0
>>> md5 src_uri ;-) bless-0.4.0.tar.gz
>>> Unpacking source...
>>> Unpacking bless-0.4.0.tar.gz to /var/tmp/portage/bless-0.4.0/work
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-unix-specific --without-scrollkeeper
--build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking for mcs... /usr/bin/mcs
checking for mono... /usr/bin/mono
checking for i686-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO... yes
checking for GTK_SHARP_2_0... yes
checking for GLADE_SHARP_2_0... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/help_script.tmpl
config.status: creating doc/Makefile
config.status: creating doc/developer/Makefile
config.status: creating doc/user/Makefile
config.status: creating src/ByteBuffer/Makefile
config.status: creating src/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/gui/areas/Makefile
config.status: creating src/gui/dialogs/Makefile
config.status: creating src/gui/drawers/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/tools/find/Makefile
config.status: creating src/util/Makefile
config.status: creating tests/Makefile
config.status: creating tests/ByteBuffer/Makefile
config.status: creating tests/util/Makefile
config.status: creating src/bless-script
config.status: creating bless-script

    Enabling Unix specific features: yes
    Registering documentation with Scrollkeeper: no
    Compiling with debug information: no
    Installing to: /usr

Making all in src
make[1]: Entering directory `/var/tmp/portage/bless-0.4.0/work/bless-0.4.0/src'
make[2]: Entering directory `/var/tmp/portage/bless-0.4.0/work/bless-0.4.0/src'
sed -e 's,@blesslibdir\@,/usr/lib,g' bless-script > bless
/usr/bin/mcs -out:bless.exe -t:exe -resource:gui/bless.glade,bless.glade
-nowarn:0169  -d:ENABLE_UNIX_SPECIFIC -r:Mono.Posix -pkg:gtk-sharp-2.0
-pkg:glade-sharp-2.0 \
gui/MainWindow.cs gui/DataBook.cs gui/DataView.cs gui/DataViewDisplay.cs
gui/DataViewControl.cs gui/ConversionTable.cs gui/Layout.cs
gui/LayoutManager.cs gui/HistoryMenuItem.cs gui/FileChangedBar.cs
gui/Infobar.cs gui/FindReplaceWidget.cs gui/GotoOffsetWidget.cs 
ByteBuffer/ByteBuffer.cs ByteBuffer/ByteBufferAction.cs
ByteBuffer/SaveOperation.cs ByteBuffer/SaveAsOperation.cs
ByteBuffer/SegmentCollection.cs ByteBuffer/Segment.cs ByteBuffer/Buffer.cs
ByteBuffer/FileBuffer.cs ByteBuffer/ChangeBuffer.cs ByteBuffer/SimpleBuffer.cs
gui/drawers/Drawer.cs gui/drawers/HexDrawer.cs gui/drawers/DecimalDrawer.cs
gui/drawers/OctalDrawer.cs gui/drawers/AsciiDrawer.cs
gui/drawers/BinaryDrawer.cs  gui/areas/Area.cs gui/areas/GroupedArea.cs
gui/areas/HexArea.cs gui/areas/DecimalArea.cs gui/areas/OctalArea.cs
gui/areas/OffsetArea.cs gui/areas/SeparatorArea.cs gui/areas/AsciiArea.cs
gui/areas/BinaryArea.cs  gui/dialogs/LayoutSelectionDialog.cs
gui/dialogs/Alert.cs gui/dialogs/ErrorAlert.cs gui/dialogs/InformationAlert.cs
gui/dialogs/WarningAlert.cs gui/dialogs/SaveConfirmationAlert.cs
gui/dialogs/SaveConfirmationMultiAlert.cs
gui/dialogs/RevertConfirmationAlert.cs gui/dialogs/FileOverwriteAlert.cs
gui/dialogs/FindDialog.cs gui/dialogs/ProgressDialog.cs
gui/dialogs/ReplaceDialog.cs gui/dialogs/GotoOffsetDialog.cs
gui/dialogs/AboutDialog.cs gui/dialogs/PreferencesDialog.cs  tools/Session.cs
tools/History.cs tools/Preferences.cs tools/find/IFindStrategy.cs
tools/find/BMFindStrategy.cs tools/find/IFinder.cs tools/find/FileFinder.cs
tools/find/FindOperations.cs util/List.cs util/Range.cs util/RangeCollection.cs
util/TempFile.cs util/BaseConverter.cs util/ByteArray.cs
util/FileResourcePath.cs util/ProgressCallback.cs
util/ThreadedAsyncOperation.cs util/Deque.cs
gui/DataViewDisplay.cs(434,4): warning CS0642: Possible mistaken empty
statement
ByteBuffer/SaveAsOperation.cs(66,3): error CS0234: The type or namespace name
`Statvfs' does not exist in the namespace `Mono.Unix'. Are you missing an
assembly reference?
ByteBuffer/SaveAsOperation.cs(62,47): error CS0103: The name `pc' does not
exist in the context of `Bless.Buffers.SaveAsOperation'
ByteBuffer/SaveOperation.cs(56,3): error CS0234: The type or namespace name
`Statvfs' does not exist in the namespace `Mono.Unix'. Are you missing an
assembly reference?
ByteBuffer/SaveOperation.cs(50,15): error CS0103: The name `bb' does not exist
in the context of `Bless.Buffers.SaveOperation'
Compilation failed: 4 error(s), 1 warnings
make[2]: *** [bless.exe] Error 1
make[2]: Leaving directory `/var/tmp/portage/bless-0.4.0/work/bless-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bless-0.4.0/work/bless-0.4.0/src'
make: *** [all-recursive] Error 1

!!! ERROR: dev-util/bless-0.4.0 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.





dev-lang/mono-1.1.13.2  +X +nptl

------- Comment #3 From Roman Polach 2006-04-24 16:08:01 0000 -------
Created an attachment (id=85391) [details]
"emerge bless" log

Created by command:
PORT_LOGDIR=/var/log/portage emerge bless

------- Comment #4 From Tristan Heaven 2006-04-26 22:34:18 0000 -------
Created an attachment (id=85588) [details]
bless-0.4.0-namespace.patch

------- Comment #5 From Tristan Heaven 2006-04-26 22:35:39 0000 -------
Created an attachment (id=85589) [details]
bless-0.4.0-strictness.patch

Try these patches from FreeBSD.

------- Comment #6 From Roman Polach 2006-04-27 14:34:58 0000 -------
I have applied bless-0.4.0-namespace.patch and bless-0.4.0-strictness.patch and
bless have successfuly compiled for me :-)

------- Comment #7 From Saleem Abdulrasool (RETIRED) 2006-04-28 13:47:31 0000 -------
Applied the patches and commited.  Thanks.

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