#15960 closed update (fixed)
UPDATE: libprelude
Reported by: | usx303@… | Owned by: | mf2k (Frank Schima) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
newest version is 0.9.17.2
Attachments (5)
Change History (26)
Changed 16 years ago by usx303@…
Attachment: | Portfile.2.diff added |
---|
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Can you clarify please... just use the Portfile.2.diff attachment and ignore the 1st one?
comment:2 Changed 16 years ago by usx303@…
Booth attachments are identical. I had network problems while uploading and ended up with this 2 uploaded files.
comment:3 Changed 16 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to macsforever2000@… |
---|
I applied the patch and attempted to install but i get a checksum mismatch. Can you verify those please?
comment:4 Changed 16 years ago by usx303@…
Sorry, i missed to fix download location (master_site). This should be set to
http://www.prelude-ids.com/download/releases/libprelude/
I'm going to clean up my ports and provide a new patch.
comment:5 Changed 16 years ago by usx303@…
I've uploaded a new patch(Portfile-fixed.diff) against original Portfile. Now the download and installation should work properly.
comment:6 Changed 16 years ago by raimue (Rainer Müller)
Just curious, why did you remove the --enable-openssl
switch?
Changed 16 years ago by raimue (Rainer Müller)
Attachment: | Portfile-fixed.2.diff added |
---|
Recreated the patch after I did a tab-to-spaces in r38287
comment:7 Changed 16 years ago by usx303@…
The --enable-openssl switch is outdated. Libprelude requires and uses GnuTLS.
I attached the
./configure --help
output to confitrm this.
Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-gtk-doc use gtk-doc to build documentation default=no --disable-largefile omit support for large files Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] --with-system-ltdl[=PATH] Use system provided libtool dynamic loader [default=auto] --with-libgnutls-prefix=PFX Prefix where libgnutls is installed (optional) --with-libgnutls-extra-prefix=PFX Prefix where libgnutls-extra is installed (optional) --with-libgcrypt-prefix=PFX prefix where LIBGCRYPT is installed (optional) --with-swig[=PATH] Re-generate perl/python bindings sources [default=auto] --with-perl[=PATH] Enable support for perl binding [default=auto] --with-perl-installdirs=[site|vendor] Specify where to install the Perl module [default=site] --with-python[=PATH] Enable support for python binding [default=auto] --without-included-regex don't compile regex; this is the default on 32-bit systems with recent-enough versions of the GNU C Library (use with caution on other systems). On systems with 64-bit ptrdiff_t and 32-bit int, --with-included-regex is the default, in case regex functions operate on very long strings (>2GB) --with-html-dir=PATH path to installed docs
comment:8 Changed 16 years ago by raimue (Rainer Müller)
Ok, just to make sure you did not delete it accidentally because you did not note that explicitely. I would also have believed you without seeing the ./configure --help
output.
comment:10 Changed 16 years ago by mf2k (Frank Schima)
I've downloaded both of the fixed patches but I cannot apply them without error. For example, I've tried the following:
1. sudo svn revert Portfile 2. sudo patch -p0 Portfile Portfile.diff 3. sudo patch -p0 Portfile Portfile-fixed.2.diff
But that fails for me. See below:
817fsmac:libprelude schimaf$ sudo svn revert Portfile Reverted 'Portfile' 817fsmac:libprelude schimaf$ sudo patch -p0 Portfile Portfile.diff patching file Portfile 817fsmac:libprelude schimaf$ sudo patch -p0 Portfile Portfile-fixed.2.diff patching file Portfile Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] y Hunk #1 FAILED at 3. Hunk #2 FAILED at 16. 2 out of 2 hunks FAILED -- saving rejects to file Portfile.rej
Also, I've tried the following:
1. sudo svn revert Portfile 2. sudo patch -p0 Portfile Portfile-fixed.2.diff
But that fails for me too.
Can you perhaps just post a single updated diff file based on what is currently in svn?
comment:11 Changed 16 years ago by usx303@…
This is a little patch chaos ;)
You just need to apply the last one(Portfile-fixed.2.diff).
All others are obsolete.
comment:12 Changed 16 years ago by mf2k (Frank Schima)
Thanks for the clarification. It doesn't seem to work for me:
817fsmac:libprelude schimaf$ sudo svn revert Portfile Reverted 'Portfile' 817fsmac:libprelude schimaf$ sudo patch -p0 Portfile Portfile-fixed.2.diff patching file Portfile Hunk #2 FAILED at 16. 1 out of 2 hunks FAILED -- saving rejects to file Portfile.rej
Am I using the patch command incorrectly?
comment:13 Changed 16 years ago by usx303@…
I'm not sure what's wrong, but I uploaded an other patch against SVN rev 38325.
Alternatively you could try
patch < Portfile3.diff
comment:14 Changed 16 years ago by mf2k (Frank Schima)
I get the same problem as above both with using the syntax i used before and your suggested syntax. I will probably resort to manually applying the changes next. I'll get to it soon - hopefully tonight.
comment:15 Changed 16 years ago by raimue (Rainer Müller)
As said, I did whitespace changes to the port in r38287. Both Portfile-fixed.2.diff
and Portfile3.diff
work for me.
comment:16 Changed 16 years ago by mf2k (Frank Schima)
Raimue, you were right. My bad, I didn't have your changes. The patch works for me now. However, I encounter an error during activation:
Macintosh:~ frank$ sudo port install libprelude ---> Fetching libprelude ---> Verifying checksum(s) for libprelude ---> Extracting libprelude ---> Configuring libprelude ---> Building libprelude with target all ---> Staging libprelude into destroot Warning: violation by /System Warning: libprelude violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing libprelude @0.9.17.2_0 ---> Activating libprelude @0.9.17.2_0 Error: Target org.macports.activate returned: Image error: /System/Library/Perl/5.8.8/darwin-thread-multi-2level/perllocal.pod already exists and does not belong to a registered port. Unable to activate port libprelude. Error: Status 1 encountered during processing.
Perhaps perl needs to be added as a dependency?
comment:17 Changed 16 years ago by usx303@…
Okay, to solve this problem i'm going to add a variant and dependencies for perl.
Changed 16 years ago by usx303@…
Attachment: | Portfile.diff added |
---|
new Portfile patch with variants for python and perl
comment:18 Changed 16 years ago by usx303@…
I've uploaded an new Portfile.diff (and replaced the old one).
Now there are 3 variants: python24, python25 and perl.
comment:19 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed revision 38347. Thanks for the contribution!
comment:20 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → update |
---|
Portifel patch