Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940085 - sci-libs/hdf-4.2.15-r2 fails to compile on loong: hdfi.h:1449:1: error: unknown type name 'No'
Summary: sci-libs/hdf-4.2.15-r2 fails to compile on loong: hdfi.h:1449:1: error: unkno...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-22 18:45 UTC by matoro
Modified: 2024-09-22 18:45 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (build.log.gz,62.35 KB, application/gzip)
2024-09-22 18:45 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-09-22 18:45:44 UTC
Created attachment 903593 [details]
build.log and emerge --info

And so on for pages:

libtool: compile:  loongarch64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/tirpc -pipe -O2 -march=loongarch64 -fno-strict-aliasing -c cdeflate.c  -fPIC -DPIC -o .libs/cdeflate.o
In file included from hdf.h:20,
                 from atom.c:59:
hdfi.h:1449:1: error: unknown type name 'No'
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      | ^~
hdfi.h:1449:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'type'
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      |            ^~~~
hdfi.h:1449:12: error: unknown type name 'type'; did you mean 'typeof'?
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      |            ^~~~
      |            typeof
In file included from hdf.h:20,
                 from bitvect.h:32,
                 from bitvect.c:103:
hdfi.h:1449:1: error: unknown type name 'No'
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      | ^~
In file included from hdf.h:20,
                 from cnbit.c:37:
hdfi.h:1449:1: error: unknown type name 'No'
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      | ^~
hdfi.h:1449:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'type'
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      |            ^~~~
hdfi.h:1449:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'type'
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      |            ^~~~
hdf.h:29:1: warning: data definition has no type or storage class
   29 | DFdi;
      | ^~~~
hdf.h:29:1: error: type defaults to 'int' in declaration of 'DFdi' [-Wimplicit-int[https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int]]
In file included from hdf.h:20,
                 from cdeflate.c:37:
hdfi.h:1449:1: error: unknown type name 'No'
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      | ^~
hdfi.h:1449:12: error: unknown type name 'type'; did you mean 'typeof'?
 1449 | No machine type has been defined.  Your Makefile needs to have someing like
      |            ^~~~
      |            typeof
hdf.h:142:9: error: unknown type name 'int32'; did you mean 'int32_t'?
  142 | typedef int32 HFILEID;
      |         ^~~~~
      |         int32_t
hdf.h:144:15: error: expected declaration specifiers or '...' before '*' token
  144 | typedef intn (*hdf_termfunc_t)(void);   /* termination function typedef */
      |               ^
hdf.h:29:1: warning: data definition has no type or storage class
   29 | DFdi;
      | ^~~~