New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20378 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

base: parallel build broken

Reported by: ryandesign@… Owned by: blb@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.8.0
Keywords: Cc: jmr@…
Port:

Description

I can't build MacPorts trunk @54097 on Mac OS X 10.4.11 Intel

===> making install in src/programs
===> making install in src/programs/daemondo
/usr/bin/install -c -o rschmidt -g admin -m 555 build/daemondo /macportstest/bin
[ ! -f /macportstest/etc/macports/mp_version ] || rm -vf /macportstest/etc/macports/mp_version
/usr/bin/install -c -o rschmidt -g admin -m 444 setupenv.bash  /macportstest/share/macports/
/usr/bin/tclsh src/upgrade_sources_conf_default.tcl /macportstest
/usr/bin/tclsh src/dep_map_clean.tcl /macportstest/Library/Tcl
invalid command name "get_systemconfiguration_proxies"
    while executing
"get_systemconfiguration_proxies"
    (procedure "mportinit" line 440)
    invoked from within
"mportinit"
    (file "src/dep_map_clean.tcl" line 12)
make: *** [install] Error 1

Attachments

54106.txt Download (21.9 KB) - added by ryandesign@… 3 years ago.

Change History

follow-up: ↓ 2   Changed 3 years ago by blb@…

  • status changed from new to assigned
  • owner changed from macports-tickets@… to blb@…

Did you distclean in the tree prior to configuring and building? I recently moved the proxy stuff from Pextlib to macports1.0 in r53743.

in reply to: ↑ 1   Changed 3 years ago by ryandesign@…

Replying to blb@…:

Did you distclean in the tree prior to configuring and building?

I have not been; I have been using make clean. But I used make distclean now, and removed all remaining ignored files, and still get the same error at make install time.

  Changed 3 years ago by toby@…

Does 'svn st --no-ignore' show anything in base?

follow-up: ↓ 5   Changed 3 years ago by blb@…

Weird, it works fine when I try to a directory owned by me, though it is a different path than what you are using. Considering

/usr/bin/tclsh src/dep_map_clean.tcl /macportstest/Library/Tcl

it is happening when the mportinit is run, which should be coming from the just-installed macports1.0 code in /macportstest/Library/Tcl; is the file /macportstest/Library/Tcl/macports1.0/MacPorts.dylib updated with the right timestamp?

in reply to: ↑ 4   Changed 3 years ago by ryandesign@…

Replying to toby@…:

Does 'svn st --no-ignore' show anything in base?

It did show one Makefile but I removed it already ("removed all remaining ignored files").

Replying to blb@…:

Weird, it works fine when I try to a directory owned by me, though it is a different path than what you are using. Considering /usr/bin/tclsh src/dep_map_clean.tcl /macportstest/Library/Tcl it is happening when the mportinit is run, which should be coming from the just-installed macports1.0 code in /macportstest/Library/Tcl; is the file /macportstest/Library/Tcl/macports1.0/MacPorts.dylib updated with the right timestamp?

/macportstest does not exist before I run the build. After the error occurs, /macportstest/Library/Tcl/macports1.0/MacPorts.dylib does exist and has a current modification timestamp.

I will attach the complete output in case it helps.

Changed 3 years ago by ryandesign@…

  Changed 3 years ago by ryandesign@…

I was using "make -j3". It looks like the problem goes away if I just use "make". So it's a parallel build issue.

  Changed 3 years ago by toby@…

  • summary changed from invalid command name "get_systemconfiguration_proxies" to base: parallel build broken

  Changed 3 years ago by jmr@…

  • cc jmr@… added

Do we know whether this is a regression? I can't reproduce BTW. But I guess we just need to wait for the subdir install targets to complete before running the top-level one.

  Changed 3 years ago by blb@…

I was able to reproduce this earlier, though now I'm hitting a different error (make sure you use a ${prefix} that doesn't currently have MacPorts installed):

$ ./configure --various-options
...
$ make -j3 install
...
cc -dynamiclib  Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o xinstall.o fs-traverse.o strcasecmp.o vercomp.o filemap.o sha1cmd.o curl.o rmd160cmd.o readline.o uid.o tracelib.o tty.o sysctl.o readdir.o pipe.o flock.o system.o -o Pextlib.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4   -lcurl -lssl -lcrypto -lz -lcrypto -lreadline
/usr/bin/install -c -d -o blb -g blb -m 0755 /Users/blb/MacPorts/mp-test2/share/macports/Tcl/pextlib1.0
/usr/bin/install -c -o blb -g blb -m 444 Pextlib.dylib /Users/blb/MacPorts/mp-test2/share/macports/Tcl/pextlib1.0
/usr/bin/install -c -o blb -g blb -m 444 pkgIndex.tcl /Users/blb/MacPorts/mp-test2/share/macports/Tcl/pextlib1.0
install: pkgIndex.tcl: No such file or directory

Running again gets further, but still errors...

I tried adding .NOTPARALLEL but I just noticed there are other issues as well. If you go straight from configure to {{{make install}} it still fails.

  Changed 3 years ago by toby@…

  • status changed from assigned to closed
  • resolution set to fixed

should be fixed in #54781

  Changed 3 years ago by toby@…

Er, r54781

Note: See TracTickets for help on using tickets.