Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-1513

port_adaptor breaking builders / warnings / fgets return val ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 beta2
    • 1.6.0 beta4
    • couchbase-bucket
    • None
    • Operating System: All
      Platform: All

    Description

      http://builds.hq.northscale.net:8010/builders/wallace_ubuntu_9.04_64/builds/301/steps/compile/logs/stdio

      /bin/bash ./libtool --tag=CXX --mode=link g++ -pipe -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wmissing-declarations -Wno-redundant-decls -std=gnu++0x -o vbucketmigrator src/binarymessagepipe.o src/sockstream.o src/vbucketmigrator.o src/mutex_pthread.o -L/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libevent-1.4.13-stable/lib -levent -lnsl -lrt -lresolv -L/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/wallace/./components/tmp/libvbucket-install/lib -lvbucket -L/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libmemcached-0.40-revno839/lib -L/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libmemcached-0.40-revno839/lib -lhashkit -lm -lsasl2 -lpthread
      libtool: link: g++ -pipe -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wmissing-declarations -Wno-redundant-decls -std=gnu++0x -o vbucketmigrator src/binarymessagepipe.o src/sockstream.o src/vbucketmigrator.o src/mutex_pthread.o -L/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libevent-1.4.13-stable/lib /var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libevent-1.4.13-stable/lib/libevent.a -lnsl -lrt -L/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/wallace/./components/tmp/libvbucket-install/lib /var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/wallace/./components/tmp/libvbucket-install/lib/libvbucket.a -L/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libmemcached-0.40-revno839/lib /var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libmemcached-0.40-revno839/lib/libhashkit.a -lm /usr/lib/libsasl2.so -ldl -lresolv -lpthread -pthread
      depbase=`echo src/port_adaptor.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
      gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -ggdb3 -I../../repo_memcached/memcached/include -I/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libevent-1.4.13-stable/include -I/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/wallace/./components/tmp/libvbucket-install/include -I/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/grommix/libmemcached-0.40-revno839/include -pipe -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wlogical-op -MT src/port_adaptor.o -MD -MP -MF $depbase.Tpo -c -o src/port_adaptor.o src/port_adaptor.c &&\
      mv -f $depbase.Tpo $depbase.Po
      cc1: warnings being treated as errors
      src/port_adaptor.c: In function ‘wait_for_process’:
      src/port_adaptor.c:39: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
      make[2]: *** [src/port_adaptor.o] Error 1
      make[2]: Leaving directory `/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/wallace/components/tmp/repo_vbucketmigrator/vbucketmigrator'
      make[1]: *** [all] Error 2
      make[1]: Leaving directory `/var/lib/buildbot/ubuntu_9.04_32/wallace_ubuntu_9.04_32/wallace/components/tmp/repo_vbucketmigrator/vbucketmigrator'
      rake aborted!
      ERROR: cmd failed: make

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dustin@sallings.org Dustin Sallings (Inactive)
            steve.yen@northscale.com Steve Yen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty