Bug#788709: FTBFS on kfreebsd-* open.c:46:28: error: '__FreeBSD_version' undeclared (first use in this function)

Michael Biebl biebl at debian.org
Sun Jun 14 13:05:18 UTC 2015


Source: libgtop2
Version: 2.30.0-1
Severity: normal
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hi kFreeBSD porters,

the latest version of libgtop2 (in experimental) fails to build on
kfreebsd:

open.c: In function 'glibtop_open_s':
open.c:46:28: error: '__FreeBSD_version' undeclared (first use in this function)
  server->os_version_code = __FreeBSD_version;
                            ^
open.c:46:28: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [open.lo] Error 1
Makefile:548: recipe for target 'open.lo' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/sysdeps/freebsd'
make[3]: *** [all-recursive] Error 1
Makefile:425: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/sysdeps'
Makefile:574: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:457: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [debian/stamp-makefile-build] Error 2
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Full build log at
https://buildd.debian.org/status/fetch.php?pkg=libgtop2&arch=kfreebsd-i386&ver=2.30.0-1&stamp=1434286062


Would be great if you can have a look and provide a patch.

Thanks,
Michael


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)




More information about the pkg-gnome-maintainers mailing list