Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 358926 Details for
Bug 485300
sys-power/apcupsd-3.14.10-r2: drv_rfc1628.c: snmp.h:82:10: error: expected unqualified-id before numeric constant
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/var/tmp/portage/sys-power/apcupsd-3.14.10-r2/temp/build.log
build.log (text/plain), 18.71 KB, created by
Juergen Rose
on 2013-09-18 13:28:21 UTC
(
hide
)
Description:
/var/tmp/portage/sys-power/apcupsd-3.14.10-r2/temp/build.log
Filename:
MIME Type:
Creator:
Juergen Rose
Created:
2013-09-18 13:28:21 UTC
Size:
18.71 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: sys-power/apcupsd-3.14.10-r2 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: mattm@gentoo.org base-system@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 cgi elibc_glibc gnome kernel_linux multilib nls snmp usb userland_GNU >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox > [32;01m*[0m Determining the location of the kernel source code > [32;01m*[0m Found kernel source directory: > [32;01m*[0m /usr/src/linux > [31;01m*[0m Could not find a Makefile in the kernel source directory. > [31;01m*[0m Please ensure that /usr/src/linux points to a complete set of Linux sources > [33;01m*[0m Unable to calculate Linux Kernel version for build, attempting to use running version > [32;01m*[0m Checking for suitable kernel configuration options... >[A[187C [34;01m[ [32;01mok[34;01m ][0m >>>> Unpacking source... >>>> Unpacking apcupsd-3.14.10.tar.gz to /var/tmp/portage/sys-power/apcupsd-3.14.10-r2/work >>>> Source unpacked in /var/tmp/portage/sys-power/apcupsd-3.14.10-r2/work >>>> Preparing source in /var/tmp/portage/sys-power/apcupsd-3.14.10-r2/work/apcupsd-3.14.10 ... > [32;01m*[0m Applying apcupsd-3.14.9-aliasing.patch ... >[A[187C [34;01m[ [32;01mok[34;01m ][0m >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-power/apcupsd-3.14.10-r2/work/apcupsd-3.14.10 ... > * econf: updating apcupsd-3.14.10/autoconf/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating apcupsd-3.14.10/autoconf/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --sbindir=/sbin --sysconfdir=/etc/apcupsd --with-pwrfail-dir=/etc/apcupsd --with-lock-dir=/var/lock --with-pid-dir=/var/run --with-log-dir=/var/log --with-nis-port=3551 --enable-net --enable-pcnet --with-distname=gentoo --enable-net-snmp --enable-gapcmon --enable-cgi --with-cgi-bin=/usr/libexec/apcupsd/cgi-bin --with-upstype=usb --with-upscable=usb --enable-usb --with-dev= APCUPSD_MAIL=/bin/mail >configure: loading site script /usr/share/config.site >checking for true... /bin/true >checking for false... /bin/false >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >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 x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c >checking for gawk... gawk >checking for library containing strerror... none required >checking for shutdown... /sbin/shutdown >checking for mail... /bin/mail >checking for wall... /usr/bin/wall >checking for sh... /bin/sh >checking for GNU make... make >checking for ranlib... /usr/bin/ranlib >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 rst2html.py... /usr/bin/rst2html.py >checking for rst2pdf... no >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 library containing nanosleep... none required >checking for syslog... yes >checking for strftime... yes >checking whether setpgrp takes no argument... yes >checking for library containing socket... none required >checking for library containing gethostname... none required >checking for library containing gethostbyname... none required >checking for library containing gethostbyname_r... none required >checking for socklen_t... yes >checking for library containing inet_addr... none required >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 egrep... grep -E >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 int32_t... yes >checking for X... libraries /usr/lib64, headers >checking for gethostbyname... yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking whether #! works in shell scripts... yes >Using halpolicydir=/usr/share/hal/fdi/policy/20thirdparty >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 >Using Linux USB driver. >checking for EVP_DigestInit in -lcrypto... yes > including crypto library for snmp. >checking for snmp_open in -lnetsnmp... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for GAPCMON... yes >checking how many arguments gethostbyname_r() takes... six >checking if libsupc++ is required... yes >checking if GCC supports -fno-exceptions... yes >checking if GCC supports -fno-rtti... yes >checking for wait... yes >checking for waitpid... yes >checking for wait3... yes >checking for union wait... yes >checking for snprintf... (cached) yes >Enabling cgi program support... >distname set to gentoo >configure: creating ./config.status >config.status: creating autoconf/variables.mak >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/onbattery >config.status: creating platforms/etc/apcupsd.conf >config.status: creating examples/safe.apccontrol >config.status: creating src/win32/Makefile >config.status: creating platforms/gentoo/apcupsd >config.status: creating platforms/gentoo/halt >config.status: creating src/cgi/cgiconfig.h >config.status: creating include/config.h > > >Configuration on Wed Sep 18 15:22:04 CEST 2013: > > Host: x86_64-pc-linux-gnu -- gentoo > Apcupsd version: 3.14.10 (13 September 2011) > 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: x86_64-pc-linux-gnu-g++ 4.7.3 > Compiler flags: -I/usr/local/include -I/usr/local/include -march=native -O2 -pipe -fno-exceptions -fno-rtti -Wall > Linker: x86_64-pc-linux-gnu-gcc > Linker flags: -Wl,-O1 -Wl,--as-needed -L/usr/local/lib64 -L/usr/local/lib -L/usr/local/lib > Host and version: gentoo > Shutdown Program: /sbin/shutdown > Port/Device: > Network Info Port (CGI): 3551 > UPSTYPE usb > UPSCABLE usb > > drivers (no-* are disabled): apcsmart dumb net linux-usb snmp net-snmp pcnet no-test > > enable-nis: yes > with-nisip: 0.0.0.0 > enable-cgi: yes > with-cgi-bin: /usr/libexec/apcupsd/cgi-bin > with-libwrap: > enable-pthreads: yes > enable-dist-install: yes > enable-gapcmon: yes > enable-apcagent: no > >Configuration complete: Run 'make' to build apcuspd. > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-power/apcupsd-3.14.10-r2/work/apcupsd-3.14.10 ... >make -j1 > src > src/lib > CXX src/lib/apcconfig.c > CXX src/lib/apcerror.c > CXX src/lib/apcevents.c >apcevents.c: In function âint trim_eventfile(UPSINFO*)â: >apcevents.c:89:31: warning: ignoring return value of âint ftruncate(int, __off_t)â, declared with attribute warn_unused_result [-Wunused-result] > CXX src/lib/apcexec.c > CXX src/lib/apcfile.c >apcfile.c: In function âvoid make_pid_file()â: >apcfile.c:65:27: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] > CXX src/lib/apclibnis.c > CXX src/lib/apclock.c > CXX src/lib/apclog.c >apclog.c: In function âvoid log_event(const UPSINFO*, int, const char*, ...)â: >apclog.c:68:50: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >apclog.c:74:31: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] > CXX src/lib/apcsignal.c > CXX src/lib/apcstatus.c > CXX src/lib/asys.c > CXX src/lib/newups.c > CXX src/lib/md5.c > CXX src/lib/statmgr.cpp > CXX src/lib/gethostname.c > CXX src/lib/amutex.cpp > CXX src/lib/astring.cpp > CXX src/lib/autil.cpp > CXX src/lib/atimer.cpp > CXX src/lib/athread.cpp > CXX src/lib/libsupc++fix.cpp > AR src/lib/libapc.a > src/drivers > src/drivers/apcsmart > CXX src/drivers/apcsmart/smartsetup2.c > CXX src/drivers/apcsmart/smartoper.c > CXX src/drivers/apcsmart/smart.c >smart.c: In function âint apcsmart_ups_read_volatile_data(UPSINFO*)â: >smart.c:409:11: warning: variable ânowâ set but not used [-Wunused-but-set-variable] >smart.c: In function âint apcsmart_ups_entry_point(UPSINFO*, int, void*)â: >smart.c:782:29: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smart.c: In function âchar* smart_poll(char, UPSINFO*)â: >smart.c:147:30: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] > CXX src/drivers/apcsmart/smarteeprom.c >smarteeprom.c: In function âvoid change_ups_battery_date(UPSINFO*, const char*)â: >smarteeprom.c:299:25: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:304:25: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:309:29: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c: In function âvoid change_ups_name(UPSINFO*, const char*)â: >smarteeprom.c:247:25: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:252:25: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:257:29: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c: In function âint change_ups_eeprom_item(UPSINFO*, const char*, char, const char*)â: >smarteeprom.c:341:27: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:358:27: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:371:30: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:375:28: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:388:30: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smarteeprom.c:392:30: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] > CXX src/drivers/apcsmart/smartsetup.c >smartsetup.c: In function âint apcsmart_ups_setup(UPSINFO*)â: >smartsetup.c:149:25: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] >smartsetup.c:163:28: warning: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Wunused-result] > src/drivers/dumb > CXX src/drivers/dumb/dumbsetup.c > CXX src/drivers/dumb/dumboper.c > src/drivers/net > CXX src/drivers/net/net.c > src/drivers/pcnet > CXX src/drivers/pcnet/pcnet.c > src/drivers/usb > src/drivers/usb/linux > CXX src/drivers/usb/linux/linux-usb.c > CXX src/drivers/usb/usb.c >usb.c: In function âbool usb_process_value_bup(UPSINFO*, int, USB_VALUE*)â: >usb.c:342:71: warning: narrowing conversion of â((val >> 16) & 255)â from âintâ to âcharâ inside { } is ill-formed in C++11 [-Wnarrowing] >usb.c:342:71: warning: narrowing conversion of â((val >> 8) & 255)â from âintâ to âcharâ inside { } is ill-formed in C++11 [-Wnarrowing] >usb.c:342:71: warning: narrowing conversion of â(val & 255)â from âintâ to âcharâ inside { } is ill-formed in C++11 [-Wnarrowing] > src/drivers/snmp > CXX src/drivers/snmp/drv_rfc1628.c >In file included from drv_rfc1628.c:27:0: >snmp.h:82:10: error: expected unqualified-id before numeric constant >snmp.h:82:9: error: expected â;â at end of member declaration >snmp.h:82:10: error: expected unqualified-id before numeric constant >drv_rfc1628.c: In function âint rfc_1628_check_alarms(UPSINFO*)â: >drv_rfc1628.c:35:40: error: expected unqualified-id before numeric constant >drv_rfc1628.c:35:40: error: expected â,â or â;â before numeric constant >drv_rfc1628.c: In function âint rfc1628_snmp_ups_read_static_data(UPSINFO*)â: >drv_rfc1628.c:79:40: error: expected unqualified-id before numeric constant >drv_rfc1628.c:79:40: error: expected â,â or â;â before numeric constant >drv_rfc1628.c: In function âint rfc1628_snmp_ups_read_volatile_data(UPSINFO*)â: >drv_rfc1628.c:101:40: error: expected unqualified-id before numeric constant >drv_rfc1628.c:101:40: error: expected â,â or â;â before numeric constant >make[4]: *** [.obj/drv_rfc1628.o] Error 1 >make[3]: *** [all] Error 2 >make[2]: *** [snmp_DIR] Error 2 >make[1]: *** [drivers_DIR] Error 2 >make: *** [src_DIR] Error 2 > [31;01m*[0m ERROR: sys-power/apcupsd-3.14.10-r2::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-power/apcupsd-3.14.10-r2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-power/apcupsd-3.14.10-r2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-power/apcupsd-3.14.10-r2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-power/apcupsd-3.14.10-r2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-power/apcupsd-3.14.10-r2/work/apcupsd-3.14.10' > [31;01m*[0m S: '/var/tmp/portage/sys-power/apcupsd-3.14.10-r2/work/apcupsd-3.14.10'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 485300
: 358926