make build fails

1,183 views
Skip to first unread message

James T. Sprinkle

unread,
Jul 30, 2013, 3:21:27 PM7/30/13
to min...@googlegroups.com
I have tried to build the "tracking current" code over the last couple weeks and keep getting errors.  The latest is this (which may have been the problem all along) when I did a git pull today followed by a make build from a clean login environment:

#      link  texindex/texindex
clang      -static  -o texindex  texindex.o -L/usr/src/gnu/usr.bin/texinfo/common -lcommon
sed 's/__VERSION__/4.8/g' /usr/src/gnu/dist/texinfo/util/texinfo-cat.in >texinfo.cat
#    create  texinfo/info-stnd.info
makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split --no-version-header -o info-stnd.info /usr/src/gnu/dist/texinfo/doc/info-stnd.texi
make: exec(makeinfo) failed (no such file or directory)
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin/texinfo
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin/texinfo
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin
*** Error code 1

Stop.
make: stopped in /usr/src/gnu
*** Error code 1

Stop.
make: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src


Thomas Cort

unread,
Jul 30, 2013, 3:33:53 PM7/30/13
to min...@googlegroups.com
Hi,

There is a note in /usr/src/docs/UPDATING about the commands to run to
update. Those commands didn't work for me. I ran the following
commands to get past the error:

pkgin up
pkgin in gtexinfo
cd /usr/src/gnu/usr.bin/texinfo
makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split -o info-stnd.info
/usr/src/gnu/dist/texinfo/doc/info-stnd.texi
makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split -o info.info
/usr/src/gnu/dist/texinfo/doc/info.texi
makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split -o texinfo.info
/usr/src/gnu/dist/texinfo/doc/texinfo.txi
cd ../../..
make -C gnu/usr.bin/texinfo all
make -C gnu/usr.bin/texinfo all install
TOOL_MAKEINFO=/usr/src/gnu/usr.bin/texinfo/makeinfo/makeinfo
make build
> --
> You received this message because you are subscribed to the Google Groups
> "minix3" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to minix3+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Thomas Cort

unread,
Jul 30, 2013, 3:36:43 PM7/30/13
to min...@googlegroups.com
Oops, gmail line wrapped the commands. here's a more clear version:

pkgin in gtexinfo

cd /usr/src/gnu/usr.bin/texinfo

makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split \
 -o info-stnd.info /usr/src/gnu/dist/texinfo/doc/info-stnd.texi

makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split \
-o info.info /usr/src/gnu/dist/texinfo/doc/info.texi

makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split \
-o texinfo.info /usr/src/gnu/dist/texinfo/doc/texinfo.txi

cd ../../..

make -C gnu/usr.bin/texinfo all

make -C gnu/usr.bin/texinfo all install \
TOOL_MAKEINFO=/usr/src/gnu/usr.bin/texinfo/makeinfo/makeinfo

make build



James T. Sprinkle

unread,
Jul 30, 2013, 3:51:47 PM7/30/13
to min...@googlegroups.com


On Tuesday, July 30, 2013 12:36:43 PM UTC-7, Thomas Cort wrote:
Oops, gmail line wrapped the commands. here's a more clear version:

pkgin in gtexinfo

cd /usr/src/gnu/usr.bin/texinfo

makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split \
 -o info-stnd.info /usr/src/gnu/dist/texinfo/doc/info-stnd.texi

makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split \
-o info.info /usr/src/gnu/dist/texinfo/doc/info.texi

makeinfo -I/usr/src/gnu/dist/texinfo/doc --no-split \
-o texinfo.info /usr/src/gnu/dist/texinfo/doc/texinfo.txi

cd ../../..

make -C gnu/usr.bin/texinfo all

make -C gnu/usr.bin/texinfo all install \
TOOL_MAKEINFO=/usr/src/gnu/usr.bin/texinfo/makeinfo/makeinfo

make build


Thanks Thomas!  I'll give this a try.

Jim

James T. Sprinkle

unread,
Jul 30, 2013, 4:53:30 PM7/30/13
to min...@googlegroups.com
That worked!  Thanks!  I guess I should RTFM, huh?

Jim

Nicholas Heath

unread,
Aug 24, 2013, 2:56:37 AM8/24/13
to min...@googlegroups.com
Hey, I read docs/UPDATING and was missing those 5 initial commands..... I am guessing UPDATING is assuming it was already installed and configured which it wasn't on my install at all.
-Nic

Mayowa Adewole

unread,
Apr 17, 2016, 12:39:32 PM4/17/16
to minix3
Please help me i've been running into this same spot each time i try to make build from the /usr/src folder, i have followed every instruction as supposed. I also copied a line src/docs/UPDATING 
i have never ran make build successfully, i've been stuck on this spot for over 1 week. I'll appreciate any suggestion. Thank you.
VirtualBox_MINIX3_18_04_2016_00_34_37.png

Mayowa Adewole

unread,
Apr 17, 2016, 5:23:56 PM4/17/16
to minix3
Stuck on this screen when i run make build. Someone please help
VirtualBox_MINIX3_18_04_2016_05_22_12.png

Jacob Adams

unread,
Apr 18, 2016, 9:41:42 AM4/18/16
to min...@googlegroups.com, adewol...@gmail.com
Despite the fact that you've sent many mails to the list at this point, I've yet to see enough information to help you. 

What hardware/virtualization are you using? What version?

Can you provide a complete build log somewhere?

It appears you are building minix in minix. 
Are you using the release 3.3.0 or a snapshot? 

Have you tried building current from the latest snapshot? That will probably work best. 

I don't think we guarantee that current can be build from the previous release and I don't know the last time anyone checked that it actually worked. 

Jacob 
(Ccing you to make sure you receive this. Apologies if you get this twice)
--
You received this message because you are subscribed to the Google Groups "minix3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minix3+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<VirtualBox_MINIX3_18_04_2016_05_22_12.png>

Pierre Métras

unread,
May 27, 2016, 4:23:10 PM5/27/16
to minix3, adewol...@gmail.com
Hello,

I have exactly the same problem as Jacob, trying to build the current version retrieved from GIT from minix 3.3.0 on a VirtualBox. The make process freezes on the dependall step. I let it run (high CPU usage) from 24h hours before killing it.

Next step is when you reboot minix, then you get Jacob's second screenshot. The solution to this problem is given somewhere in this group: Start minix in single user group, and delete the files in /usr/pkg/etc/rc.d. The Kerberos and ssh packages pulled from the latest version are creating this problem where minix can't complete its boot and you don't have access to the console.

Back to the initial problem: trying to compile minix current from version 3.3.0. If I try to start again the build process, I get stuck to # make build for hours with high CPU... # make clean or make cleandir gives a similar result.

Is it possible to build the current version from minix and how to do it? What would be a relatively stable snapshot to do it? Like Jacob probably, I followed the instructions from the wiki: http://wiki.minix3.org/doku.php?id=developersguide:trackingcurrent

Thanks
--
Pierre Métras

Carter Timm

unread,
Jun 6, 2016, 5:00:51 AM6/6/16
to minix3
I have been having the same issue for some time now and still have not figured out a solution for this. 

If you're just looking for a version of MINIX to play around with that WILL compile without making any changes to the source, you may want to check out previous versions (found HERE). I have been toying with version 3.2.0 (the ISO for this version at the link I provided already has all the source files under /usr/src, so no need to clone using git). 

On my machine, running a 'make world' only takes about a minute.

Hope this helps!

--Carter

Carter Timm

unread,
Jun 6, 2016, 3:19:18 PM6/6/16
to minix3
I should specify that the first build takes 5 minutes or so, consecutive builds take about a minute.

--Carter

Jacob Adams

unread,
Jun 6, 2016, 5:18:09 PM6/6/16
to min...@googlegroups.com
On Fri, May 27, 2016 at 1:32 PM, Pierre Métras <pier...@gmail.com> wrote:
Hello,

I have exactly the same problem as Jacob, trying to build the current version retrieved from GIT from minix 3.3.0 on a VirtualBox. The make process freezes on the dependall step. I let it run (high CPU usage) from 24h hours before killing it.

Um, I was not having any build errors, but whatever. 
 
Is it possible to build the current version from minix and how to do it? What would be a relatively stable snapshot to do it? Like Jacob probably, I followed the instructions from the wiki: http://wiki.minix3.org/doku.php?id=developersguide:trackingcurrent
 
I would recommend you build current from the latest snapshot which can be found here: http://download.minix3.org/iso/snapshot/
I've now updated the wiki to suggest this, any real minix developers listening feel free to change that if its not correct. 
Based on this new set of messages, however, it is no longer possible to build current from 3.3.0 and I dont think anyone has the time to fix it.

Pierre Métras

unread,
Jun 7, 2016, 1:15:51 PM6/7/16
to min...@googlegroups.com
Hello,

I've progressed a bit in my quest to run my own version since my last post. For those who want to have a 3.4.0 version running with corresponding sources, here is what I've done.

I've downloaded the minix_R3.4.0rc2-373b793.iso.bz2 image from the snapshots repository and created a new virtual machine to run it from. This 3.4.0 image includes X window which is quite cool...
Then I got the corresponding sources with "git checkout 373b793".
A "make build" as root did not brought any critical errors; there are a few errors at the end of the process for missing tools or configuration. And then I rebooted. I had changed the release number in the minix/include/minix/config.h file to confirm that my kernel is running with "uname -a".

As I'm reading the Minix book, that'll be easier to do some changes in the code and being able to see the results.

Thanks
--
Pierre Métras

--
You received this message because you are subscribed to a topic in the Google Groups "minix3" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/minix3/vNd00q5PdnA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to minix3+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages