An addendum:

The package currently builds at debhelper compat level 11. If this is
increased to 13, the build fails at the dh_dwz step. Build log excerpts
are below.

The build uses symbol_level=0 in debian/rules (which causes -g0 to be
passed to the compiler). If this is set to 1, dh_dwz succeeds. (If this
is set to 2, dh_dwz fails with a different error.)

Alternately, DEB_BUILD_OPTIONS=nostrip works around the issue. However,
it results in a number of "Unrecognized form" warnings from objdump(1)
and readelf(1), for some reason.

(I hope this is useful information, as this issue is likely to crop up
in the Debian build sooner or later.)


Build failure with compat 13:
----begin----
   dh_missing
   dh_dwz -a
        dwz -- debian/chromium-driver/usr/bin/chromedriver
        dwz -- debian/chromium-shell/usr/lib/chromium/chromium-shell
        dwz -- debian/chromium-sandbox/usr/lib/chromium/chrome-sandbox
dwz: debian/chromium-shell/usr/lib/chromium/chromium-shell: Unknown debugging 
section .debug_str_offsets
dwz: debian/chromium-driver/usr/bin/chromedriver: .debug_info section not 
present
dh_dwz: error: dwz -- debian/chromium-shell/usr/lib/chromium/chromium-shell 
returned exit code 1
dwz: debian/chromium-sandbox/usr/lib/chromium/chrome-sandbox: Unknown debugging 
section .debug_str_offsets
        dwz -- debian/chromium/usr/lib/chromium/chromium
dh_dwz: error: dwz -- debian/chromium-sandbox/usr/lib/chromium/chrome-sandbox 
returned exit code 1
dwz: debian/chromium/usr/lib/chromium/chromium: Unknown debugging section 
.debug_str_offsets
        install -d debian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu
        dwz 
-mdebian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug
 -M/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug -- 
debian/chromium-common/usr/lib/chromium/chrome_crashpad_handler 
debian/chromium-common/usr/lib/chromium/libEGL.so 
debian/chromium-common/usr/lib/chromium/libGLESv2.so
dh_dwz: error: dwz -- debian/chromium/usr/lib/chromium/chromium returned exit 
code 1
dwz: debian/chromium-common/usr/lib/chromium/chrome_crashpad_handler: Unknown 
debugging section .debug_str_offsets
dwz: debian/chromium-common/usr/lib/chromium/libEGL.so: Unknown debugging 
section .debug_str_offsets
dwz: debian/chromium-common/usr/lib/chromium/libGLESv2.so: Unknown debugging 
section .debug_str_offsets
dwz: Too few files for multifile optimization
dh_dwz: error: dwz 
-mdebian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug
 -M/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug -- 
debian/chromium-common/usr/lib/chromium/chrome_crashpad_handler 
debian/chromium-common/usr/lib/chromium/libEGL.so 
debian/chromium-common/usr/lib/chromium/libGLESv2.so returned exit code 1
dh_dwz: error: Aborting due to earlier error
make: *** [debian/rules:112: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
----end----

Build success with compat 13 and symbol_level=1:
----begin----
   dh_missing
   dh_dwz -a
        dwz -- debian/chromium-driver/usr/bin/chromedriver
        dwz -- debian/chromium-sandbox/usr/lib/chromium/chrome-sandbox
        dwz -- debian/chromium-shell/usr/lib/chromium/chromium-shell
dwz: debian/chromium-driver/usr/bin/chromedriver: .debug_info section not 
present
        dwz -- debian/chromium/usr/lib/chromium/chromium
        install -d debian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu
        dwz 
-mdebian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug
 -M/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug -- 
debian/chromium-common/usr/lib/chromium/chrome_crashpad_handler 
debian/chromium-common/usr/lib/chromium/libEGL.so 
debian/chromium-common/usr/lib/chromium/libGLESv2.so
        objcopy --compress-debug-sections 
debian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug
   dh_strip -a
----end----

Build failure with compat 13 and symbol_level=2:
----begin----
   dh_missing
   dh_dwz -a
        dwz -- debian/chromium-driver/usr/bin/chromedriver
        dwz -- debian/chromium-shell/usr/lib/chromium/chromium-shell
        dwz -- debian/chromium-sandbox/usr/lib/chromium/chrome-sandbox
dwz: debian/chromium-driver/usr/bin/chromedriver: .debug_info section not 
present
        dwz -- debian/chromium/usr/lib/chromium/chromium
        install -d debian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu
        dwz 
-mdebian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug
 -M/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug -- 
debian/chromium-common/usr/lib/chromium/chrome_crashpad_handler 
debian/chromium-common/usr/lib/chromium/libEGL.so 
debian/chromium-common/usr/lib/chromium/libGLESv2.so
dwz: debian/chromium/usr/lib/chromium/chromium: Too many DIEs, not optimizing
dh_dwz: error: dwz -- debian/chromium/usr/lib/chromium/chromium returned exit 
code 1
dwz: debian/chromium-shell/usr/lib/chromium/chromium-shell: Too many DIEs, not 
optimizing
dh_dwz: error: dwz -- debian/chromium-shell/usr/lib/chromium/chromium-shell 
returned exit code 1
        objcopy --compress-debug-sections 
debian/chromium-common/usr/lib/debug/.dwz/x86_64-linux-gnu/chromium-common.debug
dh_dwz: error: Aborting due to earlier error
make: *** [debian/rules:112: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
----end----

Build success with compat 13 and DEB_BUILD_OPTIONS=nostrip:
----begin----
   dh_missing
dh: command-omitted: The call to "dh_dwz" was omitted due to 
"DEB_BUILD_OPTIONS=nostrip"
dh: command-omitted: The call to "dh_strip" was omitted due to 
"DEB_BUILD_OPTIONS=nostrip"
   dh_makeshlibs -a
        rm -f debian/chromium/DEBIAN/shlibs
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
objdump: Warning: Unrecognized form: 0x22
----end----


--Daniel


-- 
Daniel Richard G. || sk...@iskunk.org
My ASCII-art .sig got a bad case of Times New Roman.

Reply via email to