<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14985</bug_id>
          
          <creation_ts>2022-12-12 16:27:32 +0000</creation_ts>
          <short_desc>xen-tools doesn&apos;t build with _TIME_BITS=64</short_desc>
          <delta_ts>2023-06-13 15:06:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>layers</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94514</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-12-12 16:27:32 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#builders/128/builds/975/steps/21/logs/stdio

| arm-poky-linux-gnueabi-gcc  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15  --sysroot=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/recipe-sysroot -fmacro-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fmacro-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/recipe-sysroot=  -fmacro-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/recipe-sysroot=  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/recipe-sysroot-native=      -ffile-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=xen-tools-source     -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0=xen-tools        -marm -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .xenstored_posix.o.d -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fmacro-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=/usr/src/debug/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/recipe-sysroot=  -fmacro-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/recipe-sysroot=  -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/recipe-sysroot-native=      -ffile-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git=xen-tools-source     -fdebug-prefix-map=/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0=xen-tools      -Werror -I. -include /home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git/tools/xenstore/../../tools/config.h -I./include -I/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git/tools/xenstore/../../tools/include -I/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git/tools/xenstore/../../tools/include -D__XEN_TOOLS__ -I/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git/tools/xenstore/../../tools/include -I/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git/tools/xenstore/../../tools/include -DXEN_LIB_STORED=&quot;\&quot;/var/lib/xenstored\&quot;&quot; -DXEN_RUN_STORED=&quot;\&quot;/var/run/xenstored\&quot;&quot;  -I/home/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.16+stableAUTOINC+cea5ed49bb-r0/git/tools/xenstore/../../tools/include  -c -o xenstored_posix.o xenstored_posix.c
| xenstored_control.c: In function &apos;lu_reject_reason&apos;:
| xenstored_control.c:537:70: error: format &apos;%ld&apos; expects argument of type &apos;long int&apos;, but argument 5 has type &apos;time_t&apos; {aka &apos;long long int&apos;} [-Werror=format=]
|   537 |                         ret = talloc_asprintf(ctx, &quot;%s\nDomain %u: %ld s&quot;,
|       |                                                                    ~~^
|       |                                                                      |
|       |                                                                      long int
|       |                                                                    %lld
| ......
|   540 |                                               now - conn-&gt;ta_start_time);
|       |                                               ~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                                   |
|       |                                                   time_t {aka long long int}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94529</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-12-15 15:37:08 +0000</bug_when>
    <thetext>We don&apos;t normally take meta-virt bugs but we&apos;ve made an exception here.
Bruce you might ask Alex about how pulseaudio is handling time-bits.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94836</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2023-01-31 04:30:42 +0000</bug_when>
    <thetext>xen has been upgraded to 4.7, this is worth re-testing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94970</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-02-18 21:59:05 +0000</bug_when>
    <thetext>Tested to day, it still fails:

https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/1297/steps/20/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95706</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2023-06-13 15:06:20 +0000</bug_when>
    <thetext>meta-virt merged 64bit on 32 bit hosts for time_t, it also is intended to address this issue</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>