Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860780 - dev-lang/mono: build fails with "The contents of your 'monolite-linux/1A5E0066-58DC-428A-B21C-0AD6CDAE2789' directory may be out-of-date *** You may want to try 'make get-monolite-latest'"
Summary: dev-lang/mono: build fails with "The contents of your 'monolite-linux/1A5E006...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-24 18:34 UTC by moony
Modified: 2022-07-25 00:26 UTC (History)
1 user (show)

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


Attachments
full build log (build.log.xz,74.56 KB, application/x-xz)
2022-07-24 18:41 UTC, moony
Details
emerge --enfo output (emergeinfo,6.47 KB, text/plain)
2022-07-24 18:47 UTC, moony
Details
find /usr/local (fin,684.00 KB, text/plain)
2022-07-24 22:18 UTC, moony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description moony 2022-07-24 18:34:57 UTC
when I run "emerge mono it gives the error:

make[8]: *** [build/profiles/build.make:134: build/deps/basic-profile-check.exe] Error 1
*** The contents of your 'monolite-linux/1A5E0066-58DC-428A-B21C-0AD6CDAE2789' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [build/profiles/build.make:117: do-profile-check-monolite] Error 1
make[7]: *** [build/profiles/build.make:93: do-profile-check] Error 2
make[6]: *** [build/profiles/build.make:129: do-profile-check-monolite] Error 2
make[5]: *** [build/profiles/build.make:93: do-profile-check] Error 2
make[4]: *** [Makefile:58: profile-do--build--all] Error 2
make[3]: *** [Makefile:54: profiles-do--all] Error 2
make[2]: *** [Makefile:709: all-mcs] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.amd64/runtime'
make[1]: *** [Makefile:602: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.amd64'
make: *** [Makefile:530: all] Error 2
 [31;01m*[0m ERROR: dev-lang/mono-6.12.0.122::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-lang/mono-6.12.0.122::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-lang/mono-6.12.0.122::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-lang/mono-6.12.0.122/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/mono-6.12.0.122/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.amd64'
 [31;01m*[0m S: '/var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122'
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 18:36:21 UTC
Please attach the full build.log and emerge --info.
Comment 2 moony 2022-07-24 18:41:25 UTC
Created attachment 794078 [details]
full build log
Comment 3 moony 2022-07-24 18:47:46 UTC
Created attachment 794081 [details]
emerge --enfo output
Comment 4 moony 2022-07-24 18:47:59 UTC
*info
Comment 5 moony 2022-07-24 21:27:20 UTC
(In reply to Sam James from comment #1)
> Please attach the full build.log and emerge --info.

just did now
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 21:51:16 UTC
```
if test -w /var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.amd64/mcs; then :; else chmod -R +w /var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.amd64/mcs; fi
cd /var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.amd64/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14              ' CC='x86_64-pc-linux-gnu-gcc' all-profiles
mkdir -p -- build/deps
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/local/lib/mono/4.5/mscorlib.dll' directory.
make[6]: *** [build/profiles/build.make:134: build/deps/basic-profile-check.exe] Error 1
*** The runtime 'mono' doesn't appear to be usable.
```

This looks odd. Do you have some weird /usr/local/* stuff?
Comment 7 moony 2022-07-24 22:05:28 UTC
(In reply to Sam James from comment #6)
> ```
> if test -w
> /var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.
> amd64/mcs; then :; else chmod -R +w
> /var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.
> amd64/mcs; fi
> cd
> /var/tmp/portage/dev-lang/mono-6.12.0.122/work/mono-6.12.0.122-abi_x86_64.
> amd64/mcs && make --no-print-directory -s NO_DIR_CHECK=1
> PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14           
> ' CC='x86_64-pc-linux-gnu-gcc' all-profiles
> mkdir -p -- build/deps
> The assembly mscorlib.dll was not found or could not be loaded.
> It should have been installed in the `/usr/local/lib/mono/4.5/mscorlib.dll'
> directory.
> make[6]: *** [build/profiles/build.make:134:
> build/deps/basic-profile-check.exe] Error 1
> *** The runtime 'mono' doesn't appear to be usable.
> ```
> 
> This looks odd. Do you have some weird /usr/local/* stuff?

idk
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 22:06:09 UTC
1. Do you remember installing mono manually?
2. Run `find /usr/local` and share the output.
Comment 9 moony 2022-07-24 22:17:09 UTC
(In reply to Sam James from comment #8)
> 1. Do you remember installing mono manually?
> 2. Run `find /usr/local` and share the output.

1. yes, but it gave me the same error on compile, but still let me run make install somehow
2. gonna attach that
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 22:17:37 UTC
(In reply to moony from comment #9)
> (In reply to Sam James from comment #8)
> > 1. Do you remember installing mono manually?
> > 2. Run `find /usr/local` and share the output.
> 
> 1. yes, but it gave me the same error on compile, but still let me run make
> install somehow

No, please *don't* do that.

> 2. gonna attach that
Comment 11 moony 2022-07-24 22:18:00 UTC
Created attachment 794108 [details]
find /usr/local
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 22:21:04 UTC
(In reply to moony from comment #11)
> Created attachment 794108 [details]
> find /usr/local

Your system is contaminated with broken local installs. Please fix them (remove them) and try again.
Comment 13 moony 2022-07-24 22:22:51 UTC
(In reply to Sam James from comment #12)
> (In reply to moony from comment #11)
> > Created attachment 794108 [details]
> > find /usr/local
> 
> Your system is contaminated with broken local installs. Please fix them
> (remove them) and try again.

how should I do that?
Comment 14 moony 2022-07-24 23:38:59 UTC
(In reply to Sam James from comment #12)
> (In reply to moony from comment #11)
> > Created attachment 794108 [details]
> > find /usr/local
> 
> Your system is contaminated with broken local installs. Please fix them
> (remove them) and try again.

it gave the same error after cleaning up broken installs