Activity log for bug #1523739

Date Who What changed Old value New value Message
2015-12-08 02:26:50 hcorion bug added bug
2015-12-08 02:41:20 hcorion description I was trying to compile the pinta source code from the git repo and I failed to make pinta. I was unfamiliar with mono, but I know how to search the web. I was able to come to the conclusion that it had to do with Mono.Unix (for the scripts that uncluded the using Mono.Unix; line) which is found in the Mono.Posix dll. I found out that if I change a line in all the .csproj files that include Mono.Posix, I was able to fix it. Here's how: 1. Go to a .csproj file that uses Mono.Posix (for example Pinta.Core/Pinta.Core.csproj) 2. find the line that says something like this: <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" /> <Reference Include="System" /> 3. And change Version=2.0.0.0 to Version=4.0.0.0 4. Save the file and move onto the next .csproj file. Why is this like that? If you look at the top of the .csproj file it mentions that it is using ToolsVersion="4.0", which I'm assuming is mono version 4.0, however the .csproj is trying to use the old 2.0 version of the Mono.Posix.dll, which doesn't exist in the 4.0 (or 4.5) directory of mono. Unfortunately, I was still unable to install Pinta. during the sudo make install section I got more errors. It was complaining about how MakeDir was not a registered program, or something like that. I was able to fix that by changing ToolsVersion="3.5" to ToolsVersion="4.0" at the start of the Pinta.Install.Proj file. System that produced the errors: x86_64 Arch Linux Installation running KDE and the very latest updates. mono 4.2.1.102-1 (https://www.archlinux.org/packages/extra/x86_64/mono/) mono-addins 1.1-1 (https://www.archlinux.org/packages/extra/x86_64/mono-addins/) I was also able to find two other people on Ubuntu with the same problem as mine: https://groups.google.com/forum/#!searchin/pinta/compile/pinta/vDZQBRkn2SM/AznD17zOWmQJ https://groups.google.com/forum/#!topic/pinta/JkYDwyZ0qZ8 I was trying to compile the pinta source code from the git repo and I failed to make pinta. I was unfamiliar with mono, but I know how to search the web. I was able to come to the conclusion that it had to do with Mono.Unix (for the scripts that included the using Mono.Unix; line) which is found in the Mono.Posix dll. I found out that if I change a line in all the .csproj files that include Mono.Posix, I was able to fix it. Here's how: 1. Go to a .csproj file that uses Mono.Posix (for example Pinta.Core/Pinta.Core.csproj) 2. find the line that says something like this: <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />     <Reference Include="System" /> 3. And change Version=2.0.0.0 to Version=4.0.0.0 4. Save the file and move onto the next .csproj file. Why is this like that? If you look at the top of the .csproj file it mentions that it is using ToolsVersion="4.0", which I'm assuming is mono version 4.0, however the .csproj is trying to use the old 2.0 version of the Mono.Posix.dll, which doesn't exist in the 4.0 (or 4.5) directory of mono. Unfortunately, I was still unable to install Pinta. during the sudo make install section I got more errors. It was complaining about how MakeDir was not a registered program, or something like that. I was able to fix that by changing ToolsVersion="3.5" to ToolsVersion="4.0" at the start of the Pinta.Install.Proj file. System that produced the errors: x86_64 Arch Linux Installation running KDE and the very latest updates. mono 4.2.1.102-1 (https://www.archlinux.org/packages/extra/x86_64/mono/) mono-addins 1.1-1 (https://www.archlinux.org/packages/extra/x86_64/mono-addins/) I was also able to find two other people on Ubuntu with the same problem as mine: https://groups.google.com/forum/#!searchin/pinta/compile/pinta/vDZQBRkn2SM/AznD17zOWmQJ https://groups.google.com/forum/#!topic/pinta/JkYDwyZ0qZ8
2016-05-03 13:35:13 kolAflash attachment added Be careful when running the script! It will change files without backup and without further notice! https://bugs.launchpad.net/pinta/+bug/1523739/+attachment/4654481/+files/Pinta-1.6_mono4-patch-script.sh
2016-05-03 13:37:09 kolAflash attachment added Fix for Pinta-1.6 as patch (instead of a script). https://bugs.launchpad.net/pinta/+bug/1523739/+attachment/4654482/+files/Pinta-1.6_mono4.patch
2016-05-03 13:39:29 kolAflash attachment added Fix for master commit ad23dab (2016-04-27) as patch (instead of a script). https://bugs.launchpad.net/pinta/+bug/1523739/+attachment/4654484/+files/pinta-master-2016-04-28-ad23dab_mono4.patch
2016-05-15 21:03:56 Cameron White pinta: status New Fix Committed
2016-05-15 21:03:56 Cameron White pinta: milestone 1.7
2016-05-15 21:03:56 Cameron White pinta: assignee Cameron White (cameronwhite91)
2020-08-05 08:43:08 grofaty pinta: status Fix Committed Fix Released