Package: apcupsd Version: 3.12.4-1 Severity: serious Justification: no longer builds from source
Hi, seems like the make install does not install into debian/apcupsd but into /. Build log attached. MfG Goswin -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.8-frosties-2 Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
fakeroot debian/rules clean rm -f patch-stamp dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# # Add here commands to clean up after the build process. /usr/bin/make distclean make[1]: Entering directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' make[1]: *** No rule to make target `distclean'. Stop. make[1]: Leaving directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' make: [clean] Error 2 (ignored) cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess dh_clean debian/rules build test -d debian/patched || install -d debian/patched applying patch debian/patches/config.guess.dpatch... ok. applying patch debian/patches/config.sub.dpatch... ok. applying patch debian/patches/client.c.dpatch... ok. mv -f patch-stampT patch-stamp dh_testdir # Add here commands to configure the package. #CFLAGS="-Wall -g -O2 -Wl,-z,defs" ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-Wall -g -O2 -Wl,-z,defs" ./configure --prefix=/usr --sbindir=/sbin --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --enable-pthreads --with-libwrap --enable-cgi --enable-usb --enable-net --enable-snmp --enable-test --with-cgi-bin=\${prefix}/lib/cgi-bin/apcupsd --enable-powerflute --enable-nls --with-catgets --with-pid-dir=/var/run --with-log-dir=/var/log --with-lock-dir=/var/lock --with-pwrfail-dir=/etc/apcupsd --disable-install-distdir --with-nis-port=3551 --with-nisip=127.0.0.1 --enable-master-slave --with-css-dir=\${prefix}/../etc/apcupsd/ checking for true... /bin/true checking for false... /bin/false checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking for egrep... grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for library containing strerror... none required checking for g++... /usr/bin/g++ checking for pthreads... checking for shutdown... /sbin/shutdown checking for mail... no configure: WARNING: mail program not found ! checking for wall... /usr/bin/wall checking for sh... /bin/sh checking for gmake... no checking for pmake... /usr/bin/pmake checking for makedepend... /usr/bin/makedepend checking for ranlib... /usr/bin/ranlib checking for libtool... /usr/bin/libtool checking for etags... no checking for etags... no checking for rm... /bin/rm checking for cp... /bin/cp checking for echo... /bin/echo checking for ln... /bin/ln checking for sed... /bin/sed checking for ar... /usr/bin/ar checking for mv... /bin/mv checking for abort... yes checking for fork... yes checking for calloc... yes checking for getpid... yes checking for ioctl... yes checking for kill... yes checking for rewind... yes checking for select... yes checking for setsid... yes checking for signal... yes checking for strerror... yes checking for strncmp... yes checking for strncpy... yes checking for tcgetattr... yes checking for vfprintf... yes checking for setpgrp... yes checking for snprintf... yes checking for vsnprintf... yes checking for nanosleep... yes checking for usleep... yes checking for syslog... yes checking for strftime... yes checking whether setpgrp takes no argument... yes checking for socket... yes using libc's socket checking for gethostname... yes using libc's gethostname checking for socklen_t... yes checking for gethostbyname... yes using libc's resolver checking for gettext... yes using libc's gettext checking for inet_addr... yes using libc's inet_addr checking for strchr... yes using libc's strchr checking for strstr... yes checking for strcasecmp... yes checking for memmove... yes checking for getopt_long... yes checking for inet_pton... yes checking for localtime_r... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... (cached) yes checking for socklen_t... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for preprocessor stringizing operator... yes checking whether #! works in shell scripts... yes checking for libwrap... yes checking for gdImagePng in -lgd... yes using PNG file format (/usr/lib). checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for EVP_DigestInit in -lcrypto... yes including crypto library for snmp. checking for snmp_open in -lnetsnmp... yes checking for initscr in -lncurses... yes checking for new_menu in -lmenu... yes checking for new_form in -lform... yes checking for new_panel in -lpanel... yes checking if libsupc++ is required... yes checking if GCC supports -fno-exceptions... yes checking if GCC supports -fno-rtti... yes checking for msgfmt... /usr/bin/msgfmt checking whether /usr/bin/pmake sets $(MAKE)... yes checking for ranlib... /usr/bin/ranlib checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for limits.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... fr it et_EE checking for wait... yes checking for waitpid... yes checking for wait3... yes checking for union wait... yes Disabling internal libintl... Enabling internationalization support... checking for snprintf... (cached) yes Enabling cgi program support... checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking ncurses/menu.h usability... no checking ncurses/menu.h presence... no checking for ncurses/menu.h... no checking ncurses/panel.h usability... no checking ncurses/panel.h presence... no checking for ncurses/panel.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking menu.h usability... yes checking menu.h presence... yes checking for menu.h... yes checking panel.h usability... yes checking panel.h presence... yes checking for panel.h... yes gcc private include directory found. configure: creating ./config.status config.status: creating autoconf/variables.mak config.status: creating autoconf/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/drivers/Makefile config.status: creating platforms/Makefile config.status: creating platforms/apccontrol config.status: creating platforms/etc/changeme config.status: creating platforms/etc/commfailure config.status: creating platforms/etc/commok config.status: creating platforms/etc/offbattery config.status: creating platforms/etc/masterconnect config.status: creating platforms/etc/mastertimeout config.status: creating platforms/etc/onbattery config.status: creating platforms/etc/Makefile config.status: creating platforms/etc/apcupsd.conf config.status: creating examples/Makefile config.status: creating examples/safe.apccontrol config.status: creating Makefile config.status: creating platforms/debian/Makefile config.status: creating platforms/debian/apcupsd config.status: creating platforms/debian/ups-monitor config.status: creating src/drivers/apcsmart/Makefile config.status: creating src/drivers/dumb/Makefile config.status: creating src/drivers/usb/Makefile config.status: creating src/drivers/usb/linux/Makefile config.status: creating src/drivers/net/Makefile config.status: creating src/drivers/snmp/Makefile config.status: creating src/drivers/test/Makefile config.status: creating src/po/Makefile config.status: creating src/cgi/Makefile config.status: creating src/cgi/cgiconfig.h config.status: creating include/config.h config.status: executing default-1 commands config.status: executing default commands Doing make of dependencies make[1]: Entering directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' Nothing to do for depend. g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. make[1]: Leaving directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' make[1]: Entering directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' (cd examples; /usr/bin/pmake clean) /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig client readfifo megaclient newslave upsapm /bin/rm -f core core.* 1 2 3 *.o /bin/rm -f client readfifo megaclient newslave upsapm hid-ups hid-set /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *_stamp /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.pox apcupsd.po *.old.po cat-id-tbl.tmp /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig upsstats.cgi upsfstats.cgi upsimage.cgi multimon.cgi /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig apcupsd apctest apcaccess smtp powerflute /bin/rm -f devicedbg /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig find . -type f -size 0 -exec /bin/rm -f {} \; make[1]: Leaving directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' Configuration on Mon Oct 30 23:46:43 CET 2006: Host: x86_64-unknown-linux-gnu -- debian 4.0 Apcupsd version: 3.12.4 (19 August 2006) Source code location: . Install binaries: /sbin Install config files: /etc/apcupsd Install man files: /usr/share/man Nologin file in: /etc PID directory: /var/run LOG dir (events, status) /var/log LOCK dir (for serial port) /var/lock Power Fail dir /etc/apcupsd Compiler: /usr/bin/g++ 4.1.2 Compiler flags: -Wall -g -O2 -Wl,-z,defs -Wall Linker flags: -g -O -L/usr/local/lib Host and version: debian 4.0 Shutdown Program: /sbin/shutdown Port/Device: /dev/ttyS0 Network Info Port (CGI): 3551 Master/slave Port: 6544 UPSTYPE apcsmart UPSCABLE smart drivers (no-* are disabled): apcsmart dumb net usb net-snmp test enable-master-slave: yes enable-nis: yes with-nisip: 127.0.0.1 enable-cgi: yes with-cgi-bin: ${prefix}/lib/cgi-bin/apcupsd with-libwrap: yes enable-nls: yes enable-libintl: no enable-powerflute: yes enable-pthreads: yes enable-dist-install: no # Add here commands to compile the arch part of the package. /usr/bin/make make[1]: Entering directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcconfig.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcerror.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcevents.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcexec.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcfile.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apclibnis.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apclock.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apclog.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcsignal.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcstatus.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include asys.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include newups.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include wincompat.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libapc.a apcconfig.o apcerror.o apcevents.o apcexec.o apcfile.o apclibnis.o apclock.o apclog.o apcsignal.o apcstatus.o asys.o newups.o wincompat.o /usr/bin/ranlib libapc.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include smartoper.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include smartsetup.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include smarteeprom.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include smartsetup2.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include smart.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libapcsmart.a smartoper.o smartsetup.o smarteeprom.o smartsetup2.o smart.o /usr/bin/ranlib libapcsmart.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include dumboper.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include dumbsetup.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libdumb.a dumboper.o dumbsetup.o /usr/bin/ranlib libdumb.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include net.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libnet.a net.o /usr/bin/ranlib libnet.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include -I.. linux-usb.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libpusb.a linux-usb.o /usr/bin/ranlib libpusb.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include usb.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libusb.a usb.o /usr/bin/ranlib libusb.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include powernet-mib-mgr.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include drv_powernet.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include rfc1628-mib-mgr.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include drv_rfc1628.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include snmp.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libsnmp.a powernet-mib-mgr.o drv_powernet.o rfc1628-mib-mgr.o drv_rfc1628.o snmp.o /usr/bin/ranlib libsnmp.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include testdriver.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar rc libtest.a testdriver.o /usr/bin/ranlib libtest.a /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include drivers.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done ar cru libdrivers.a apcsmart/*.o /usr/bin/ranlib libdrivers.a touch apcsmart_stamp ar cru libdrivers.a dumb/*.o /usr/bin/ranlib libdrivers.a touch dumb_stamp ar cru libdrivers.a net/*.o /usr/bin/ranlib libdrivers.a touch net_stamp ar cru libdrivers.a usb/*.o usb/linux/*.o /usr/bin/ranlib libdrivers.a touch usb_stamp ar cru libdrivers.a snmp/*.o /usr/bin/ranlib libdrivers.a touch snmp_stamp ar cru libdrivers.a test/*.o /usr/bin/ranlib libdrivers.a touch test_stamp ar cru libdrivers.a drivers.o /usr/bin/ranlib libdrivers.a touch drivers_stamp file=./`echo fr | sed 's,.*/,,'`.gmo && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file fr.po fr.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. file=./`echo it | sed 's,.*/,,'`.gmo && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file it.po it.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. file=./`echo et_EE | sed 's,.*/,,'`.gmo && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file et_EE.po /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include upsstats.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include upsfetch.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include cgilib.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -g -O -L/usr/local/lib -o upsstats.cgi upsstats.o upsfetch.o cgilib.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include upsfstats.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -g -O -L/usr/local/lib -o upsfstats.cgi upsfstats.o upsfetch.o cgilib.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include upsimage.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -g -O -L/usr/local/lib -o upsimage.cgi upsimage.o upsfetch.o cgilib.o -lgd /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ -lm /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include multimon.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include -g -O -L/usr/local/lib -o multimon.cgi multimon.o upsfetch.o cgilib.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcupsd.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include options.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcnet.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include reports.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include action.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcnis.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include device.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done gcc -g -O -L/usr/local/lib apcupsd.o options.o apcnet.o reports.o action.o apcnis.o device.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/drivers/libdrivers.a /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ -o apcupsd /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apctest.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done gcc -g -O -L/usr/local/lib apctest.o options.o apcnet.o reports.o action.o apcnis.o device.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/drivers/libdrivers.a /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ -o apctest /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include apcaccess.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done gcc -g -O -L/usr/local/lib apcaccess.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ -o apcaccess /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include smtp.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done gcc -g -O -L/usr/local/lib smtp.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ -o smtp /usr/bin/g++ -c -I/usr/local/include -fno-exceptions -fno-rtti -Wall -g -O2 -Wl,-z,defs -Wall -I/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/include powerflute.c g++: -z: linker input file unused because linking not done g++: defs: linker input file unused because linking not done gcc -g -O -L/usr/local/lib powerflute.o /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src/lib/libapc.a -lpthread -lwrap -lcrypto -lnetsnmp -lsupc++ -lncurses -lmenu -lform -lpanel -o powerflute make[1]: Leaving directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' touch build-arch-stamp # Add here commands to compile the indep part of the package. #/usr/bin/make doc touch build-indep-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot #dh_clean -k -s dh_installdirs -s # Add here commands to install the arch part of the package into # debian/tmp. mkdir -p /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/etc/apcupsd /usr/bin/make install prefix=/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr sysconfdir=/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/etc/apcupsd/ sbindir=/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/sbin/ make[1]: Entering directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' mkdir /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr mkdir /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/lib mkdir /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/lib/cgi-bin mkdir /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/lib/cgi-bin/apcupsd /bin/sh /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/autoconf/mkinstalldirs /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/sbin/ mkdir /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/sbin /bin/sh /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/autoconf/mkinstalldirs /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/share/man mkdir /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/share mkdir /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/share/man Installing daemons ... /usr/bin/install: cannot create regular file `/sbin/apcupsd': Permission denied *** Error code 1 Stop. pmake: stopped in /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/src Installing manual pages... /usr/bin/install: cannot create regular file `/usr/share/man/man8/apcupsd.8': Permission denied *** Error code 1 Stop. pmake: stopped in /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/doc Installing apccontrol script... /usr/bin/install: cannot create regular file `/etc/apcupsd/apccontrol': No such file or directory *** Error code 1 Stop. pmake: stopped in /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/platforms make[1]: Leaving directory `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4' cp platforms/debian/apcupsd.8 /home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/share/man/man8/apctest.8 cp: cannot create regular file `/home/mrvn/build/apcupsd_3.12.4-1/apcupsd-3.12.4/debian/tmp/usr/share/man/man8/apctest.8': No such file or directory make: *** [install-arch] Error 1