Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12945 closed defect (worksforme)

p7zip builds incorrectly, port isn't returning an error code

Reported by: goetz@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.4.42
Keywords: Cc: goetz@…, nox@…
Port:

Description

port -v install p7zip returns no error but executing 7za fails:

anuschka:~ gh$ sudo port -v install p7zip
Password:
--->  Unpacking tgz archive for p7zip 4.45_0
--->  Extracting p7zip-4.45_0.i386.tgz
./
./+COMMENT
./+CONTENTS
./+DESC
./+PORTFILE
./+STATE
./opt/
./opt/local/
./opt/local/bin/
./opt/local/bin/7za
./opt/local/lib/
./opt/local/lib/p7zip/
./opt/local/lib/p7zip/7za
./opt/local/lib/p7zip/7zCon.sfx
./opt/local/share/
./opt/local/share/doc/
./opt/local/share/doc/p7zip/
./opt/local/share/doc/p7zip/ChangeLog
./opt/local/share/doc/p7zip/DOCS/
./opt/local/share/doc/p7zip/DOCS/7zC.txt
./opt/local/share/doc/p7zip/DOCS/7zFormat.txt
./opt/local/share/doc/p7zip/DOCS/copying.txt
./opt/local/share/doc/p7zip/DOCS/history.txt
./opt/local/share/doc/p7zip/DOCS/License.txt
./opt/local/share/doc/p7zip/DOCS/lzma.txt
./opt/local/share/doc/p7zip/DOCS/MANUAL/
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/add.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/bench.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/delete.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/extract.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/extract_full.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/index.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/list.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/style.css
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/test.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/commands/update.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/exit_codes.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/index.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/style.css
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/ar_exclude.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/ar_include.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/ar_no.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/charset.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/email.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/exclude.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/include.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/index.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/large_pages.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/list_tech.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/method.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/output_dir.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/overwrite.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/password.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/recurse.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/sfx.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/stdin.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/stdout.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/stop_switch.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/style.css
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/type.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/update.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/volume.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/working_dir.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/switches/yes.htm
./opt/local/share/doc/p7zip/DOCS/MANUAL/syntax.htm
./opt/local/share/doc/p7zip/DOCS/Methods.txt
./opt/local/share/doc/p7zip/DOCS/readme.txt
./opt/local/share/doc/p7zip/DOCS/unRarLicense.txt
./opt/local/share/doc/p7zip/README
./opt/local/share/man/
./opt/local/share/man/man1/
./opt/local/share/man/man1/7z.1.gz
./opt/local/share/man/man1/7za.1.gz
./opt/local/share/man/man1/7zr.1.gz
--->  Archive p7zip-4.45_0.i386.tgz unpacked
--->  Cleaning p7zip
--->  Removing workpath for p7zip

and

anuschka:~ gh$ 7za
/opt/local/bin/7za: line 2: /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_archivers_p7zip/work/destroot/opt/local/lib/p7zip/7za: No such file or directory

and

anuschka:~ gh$ cat $(which 7za)
#! /bin/sh
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_archivers_p7zip/work/destroot/opt/local/lib/p7zip/7za "$@"

and

anuschka:/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.o
rg_dpupdate_dports_archivers_p7zip gh$ cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_
sources_rsync.rsync.darwinports.org_dpupdate_dports_archivers_p7zip/work
-bash: cd: /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_archivers_p7zip/work: No such file or directory

Change History (3)

comment:1 Changed 17 years ago by nox@…

Cc: goetz@… nox@… added
Milestone: Port Bugs

Are you really running MacPorts 1.4.42?a If so, please run sudo port selfupdate.

comment:2 Changed 17 years ago by nox@…

Resolution: worksforme
Status: newclosed

You're trying to install an outdated version of p7zip, please run sudo port selfupdate; sudo port upgrade p7zip

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.