Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921137 - sci-biology/maq-0.7.1-r3 - fastq2bfq.c: error: assignment to struct gzFile_s from incompatible pointer type gzFile {aka struct gzFile_s } [-Wincompati
Summary: sci-biology/maq-0.7.1-r3 - fastq2bfq.c: error: assignment to struct gzFile_s ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-31 21:05 UTC by Toralf Förster
Modified: 2024-10-31 21:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.78 KB, text/plain)
2023-12-31 21:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.90 KB, text/plain)
2023-12-31 21:05 UTC, Toralf Förster
Details
environment (environment,76.03 KB, text/plain)
2023-12-31 21:05 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-31 21:05 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.21 KB, application/x-xz)
2023-12-31 21:05 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.46 KB, application/x-xz)
2023-12-31 21:05 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,55.70 KB, application/x-xz)
2023-12-31 21:05 UTC, Toralf Förster
Details
sci-biology:maq-0.7.1-r3:20231231-200714.log (sci-biology:maq-0.7.1-r3:20231231-200714.log,11.48 KB, text/plain)
2023-12-31 21:05 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.88 KB, application/x-xz)
2023-12-31 21:05 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-31 21:05:15 UTC
   48 |                 fread(&len, sizeof(int), 1, fp);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall  -D_FASTMAP -DMAQ_LONGREADS -O2 -pipe -march=native -fno-diagnostics-color -c -o fasta2bfa.o fasta2bfa.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -Wall  -D_FASTMAP -DMAQ_LONGREADS -O2 -pipe -march=native -fno-diagnostics-color -c -o fastq2bfq.o fastq2bfq.c
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -Wall  -D_FASTMAP -DMAQ_LONGREADS -O2 -pipe -march=native -fno-diagnostics-color -c -o merge.o merge.cc
fastq2bfq.c: In function fastq2bfq:
fastq2bfq.c:30:12: error: assignment to struct gzFile_s ** from incompatible pointer type gzFile {aka struct gzFile_s *} [-Wincompatible-pointer-types]
   30 |         fp = gzopen(str, "w");
      |            ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20231228-120810

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 42e90b19f626e2aa6ebfa451a8c1dec689e45923
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 31 19:47:01 2023 +0000

    2023-12-31 19:47:01 UTC

emerge -qpvO sci-biology/maq
[ebuild  N    ] sci-biology/maq-0.7.1-r3
Comment 1 Toralf Förster gentoo-dev 2023-12-31 21:05:16 UTC
Created attachment 881136 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-31 21:05:17 UTC
Created attachment 881137 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-31 21:05:18 UTC
Created attachment 881138 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-31 21:05:19 UTC
Created attachment 881139 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-31 21:05:20 UTC
Created attachment 881140 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-31 21:05:21 UTC
Created attachment 881141 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-31 21:05:22 UTC
Created attachment 881142 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-31 21:05:23 UTC
Created attachment 881143 [details]
sci-biology:maq-0.7.1-r3:20231231-200714.log
Comment 9 Toralf Förster gentoo-dev 2023-12-31 21:05:24 UTC
Created attachment 881144 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-04-27 19:15:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061394aeecb50cf5301012467a02d1ada1e1be01

commit 061394aeecb50cf5301012467a02d1ada1e1be01
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-04-27 19:15:05 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-04-27 19:15:05 +0000

    sci-biology/maq: Fix assignment to incompatible pointer type
    
    Closes: https://github.com/gentoo/gentoo/pull/36459
    Closes: https://bugs.gentoo.org/921137
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../maq/files/maq-0.7.1-gcc14-build-fix.patch      | 23 ++++++++++++++++++++++
 .../{maq-0.7.1-r3.ebuild => maq-0.7.1-r4.ebuild}   |  5 +++--
 2 files changed, 26 insertions(+), 2 deletions(-)