Bug 240209 - emulators/virtualbox-ose: 5.2.32_1 failed to build : error: comparison between pointer and integer ('void *' and 'RTR0PTR' (aka 'unsigned long'))
Summary: emulators/virtualbox-ose: 5.2.32_1 failed to build : error: comparison betwee...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: vbox
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-30 13:32 UTC by Martin Filla
Modified: 2019-08-30 13:33 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
pkg_version (44.33 KB, text/plain)
2019-08-30 13:32 UTC, Martin Filla
no flags Details
make.conf (362 bytes, text/plain)
2019-08-30 13:32 UTC, Martin Filla
no flags Details
build.log (49.12 KB, text/plain)
2019-08-30 13:33 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2019-08-30 13:32:10 UTC
Created attachment 207023 [details]
pkg_version

Hi, i upgraged with portmaster virtualbox-ose-5.2.30 to virtualbox-ose-5.2.32_1
problem is with comparsion pointers

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/VBox/VMM/VMMR3/APIC.cpp:1491:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                LogRel(("APIC: Failed to map %u bytes for the pending-interrupt bitmap into GC, rc=%Rrc\n", pApic->cbApicPib,
                ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log.h:1443:29: note: expanded from macro 'LogRel'
#define LogRel(a)           LogRelItLikely(RTLOGGRPFLAGS_LEVEL_1, LOG_GROUP, a)
                            ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log.h:1368:5: note: expanded from macro 'LogRelItLikely'
    _LogRelItLikely(a_fFlags, a_iGroup, _LogRelRemoveParentheseis fmtargs)
    ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log.h:1365:9: note: expanded from macro '_LogRelItLikely'
        _LogIt(a_fFlags, a_iGroup, __VA_ARGS__); \
        ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/log.h:613:9: note: expanded from macro '_LogIt'
        register PRTLOGGER LogIt_pLogger = RTLogDefaultInstanceEx(RT_MAKE_U32(a_fFlags, a_iGroup)); \
        ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/VBox/VMM/VMMR3/APIC.cpp:1513:43: error: comparison between pointer and integer ('void *' and 'RTR0PTR' (aka 'unsigned long'))
            Assert(pApicCpu->pvApicPageR3 == NIL_RTR0PTR);
                   ~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/assert.h:304:26: note: expanded from macro 'Assert'
        if (RT_LIKELY(!!(expr))) \
                         ^~~~
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/include/iprt/cdefs.h:1691:53: note: expanded from macro 'RT_LIKELY'
#  define RT_LIKELY(expr)       __builtin_expect(!!(expr), 1)
                                                    ^~~~
Comment 1 Martin Filla 2019-08-30 13:32:48 UTC
Created attachment 207024 [details]
make.conf

Added make.conf
Comment 2 Martin Filla 2019-08-30 13:33:21 UTC
Created attachment 207025 [details]
build.log

Added build.log from compilation