Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17187 - dmake fails to compile (errno issue)
Summary: dmake fails to compile (errno issue)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on: 16267
Blocks:
  Show dependency tree
 
Reported: 2003-03-10 01:47 UTC by Jim Nutt
Modified: 2003-03-10 10:20 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 Jim Nutt 2003-03-10 01:47:18 UTC
Emerging dmake produces the following (excerpted):

>>> Source unpacked.
dmake.c: In function `main':
dmake.c:123: warning: return type of `main' is not `int'
objects/sysintf.o(.text+0x697): In function `Get_temp':
: the use of `tempnam' is dangerous, better use `mkstemp'
objects/runargv.o(.text+0xc2): In function `runargv':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
objects/runargv.o(.text+0x6f): In function `runargv':
: undefined reference to `errno'
objects/runargv.o(.text+0xbb): In function `runargv':
: undefined reference to `errno'
objects/runargv.o(.text+0x11c): In function `runargv':
: undefined reference to `errno'
collect2: ld returned 1 exit status



Reproducible: Always
Steps to Reproduce:
1. emerge dmake
2.
3.

Actual Results:  
the ebuild succeeded although dmake failed to build

Expected Results:  
at the least the ebuild should have failed. Preferably dmake would have compiled.

Fresh rsync

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0,2.2.5-r4)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gtkhtml alsa gdbm
berkdb slang readline arts tetex aalib bonobo svga tcltk java guile postgres X
sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif
opengl gphoto2 cdr pda mozilla gpg gpgme 3dnow sse jpilot -qt truetype ogg dvd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Jim Nutt 2003-03-10 01:47:50 UTC
Note that the ebuild succeeds despite the error.
Comment 2 Stefan Jones (RETIRED) gentoo-dev 2003-03-10 10:20:04 UTC
Fixed, emerge rsync && emerge dmake will work on Mon Mar 10 15:35:00 GMT 2003

Closing