home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,240 of 28,835   
   Adrian Bunk to All   
   Bug#1128441: poselib FTBFS on 32-bit and   
   19 Feb 26 22:40:01   
   
   From: bunk@debian.org   
      
   Source: poselib   
   Version: 2.0.5-1   
   Severity: important   
   Tags: ftbfs patch   
   Control: affects -1 src:colmap   
      
   https://buildd.debian.org/status/logs.php?pkg=poselib&ver=2.0.5-1   
      
   32-bit:   
      
   ...   
   cc1plus: out of memory allocating 6802320 bytes after a total of 155566080   
   bytes   
   make[3]: *** [PoseLib/CMakeFiles/PoseLib.dir/build.make:600: Pos   
   Lib/CMakeFiles/PoseLib.dir/robust/bundle.cc.o] Error 1   
      
      
   riscv64:   
      
   ...   
   E: Build killed with signal TERM after 720 minutes of inactivity   
      
      
      
   Fix/Workaround:   
      
   --- poselib-2.0.5/debian/rules	2025-10-24 11:03:10.000000000 +0300   
   +++ poselib-2.0.5/debian/rules	2025-10-24 11:03:10.000000000 +0300   
   @@ -10,6 +10,16 @@   
    # Package maintainers to append LDFLAGS.   
    export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed   
      
   +# workaround g++ running out of address space   
   +ifeq ($(DEB_HOST_ARCH_BITS), 32)   
   +  export DEB_CXXFLAGS_MAINT_APPEND  = -g1   
   +endif   
   +   
   +# build time reduction   
   +ifneq (,$(filter $(DEB_HOST_ARCH), riscv64))   
   +  export DEB_CXXFLAGS_MAINT_APPEND += -g1   
   +endif   
   +   
    %:   
    	dh $@ --buildsystem=cmake   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca