the "utimes" function is not available on interix. instead use the utime function. this is already fixed by the above patch in URL, checked in into prefix-launcher. Reproducible: Always Steps to Reproduce: 1. configure 2. gmake 3. Actual Results: compilation fails Expected Results: compilation does not fail. gmake[3]: Entering directory `/tools/mduft/src/prefix-launcher-trunk/buildroot/portage/pc312001.i586-pc-interix5.2/src' gcc -DPACKAGE_NAME=\"portage\" -DPACKAGE_TARNAME=\"portage-prefix\" -DPACKAGE_VERSION=\"2.1.20\" -DPACKAGE_STRING=\"portage\ 2.1.20\" -DPACKAGE_BUGREPORT=\"grobian@gentoo.org\" -DPACKAGE=\"portage-prefix\" -DVERSION=\"2.1.20\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_ERRNO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_FCNTL_H=1 -DATIME_SEC=st_atime -DMTIME_SEC=st_mtime -I. -I/tools/mduft/src/prefix-launcher-trunk/buildroot/portage/prefix-portage-2.2.00.8280/src -g -O2 -MT chpathtool.o -MD -MP -MF .deps/chpathtool.Tpo -c -o chpathtool.o /tools/mduft/src/prefix-launcher-trunk/buildroot/portage/prefix-portage-2.2.00.8280/src/chpathtool.c mv -f .deps/chpathtool.Tpo .deps/chpathtool.Po gcc -g -O2 -o chpathtool chpathtool.o chpathtool.o(.text+0x741): In function `chpath': /tools/mduft/src/prefix-launcher-trunk/buildroot/portage/prefix-portage-2.2.00.8280/src/chpathtool.c:109: undefined reference to `_utimes' chpathtool.o(.text+0x8a1):/tools/mduft/src/prefix-launcher-trunk/buildroot/portage/prefix-portage-2.2.00.8280/src/chpathtool.c:109: undefined reference to `_utimes' collect2: ld returned 1 exit status
excuse me for my ignorance, but what package is this about?
Ehm, it's prefix-portage, the ATIMES/MTIMES thing in chpathtool.
Ok, I hope I can find some computer with loadavg < 1 so I can try to release a wanna-b fix tonight.
Argh... you guys did all the work already. Sorry, doing way too much concurrent.
Fixed in 8433 Thanks a lot for the patch. I made a small change to avoid the stack allocations in the loop. Will release a new portage version after merging with the current trunk.