Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516480 - sys-power/apcupsd-3.14.12-r1 - System command (cd "/var/tmp/portage/sys-power/apcupsd-3.14.12-r1/work/apcupsd-3.14.12/doc/./.." && (echo ".ll 34.4i"; echo ".nr LL 34.4i"; echo ".pl 11i"; /bin/cat '/var/tmp/portage/sys-power/apcupsd-3.14.12-r1/work/apcupsd
Summary: sys-power/apcupsd-3.14.12-r1 - System command (cd "/var/tmp/portage/sys-power...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: John Einar Reitan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-06 05:24 UTC by MrSnivvel
Modified: 2019-12-25 18:41 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,26.04 KB, text/plain)
2014-07-06 05:27 UTC, MrSnivvel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MrSnivvel 2014-07-06 05:24:37 UTC
Build Errors:

  CXX   src/drivers/drivers.c
  AR    src/drivers/libdrivers.a
  LD    src/gapcmon/gapcmon
  CXX   src/options.c
  CXX   src/reports.c
  CXX   src/device.c
  CXX   src/action.c
  CXX   src/apcupsd.c
  CXX   src/apcnis.c
action.c: In function 'void logonfail(UPSINFO*, int)':
action.c:185:49: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
       write(lgnfd, POWERFAIL, strlen(POWERFAIL));
                                                 ^
apcupsd.c: In function 'void daemon_start()':
apcupsd.c:381:14: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
    chdir("/");
              ^
  CXX   src/apcaccess.c
  CXX   src/apctest.c
  CXX   src/smtp.c
apctest.c: In function 'int main(int, char**)':
apctest.c:360:29: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
       write(ups->fd, "R", 1);   /* enter dumb mode */
                             ^
apctest.c: In function 'void monitor_calibration_progress(int)':
apctest.c:1081:45: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
             write(STDOUT_FILENO, &period, 1);
                                             ^
apctest.c:1098:37: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
          read(STDIN_FILENO, &cmd, 1);
                                     ^
apctest.c:1105:32: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
          read(ups->fd, &cmd, 1);
                                ^
apctest.c: In function 'void smart_ttymode()':
apctest.c:890:32: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
          write(ups->fd, &ch, 1);
                                ^
apctest.c:896:26: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
          write(1, &ch, 1);
                          ^
  LD    src/apcupsd
  LD    src/apcaccess
  LD    src/smtp
  LD    src/apctest
 * ERROR: sys-power/apcupsd-3.14.12-r1::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always




# emerge --info
Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.15.3-gentoo x86_64)
=================================================================
System uname: Linux-3.15.3-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.2
KiB Mem:     8099784 total,   4660700 free
KiB Swap:    3906556 total,   3906556 free
Timestamp of tree: Sun, 06 Jul 2014 02:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.4, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo steam-overlay games gamerlay stuff andy Local-Grotto
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://gentoo.llarian.net/pub/gentoo http://gentoo.llarian.net/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/games /var/lib/layman/gamerlay /var/lib/layman/stuff /var/lib/layman/andy /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac account acl acpi alsa amd64 ao archive aura bash-completion berkdb branding bzip2 cairo caps cdda cddb cdr clang cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dhcp-tools dri drm dts dvd dvdr egl emboss encode exif extenstions fam ffmpeg firefox flac fontconfig fortran fuse gallium gbm gdbm gif glamor gles gles1 gles2 gphoto2 gpm gstreamer gtk gtk3 hbci http iconv inotify ipv6 jabber javascript jingle jpeg lame lcms ldap libcaca libcanberra libkms libnotify llvm-shared-libs logrotate lxc lzma mad meanwhile mmap mms mmx mmxext mng modules monitor mp3 mp4 mpeg mtp multilib ncat ncurses ndiff networkmanager nls nping nptl offensive ofx ogg omxil opencl opencv opengl openmp openvg opus osmesa pam pango pcre pdf pgo playlist png policykit postgres ppds projectm pulseaudio python python3 qos qrcode qt3support r600-llvm-compiler readline sdl secure-delete session shout spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg system-cairo system-icu system-jpeg system-sqlite systemd tcpd theora threads tiff truetype type1 udev udisks unicode upower usb utils uxa vaapi vdpau vim-syntax vorbis vpx webkit2 wxwidgets x264 xa xattr xcb xcomposite xlib-xcb xml xmpp xorg xpm xv xvfb xvid xvmc zenmap zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel radeon r300 r600 radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 MrSnivvel 2014-07-06 05:27:45 UTC
Created attachment 380286 [details]
build.log
Comment 2 Matthew Marlowe (RETIRED) gentoo-dev 2014-08-22 06:05:44 UTC
I haven't been able to duplicate this build issue, can you see if it also occurs with other versions of the apcupsd ebuild?  Or, if it is a compatibility issue with glibc 2.19?
Comment 3 XMs 2014-09-13 12:27:23 UTC
I have the same thing at 3.14.8-r2
Comment 4 Pacho Ramos gentoo-dev 2016-05-07 12:51:57 UTC
Did you try 3.14.13?
Comment 5 Jonas Stein gentoo-dev 2019-12-25 18:41:36 UTC
cannot reproduce.
Please test again with the latest version in the tree, report and reopen the ticket.