Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36183 - openssh-3.7.1_p2-r1 fails
Summary: openssh-3.7.1_p2-r1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-20 07:22 UTC by Carl Bach
Modified: 2006-02-04 06:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Bach 2003-12-20 07:22:15 UTC
Hi,

openssh-3.7.1_p2-r1 compiling fails. I dont know if it compiles without propolice, but sshd + propolice is a must for me.

gcc -mcpu=ultrasparc -mtune=v9 -O3 -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..  -DHAVE_CONFIG_H -c strlcat.c
setproctitle.c: In function `compat_init_setproctitle':
setproctitle.c:102: `argv_start' undeclared (first use in this function)
setproctitle.c:102: (Each undeclared identifier is reported only once
setproctitle.c:102: for each function it appears in.)
setproctitle.c:103: `argv_env_len' undeclared (first use in this function)
make[1]: *** [setproctitle.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/openssh-3.7.1_p2-r1/work/openssh-3.7.1p2/openbsd-compat'
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2

Output of emerge info:

Portage 2.0.49-r15 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.1-r4, 2.4.23-sparc)
=================================================================
System uname: 2.4.23-sparc sparc64 sun4u
Gentoo Base System version 1.4.3.10p1
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -mtune=v9 -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -mtune=v9 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc avi crypt fbcon gif imlib jpeg mad motif mpeg ncurses nls png spell truetype xml2 zlib gdbm berkdb slang readline java mysql X sdl tcpd pam libwww ssl perl python gnome opengl mozilla gtk2 openssh php xml -cups -encode -foomaticdb -kde -mikmod -oss -pdflib -xv -xmms -arts -esd -oggvorbis -gtk -qt -fstack-protector"
Comment 1 Carl Bach 2003-12-20 07:26:41 UTC
Damn. Shoot me. I just noticed I did not use -fstack-protector in the right place. So, this bug report is that openssh does not compile at all.
Comment 2 Jason Wever (RETIRED) gentoo-dev 2003-12-25 16:57:54 UTC
Is this happening while you are doing an emerge system or during an upgrade of a previous openssh?

Also, if you drop the -mtune=v9, does it build?
Comment 3 Carl Bach 2003-12-26 04:42:18 UTC
Problem is solved with not using -mtune=v9. Nice!
Comment 4 Jason Wever (RETIRED) gentoo-dev 2003-12-26 05:21:44 UTC
Ahh ok.

Be wary of using -mtune=v9 as a lot of programs may interpret that to mean they can build 64 bit rather than 32 bit, which isn't possible at the moment.