Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107892 - app-text/wv:-1.0.0-r1 fails to build on hardened amd64 machine
Summary: app-text/wv:-1.0.0-r1 fails to build on hardened amd64 machine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 06:35 UTC by Brenden Matthews
Modified: 2007-11-01 11:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wv-1.0.0-r2.ebuild (wv-1.0.0-r2.ebuild,1.07 KB, text/plain)
2005-10-02 06:36 UTC, Brenden Matthews
Details
wv-1.0.0-amd64-fix.patch (wv-1.0.0-amd64-fix.patch,650 bytes, patch)
2005-10-02 06:37 UTC, Brenden Matthews
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brenden Matthews 2005-10-02 06:35:55 UTC
app-text/wv-1.0.0-r1 fails to build on my amd64 hardened machine.  I think the
box is fairly sane for the most part, so I blame the package.  I've made a new
ebuild and a patch which seems to solve this problem for me.  Heres the emerge
output, followed by emerge info:

localhost ~ # emerge plone archetypes app-shells/gentoo-bashcomp    
Calculating dependencies                  ...done!
>>> emerge (1 of 17) app-text/wv-1.0.0-r1 to /
>>> md5 files   ;-) wv-1.0.0-r1.ebuild
>>> md5 files   ;-) wv-1.0.3.ebuild
>>> md5 files   ;-) files/digest-wv-1.0.0-r1
>>> md5 files   ;-) files/wv-1.0.0-fix_overflow.patch
>>> md5 files   ;-) files/wv-1.0.3-gcc4.patch
>>> md5 files   ;-) files/digest-wv-1.0.3
>>> md5 src_uri ;-) wv-1.0.0.tar.gz
>>> Unpacking source...
>>> Unpacking wv-1.0.0.tar.gz to /var/tmp/portage/wv-1.0.0-r1/work
 * Applying wv-1.0.0-fix_overflow.patch ...                               [ ok ]
>>> Source unpacked.
 * econf: updating wv-1.0.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating wv-1.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
