Summary: | sys-block/gparted-0.27.0 BlockSpecial.cc:64:31: error: ‘major’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Gilles Dartiguelongue (RETIRED) <eva> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gnome |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=629426 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 575232 | ||
Attachments: |
emerge --info
build.log |
Created attachment 498476 [details]
build.log
Yes, 0.29.0 has this fixed and is currently being stabilized. # diff -u gparted-0.27.0/src/BlockSpecial.cc gparted-0.29.0/src/BlockSpecial.cc --- gparted-0.27.0/src/BlockSpecial.cc 2016-10-10 22:05:50.000000000 +0200 +++ gparted-0.29.0/src/BlockSpecial.cc 2017-02-04 18:41:03.000000000 +0100 @@ -14,11 +14,12 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "../include/BlockSpecial.h" +#include "BlockSpecial.h" #include <glibmm/ustring.h> #include <sys/types.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include <unistd.h> #include <map> The important part is including <sys/sysmacros.h> that was missing from 0.27.0. *** This bug has been marked as a duplicate of bug 602222 *** |
Created attachment 498474 [details] emerge --info I did an emerge -e world after upgrading to sys-libs/glibc-2.25-r7. One of the two packages failed to build was sys-block/gparted-0.27.0. =sys-block/gparted-0.28.1 =sys-block/gparted-0.29.0 build an run fine on my setup.