Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 832583 Details for
Bug 881321
app-text/ttf2pt1-3.4.4-r1 - t1asm.c: error: call to undeclared function getopt; ISO C99 and later
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:ttf2pt1-3.4.4-r1:20221114-203016.log
app-text:ttf2pt1-3.4.4-r1:20221114-203016.log (text/plain), 17.66 KB, created by
Toralf Förster
on 2022-11-14 20:56:22 UTC
(
hide
)
Description:
app-text:ttf2pt1-3.4.4-r1:20221114-203016.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-14 20:56:22 UTC
Size:
17.66 KB
patch
obsolete
> * Package: app-text/ttf2pt1-3.4.4-r1:0 > * Repository: gentoo > * Maintainer: fonts@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking ttf2pt1-3.4.4.tgz to /var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/work >>>> Source unpacked in /var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/work >>>> Preparing source in /var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/work/ttf2pt1-3.4.4 ... > * Applying ttf2pt1-3.4.4-Makefile.patch ... > [ ok ] > * Applying ttf2pt1-3.4.4-LDFLAGS.patch ... > [ ok ] > * Applying ttf2pt1-3.4.0-man-pages.diff ... > [ ok ] > * Applying ttf2pt1-3.4.4-freetype.patch ... > [ ok ] >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/work/ttf2pt1-3.4.4 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/work/ttf2pt1-3.4.4 ... >make -j4 >scripts/unhtml <app/TeX/README.html >app/TeX/README >scripts/unhtml <FONTS.html >FONTS >scripts/unhtml <FONTS.hpux.html >FONTS.hpux >scripts/unhtml <README.html >README >scripts/unhtml <CHANGES.html >CHANGES >scripts/unhtml <app/netscape/README.html >app/netscape/README >scripts/unhtml <other/README.html >other/README >scripts/unhtml <encodings/README.html >encodings/README >scripts/unhtml <app/X11/README.html >app/X11/README > > You have to configure the Makefile before running make! >(or if you are lazy and hope that it will work as is run `make all') > >>>> Source compiled. >>>> Test phase [not enabled]: app-text/ttf2pt1-3.4.4-r1 > >>>> Install app-text/ttf2pt1-3.4.4-r1 into /var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/image >make -j4 INSTDIR=/var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/image/usr install >clang -pipe -march=native -fno-diagnostics-color -O2 -DUSE_FREETYPE -I/usr/include/freetype2 -o t1asm -DSTANDALONE t1asm.c -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm -L/usr/lib64 -lfreetype >clang -pipe -march=native -fno-diagnostics-color -O2 -DUSE_FREETYPE -I/usr/include/freetype2 -c runt1asm.c >clang -pipe -march=native -fno-diagnostics-color -O2 -DUSE_FREETYPE -I/usr/include/freetype2 -c ttf2pt1.c >clang -pipe -march=native -fno-diagnostics-color -O2 -DUSE_FREETYPE -I/usr/include/freetype2 -c pt1.c >In file included from runt1asm.c:60: >./t1asm.c:375:13: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > sizeof(charstring_buf)); > ^~~~~~~~~~~~~~~~~~~~~~ >./t1asm.c:388:24: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > sprintf(line, "%d ", charstring_bp - charstring_buf); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >In file included from ttf2pt1.c:85: >./global.h:90:30: warning: '/*' within block comment [-Wcomment] >/* #define DBG_GLYPH "C118" /* */ > ^ >ttf2pt1.c:647:33: warning: format specifies type 'int *' but the argument has > type 'int' [-Wformat] > if(sscanf(buffer, "id %d %d", pid, eid)==2) { > ~~ ^~~ >ttf2pt1.c:647:38: warning: format specifies type 'int *' but the argument has > type 'int' [-Wformat] > if(sscanf(buffer, "id %d %d", pid, eid)==2) { > ~~ ^~~ >t1asm.c:375:13: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > sizeof(charstring_buf)); > ^~~~~~~~~~~~~~~~~~~~~~ >t1asm.c:388:24: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > sprintf(line, "%d ", charstring_bp - charstring_buf); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >t1asm.c:501:15: error: call to undeclared function 'getopt'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > while ((c = getopt(argc, argv, "bl:")) != -1) > ^ >ttf2pt1.c:1331:18: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the 2unique warning splain and 1'char' error generatedtype. > and the other is not [-Wpointer-sign] > nametoprint(glyph_list[n].name)); > ^~~~~~~~~~~~~~~~~~ >ttf2pt1.c:1151:17: note: passing argument to parameter 's' here > unsigned char *s > ^ >ttf2pt1.c:1392:46: warning: passing 'unsigned int[1024]' to parameter of type > 'int *' converts between pointers to integer types with different sign > [-Wpointer-sign] > type = cursw->glenc(glyph_list, encoding, unicode_map); > ^~~~~~~~~~~ >ttf2pt1.c:1406:46: warning: passing 'unsigned int[1024]' to parameter of type > 'int *' converts between pointers to integer types with different sign > [-Wpointer-sign] > type = cursw->glenc(glyph_list, encoding, unicode_map); > ^~~~~~~~~~~ >In file included from pt1.c:24: >./global.h:90:30: warning: '/*' within block comment [-Wcomment] >/* #define DBG_GLYPH "C118" /* */ > ^ >ttf2pt1.c:2403:3: warning: format specifies type 'short' but the argument has > type 'int' [-Wformat] > iscale(fontm.underline_thickness)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make: *** [Makefile:182: t1asm] Error 1 shuffle=3432631208 >make: *** Waiting for unfinished jobs.... >pt1.c:307:5: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > pe, ge, ge->prev); > ^~ >pt1.c:307:9: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > pe, ge, ge->prev); > ^~ >pt1.c:307:13: warning: format specifies type 'unsigned int' but the argument has > type 'struct gentry *' [-Wformat] > pe, ge, ge->prev); > ^~~~~~~~ >pt1.c:317:46: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > fprintf(stderr, "empty path at 0x%x \n", ge); > ~~ ^~ >pt1.c:326:6: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ge, ge->frwd, ge->frwd->bkwd); > ^~ >pt1.c:326:10: warning: format specifies type 'unsigned int' but the argument has > type 'struct gentry *' [-Wformat] > ge, ge->frwd, ge->frwd->bkwd); > ^~~~~~~~ >pt1.c:326:20: warning: format specifies type 'unsigned int' but the argument has > type 'struct gentry *' [-Wformat] > ge, ge->frwd, ge->frwd->bkwd); > ^~~~~~~~~~~~~~ >pt1.c:334:7: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ge, ge->bkwd, ge->bkwd->next); > ^~ >pt1.c:334:11: warning: format specifies type 'unsigned int' but the argument has > type 'struct gentry *' [-Wformat] > ge, ge->bkwd, ge->bkwd->next); > ^~~~~~~~ >pt1.c:334:21: warning: format specifies type 'unsigned int' but the argument has > type 'struct gentry *' [-Wformat] > ge, ge->bkwd, ge->bkwd->next); > ^~~~~~~~~~~~~~ >pt1.c:342:7: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > first, ge, ge->frwd); > ^~~~~ >pt1.c:342:14: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > first, ge, ge->frwd); > ^~ >pt1.c:342:18: warning: format specifies type 'unsigned int' but the argument has > type 'struct gentry *' [-Wformat] > first, ge, ge->frwd); > ^~~~~~~~ >pt1.c:763:69: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr, "**! fixcvends(0x%x) on floating entry, ABORT\n", ge); > ~~ ^~ >pt1.c:913:68: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr, "**! fixcvdir(0x%x) on floating entry, ABORT\n", ge); > ~~ ^~ >pt1.c:1043:64: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr, "**! fgetcvdir(0x%x) on int entry, ABORT\n", ge); > ~~ ^~ >pt1.c:1105:69: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr, "**! igetcvdir(0x%x) on floating entry, ABORT\n", ge); > ~~ ^~ >pt1.c:1203:36: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > fprintf(stderr, " %c %8x", mark, ge); > ~~~ ^~ >pt1.c:1336:63: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > fprintf(stderr, "**! fcheckcv(0x%x) on int entry, ABORT\n", ge); > ~~ ^~ >pt1.c:1364:68: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr, "**! icheckcv(0x%x) on floating entry, ABORT\n", ge); > ~~ ^~ >pt1.c:2921:21: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > value, origin, ge, sp[si].ge); > ^~ >pt1.c:2921:25: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > value, origin, ge, sp[si].ge); > ^~~~~~~~~ >pt1.c:3911:8: warning: using floating point absolute value function 'fabs' when > argument is of integer type [-Wabsolute-value] > && fabs(pge->fpoints[o][2] != pge->prev-... > ^ >pt1.c:3911:8: note: use function 'abs' instead > && fabs(pge->fpoints[o][2] != pge->prev-... > ^~~~ > abs >pt1.c:3912:91: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge); > ~~ ^~~ >pt1.c:3912:96: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge); > ~~ ^~ >pt1.c:3926:8: warning: using floating point absolute value function 'fabs' when > argument is of integer type [-Wabsolute-value] > && fabs(nge->fpoints[o][2] != ge->fpoint... > ^ >pt1.c:3926:8: note: use function 'abs' instead > && fabs(nge->fpoints[o][2] != ge->fpoint... > ^~~~ > abs >pt1.c:3927:87: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge); > ~~ ^~ >pt1.c:3927:91: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge); > ~~ ^~~ >pt1.c:4059:5: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ge, ge->prev->fx3, ge->prev->fy3, ge->f... > ^~ >pt1.c:4080:15: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > g->name, ge, np-oldnp, i? 'y':'x'); > ^~ >pt1.c:4131:5: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ge, ge->prev->fx3, ge->prev->fy3, ge->f... > ^~ >pt1.c:4152:55: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...if(ISDBG(QUAD)) fprintf(stderr, " 0x%x %g/%g\n", ge, k1, k2); > ~~ ^~ >pt1.c:4693:13: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > g->name, pge, ge, nge); > ^~~ >pt1.c:4693:18: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > g->name, pge, ge, nge); > ^~ >pt1.c:4693:22: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > g->name, pge, ge, nge); > ^~~ >pt1.c:5943:45: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > fprintf(stderr, ": 0x%x\nnext -> 0x%p ", pge, nge); > ~~ ^~~ >pt1.c:5977:32: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > fprintf(stderr, ": 0x%x\n", nge); > ~~ ^~~ >pt1.c:6181:6: warning: format specifies type 'unsigned int' but the argument has > type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > nge, ngex->flags & GEXF_JLINE); > ^~~ >2 warnings generated. >pt1.c:7069:58: warning: format specifies type 'unsigned int' but the argument > has type 'GENTRY *' (aka 'struct gentry *') [-Wformat] > ...fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->b... > ~~ ^~ >pt1.c:7069:62: warning: format specifies type 'unsigned int' but the argument > has type 'struct gentry *' [-Wformat] > ...fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->b... > ~~ ^~~~~~~~ >pt1.c:7069:72: warning: format specifies type 'unsigned int' but the argument > has type 'struct gentry *' [-Wformat] > ..."reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd); > ~~ ^~~~~~~~ >pt1.c:7218:44: warning: format specifies type 'short' but the argument has type > 'int' [-Wformat] > fprintf(afm_file, "StartKernPairs %hd\n", kerning_pairs); > ~~~ ^~~~~~~~~~~~~ > %d >7 warnings generated. >43 warnings generated. > * ERROR: app-text/ttf2pt1-3.4.4-r1::gentoo failed (install phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-text/ttf2pt1-3.4.4-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/ttf2pt1-3.4.4-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:ttf2pt1-3.4.4-r1:20221114-203016.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/work/ttf2pt1-3.4.4' > * S: '/var/tmp/portage/app-text/ttf2pt1-3.4.4-r1/work/ttf2pt1-3.4.4' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 881321
:
832581
| 832583 |
832585
|
832587
|
832589
|
832591
|
832593