Comments (10)
Can you specify which version of Debian you're hitting the issue on?
from ngdevkit.
Of course. These are the full details of my virtual machine configuration:
memory: 2.0 GiB
processor: Intel® Core™ i7-8550U CPU @ 1.80GHz
graphics: Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
base system: Debian GNU/Linux 9 (stretch) 64-bit
virtualization : oracle
The iso I used to install Debian was the debian-9.5.0-amd64-netinst.iso
Prior to build the tool chain, I made the pre-requisite. I precise that I had to add the small fix suggested by ozzyyzzo4096
apt-get install gcc curl
GCC_VERSION_PKG=$(apt-cache depends gcc | awk '/Depends.*gcc/ {print $2}')
apt-get build-dep $GCC_VERSION_PKG
apt-get install graphicsmagick-imagemagick-compat
apt-get build-dep sdcc
apt-get install imagemagick
apt-get install libsdl2-dev
apt-get install python-pygame
from ngdevkit.
Hey thx for your report, I indeed found a bug during the end of the devkit compilation, that one is fixed in 565f7b6
However when I tested on a pristine Debian Stretch set up with virt-builder, I could not reproduce your specific error during gcc compilation, nor the missing dependency :/
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Before compiling the entire devkit, I made sure to update to the very latest Debian packages:
sudo apt-get update
sudo apt-get upgrade
Could you maybe try with that and make sure you have installed all the prerequisites? Then in the ngdevkit directory:
make distclean
make
If you still have the issue, I'd appreciate to see the entire compilation log to spot the first error.
from ngdevkit.
Oh, when using the image you mentioned, I'm apparently hitting different mirrors and I can see now that package imagemagick is deprecated in favor of graphicsmagick and graphicsmagick-imagemagick-compat.
I'll update README.md accordingly shortly.
from ngdevkit.
I decided to completly override my Debian installation so I am ready to restart from scratch.
I will try again after your update.
from ngdevkit.
OK so, it turns out that graphicsmagick not really replaces imagemagick, it only "provides" (in the packaging sense) it via graphicsmagick-imagemagick-compat.
imagemagick for some reason seems to be needed by one of the build dependencies that are being installed in the README. So in 8a81c19, I make sure to install it before everything else and graphicsmagick-imagemagick-compat is not required anymore.
Could you update to this revision and try to rebuild the entire toolkit now?
apt-get update
apt-get upgrade
make distclean
make
I've used the same apt mirrors as your Debian image, and installing the deps in that new order seems to be sufficient for the building process to finish successfully.
from ngdevkit.
The result of apt-get build-dep sdcc (in pre-requisite) is the following:
**Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
builddeps:sdcc : Depends: graphicsmagick-imagemagick-compat but it is not going to be installed
E: Unable to correct problems, you have held broken packages.**
Is it good sign ? I have stopped and will continue after your opinion.
from ngdevkit.
Hmm, I have no idea why the build succeeded on my VM and not on yours, but I know why apt wants to install graphicsmagick dependencies:
ngdevkit@ngdk:~$ apt-cache showsrc sdcc
Package: sdcc
Binary: sdcc, sdcc-libraries, sdcc-ucsim, sdcc-doc
Version: 3.5.0+dfsg-2
Maintainer: Gudjon I. Gudjonsson <[email protected]>
Uploaders: Bdale Garbee <[email protected]>
Build-Depends: autoconf, autotools-dev, bison, debhelper (>= 9), dpkg-dev (>= 1.16.1~), flex, gputils, libboost-dev, libncurses5-dev, libtool
Build-Depends-Indep: ghostscript, graphicsmagick-imagemagick-compat, lyx, texlive-fonts-recommended, texlive-generic-recommended, texlive-latex-recommended, gsfonts**
[...]
In fact, there are the only dependencies that we need to rebuild sdcc for ngdevkit are the 'Build-Depends" ones, we can get rid of the "Build-Depends-Indep" ones.
So, I think you can fix your problem by replacing "apt-get build-dep sdcc" with "apt-get build-dep --arch-only sdcc".
I just did that on a Debian 9 for WSL (windows 10), and the dependencies installed fine and the build process finished as expected.
Could you give it a try? If that fixes the problem I'll push a commit with that change in the various README files.
from ngdevkit.
Yes it works with well "apt-get build-dep --arch-only sdcc"
from ngdevkit.
Pushed the according doc update, thanks for reporting the issue.
from ngdevkit.
Related Issues (20)
- How to convert Sprites via ngdevkit? HOT 1
- Linux compilation instructions: Ubuntu readline package name change HOT 1
- Deferred VBL routines, audio, and then some more HOT 4
- Address error HOT 1
- Packaging of ngdevkit-toolchain is broken for sdcc HOT 1
- deb packages are broken in launchpad for Jammy 22.04 HOT 1
- pip3 install pygame HOT 3
- SDCC no longer builds in MSYS2
- Tracker music support for ngdevkit? HOT 2
- GnGeo compatible with MAME? HOT 6
- Software DIP system doesn't work with optimized builds HOT 5
- MSYS2 pacman 404s when trying to download ngdevkit repo database HOT 7
- Move MSYS2 CI builds to one branch per sub-project HOT 1
- Clean nightly tags in msys2-ngdevkit repository after new commits/builds
- Update ngdevkit docs to use the new ucrt64 packages HOT 1
- rpm rebuild workflow in COPR HOT 1
- PyGame may load palette .png incorrectly, which breaks ngdevkit tools
- Games no longer work in MAME HOT 3
- SDCC compiled with program-prefix breaks .rel files generated with sdas
- ngdevkit cannot extract toolchain tarball with recent msys2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngdevkit.