* Package: sci-astronomy/predict-2.2.3-r2:0 * Repository: gentoo * Maintainer: sci-astronomy@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking predict_2.2.3.orig.tar.gz to /var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work >>> Unpacking predict_2.2.3-3.1.diff.gz to /var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work >>> Source unpacked in /var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work >>> Preparing source in /var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work/predict-2.2.3 ... * Applying predict-2.2.3-earthtrack.patch ... [ ok ] * Applying predict_2.2.3-3.1.diff ... [ ok ] * Applying patches from debian/patches/. ... * 000_build_system.diff ... [ ok ] * 010_reboostrap.diff ... [ ok ] * 020_predict_h.diff ... [ ok ] * 030_predict_c.diff ... [ ok ] * 040_fodtrack_c.diff ... [ ok ] * 050_map_main_c.diff ... [ ok ] * 060_map_c.diff ... [ ok ] * 070_map_cb_c.diff ... [ ok ] * 080_earthtrack_c.diff ... [ ok ] * 090_gsat_README.diff ... [ ok ] * 100_gsat_globals_h.diff ... [ ok ] * 110_vocalizer_c.diff ... [ ok ] * 120_radio_FT847.diff ... [ ok ] * 121_predict-g1yyh.diff ... [ ok ] * 130_gtk2.diff ... [ ok ] * 140_fix-buffer-overflow.diff ... [ ok ] * 141_buffer_overflow.diff ... [ ok ] * 150_man_predict-g1yhh.diff ... [ ok ] * 180_reworked_gui.diff ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work/predict-2.2.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work/predict-2.2.3 ... * Compiling predict predict.c:1945:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bailout(string) ^ predict.c:1961:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void TrackDataOut(antfd, elevation, azimuth) ^ predict.c:2030:34: warning: implicit conversion from 'double' to 'int' changes value from 1.012229 to 1 [-Wliteral-conversion] if ((type=SOCK_STREAM && listen(s,qlen))<0) ~~~~~~ ^ predict.c:63:12: note: expanded from macro 's' #define s 1.012229 ^~~~~~~~ predict.c:2030:42: warning: result of comparison of constant 0 with boolean expression is always false [-Wtautological-constant-compare] if ((type=SOCK_STREAM && listen(s,qlen))<0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ predict.c:2039:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void socket_server(predict_name) ^ predict.c:2394:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double FixAngle(x) ^ predict.c:2406:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double PrimeAngle(x) ^ predict.c:2415:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SubString(string,start,end) ^ predict.c:2440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void CopyString(source, destination, start, end) ^ predict.c:2456:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Abbreviate(string,n) ^ predict.c:2478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char KepCheck(line1,line2) ^ predict.c:2516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void InternalUpdate(x) ^ predict.c:2544:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *noradEvalue(value) ^ predict.c:2566:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Data2TLE(x) ^ predict.c:2664:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double ReadBearing(input) ^ predict.c:2942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char CopyFile(source, destination) ^ predict.c:3026:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int AutoUpdate(string) ^ predict.c:3270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long DayNum(m,d,y) ^ predict.c:3311:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Daynum2String(daynum) ^ predict.c:3347:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double GetStartTime(mode) ^ predict.c:3488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FindMoon(daynum) ^ predict.c:3680:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FindSun(daynum) ^ predict.c:3720:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void PreCalc(x) ^ predict.c:3884:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char AosHappens(x) ^ predict.c:3911:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char Decayed(x,time) ^ predict.c:3933:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char Geostationary(x) ^ predict.c:4031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Print(string,mode) ^ predict.c:4209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int PrintVisible(string) ^ predict.c:4280:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Predict(mode) ^ predict.c:4560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char KbEdit(x,y) ^ predict.c:4910:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SingleTrack(x,speak) ^ predict.c:6130:7: warning: passing arguments to 'mkdir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdir(temp,0777); ^ predict.c:6162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int QuickFind(string, outputfile) ^ predict.c:6283:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int QuickPredict(string, outputfile) ^ predict.c:6483:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv) ^ 35 warnings generated. * Compiling predict-g1yyh predict-g1yyh.c:1774:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double reduce(value,rangeMin,rangeMax) ^ predict-g1yyh.c:1792:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void getMaidenHead(mLtd,mLng,mStr) ^ predict-g1yyh.c:1954:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bailout(string) ^ predict-g1yyh.c:1970:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void TrackDataOut(antfd, elevation, azimuth) ^ predict-g1yyh.c:2034:34: warning: implicit conversion from 'double' to 'int' changes value from 1.012229 to 1 [-Wliteral-conversion] if ((type=SOCK_STREAM && listen(s,qlen))<0) { ~~~~~~ ^ predict-g1yyh.c:82:12: note: expanded from macro 's' #define s 1.012229 ^~~~~~~~ predict-g1yyh.c:2034:42: warning: result of comparison of constant 0 with boolean expression is always false [-Wtautological-constant-compare] if ((type=SOCK_STREAM && listen(s,qlen))<0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ predict-g1yyh.c:2042:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void socket_server(predict_name) ^ predict-g1yyh.c:2373:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double FixAngle(x) ^ predict-g1yyh.c:2385:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double PrimeAngle(x) ^ predict-g1yyh.c:2394:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *SubString(string,start,end) ^ predict-g1yyh.c:2416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void CopyString(source, destination, start, end) ^ predict-g1yyh.c:2431:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Abbreviate(string,n) ^ predict-g1yyh.c:2452:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char KepCheck(line1,line2) ^ predict-g1yyh.c:2490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void InternalUpdate(x) ^ predict-g1yyh.c:2518:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *noradEvalue(value) ^ predict-g1yyh.c:2540:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Data2TLE(x) ^ predict-g1yyh.c:2638:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double ReadBearing(input) ^ predict-g1yyh.c:2897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char CopyFile(source, destination) ^ predict-g1yyh.c:2982:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int AutoUpdate(string) ^ predict-g1yyh.c:3276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long DayNum(m,d,y) ^ predict-g1yyh.c:3307:11: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] x=ftime(&tptr); ^ /usr/include/sys/timeb.h:31:3: note: 'ftime' has been explicitly marked deprecated here __attribute_deprecated_msg__ ("Use gettimeofday or clock_gettime instead"); ^ /usr/include/sys/cdefs.h:350:19: note: expanded from macro '__attribute_deprecated_msg__' __attribute__ ((__deprecated__ (msg))) ^ predict-g1yyh.c:3312:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Daynum2String(daynum, stlen, stfmt) ^ predict-g1yyh.c:3334:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double GetStartTime(mode) ^ predict-g1yyh.c:3474:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FindMoon(daynum) ^ predict-g1yyh.c:3676:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FindSun(daynum) ^ predict-g1yyh.c:3716:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void PreCalc(x) ^ predict-g1yyh.c:3876:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char AosHappens(x) ^ predict-g1yyh.c:3902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char Decayed(x,time) ^ predict-g1yyh.c:3924:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char Geostationary(x) ^ predict-g1yyh.c:4087:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...mvprintw(1,60, "%s (%d)", sat[indx].name, sat[indx].catnum); ~~ ^~~~~~~~~~~~~~~~ %ld predict-g1yyh.c:4091:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(3,0,head2); ^~~~~ predict-g1yyh.c:4091:17: note: treat the string as an argument to avoid this mvprintw(3,0,head2); ^ "%s", predict-g1yyh.c:4015:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Print(string,mode) ^ predict-g1yyh.c:4169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int PrintVisible(string) ^ predict-g1yyh.c:4232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Predict(mode) ^ predict-g1yyh.c:4488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char KbEdit(x,y) ^ predict-g1yyh.c:4921:44: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] mvprintw(1,21,"%-24s (%d)", sat[x].name, sat[x].catnum); ~~ ^~~~~~~~~~~~~ %ld predict-g1yyh.c:4843:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SingleTrack(x,speak) ^ predict-g1yyh.c:5329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void MultiColours(scrk, scel) ^ predict-g1yyh.c:5456:10: warning: format specifies type 'int' but the argument has type 'const char *' [-Wformat] ((strlen(sat[indx].name)>12) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ predict-g1yyh.c:5469:3: warning: format specifies type 'int' but the argument has type 'const char *' [-Wformat] ((strlen(sat[indx].name)>12) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ predict-g1yyh.c:5626:2: warning: format specifies type 'int' but the argument has type 'const char *' [-Wformat] (strlen(sat[(int)satindex[indx]].name)>12) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ predict-g1yyh.c:5641:2: warning: format specifies type 'int' but the argument has type 'const char *' [-Wformat] (strlen(sat[(int)satindex[indx]].name)>12) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ predict-g1yyh.c:5697:2: warning: format specifies type 'int' but the argument has type 'const char *' [-Wformat] (strlen(sat[(int)satindex[indx]].name)>12) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ predict-g1yyh.c:5709:2: warning: format specifies type 'int' but the argument has type 'const char *' [-Wformat] (strlen(sat[(int)satindex[indx]].name)>12) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ predict-g1yyh.c:5356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void MultiTrack(multitype,disttype) ^ predict-g1yyh.c:6004:7: warning: passing arguments to 'mkdir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdir(temp,0777); ^ predict-g1yyh.c:6024:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int QuickFind(string, outputfile) ^ predict-g1yyh.c:6134:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int QuickPredict(string, outputfile) ^ predict-g1yyh.c:6328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv) ^ 49 warnings generated. * Compiling vocalizer vocalizer/vocalizer.c:36:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long buffer2long(indx) ^ vocalizer/vocalizer.c:54:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int buffer2int(indx) ^ vocalizer/vocalizer.c:70:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int wavplay(filename) ^ vocalizer/vocalizer.c:182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void saynumber(num) ^ vocalizer/vocalizer.c:241:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv) ^ 5 warnings generated. * Compiling fodtrack fodtrack.c:100:3: error: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] usleep(1); ^ fodtrack.c:100:3: note: did you mean 'sleep'? /usr/include/unistd.h:464:21: note: 'sleep' declared here extern unsigned int sleep (unsigned int __seconds); ^ fodtrack.c:144:7: error: call to undeclared function 'getpt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fd=getpt(); ^ fodtrack.c:144:7: note: did you mean 'getopt'? /usr/include/bits/getopt_core.h:91:12: note: 'getopt' declared here extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^ fodtrack.c:149:4: error: call to undeclared function 'unlockpt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] unlockpt(fd); ^ fodtrack.c:154:28: error: call to undeclared function 'ptsname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] write(devfilefd, (char*)ptsname(fd), strlen((char*)ptsname(fd))); ^ fodtrack.c:154:28: note: did you mean 'ttyname'? /usr/include/unistd.h:799:14: note: 'ttyname' declared here extern char *ttyname (int __fd) __THROW; ^ fodtrack.c:154:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] write(devfilefd, (char*)ptsname(fd), strlen((char*)ptsname(fd))); ^~~~~~~~~~~~~~~~~~ fodtrack.c:154:48: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] write(devfilefd, (char*)ptsname(fd), strlen((char*)ptsname(fd))); ^~~~~~~~~~~~~~~~~~ fodtrack.c:164:52: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] printf("Using %s as pseudo terminal device.\n", ptsname(fd)); ~~ ^~~~~~~~~~~ %d fodtrack.c:169:4: error: call to undeclared function 'daemon'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] daemon(0,0); ^ fodtrack.c:175:7: error: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] usleep(100); ^ 3 warnings and 6 errors generated. * ERROR: sci-astronomy/predict-2.2.3-r2::gentoo failed (compile phase): * failed fodtrack * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3120: Called die * The specific snippet of code: * ${COMPILER} ${c}.c -lm -o ${c} || die "failed ${c}"; * * If you need support, post the output of `emerge --info '=sci-astronomy/predict-2.2.3-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-astronomy/predict-2.2.3-r2::gentoo'`. * The complete build log is located at '/var/log/portage/sci-astronomy:predict-2.2.3-r2:20220918-115023.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-astronomy/predict-2.2.3-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/predict-2.2.3-r2/temp/environment'. * Working directory: '/var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work/predict-2.2.3/utils/fodtrack-0.1' * S: '/var/tmp/portage/sci-astronomy/predict-2.2.3-r2/work/predict-2.2.3'