--with-libxml2 --without-libwmf --with-docdir=/usr/share/doc/wv-1.0.0-r1
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 x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit
[LM]SB (shared object|dynamic lib )
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-file... no
checking for file... /usr/bin/file
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.lo... yes
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking pngconf.h usability... no
checking pngconf.h presence... yes
configure: WARNING: pngconf.h: present but cannot be compiled
configure: WARNING: pngconf.h: check for missing prerequisite headers?
configure: WARNING: pngconf.h: proceeding with the preprocessor's result
checking for pngconf.h... yes
checking for png_free in -lpng... yes
checking for xml2-config... /usr/bin/xml2-config
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking for xmlParseDocument in -lxml2... yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0... configure: WARNING: *** falling back to glib-1.2
checking for glib12-config... no
checking for glib-config... no
checking for iconv... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking need for const in iconv... checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
no
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking whether byte ordering is bigendian... no
checking for getopt_long... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for memcpy... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
configure: creating ./config.status
config.status: creating wvAbw
config.status: creating wvDVI
config.status: creating wvPS
config.status: creating wvPDF
config.status: creating wvHtml
config.status: creating wvDocBook
config.status: creating wvLatex
config.status: creating wvCleanLatex
config.status: creating wvText
config.status: creating wvWml
config.status: creating wv-1.0.pc
config.status: creating version.c
config.status: creating GNUmakefile
config.status: creating magick/GNUmakefile
config.status: creating glib-wv/GNUmakefile
config.status: creating libole2/GNUmakefile
config.status: creating oledecod/GNUmakefile
config.status: creating expat/GNUmakefile
config.status: creating expat/xmlparse/GNUmakefile
config.status: creating expat/xmltok/GNUmakefile
config.status: creating exporter/GNUmakefile
config.status: creating xml/GNUmakefile
config.status: creating help/GNUmakefile
config.status: creating help/man/GNUmakefile
config.status: creating patterns/GNUmakefile
config.status: creating wingdingfont/GNUmakefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0'
Making all in xml
make[2]: Entering directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/xml'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/xml'
Making all in help
make[2]: Entering directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/help'
Making all in man
make[3]: Entering directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/help/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/help/man'
make[3]: Entering directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/help'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/help'
make[2]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/help'
Making all in wingdingfont
make[2]: Entering directory
`/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/wingdingfont'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/wingdingfont'
Making all in patterns
make[2]: Entering directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/patterns'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/patterns'
Making all in glib-wv
make[2]: Entering directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/glib-wv'
source='garray.c' object='garray.lo' libtool=yes \
depfile='.deps/garray.Plo' tmpdepfile='.deps/garray.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I.    -march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe
-c -o garray.lo `test -f 'garray.c' || echo './'`garray.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I.
-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe -c garray.c -MT
garray.lo -MD -MP -MF .deps/garray.TPlo  -fPIC -DPIC -o garray.lo
source='gmem.c' object='gmem.lo' libtool=yes \
depfile='.deps/gmem.Plo' tmpdepfile='.deps/gmem.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I.    -march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe
-c -o gmem.lo `test -f 'gmem.c' || echo './'`gmem.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I.
-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe -c gmem.c -MT gmem.lo
-MD -MP -MF .deps/gmem.TPlo  -fPIC -DPIC -o gmem.lo
source='gslist.c' object='gslist.lo' libtool=yes \
depfile='.deps/gslist.Plo' tmpdepfile='.deps/gslist.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I.    -march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe
-c -o gslist.lo `test -f 'gslist.c' || echo './'`gslist.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I.
-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe -c gslist.c -MT
gslist.lo -MD -MP -MF .deps/gslist.TPlo  -fPIC -DPIC -o gslist.lo
source='gtree.c' object='gtree.lo' libtool=yes \
depfile='.deps/gtree.Plo' tmpdepfile='.deps/gtree.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I.    -march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe
-c -o gtree.lo `test -f 'gtree.c' || echo './'`gtree.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I.
-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe -c gtree.c -MT gtree.lo
-MD -MP -MF .deps/gtree.TPlo  -fPIC -DPIC -o gtree.lo
source='glist.c' object='glist.lo' libtool=yes \
depfile='.deps/glist.Plo' tmpdepfile='.deps/glist.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I.    -march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe
-c -o glist.lo `test -f 'glist.c' || echo './'`glist.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I.
-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe -c glist.c -MT glist.lo
-MD -MP -MF .deps/glist.TPlo  -fPIC -DPIC -o glist.lo
source='gmessages.c' object='gmessages.lo' libtool=yes \
depfile='.deps/gmessages.Plo' tmpdepfile='.deps/gmessages.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I.    -march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe
-c -o gmessages.lo `test -f 'gmessages.c' || echo './'`gmessages.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I.
-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe -c gmessages.c -MT
gmessages.lo -MD -MP -MF .deps/gmessages.TPlo  -fPIC -DPIC -o gmessages.lo
source='gstrfuncs.c' object='gstrfuncs.lo' libtool=yes \
depfile='.deps/gstrfuncs.Plo' tmpdepfile='.deps/gstrfuncs.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I.    -march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe
-c -o gstrfuncs.lo `test -f 'gstrfuncs.c' || echo './'`gstrfuncs.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I.
-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe -c gstrfuncs.c -MT
gstrfuncs.lo -MD -MP -MF .deps/gstrfuncs.TPlo  -fPIC -DPIC -o gstrfuncs.lo
gstrfuncs.c: In function `g_strdup_vprintf':
gstrfuncs.c:117: error: incompatible types in assignment
make[2]: *** [gstrfuncs.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0/glib-wv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/wv-1.0.0-r1/work/wv-1.0.0'
make: *** [all] Error 2

!!! ERROR: app-text/wv-1.0.0-r1 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

emerge info:

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-hardened x86_64)
=================================================================
System uname: 2.6.13-hardened x86_64 Dual Core AMD Opteron(tm) Processor 275
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 alsa apache2 avi bash-completion berkdb bitmap-fonts crypt cups eds
emboss encode foomaticdb fortran gif gpm gstreamer hardened hardenedphp imlib
ipv6 jpeg libwww lzw lzw-tiff mp3 mpeg mysql ncurses nls nptl odbc opengl pam
pdflib perl pic png postgres python quicktime readline sasl sdl spell ssl tcpd
tiff truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY

Reproducible: Always
Steps to Reproduce:
1. emerge app-text/wv
2. eat some goat cheese
3. praise His Noodly Appendages

Actual Results:  
gcc gets angry because someone didn't test this software on amd64 before marking
it stable.
Comment 1 Brenden Matthews 2005-10-02 06:36:39 UTC
Created attachment 69722 [details]
wv-1.0.0-r2.ebuild
Comment 2 Brenden Matthews 2005-10-02 06:37:05 UTC
Created attachment 69723 [details, diff]
wv-1.0.0-amd64-fix.patch
Comment 3 Brenden Matthews 2005-10-02 06:46:06 UTC
Oh...and...PS:  I also got around this by unmasking app-text/wv-1.0.3.  However,
I don't think packages that don't build should be marked stable on an arch.
Comment 4 foser (RETIRED) gentoo-dev 2006-03-15 04:58:52 UTC
You say 1.0.3 does ok , how about 1.2.0 ?

I think we should just stabilize a newer release.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-07-20 08:38:24 UTC
wv 1.2.0 is stable and the original reporter didn't report back, i assume it's fixed
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-11-01 11:22:03 UTC
Closing wrt Comment #5