kopia lustrzana https://gitlab.com/sane-project/backends
CI: Workaround build failures on Alpine
It's confirmed that neither Alpine nor Musl will fix ioctl warnings[1] that making alpine build to fail and that these warnings are harmless[2]. sanei_usb.c:4042:34: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '3221771554' to '-1073195742' [-Werror=overflow] 4042 | if (ioctl (devices[dn].fd, SCANNER_IOCTL_CTRLMSG, &c) < 0) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Link: https://gitlab.alpinelinux.org/alpine/aports/-/issues/7580 Link: https://www.openwall.com/lists/musl/2020/01/20/3merge-requests/569/head
rodzic
5b067b7cda
commit
7a18846c60
|
@ -38,8 +38,8 @@ make-dist:
|
|||
- mkdir build
|
||||
- cd build
|
||||
- tar xzf ../sane-backends-*.tar.gz --strip-components=1
|
||||
- ./configure $CONFIGURE_OPTS
|
||||
- make -j2 -k $MAKE_FLAGS
|
||||
- (set -x; ./configure $CONFIGURE_OPTS)
|
||||
- eval "(set -x; make -j2 -k $MAKE_FLAGS)"
|
||||
|
||||
debian-10-full:
|
||||
image: $REGISTRY_HUB:debian-buster-full
|
||||
|
@ -87,9 +87,8 @@ alpine-3.15-musl:
|
|||
image: $REGISTRY_HUB:alpine-3.15-musl
|
||||
variables:
|
||||
CONFIGURE_OPTS: "$CONFIGURE_MINI $CONFIGURE_FULL"
|
||||
MAKE_FLAGS: "CFLAGS=-Werror CXXFLAGS=-Werror"
|
||||
MAKE_FLAGS: "CFLAGS='-Werror -Wno-pedantic' CXXFLAGS=-Werror"
|
||||
<<: *compile_definition
|
||||
allow_failure: true
|
||||
|
||||
ubuntu-22.04-lts:
|
||||
image: $REGISTRY_HUB:ubuntu-jammy-dist
|
||||
|
|
Ładowanie…
Reference in New Issue