https://bugzilla.novell.com/show_bug.cgi?id=776058
https://bugzilla.novell.com/show_bug.cgi?id=776058#c1
--- Comment #1 from Graham Anderson 2012-08-15 16:58:12 UTC ---
I've not seen this behaviour/bug since before Go 1.0 release. I first saw this
on the build hosts when the Go bootstrap moved from autotools to the native
toolchain and it was this same issue that led me to introduce that -s flag to
skip attempts to reinstall the std lib packages on the builders.
build:/obs/build/Linux:openSUSE_12.2 # stat
/usr/lib64/go/pkg/linux_amd64/runtime.a
File: `/usr/lib64/go/pkg/linux_amd64/runtime.a'
Size: 890932 Blocks: 1744 IO Block: 4096 regular file
Device: fd01h/64769d Inode: 259170 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-08-15 18:48:35.766672241 +0200
Modify: 2012-08-06 17:52:00.000000000 +0200
Change: 2012-08-15 18:48:11.586679656 +0200
Birth: -
build:/obs/build/Linux:openSUSE_12.2 # stat
/usr/lib64/go/src/pkg/runtime/defs_linux.go
File: `/usr/lib64/go/src/pkg/runtime/defs_linux.go'
Size: 2409 Blocks: 8 IO Block: 4096 regular file
Device: fd01h/64769d Inode: 260815 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-08-15 18:48:35.206671536 +0200
Modify: 2012-08-06 17:52:44.000000000 +0200
Change: 2012-08-15 18:48:12.302679435 +0200
Birth: -
So the modify time *is* older for the source, which is triggering the
rebuild/reinstall of the runtime package. Judging by the date this seems to be
happening on the builder during package creation and not when the RPM unbundles
onto local filesystem.
I'll see if I can recreate on my local OBS, if not I propose touching all the
.a archives in the .spec %post while i try and track the underlying issue on
openSUSE obs.
Sascha, thoughts?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.