How to report a bug? (Please be friendly with this newbie))

Hi mates, I got problems compiling the last version of Divested-WRT, the problems began yesterday (when I tried compile since the last time that was 2 weeks ago), and they are related with perl because of new version of musl.

To be sure that was not my problem, I deleted the buildroot folder completely and started from the beginning, here you can see the message that I can show at compiling time:

make[5]: Leaving directory '/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/perl/perl-5.28.1'
echo @`sh  cflags "optimize='-O2'" opmini.o` -fPIC -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini.c
@arm-openwrt-linux-muslgnueabi-gcc -c -DPERL_CORE -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -I/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-12.3.0_musl_eabi/usr/include -I/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-12.3.0_musl_eabi/include/fortify -I/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-12.3.0_musl_eabi/include -O2 -Wall -fPIC -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini.c
In file included from op.c:163:
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
make[4]: *** [Makefile:304: opmini.o] Error 1
make[4]: Leaving directory '/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/perl/perl-5.28.1'
make[3]: *** [Makefile:150: /home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/perl/perl-5.28.1/.built] Error 2
make[3]: Leaving directory '/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/feeds/packages/lang/perl'
time: package/feeds/packages/perl/compile#11.70#3.02#14.08
    ERROR: package/feeds/packages/perl failed to build.
make[2]: *** [package/Makefile:120: package/feeds/packages/perl/compile] Error 1
make[2]: Leaving directory '/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt'
make[1]: *** [package/Makefile:114: /home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt'
make: *** [/home/alberto/Compiling/Linksys-WRT3200ACM/openwrt/include/toplevel.mk:231: world] Error 2

I've reported at the custom build thread to know if it was related with its lastest version or other thing, and SkewedZeppelin (author) says me it is a problem related with musl, and this have to be advised to be fixed, but I don't know how to do it because I haven't do it before.

Can you tell me what I need to do and how to report this bug / problem? or if it is a complicated task for a newbie like me, can someone do it for me / community?

Thanks for your time and help.

Search is a cool feature Perl - error: unknown type name 'off64_t'; did you mean 'off_t'? ?

PR21069, as to the question asked, for packages, and OpenWrt

1 Like