Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152659 - sys-power/nut-2.0.4-r1 CGI files missing
Summary: sys-power/nut-2.0.4-r1 CGI files missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 152660 (view as bug list)
Depends on:
Blocks: 133736
  Show dependency tree
 
Reported: 2006-10-24 07:11 UTC by Dominik George
Modified: 2007-05-11 23:13 UTC (History)
2 users (show)

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


Attachments
equery f sys-power/nut (emerge.txt,5.38 KB, text/plain)
2006-11-14 04:26 UTC, Dominik George
Details
Portage log after emerging nut (sys-power:nut-2.0.4-r1:20061116-132635.log,45.15 KB, text/plain)
2006-11-16 07:52 UTC, Dominik George
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik George 2006-10-24 07:11:50 UTC
I did 'emerge --newuse sys-power/nut' after adding the 'cgi' USE flag in /etc/portage/package.use. 'equery uses sys-power/nut' reports that the package was installed with this flag.

But neither the files in /usr/share/nut nor the ewarning defined in the ebuild show up.

The man pages and config files in /etc/nut are fine.

=================================
emerge --info
=================================

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Celeron (Coppermine)
Gentoo Base System version 1.12.5
Last Sync: Tue, 24 Oct 2006 02:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ "
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apache2 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kernel_linux libg++ mmx ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl sse ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_s3 xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Dominik George 2006-10-24 07:14:36 UTC
*** Bug 152660 has been marked as a duplicate of this bug. ***
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-11-13 02:29:14 UTC
USE=cgi emerge sys-power/nut
then attach the output from 'equery f sys-power/nut'
Comment 3 Dominik George 2006-11-14 04:26:30 UTC
Created attachment 101909 [details]
equery f sys-power/nut
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-11-14 05:28:22 UTC
hmm, that's really weird.

can you please set:
PORT_LOGDIR=/var/log/portage in your make.conf
emerge sys-power/nut again
and then attach the log from /var/log/portage to this bug?
Comment 5 Dominik George 2006-11-16 05:25:26 UTC
What I can tell for sure is that the CGI files are missing in the tarball ...
Comment 6 Dominik George 2006-11-16 07:52:19 UTC
Created attachment 102058 [details]
Portage log after emerging nut
Comment 7 Dominik George 2006-12-05 00:09:08 UTC
So why doesn't anybody replace the broken tarball with a new one?
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-02-25 11:06:30 UTC
your system is broken, and the build doesn't fail properly:
i686-pc-linux-gnu-gcc -I../include -O3 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wsign-compare  -I/usr/include -o upsimage.cgi upsimage.c libupsclient.a cgilib.o -lz -lm -lgd ../common/common.o   -lssl -lcrypto
/var/tmp/portage/nut-2.0.4-r1/temp/cckPT2Ya.o: In function `drawimage':
upsimage.c:(.text+0x2b): undefined reference to `gdImagePng'
collect2: ld returned 1 exit status
distcc[13861] ERROR: compile upsimage.c on localhost failed
make[1]: *** [upsimage.cgi] Error 1

The 2.0.5 build from upstream should catch failures like these, so I'm considering this to be fixed now.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-05-11 23:13:51 UTC
*** Bug 178121 has been marked as a duplicate of this bug. ***