Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100405 - obpager-1.8 fails to compile
Summary: obpager-1.8 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 13:52 UTC by Radek Podgorny
Modified: 2005-08-23 17:52 UTC (History)
1 user (show)

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


Attachments
obpager-1.8.ebuild.patch (obpager-1.8.ebuild.patch,329 bytes, patch)
2005-08-23 10:43 UTC, Krzysztof Pawlik (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radek Podgorny 2005-07-26 13:52:13 UTC
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/obpager-1.8 to /
>>> md5 files   ;-) obpager-1.8.ebuild
>>> md5 files   ;-) files/digest-obpager-1.8
>>> md5 src_uri ;-) obpager-1.8.tar.gz
>>> Unpacking source...
>>> Unpacking obpager-1.8.tar.gz to /var/tmp/portage/obpager-1.8/work
>>> Source unpacked.
Compiling src/OBPager.cc
Compiling src/main.cc
src/main.cc: In function `int main(int, char**)':
src/main.cc:161: error: `errno' undeclared (first use this function)
src/main.cc:161: error: (Each undeclared identifier is reported only once for
each function it appears in.)
Linking obpager
g++: ./objs/src/main.o: No such file or directory
make: *** [obpager] Error 1

!!! ERROR: x11-misc/obpager-1.8 failed.
!!! Function src_compile, Line 17, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



-------------


hermes radek # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-rc3-mm1 i686)
=================================================================
System uname: 2.6.13-rc3-mm1 i686 Intel(R) Pentium(R) III CPU family      1133MHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/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/ /var/qmail/control
/var/service"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm avi bash-completion bitmap-fonts bluetooth cups
curl dvd emboss encode fam flash foomaticdb fortran gd gif gtk gtk2 gtkhtml
guile imagemagick imap ipv6 irda java jpeg junit libg++ mad maildir mmx motif
mp3 mpeg mysql ncurses nptl ogg oggvorbis opengl pcmcia png pnp quicktime
scanner sdl snmp sse ssl tcltk tiff truetype truetype-fonts type1-fonts unicode
usb vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Oleg Golberg 2005-08-03 12:06:44 UTC
g++ complains about undeclader errno; if you add #include <errno.h> to the 
main.cc source file, it compiles just fine.
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-08-23 10:43:02 UTC
Created attachment 66669 [details, diff]
obpager-1.8.ebuild.patch

Patch for ebuild - it uses sed to add missing #include line to main.cc.
Comment 3 Jonathan Smith (RETIRED) gentoo-dev 2005-08-23 17:52:04 UTC
done... thanks for the patch