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 27,685 of 28,835   
   Henrique F. Simoes to Joris Putcuyps   
   Bug#1108936: binutils-avr: Converting he   
   15 Feb 26 04:30:01   
   
   From: henriquesimoes@riseup.net   
      
   Control: block 1098641 by -1   
      
   Hi,   
      
   I've been recently trying to build a new package which depends on the   
   AVR toolchain, and this bug was exercised during the package build:   
      
   	dh_auto_build --sourcedir=firmware   
   		cd firmware && make -j16 INSTALL="install --strip-program=true"   
   	make[2]: Entering directory '/build/reproducible-path/micronucl   
   us-2.6/firmware'   
   	Building Micronucleus configuration: t85_default   
   		 text	   data	    bss	    dec	    hex	filename   
   				0	   1522	      0	   1522	    5f2	main.hex   
   	8K  Device -- Codesize: 1522 bytes, BOOTLOADER_ADDRESS: 0x1A00, Free user   
   memory 6650 bytes.   
   	16K Device -- Codesize: 1522 bytes, BOOTLOADER_ADDRESS: 0x3A00, Free user   
   memory 14842 bytes.   
   	avr-objcopy: main.hex: invalid operation   
      
   On Tue Jul 8, 2025 at 1:09 PM -03, Joris Putcuyps wrote:   
   > Some further research I found the following:   
   >   
   > https://linux.debian.bugs.dist.narkive.com/Dy11dvaC/bug-109389   
   -objcopy-fails-with-invalid-operation   
      
   From what I could see, this is https://bugs.debian.org/1093895, which   
   was forwarded upstream [1]. That bug was fixed in version   
   2.43.90.20250127-1 (commit b8a2b31) of src:binutils by applying the   
   patch you mentioned [2].   
      
   [1] https://sourceware.org/bugzilla/show_bug.cgi?id=32599   
   [2] https://salsa.debian.org/toolchain-team/binutils/-/commit/b8   
   2b312638841da25c4d367e14d81d43ad5b5f3   
      
   Although src:binutils-avr is using the same upstream and same patches as   
   src:binutils, the package hasn't been rebuilt since the binutils-source   
   was upgraded to 2.43.90.20250127-1 (which happened back in Jan 27, 2025   
   [3]), and therefore it has never been built from the patched source.   
      
   It seems that Steve Meliza attempted to prepare a new release in the   
   Salsa repository to fix the issue [4], but it hasn't gone to the   
   archive. I wonder if that's because of the packaging issues discussed in   
   the open merge request in the repository [5].   
      
   [3] https://tracker.debian.org/news/1609685/accepted-binutils-24   
   9020250127-1-source-into-unstable   
   [4] https://salsa.debian.org/debian/binutils-avr/-/commit/1d2202   
   f8d4aab44fffd822ce33be407e67c3e4c   
   [5] https://salsa.debian.org/debian/binutils-avr/-/merge_requests/11   
      
   As far as I understand, this means the package as it is today is not   
   reproducible and each rebuild can use a different version depending on   
   the binutils-source package available on the archive when the (re)build   
   happens. Therefore, this also means that any rebuild or new upload will   
   fix this hex to binary invalid operation bug (and also upgrade to a new   
   upstream version).   
      
   Building binutils-avr from the source [6] on Debian unstable today   
   renders the package to ship binutils 2.46:   
      
   ```   
   $ avr-objcopy --version   
   GNU objcopy (GNU Binutils) 2.46   
   Copyright (C) 2026 Free Software Foundation, Inc.   
   This program is free software; you may redistribute it under the terms of   
   the GNU General Public License version 3 or (at your option) any later version.   
   This program has absolutely no warranty.   
   ```   
      
   Although the source package metadata will claim it to be 2.45-1.   
      
   [6] https://salsa.debian.org/debian/binutils-avr/-/commit/763417   
   2ddda50fcdb41586b24a732a977f9247a   
      
   If there is anything I can do to help resolve this situation, I'll be   
   glad to do so.   
      
   --   
   Henrique F. Simoes   
      
   --- 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