#30401 closed defect (fixed)
parallel @20110602 build failure
Reported by: | mkb-prime@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.0 |
Keywords: | haspatch | Cc: | |
Port: | parallel |
Description
I get the following error when building parallels immediately after selfupdate. The log says to report this to the upstream maintainer as well, so I will.
<snip> :debug:build Executing org.macports.build (parallel) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rs ync.macports.org_release_ports_sysutils_parallel/parallel/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOS X_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils _parallel/parallel/work/parallel-20110622" && /usr/bin/make -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sys utils_parallel/parallel/work/parallel-20110622" && /usr/bin/make -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutil s_parallel/parallel/work/parallel-20110622' :info:build /usr/bin/make all-recursive :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysu tils_parallel/parallel/work/parallel-20110622':info:build Making all in src :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysu tils_parallel/parallel/work/parallel-20110622/src':info:build pod2man --release='20110622' --center='parallel' \ :info:build --section=1 ./parallel.pod > ./parallel.1 :info:build pod2man --release='20110622' --center='parallel' \:info:build --section=1 ./sem.pod > ./sem.1 :info:build pod2man --release='20110622' --center='parallel' \:info:build --section=1 ./sql > ./sql.1 :info:build pod2man --release='20110622' --center='parallel' \ :info:build --section=1 ./niceload > ./niceload.1 :info:build ./sem --fg --id pod2html pod2html ./parallel.pod > ./parallel.html :info:build parallel: This should not happen. You have found a bug. :info:build Please contact <parallel@gnu.org> and include: :info:build * The version number: 20110622 :info:build * The bugid: Can't open semaphore file /Users/makane/.parallel/semaphores/id-pod2html.lock: No such file or directory :info:build * The command line being run:info:build * The files being read (put the files on a webserver if they are big) :info:build :info:build If you get the error on smaller/fewer files, please include those instead.
Attachments (1)
Change History (10)
comment:1 Changed 13 years ago by mkb-prime@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
I updated parallel to 20110722 in r81179. Does that help?
comment:3 follow-up: 4 Changed 13 years ago by mkb-prime@…
On second thought, I don't think this is a bug in parallel. Rather, it's because of the privilege dropping that's new in MacPorts 2.0. When running as user macports, the build still tries to use semaphores in $ENV{HOME}/.parallel which in my case is owned by me and not world-writable. If I chmod ~/.parallel to 777, the install succeeds. The new version still fails.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to mkb-prime@…:
it's because of the privilege dropping that's new in MacPorts 2.0.
I agree.
comment:5 Changed 13 years ago by mkb-prime@…
I got it to work without messing with the permissions in my homedir simply by changing the homedir to ${workpath} during install. Maybe this isn't the right place, but it's a start.
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
comment:7 Changed 13 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch works for me.
Committed in r81659.
comment:9 Changed 13 years ago by ci42
Committed a improved patch in r81666 and take over maintainership.
This is on 10.6.7 using the system gcc 4.2