Bug#1066465: marked as done (dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration])

2024-03-26 Thread Debian Bug Tracking System
Your message dated Tue, 26 Mar 2024 21:04:59 +
with message-id 
and subject line Bug#1066465: fixed in dcraw 9.28-5
has caused the Debian Bug report #1066465,
regarding dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of 
function ‘ntohs’ [-Werror=implicit-function-declaration]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1066465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066465
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dcraw
Version: 9.28-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"dcraw\" -DPACKAGE_TARNAME=\"dcraw\" 
> -DPACKAGE_VERSION=\"9.28\" -DPACKAGE_STRING=\"dcraw\ 9.28\" 
> -DPACKAGE_BUGREPORT=\"hr...@physics.muni.cz\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"dcraw\" -DVERSION=\"9.28\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
> -DSTDC_HEADERS=1 -DHAVE_JPEGLIB_H=1 -DHAVE_LIBJPEG=1 -DHAVE_LCMS2_H=1 
> -DHAVE_LIBLCMS2=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -O4 -c -o clean_crw.o clean_crw.c
> fujiturn.c: In function ‘main’:
> fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>61 |   fread (in, iwide, sizeof *in, ifp);
>   |   ^~
> fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>78 | fread (in, iwide, sizeof *in, ifp);
>   | ^~
> fujiturn.c: In function ‘main’:
> fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ 
> [-Werror=implicit-function-declaration]
>76 |   mid[orow*owide+ocol][i] = ntohs(in[icol][i]);
>   | ^
> fujiturn.c:90:28: error: implicit declaration of function ‘htons’ 
> [-Werror=implicit-function-declaration]
>90 | out[ocol][i] = htons (
>   |^
> fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>61 |   fread (in, iwide, sizeof *in, ifp);
>   |   ^~
> fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>78 | fread (in, iwide, sizeof *in, ifp);
>   | ^~
> clean_crw.c: In function ‘main’:
> clean_crw.c:54:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>54 | fread (buffer, 1, size, fp);
>   | ^~~
> fuji_green.c: In function ‘read_shorts’:
> fuji_green.c:72:29: error: implicit declaration of function ‘ntohs’ 
> [-Werror=implicit-function-declaration]
>72 |   if ((order == 0x4949) == (ntohs(0x1234) == 0x1234))
>   | ^
> fuji_green.c:73:5: error: implicit declaration of function ‘swab’ 
> [-Werror=implicit-function-declaration]
>73 | swab (pixel, pixel, count*2);
>   | ^~~~
> fuji_green.c: In function ‘write_psd’:
> fuji_green.c:249:11: error: implicit declaration of function ‘htonl’ 
> [-Werror=implicit-function-declaration]
>   249 |   hw[0] = htonl(height*2);  /* write the header */
>   |   ^
> fuji_green.c: In function ‘main’:
> fuji_green.c:307:9: error: implicit declaration of function ‘isatty’ 
> [-Werror=implicit-function-declaration]
>   307 | if (isatty(1)) {
>   | ^~
> fuji_green.c: In function ‘read_shorts’:
> fuji_green.c:71:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>71 |   fread (pixel, 2, count, ifp);
>   |   ^~~~
> fuji_green.c: In function ‘parse_tiff’:
> 

Bug#1066465: marked as done (dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration])

2024-03-24 Thread Debian Bug Tracking System
Your message dated Sun, 24 Mar 2024 17:19:42 +
with message-id 
and subject line Bug#1066465: fixed in dcraw 9.28-4
has caused the Debian Bug report #1066465,
regarding dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of 
function ‘ntohs’ [-Werror=implicit-function-declaration]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1066465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066465
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dcraw
Version: 9.28-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"dcraw\" -DPACKAGE_TARNAME=\"dcraw\" 
> -DPACKAGE_VERSION=\"9.28\" -DPACKAGE_STRING=\"dcraw\ 9.28\" 
> -DPACKAGE_BUGREPORT=\"hr...@physics.muni.cz\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"dcraw\" -DVERSION=\"9.28\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
> -DSTDC_HEADERS=1 -DHAVE_JPEGLIB_H=1 -DHAVE_LIBJPEG=1 -DHAVE_LCMS2_H=1 
> -DHAVE_LIBLCMS2=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -O4 -c -o clean_crw.o clean_crw.c
> fujiturn.c: In function ‘main’:
> fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>61 |   fread (in, iwide, sizeof *in, ifp);
>   |   ^~
> fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>78 | fread (in, iwide, sizeof *in, ifp);
>   | ^~
> fujiturn.c: In function ‘main’:
> fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ 
> [-Werror=implicit-function-declaration]
>76 |   mid[orow*owide+ocol][i] = ntohs(in[icol][i]);
>   | ^
> fujiturn.c:90:28: error: implicit declaration of function ‘htons’ 
> [-Werror=implicit-function-declaration]
>90 | out[ocol][i] = htons (
>   |^
> fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>61 |   fread (in, iwide, sizeof *in, ifp);
>   |   ^~
> fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>78 | fread (in, iwide, sizeof *in, ifp);
>   | ^~
> clean_crw.c: In function ‘main’:
> clean_crw.c:54:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>54 | fread (buffer, 1, size, fp);
>   | ^~~
> fuji_green.c: In function ‘read_shorts’:
> fuji_green.c:72:29: error: implicit declaration of function ‘ntohs’ 
> [-Werror=implicit-function-declaration]
>72 |   if ((order == 0x4949) == (ntohs(0x1234) == 0x1234))
>   | ^
> fuji_green.c:73:5: error: implicit declaration of function ‘swab’ 
> [-Werror=implicit-function-declaration]
>73 | swab (pixel, pixel, count*2);
>   | ^~~~
> fuji_green.c: In function ‘write_psd’:
> fuji_green.c:249:11: error: implicit declaration of function ‘htonl’ 
> [-Werror=implicit-function-declaration]
>   249 |   hw[0] = htonl(height*2);  /* write the header */
>   |   ^
> fuji_green.c: In function ‘main’:
> fuji_green.c:307:9: error: implicit declaration of function ‘isatty’ 
> [-Werror=implicit-function-declaration]
>   307 | if (isatty(1)) {
>   | ^~
> fuji_green.c: In function ‘read_shorts’:
> fuji_green.c:71:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>71 |   fread (pixel, 2, count, ifp);
>   |   ^~~~
> fuji_green.c: In function ‘parse_tiff’:
> 

Bug#1066465: marked as done (dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ [-Werror=implicit-function-declaration])

2024-03-18 Thread Debian Bug Tracking System
Your message dated Mon, 18 Mar 2024 19:19:30 +
with message-id 
and subject line Bug#1066465: fixed in dcraw 9.28-3.1
has caused the Debian Bug report #1066465,
regarding dcraw: FTBFS: fujiturn.c:76:37: error: implicit declaration of 
function ‘ntohs’ [-Werror=implicit-function-declaration]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1066465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066465
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dcraw
Version: 9.28-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"dcraw\" -DPACKAGE_TARNAME=\"dcraw\" 
> -DPACKAGE_VERSION=\"9.28\" -DPACKAGE_STRING=\"dcraw\ 9.28\" 
> -DPACKAGE_BUGREPORT=\"hr...@physics.muni.cz\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"dcraw\" -DVERSION=\"9.28\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
> -DSTDC_HEADERS=1 -DHAVE_JPEGLIB_H=1 -DHAVE_LIBJPEG=1 -DHAVE_LCMS2_H=1 
> -DHAVE_LIBLCMS2=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -O4 -c -o clean_crw.o clean_crw.c
> fujiturn.c: In function ‘main’:
> fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>61 |   fread (in, iwide, sizeof *in, ifp);
>   |   ^~
> fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>78 | fread (in, iwide, sizeof *in, ifp);
>   | ^~
> fujiturn.c: In function ‘main’:
> fujiturn.c:76:37: error: implicit declaration of function ‘ntohs’ 
> [-Werror=implicit-function-declaration]
>76 |   mid[orow*owide+ocol][i] = ntohs(in[icol][i]);
>   | ^
> fujiturn.c:90:28: error: implicit declaration of function ‘htons’ 
> [-Werror=implicit-function-declaration]
>90 | out[ocol][i] = htons (
>   |^
> fujiturn.c:61:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>61 |   fread (in, iwide, sizeof *in, ifp);
>   |   ^~
> fujiturn.c:78:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>78 | fread (in, iwide, sizeof *in, ifp);
>   | ^~
> clean_crw.c: In function ‘main’:
> clean_crw.c:54:5: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>54 | fread (buffer, 1, size, fp);
>   | ^~~
> fuji_green.c: In function ‘read_shorts’:
> fuji_green.c:72:29: error: implicit declaration of function ‘ntohs’ 
> [-Werror=implicit-function-declaration]
>72 |   if ((order == 0x4949) == (ntohs(0x1234) == 0x1234))
>   | ^
> fuji_green.c:73:5: error: implicit declaration of function ‘swab’ 
> [-Werror=implicit-function-declaration]
>73 | swab (pixel, pixel, count*2);
>   | ^~~~
> fuji_green.c: In function ‘write_psd’:
> fuji_green.c:249:11: error: implicit declaration of function ‘htonl’ 
> [-Werror=implicit-function-declaration]
>   249 |   hw[0] = htonl(height*2);  /* write the header */
>   |   ^
> fuji_green.c: In function ‘main’:
> fuji_green.c:307:9: error: implicit declaration of function ‘isatty’ 
> [-Werror=implicit-function-declaration]
>   307 | if (isatty(1)) {
>   | ^~
> fuji_green.c: In function ‘read_shorts’:
> fuji_green.c:71:3: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>71 |   fread (pixel, 2, count, ifp);
>   |   ^~~~
> fuji_green.c: In function ‘parse_tiff’:
>