First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 147844
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Harald van Dijk <truedfx@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Karl Hakimian <t4y68ds02@sneakemail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nvi-gcc4-patch Patch to fix reported problem patch Karl Hakimian 2006-09-16 12:48 0000 5.62 KB Details | Diff
config.log config.log for comment #6 text/plain Christian Faulhammer 2006-09-17 00:57 0000 22.68 KB Details
app-editors:nvi-1.81.5-r3:20061001-151237.log app-editors:nvi-1.81.5-r3:20061001-151237.log text/plain Jeroen Roovers 2006-10-01 08:39 0000 239.96 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 147844 depends on: Show dependency tree
Show dependency graph
Bug 147844 blocks: 140707
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2006-09-16 12:47 0000
Sorry if this is a dup, all my searches only show bugs for nvidia...

Anyway, gcc4 apparently no longer likes the following

(char *)bp = ((void *)0);

It wants
bp = ((void *)0);

instead. I have a patch that will allow the nvi code to compile again.

------- Comment #1 From Karl Hakimian 2006-09-16 12:48:45 0000 -------
Created an attachment (id=97170) [edit]
Patch to fix reported problem

This patch changes a few 

(char *)bp = ptr

type lines to

bp = ptr.

------- Comment #2 From Harald van Dijk 2006-09-16 14:15:32 0000 -------
If you're running ~arch, there is a big problem; nvi should build with GCC4
just fine. If you're not, the newer ebuild that's already in the tree should be
marked stable. I don't know which is the case. Please, always provide your
emerge --info.

------- Comment #3 From Karl Hakimian 2006-09-16 14:25:07 0000 -------
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17.13 i686)
=================================================================
System uname: 2.6.17.13 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 16 Sep 2006 10:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref
/usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/data/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://magnus.gnatcreek.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl acpi alsa asf at bash-completion berkdb
bitmap-fonts blas bzip2 cairo cdr cli cracklib crypt cups curl dbus dga
divx4linux dlloader dri dv dvb dvd dvdr dvdread eds elibc_glibc emboss encode
exif expat fam ffmpeg fftw firefox fits flac foomaticdb fortran gd gdbm ggi gif
gimp gmp gnutls gphoto2 gpm gstreamer gtk gtk2 guile icms idn imagemagick imap
imlib input_devices_keyboard input_devices_mouse isdnlog java javascript jbig
jpeg kerberos kernel_linux lapack lcms ldap libg++ linguas_en_US lua m17n-lib
mad matroska mbox mhash mikmod mmx mng monitor motif mozilla mp3 mpeg mplayer
mysql ncurses netcdf nls nptl nptlonly nsplugin ofx ogdi ogg opengl oss pam
pcre pda pdf perl pic plotutils png postgres ppds pppd python qt3 qt4 quicktime
quotas readline reflection samba sasl sdl session slang sox speex spell spl sse
ssl stroke svga szip tcl tcltk tcpd tetex theora tiff truetype truetype-fonts
type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev
video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs wmf
xinerama xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #4 From Harald van Dijk 2006-09-16 14:29:01 0000 -------
Thanks, in that case, nvi-1.81.5-r3 should work for you. Arch teams, please
mark this version stable.

------- Comment #5 From Karl Hakimian 2006-09-16 14:31:59 0000 -------
I had not noticed -r3. However, that one will not work since it is now blocking
with gvim. Is there really a reason to keep blocking two versons of vi on a
distribution that is all about choice? Gvim worked up until this version with
nvi, why was that added to the block list?

------- Comment #6 From Christian Faulhammer 2006-09-17 00:55:49 0000 -------
configure fails here,

checking for db_create in -ldb... no
configure: error: Need DB 3.

