Hi,
I wanted to install gpart, but it failed.
# emerge -u gpart
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/gpart-0.1h to /
>>> md5 src_uri ;-) gpart-0.1h.tar.gz
>>> Unpacking source...
>>> Unpacking gpart-0.1h.tar.gz to /var/tmp/portage/gpart-0.1h/work
* Applying gpart-0.1h-errno.diff... [ ok ]
>>> Source unpacked.
make -C src
make[1]: Entering directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make[1]: Leaving directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make[1]: Entering directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gpart.o gpart.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gmodules.o gmodules.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o disku.o disku.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o l64seek.o l64seek.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_ext2.o gm_ext2.c
gpart.c:72: warning: built-in function `log' declared as non-function
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_lswap.o gm_lswap.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_fat.o gm_fat.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_bsddl.o gm_bsddl.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_ntfs.o gm_ntfs.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_hpfs.o gm_hpfs.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_s86dl.o gm_s86dl.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\" -c -o gm_minix.o gm_minix.c
gm_ntfs.c: In function `ntfs_gfun':
gm_ntfs.c:63: error: `ntfs_u32' undeclared (first use in this function)
gm_ntfs.c:63: error: (Each undeclared identifier is reported only once
gm_ntfs.c:63: error: for each function it appears in.)
gm_ntfs.c:63: error: syntax error before ')' token
gm_ntfs.c:65: error: syntax error before ')' token
gm_ntfs.c:68: error: `ntfs_u16' undeclared (first use in this function)
gm_ntfs.c:68: error: syntax error before ')' token
gm_ntfs.c:69: error: `ntfs_u8' undeclared (first use in this function)
gm_ntfs.c:69: error: syntax error before ')' token
gm_ntfs.c:74: error: `ntfs_u64' undeclared (first use in this function)
gm_ntfs.c:74: error: syntax error before ')' token
make[1]: *** [gm_ntfs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make: *** [gpart] Error 2
!!! ERROR: sys-apps/gpart-0.1h failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)
Any pointers?
Johnny
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9,
2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 x86_64 5
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 apache2 apm arts avi berkdb cdr crypt cscope cups dvd dvdr
encode esd fam foomaticdb gd gdbm gif gnome gpm gtk gtk2 imap imlib ipv6 jpeg
ldap libg++ libwww maildir mbox memlimit mikmod motif mozilla mpeg mysql
ncurses nls nogcj obdc oggvorbis opengl oss pam pdflib perl png pnp postgres
ppds prelude python quicktime readline samba sasl sdl slang slp snmp socks5
spell ssl tcpd tiff truetype usb wmf xml2 xmms xv zlib"