Package Details: z88dk 2.3-1

Git Clone URL: https://aur.archlinux.org/z88dk.git (read-only, click to copy)
Package Base: z88dk
Description: Developement kit for Z80 computers
Upstream URL: http://z88dk.org
Licenses: custom:The Clarified Artistic License
Submitter: None
Maintainer: zxz
Last Packager: zxz
Votes: 6
Popularity: 0.113168
First Submitted: 2010-02-09 04:02 (UTC)
Last Updated: 2023-12-30 19:36 (UTC)

Latest Comments

1 2 Next › Last »

zxz commented on 2022-07-29 15:00 (UTC)

@aperez: Thanks, fixed.

aperez commented on 2022-07-29 05:06 (UTC)

@zxz: I needed to add perl-clone to makedepends on order to be able to build this in a clean chroot.

kamelie1706 commented on 2020-05-31 21:16 (UTC)

Perfect ... and thx for the clarification!

zxz commented on 2020-05-31 19:18 (UTC) (edited on 2020-05-31 19:20 (UTC) by zxz)

The dependencies are fine, the build error comes from GCC 10 defaulting to -fno-common. I fixed the error and did some quick tests, it should be working now.

For future reference, here's the list of dependencies and the reason they are not included:

  • dos2unix: only needed for z88dk developers
  • libboost: not used actually
  • texinfo, texi2html: no texinfo files in the tarball
  • libxml2: included
  • subversion: only used during zsdcc build but that's disabled
  • bison: the only call to bison is commented out
  • flex: I have not found any call to flex
  • zlib: included

kamelie1706 commented on 2020-05-30 12:23 (UTC) (edited on 2020-05-30 12:43 (UTC) by kamelie1706)

Trying to follow the installation from git https://github.com/z88dk/z88dk/wiki/installation

Maybe those package should be added as dependency dos2unix libboost texinfo texi2html libxml2 subversion bison flex zlib

At least it seems to compile fine with those packages installed ... but fails still with the AUR package.

kamelie1706 commented on 2020-05-30 12:00 (UTC)

Fail to compile

==> Starting build()...

fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

make -C src/appmake PREFIX=pwd install

make[1]: Entering directory '/home/cyril/AUR/z88dk/src/z88dk/src/appmake'

cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o abc80.o abc80.c abc80.c: In function 'datablockout': abc80.c:138:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fread(&buffer[3], 253, 1, fin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o ace-tap.o ace-tap.c In file included from /usr/include/string.h:495, from appmake.h:15, from ace-tap.c:12: In function 'strncat', inlined from 'acetap_exec' at ace-tap.c:129:17: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 10 bytes from a string of length 10 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'acetap_exec' at ace-tap.c:167:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 10 bytes from a string of length 10 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o appmake.o appmake.c appmake.c: In function 'parameter_search': appmake.c:205:42: warning: format '%lx' expects argument of type 'long unsigned int ', but argument 3 has type 'long int ' [-Wformat=] 205 | sscanf(buffer,"%s%s%[ $]%lx",&val); | ~~^ ~~~~ | | | | | long int * | long unsigned int * | %lx appmake.c: In function 'mb_enumerate_banks': appmake.c:1101:37: warning: format '%lx' expects argument of type 'long unsigned int ', but argument 4 has type 'long int ' [-Wformat=] 1101 | if (sscanf(buffer, "%s = $%lx", symbol_name, &symbol_value) == 2) | ~~^ ~~~~~~~~~~~~~ | | | | | long int * | long unsigned int * | %lx appmake.c:1138:70: warning: '.bin' directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 1138 | snprintf(bfilename, sizeof(bfilename), "%s_%s.bin", binname, section_name); | ^~~~ In file included from /usr/include/stdio.h:867, from appmake.h:11, from appmake.c:14: /usr/include/bits/stdio2.h:67:10: note: '__builtinsnprintfchk' output 6 or more bytes (assuming 1029) into a destination of size 1024 67 | return builtinsnprintfchk (s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o aquarius.o aquarius.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o c128.o c128.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o c7420.o c7420.c c7420.c: In function 'c7420_exec': c7420.c:178:26: warning: '%i' directive writing between 1 and 8 bytes into a region of size 5 [-Wformat-overflow=] 178 | sprintf(msbbuf, "%i", (int)pos / 256); / no more than 3 characters long / | ^~ c7420.c:178:25: note: directive argument in the range [-8388608, 8388607] 178 | sprintf(msbbuf, "%i", (int)pos / 256); / no more than 3 characters long / | ^~~~ In file included from /usr/include/stdio.h:867, from appmake.h:11, from c7420.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtinsprintfchk' output between 2 and 9 bytes into a destination of size 5 36 | return builtinsprintfchk (s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from appmake.h:15, from c7420.c:11: In function 'strncat', inlined from 'c7420_exec' at c7420.c:283:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 6 bytes from a string of length 6 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'c7420_exec' at c7420.c:118:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 6 bytes from a string of length 6 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o cpc.o cpc.c cpc.c: In function 'cpc_exec': cpc.c:399:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 399 | fread(srchead, 128, 1, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpc.c:463:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | fread(srcdata, header[19] + header[20] * 256, 1, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o cpm2.o cpm2.c cpm2.c: In function 'cpm_write_file_to_image': cpm2.c:521:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | fread(filebuf, binlen, 1, binary_fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpm2.c:540:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 540 | fread(bootbuf, bootlen, 1, binary_fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o cpmdisk.o cpmdisk.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o enterprise.o enterprise.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o extract.o extract.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o fat.o fat.c fat.c: In function 'fat_write_file_to_image': fat.c:158:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fread(filebuf, binlen, 1, binary_fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o ff.o ff.c ff.c: In function 'get_fileinfo': ff.c:185:17: warning: overflow in conversion from 'int' to 'TCHAR' {aka 'char'} changes value from '229' to '-27' [-Woverflow] 185 | #define DDEM 0xE5 / Deleted directory entry mark set to DIR_Name[0] / | ^~~~ ff.c:2727:23: note: in expansion of macro 'DDEM' 2727 | if (c == RDDEM) c = DDEM; / Restore replaced DDEM character / | ^~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o fp1100.o fp1100.c fp1100.c: In function 'fp1100_exec': fp1100.c:90:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fread(buf, 1, pos, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o galaksija.o galaksija.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o gb.o gb.c gb.c: In function 'gb_exec': gb.c:107:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | fread(memory, sizeof(memory[0]), main_length, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gb.c:122:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | fread(memory + (i * 0x4000), 0x4000, 1, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o glue.o glue.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o hex.o hex.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o inject.o inject.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o kc.o kc.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o lynx.o lynx.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o m5.o m5.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o mameql.o mameql.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o mc.o mc.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o msx.o msx.c In file included from /usr/include/string.h:495, from appmake.h:15, from msx.c:16: In function 'strncat', inlined from 'msx_exec' at msx.c:203:17: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 6 bytes from a string of length 6 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o mtx.o mtx.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o multi8.o multi8.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o mz.o mz.c In file included from /usr/include/string.h:495, from appmake.h:15, from mz.c:21: In function 'strncat', inlined from 'mz_exec' at mz.c:806:4: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 17 bytes from a string of length 17 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o mz2500.o mz2500.c mz2500.c: In function 'mz2500_exec': mz2500.c:152:8: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | fread(sectorbuf, 256, sizeof(uint8_t), fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o nascom.o nascom.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o nec.o nec.c nec.c: In function 'nec_exec': nec.c:218:9: warning: variable 'codeseg' set but not used [-Wunused-but-set-variable] 218 | int codeseg = 0; | ^~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o newbrain.o newbrain.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o newext.o newext.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o p2000.o p2000.c In file included from /usr/include/string.h:495, from appmake.h:15, from p2000.c:15: In function 'strncat', inlined from 'p2000_exec' at p2000.c:82:9: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 8 bytes from a string of length 8 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o pasopia7.o pasopia7.c pasopia7.c: In function 'pasopia7_exec': pasopia7.c:97:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | fread(buf, 1, pos, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o pc88.o pc88.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o pmd85.o pmd85.c pmd85.c: In function 'pmd85_exec': pmd85.c:31:18: warning: unused variable 'bootlen' [-Wunused-variable] 31 | long pos, bootlen; | ^~~~~~~ pmd85.c:30:21: warning: unused variable 'bootstrap_fp' [-Wunused-variable] 30 | FILE fpin, bootstrap_fp, fpout; | ^~~~~~~~~~~~ pmd85.c:29:13: warning: unused variable 'bootname' [-Wunused-variable] 29 | char bootname[FILENAME_MAX+1]; | ^~~~~~~~ pmd85.c:27:13: warning: unused variable 'bootbuf' [-Wunused-variable] 27 | char bootbuf[512]; | ^~~~~~~ pmd85.c:80:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | fread(buf, 1, pos, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o px.o px.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o residos.o residos.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o rex6000.o rex6000.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o rom.o rom.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o sc3000.o sc3000.c In file included from /usr/include/string.h:495, from appmake.h:15, from sc3000.c:11: In function 'strncat', inlined from 'sc3000_exec' at sc3000.c:224:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'sc3000_exec' at sc3000.c:178:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o sms.o sms.c sms.c: In function 'sms_exec': sms.c:153:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | fread(memory, sizeof(memory[0]), len, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o sorcerer.o sorcerer.c In file included from /usr/include/string.h:495, from appmake.h:15, from sorcerer.c:10: In function 'strncat', inlined from 'sorcerer_exec' at sorcerer.c:277:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 6 bytes from a string of length 6 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sorcerer.c: In function 'sorcerer_exec': sorcerer.c:404:44: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] 404 | printf("\nInfo: File Size $%x", c + j*256); | ~^~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o sos.o sos.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o spc1000.o spc1000.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o svi.o svi.c svi.c: In function 'create_disk': svi.c:356:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 356 | fread(sectorbuf, 1, 128, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svi.c:376:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 376 | fread(sectorbuf, 1, size, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from appmake.h:15, from svi.c:11: In function 'strncat', inlined from 'svi_exec' at svi.c:204:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 6 bytes from a string of length 6 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o tixx.o tixx.c tixx.c: In function 'tixx_exec': tixx.c:206:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | fread(buf, n, 1, fp); | ^~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o trs80.o trs80.c In file included from /usr/include/string.h:495, from appmake.h:15, from trs80.c:15: In function 'strncat', inlined from 'trs80_exec' at trs80.c:212:17: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 6 bytes from a string of length 6 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o tvc.o tvc.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o vg5k.o vg5k.c In file included from /usr/include/string.h:495, from appmake.h:15, from vg5k.c:10: In function 'strncat', inlined from 'vg5k_exec' at vg5k.c:221:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 7 bytes from a string of length 7 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vg5k.c: In function 'vg5k_exec': vg5k.c:323:17: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] 323 | printf("\nInfo: Start location $%x", c * 256 + j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o vz.o vz.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o x07.o x07.c x07.c: In function 'x07_exec': x07.c:367:12: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] 367 | if (pos != 1380) { | ^ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o x1.o x1.c x1.c: In function 'x1_exec': x1.c:104:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | fread(buf, 1, len, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o z1013.o z1013.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o z88.o z88.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o z88shell.o z88shell.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o z9001.o z9001.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o zx-util.o zx-util.c zx-util.c: In function 'zx_sna': zx-util.c:1609:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1609 | fread(sna_state, 27, 1, fin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c:1619:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1619 | fread(&sna_state[SNA_128_PC], 4, 1, fin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c: In function 'zx_plus3': zx-util.c:2272:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2272 | fread(scrbuf, 1, 6912, fpscr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zx-util.c:2281:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2281 | fread(ptr, 1, binary_length, fpin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from appmake.h:15, from zx-util.c:1: In function 'strncat', inlined from 'zx_tape' at zx-util.c:332:17: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 10 bytes from a string of length 10 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'zx_tape' at zx-util.c:584:21: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 10 bytes from a string of length 10 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'zx_tape' at zx-util.c:623:21: /usr/include/bits/string_fortified.h:136:10: warning: '__builtinstrncatchk' output truncated copying between 0 and 10 bytes from a string of length 10 [-Wstringop-truncation] 136 | return builtinstrncatchk (dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o zx.o zx.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o zx81.o zx81.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o zxn.o zxn.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -D_FORTIFY_SOURCE=2 -c -o zxvgs.o zxvgs.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -MMD -pedantic -o appmake abc80.o ace-tap.o appmake.o aquarius.o c128.o c7420.o cpc.o cpm2.o cpmdisk.o enterprise.o extract.o fat.o ff.o fp1100.o galaksija.o gb.o glue.o hex.o inject.o kc.o lynx.o m5.o mameql.o mc.o msx.o mtx.o multi8.o mz.o mz2500.o nascom.o nec.o newbrain.o newext.o p2000.o pasopia7.o pc88.o pmd85.o px.o residos.o rex6000.o rom.o sc3000.o sms.o sorcerer.o sos.o spc1000.o svi.o tixx.o trs80.o tvc.o vg5k.o vz.o x07.o x1.o z1013.o z88.o z88shell.o z9001.o zx-util.o zx.o zx81.o zxn.o zxvgs.o -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now /usr/bin/ld: sc3000.o:(.bss+0x0): multiple definition of `checksum'; m5.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:48: appmake] Error 1

make[1]: Leaving directory '/home/cyril/AUR/z88dk/src/z88dk/src/appmake'

make: *** [Makefile:82: bin/appmake] Error 2

==> ERROR: A failure occurred in build(). Aborting...

zxz commented on 2019-11-27 23:40 (UTC)

I did some investigation and it looks like yay breaks the compilation. Try building without using AUR helpers.

leo72 commented on 2019-11-26 21:59 (UTC)

The package doesn't compile. It halts with this messages:

--- Building Z88 Library ---

sccz80:"zsock/fopen_zsock.c" L:47 Warning:Assigning 'ptr', type: unsigned char uint8_tptr from char * [-Wincompatible-pointer-types] make[1]: Nessuna operazione da eseguire per "all". TARGET=z88 TYPE=z80 z80asm -d -I/home/leo/.cache/yay/z88dk/src/z88dk/lib/config//../ -I/home/leo/.cache/yay/z88dk/src/z88dk/libsrc//../lib//target/z88/def -DSTANDARDESCAPECHARS -DFORz88 -x/home/leo/.cache/yay/z88dk/src/z88dk/libsrc//z88_clib @./z88.lst Error at file 'ctype/ctype.lst' line 1: pattern 'ctype/obj/z80//*.o' returned no files Error at file 'stdlib/stdlib.lst' line 33: pattern 'stdlib/obj/z80/x//.o' returned no files Error at file 'adt-newlib/adt.lst' line 1: pattern 'adt-newlib/obj/z80//*.o' returned no files Error at file 'alloc/obstack/obstack.lst' line 1: pattern 'alloc/obstack/obj/z80//.o' returned no files make: ** [Makefile:212: z88_clib.lib] Error 1 make: uscita dalla directory "/home/leo/.cache/yay/z88dk/src/z88dk/libsrc" ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... Error making: z88dk

zxz commented on 2017-06-19 07:46 (UTC)

I'll change it on the next version/release, thanks.