ebuild says:
DEPEND="=sys-libs/db-4*"

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 07:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
/etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 alsa arts artworkextra asf audiofile
bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo
cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus
dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds elibc_glibc
emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp
gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick
imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript
jikes jpeg jpeg2k kernel_linux ldap leim libg++ linguas_de lm_sensors mad
maildir matroska mbox mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule
nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg
opengl pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python
qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell
spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype
truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_fbdev
video_cards_radeon video_cards_vesa videos vorbis win32codecs wmf wxwindows
xine xml xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #7 From Christian Faulhammer 2006-09-17 00:57:44 0000 -------
Created an attachment (id=97205) [edit]
config.log for comment #6

------- Comment #8 From Harald van Dijk 2006-09-17 02:52:11 0000 -------
> I had not noticed -r3. However, that one will not work since it is now blocking
> with gvim. Is there really a reason to keep blocking two versons of vi on a
> distribution that is all about choice? Gvim worked up until this version with
> nvi, why was that added to the block list?

I added that block when I noticed gvim and nvi install conflicting files. You
can't install both, because then one ebuild will overwrite files belonging to
the other. It wasn't a problem before because gvim used to not install
convenience symlinks.

> configure fails here,
> 
> checking for db_create in -ldb... no
> configure: error: Need DB 3.
> 
> ebuild says:
> DEPEND="=sys-libs/db-4*"

=db-4* is intentional; when updating nvi to use DB 4, I simply didn't adjust
all error messages. The problem is that nvi didn't handle DB 4.2's symbol
mangling, which I didn't know about because I tested with DB 4.3. This will be
fixed as soon as CVS is working again.

------- Comment #9 From Karl Hakimian 2006-09-17 06:28:27 0000 -------
The ebuilds can modify the default install and not put in the links. We should
have all vi like program install to their own names and put in links via
eselect.

------- Comment #10 From Harald van Dijk 2006-09-17 06:42:13 0000 -------
> The ebuilds can modify the default install and not put in the links.

nvi does this already. gvim didn't, last time I checked. If you want to make it
possible to install gvim and nvi at the same time, report this as a bug /
feature request against gvim. I don't maintain gvim, only nvi, and that's what
this bug is about.

------- Comment #11 From Karl Hakimian 2006-09-17 06:55:18 0000 -------
I did open a generic bug yesterday to move things to eselect.

------- Comment #12 From Christian Faulhammer 2006-09-18 00:31:19 0000 -------
Saw you fixed the configure problem.  Now here we go for the normal test
procedure as written in the x86 arch testing reference manual:

1) emerges fine
2) passes collision test
3) works

emerge --info in comment #6

------- Comment #13 From Andrej Kacian (RETIRED) 2006-09-18 10:21:41 0000 -------
x86 done

------- Comment #14 From Gustavo Zacarias (RETIRED) 2006-09-19 06:13:33 0000 -------
sparc stable.

------- Comment #15 From Lars Weiler (RETIRED) 2006-09-24 04:15:06 0000 -------
ppc done

------- Comment #16 From Jeroen Roovers 2006-10-01 08:39:51 0000 -------
Created an attachment (id=98525) [edit]
app-editors:nvi-1.81.5-r3:20061001-151237.log

The ebuild fails because for some reason mkinstalldirs does not do mkdir
/usr/bin before it tries to cd there.

------- Comment #17 From Harald van Dijk 2006-10-01 08:58:51 0000 -------
(In reply to comment #16)
> The ebuild fails because for some reason mkinstalldirs does not do mkdir
> /usr/bin before it tries to cd there.

I added -j1 for the installation, that should work around it for now. I'll try
to see if fixing it properly is doable soon.

------- Comment #18 From Jeroen Roovers 2006-10-01 09:39:05 0000 -------
HPPA done.

------- Comment #19 From Simon Stelling (RETIRED) 2006-10-04 11:01:14 0000 -------
amd64 stable... i had to emerge -C vim, what an unholy piece of software!

------- Comment #20 From Bryan Østergaard (RETIRED) 2006-10-21 14:54:43 0000 -------
Alpha done.

First Last Prev Next    No search results available      Search page      Enter new bug