
Good job Devs! This one is is working well. I upgraded a 3.7 VM to 3.8 rc4. Then I rebuilt all the ports in the df repo. Here's the results from that. python3 new version caused footprint mismatch in 40 ports. perl new version caused footprint mismatch in 19 ports. The defaults in gcc have changed a bit. Some warnings have become errors. glibc has rearranged something. Some function prototypes are no longer available as they were before. So some older source code had to have #include's added. That's all for the tl;dr. What follows is notes on problems and the resolution for each. Thanks again Devs! Tested CRUX 3.8-rc4 upgrade on a CRUX 3.7 VM. Worked well. Spent some time fiddling with a few error messages before I remembered to rejmerge :-O cyclic dependencies: python3-tomli python3-flit-core Haven't sorted this out yet but it is not serious. These seem to be in the df repo from CRUX 3.5/3.6 days. Since they are in opt repo they will be removed from df repo. #chmlib (df) chm_lib.c:727:15: error: implicit declaration of function 'pread64'; did you mean 'pread'? [-Wimplicit-function-declaration] 727 | readLen = pread64(h->fd, buf, (long)len, os); | ^~~~~~~ | pread NOTE: contrib version of chmlib will compile. This is a manifestation of the glibc change. #volume-key (df) libtool: install: (cd /var/tmp/crux/volume_key/src/volume_key-0.3.12/python/python3; /bin/sh "/var/tmp/crux/volume_key/src/volume_key-0.3.12/libtool" --tag CC --mode=relink gcc -O2 -march=x86-64 -pipe -Wall -W -Wcast-align -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wshadow -Wundef -Wwrite-strings -module -avoid-version -lglib-2.0 -L/usr/lib -ldl -lm -o _volume_key.la -rpath /usr/lib/python3.12/site-packages _volume_key_la-volume_key_wrap.lo ../../lib/libvolume_key.la -ldl -lm -lglib-2.0 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -inst-prefix-dir /var/tmp/crux/volume_key/pkg) Traceback (most recent call last): File "<string>", line 2, in <module> ModuleNotFoundError: No module named 'imp' /usr/lib/python3.10/imp.py in 3.7, not exist in 3.8 "This module is no longer part of the Python standard library. It was removed in Python 3.12 after being deprecated in Python 3.4.. The removal notice includes guidance for migrating code from imp to importlib.. The last version of Python that provided the imp module was Python 3.11." -- https://docs.python.org/3/library/imp.html Needed some extra work on the Pkgfile to use autoreconf. And still footprint due to python3 bump. Changes impl on 3.7 since it can co-exist there. #lynx (opt) In file included from LYMain.c:17: LYMain.c: In function 'main': LYMain.c:1454:24: error: implicit declaration of function 'cuserid' [-Wimplicit-function-declaration] 1454 | STREQ((char *) cuserid((char *) NULL), ANONYMOUS_USER) | ^~~~~~~ Upgrade to lynx 2.9.2-1 fixed it. #xmlto (contrib) xmlif/xmlif.l:46:8: error: type defaults to 'int' in declaration of 'ifsense' [-Wimplicit-int] 46 | static ifsense; /* sense of last `if' or unless seen */ | ^~~~~~~ xmlif/xmlif.l:243:1: error: return type defaults to 'int' [-Wimplicit-int] 243 | { | ^ fix: Upgrade to 0.0.29 #avidemux (df) src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr' gas changed assembler rules again. fix: added patch #ntp (df) configure: error: could not locate pthread_detach() fix: -Wno-error=int-conversion -Wno-error=incompatible-pointer-types first gets it through configure, second gets it through compile #vde2 (df) wirefilter.c:136:13: error: type of 'i' defaults to 'int' [-Wimplicit-int\] fix: -Wno-error=implicit-int #pmount (df) luks.c:147:7: error: implicit declaration of function 'creat' [-Wimplicit-function-declaration] 147 | f = creat( path, 0600); there seems to be some breakage caused by glibc. Suddenly basic functions like strtok_r and creat are not available to old source code. fix: patched to include fcntl.h and unistd.h in luks.h #gconf (df) basic-gconf-app.c:458:60: error: passing argument 1 of 'gtk_dialog_get_content_area' from incompatible pointer type [-Wincompatible-pointer-types] fix: CFLAGS+= -Wno-error=incompatible-pointer-types #alpine (df) osdepbas.c not found...try make clean and new make osdepckp.c not found...try make clean and new make osdeplog.c not found...try make clean and new make Building with SSL and plaintext passwords disabled unless SSL/TLS make[4]: *** [Makefile:955: osdepbas.c] Error 1 fix: change to latest snapshot #libicns (df) png2icns.c:328:25: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] fix: patched png2icns to include unistd.h A total of 337 ports were built to build all df repo ports and it's dependencies. -Daryl
participants (1)
-
Daryl F