Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] elfutils: cross build failure
@ 2023-01-17 21:44 paper42
  2023-01-17 22:59 ` [ISSUE] [CLOSED] " Johnnynator
  2023-01-17 22:59 ` Johnnynator
  0 siblings, 2 replies; 3+ messages in thread
From: paper42 @ 2023-01-17 21:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 5424 bytes --]

New issue by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/41704

Description:
In config.log, I can see that it passed `-Wno-error=deprecated-declarations-Wno-error` to gcc which is not a valid option, so it failed.

```
%: ./xbps-src pkg -a armv6l-musl elfutils
=> xbps-src: updating repositories for host (x86_64-musl)... 
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating repositories for target (armv6l-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/armv6l-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/armv6l-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/armv6l-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...                                                                                       
=> elfutils-0.187_1: removing autodeps, please wait...                                                                        
=> elfutils-0.187_1: removing autocrossdeps, please wait...
=> elfutils-0.187_1: building [gnu-configure] for armv6l-musl...     
   [host] automake-1.16.5_1: found (https://repo-default.voidlinux.org/current/musl)
   [host] libtool-2.4.7_3: found (https://repo-default.voidlinux.org/current/musl)
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/musl)
   [target] bzip2-devel-1.0.8_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] liblzma-devel-5.2.7_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] zlib-devel-1.2.13_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] libzstd-devel-1.5.2_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] libcurl-devel-7.87.0_2: found (https://repo-default.voidlinux.org/current/musl)
   [target] libarchive-devel-3.6.2_2: found (https://repo-default.voidlinux.org/current/musl)
   [target] sqlite-devel-3.40.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] libmicrohttpd-devel-0.9.73_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] argp-standalone-1.4.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] musl-fts-devel-1.2.7_4: found (https://repo-default.voidlinux.org/current/musl)
   [target] musl-obstack-devel-1.2.3_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] libdebuginfod-0.187_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] bzip2-devel-1.0.8_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] liblzma-devel-5.2.7_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] zlib-devel-1.2.13_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] libzstd-devel-1.5.2_1: found (https://repo-default.voidlinux.org/current/musl)
=> elfutils-0.187_1: installing host dependencies: automake-1.16.5_1 libtool-2.4.7_3 pkg-config-0.29.2_3 ...
=> elfutils-0.187_1: installing target dependencies: bzip2-devel-1.0.8_1 liblzma-devel-5.2.7_1 zlib-devel-1.2.13_1 libzstd-devel-1.5.2_1 libcurl-devel-7.87.0_2 libarchive-devel-3.6.2_2 sqlite-devel-3.40.1_1 libmicrohttpd-devel-0.9.73_1 argp-standalone-1.4.1_1 musl-fts-devel-1.2.7_4 musl-obstack-devel-1.2.3_1 ...
=> elfutils-0.187_1: running do-fetch hook: 00-distfiles ...
=> elfutils-0.187_1: running do-extract hook: 00-distfiles ...
=> elfutils-0.187_1: extracting distfile(s), please wait...
=> elfutils-0.187_1: running do-patch hook: 00-patches ...
=> elfutils-0.187_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> elfutils-0.187_1: running pre-configure hook: 01-override-config ...
=> elfutils-0.187_1: running pre-configure hook: 02-script-wrapper ...
=> elfutils-0.187_1: running do_configure ...
configure: WARNING: unrecognized options: --with-sysroot, --with-libtool-sysroot
checking for a BSD-compatible install... /builddir/.xbps-elfutils/wrappers/install -c
checking whether build environment is sane... yes
checking for arm-linux-musleabihf-strip... arm-linux-musleabihf-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-unknown-linux-musl
checking host system type... arm-unknown-linux-musleabihf
checking whether make supports the include directive... yes (GNU style)
checking for arm-linux-musleabihf-gcc... arm-linux-musleabihf-gcc
checking whether the C compiler works... no
configure: error: in `/builddir/elfutils-0.187':
configure: error: C compiler cannot create executables
See `config.log' for more details
=> ERROR: elfutils-0.187_1: do_configure: '${configure_script} ${configure_args}' exited with 77
=> ERROR:   in do_configure() at common/build-style/gnu-configure.sh:8
```

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: elfutils: cross build failure
  2023-01-17 21:44 [ISSUE] elfutils: cross build failure paper42
  2023-01-17 22:59 ` [ISSUE] [CLOSED] " Johnnynator
@ 2023-01-17 22:59 ` Johnnynator
  1 sibling, 0 replies; 3+ messages in thread
From: Johnnynator @ 2023-01-17 22:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 259 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/41704#issuecomment-1386197089

Comment:
This is fixed since https://github.com/void-linux/void-packages/commit/af20478f97d29cb2864ff7367afb9fd22b887de0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] elfutils: cross build failure
  2023-01-17 21:44 [ISSUE] elfutils: cross build failure paper42
@ 2023-01-17 22:59 ` Johnnynator
  2023-01-17 22:59 ` Johnnynator
  1 sibling, 0 replies; 3+ messages in thread
From: Johnnynator @ 2023-01-17 22:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

Closed issue by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/41704

Description:
In config.log, I can see that it passed `-Wno-error=deprecated-declarations-Wno-error` to gcc which is not a valid option, so it failed.

```
%: ./xbps-src pkg -a armv6l-musl elfutils
...
=> elfutils-0.187_1: running do_configure ...
configure: WARNING: unrecognized options: --with-sysroot, --with-libtool-sysroot
checking for a BSD-compatible install... /builddir/.xbps-elfutils/wrappers/install -c
checking whether build environment is sane... yes
checking for arm-linux-musleabihf-strip... arm-linux-musleabihf-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-unknown-linux-musl
checking host system type... arm-unknown-linux-musleabihf
checking whether make supports the include directive... yes (GNU style)
checking for arm-linux-musleabihf-gcc... arm-linux-musleabihf-gcc
checking whether the C compiler works... no
configure: error: in `/builddir/elfutils-0.187':
configure: error: C compiler cannot create executables
See `config.log' for more details
=> ERROR: elfutils-0.187_1: do_configure: '${configure_script} ${configure_args}' exited with 77
=> ERROR:   in do_configure() at common/build-style/gnu-configure.sh:8
```

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-17 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-17 21:44 [ISSUE] elfutils: cross build failure paper42
2023-01-17 22:59 ` [ISSUE] [CLOSED] " Johnnynator
2023-01-17 22:59 ` Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).