I am compiling sys-power/nut with cgi as a USE flag in Gentoo. It is supposed to create a directory called /usr/share/nut with my cgi scripts in it. In the ebuild messages it says it is doing it but the nut folder does not exist. Reproducible: Always
*** This bug has been marked as a duplicate of bug 152659 ***
You marked this bug as solved for version 2.0.5. but that is the one I am using. This is my emerge info = http://pastebin.ca/484772 localhost mystified # emerge --info Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r7 i686) ================================================================= System uname: 2.6.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 08 May 2007 12:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X administrator alsa berkdb bitmap-fonts cgi cli cracklib crypt ctype cups dri fortran gdbm gnome gpm gtk iconv ipv6 isdnlog kde libfsg libg++ mad midi mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre perl ppds pppd pygtk python qt query-browser readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode vorbis win32codecs workbench x86 xcomposite xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia VESA" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Attach complete build log here and reopen. MAKEOPTS="-j1" emerge sys-power/nut &> emerge.log
Created attachment 118995 [details] new emerge log
Well, I'm really confused now. The log clearly shows that emerge failed? Could you clarify how does that match the summary of this bug?
(In reply to comment #5) > Well, I'm really confused now. The log clearly shows that emerge failed? Could > you clarify how does that match the summary of this bug? > Because nut works, it's cgi that isn't working. What is failing?
(In reply to comment #6) > Because nut works, it's cgi that isn't working. What is failing? Have you read the log you've attached at all? I fail to see how can nut be working when emerge failed.
(In reply to comment #7) > (In reply to comment #6) > > Because nut works, it's cgi that isn't working. What is failing? > > Have you read the log you've attached at all? I fail to see how can nut be > working when emerge failed. > Because I have watched nut emerge many times looking for errors and it successfully built. I am just now going over the log. I had no idea it failed with this build but I can assure you that nut has been working. I'm only using the use flag of cgi because I want to be able to access it via the internet.
It's failing here. make: *** No rule to make target `j1'. Stop. You had me do MAKEOPTS="-j1" and them emerge.
Ok, I see I need libgd. There is no libgd in portage.
(In reply to comment #10) > Ok, I see I need libgd. There is no libgd in portage. Sure there is; and the ebuild already depends on it w/ USE=cgi.
ocalhost mystified # emerge -S libgd Searching... [ Results for search key : libgd ] [ Applications found : 5 ] * dev-cpp/libgdamm [ Masked ] Latest version available: 1.3.7 Latest version installed: [ Not Installed ] Size of files: 276 kB Homepage: http://gtkmm.sourceforge.net/ Description: C++ bindings for libgda License: LGPL-2.1 * dev-dotnet/libgdiplus Latest version available: 1.2.2 Latest version installed: [ Not Installed ] Size of files: 2,898 kB Homepage: http://www.go-mono.com/ Description: Library for using System.Drawing with mono License: MIT * dev-ruby/ruby-libgda Latest version available: 0.12.0 Latest version installed: [ Not Installed ] Size of files: 1,095 kB Homepage: http://ruby-gnome2.sourceforge.jp/ Description: Ruby libgda (GNOME-DB) bindings License: Ruby * gnome-extra/libgda Latest version available: 1.2.3 Latest version installed: [ Not Installed ] Size of files: 1,050 kB Homepage: http://www.gnome-db.org/ Description: Gnome Database Access Library License: GPL-2 LGPL-2 * sci-libs/libgdgeda Latest version available: 2.0.15 Latest version installed: [ Not Installed ] Size of files: 510 kB Homepage: http://www.geda.seul.org Description: libgdgeda - a PNG creation library for gEDA License: GPL-2 Emerging media-lib/gd did not solve the problem.
(In reply to comment #12) > ocalhost mystified # emerge -S libgd Maybe if you could read the ebuild, please. This bug is already noisy enough. Once you are able to provide the log matching the summary you've given on this bug, attach it here. Closing meanwhile.