Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198180 - "utimes" not available on interix
Summary: "utimes" not available on interix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Interix
: High major (vote)
Assignee: Gentoo non-Linux Team
URL: http://prefix-launcher.svn.sourceforg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-05 16:31 UTC by Markus Duft (RETIRED)
Modified: 2007-11-05 20:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Duft (RETIRED) gentoo-dev 2007-11-05 16:31:42 UTC
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
Comment 1 Fabian Groffen gentoo-dev 2007-11-05 17:03:52 UTC
excuse me for my ignorance, but what package is this about?
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2007-11-05 20:24:10 UTC
Ehm, it's prefix-portage, the ATIMES/MTIMES thing in chpathtool.
Comment 3 Fabian Groffen gentoo-dev 2007-11-05 20:28:08 UTC
Ok, I hope I can find some computer with loadavg < 1 so I can try to release a wanna-b fix tonight.
Comment 4 Fabian Groffen gentoo-dev 2007-11-05 20:38:11 UTC
Argh... you guys did all the work already.  Sorry, doing way too much concurrent.
Comment 5 Fabian Groffen gentoo-dev 2007-11-05 20:47:30 UTC
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.