On Thu, Feb 12, 2015 at 12:40:41PM -0800, Seth Arnold wrote: > Doko has conducted a gcc5 rebuild of the Ubuntu archive and AppArmor has > failed: > http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20150202-gcc5-vivid.html > > It looks like all the errors reported boil down to one real problem: > > g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall > -Wsign-compare -Wmissing-field-initializers -Wformat-security > -Wunused-parameter -std=gnu++0x -D_GNU_SOURCE -DPACKAGE=\"apparmor-parser\" > -DLOCALEDIR=\"/usr/share/locale\" -DSUBDOMAIN_CONFDIR=\"/etc/apparmor\" > -I../libraries/libapparmor//include -c -o dbus.o dbus.cc > dbus.cc: In member function 'virtual std::ostream& > dbus_rule::dump(std::ostream&)': > dbus.cc:152:32: error: no match for 'operator<<' (operand types are > 'std::basic_ostream<char>' and 'std::ostream {aka std::basic_ostream<char>}') > os << " member=\"" << member << os << "\""; > ^ > > I'm surprised to see the '<< os <<' here; I don't know what was intended > to happen here, but removing it with the following patch didn't introduce > any new build errors or warnings on the gcc-4.8 on vivid. > > (I don't have an easy way to test the build with gcc-5, so this may not be > exhaustive.)
For the record, gcc-5 packages are available for Ubuntu at https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test Thanks. -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
