New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22329 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

subversion diff is printing some %ld

Reported by: hibou@… Owned by: dluke@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: landonf@…, rmsfisher@…, ryandesign@…, dackze+macports@…, Ludwig.Huegelschaefer@…, fg@…
Port: subversion

Description (last modified by blb@…) (diff)

I have upgraded from leopard to snow leopard, and reinstalled every macport. The subversion I installed is 1.6.5. Since the upgrade the svn diff output is incorrect as the line numbers are %ld:

Index: CHANGES.txt
===================================================================
--- CHANGES.txt	(révision 831578)
+++ CHANGES.txt	(copie de travail)
@@ -%ld,%ld +%ld,%ld @@
 =====================================
 - IMPROVEMENT: Trace a message when a property file referenced from the settings doesn't exixts (IVY-1074)
 - IMPROVEMENT: use defaultconf in combination with defaultconfmapping (IVY-1135) (thanks to Jon Schneider)
+- IMPROVEMENT: Add support for transitive retrieval of source and javadoc artifacts (IVY-1003)
 
 - FIX: <override> ignored in dynamic resolve mode (IVY-1131)
 - FIX: IvyNodeEviction.cleanEvicted has bad comparison logic (IVY-1118)

After a quick search, I have found that the maintainer of this port seems to be aware of that issue while testing subversion 1.6.6:  http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2410378

Hopefully the subversion shipped with xcode tools is a 1.6.2 so I can use it instead.

Change History

  Changed 2 years ago by blb@…

  • owner changed from macports-tickets@… to dluke@…
  • keywords subversion removed
  • description modified (diff)

  Changed 2 years ago by jmr@…

1.6.5 doesn't do this for me. Perhaps the bug only affects some locales?

  Changed 2 years ago by dluke@…

  • status changed from new to assigned
  • owner changed from dluke@… to dluke@…

I did not see this at all with 1.6.5, but only with 1.6.6.

Perhaps the problem is actually with apr or apr-util?

Do you have either installed as universal binaries?

  Changed 2 years ago by hibou@…

Here is my locale:

$ locale
LANG="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_CTYPE="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_ALL=

I tried with this:

$ locale                 
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=

=> same effect, some %ld in the diff

About apr, I have:

# port installed apr
The following ports are currently installed:
  apr @1.3.9_0 (active)
  apr-util @1.3.9_0 (active)

I tried +universal:

# port installed apr apr-util
The following ports are currently installed:
  apr @1.3.9_0
  apr @1.3.9_0+universal (active)
  apr-util @1.3.9_0
  apr-util @1.3.9_0+universal (active)

=> still some %ld

  Changed 2 years ago by hibou@…

Ha, some progress here.

+universal apr still active, I rebuild subversion with some new variants:

# port install subversion@1.6.5_0 +tools +bash_completion 
--->  Computing dependencies for subversion
--->  Fetching subversion
--->  Verifying checksum(s) for subversion
--->  Extracting subversion
--->  Applying patches to subversion
--->  Configuring subversion
--->  Building subversion
--->  Staging subversion into destroot
--->  Installing subversion @1.6.6_0+bash_completion+tools
--->  Deactivating subversion @1.6.5_0
--->  Activating subversion @1.6.6_0+bash_completion+tools
--->  Cleaning subversion

=> %ld are gone, there are real numbers now. And with my french locale.

And the above log is correct, I have 1.6.6 in a local repo, based on the 1.6.5 with just the checksums changed. I was expecting to build the 1.6.5 but I may have wrongly specify it on the command line, I am still quite new to mac ports.

I will work with that version of svn for now. If you want me to test other things, ping me.

  Changed 2 years ago by dluke@…

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

  Changed 2 years ago by landonf@…

  • status changed from closed to reopened
  • resolution worksforme deleted

Reopening -- I'm still seeing this behavior locally:

@@ -%ld,%ld +%ld,%ld @@

  Changed 2 years ago by landonf@…

  • cc landonf@… added

Cc Me!

  Changed 2 years ago by dluke@…

So, to recap:

Both you and I see this with 1.6.6, but you are also seeing it with 1.6.5 (or were you seeing it with your copy of 1.6.6 that you thought was 1.6.5)?

I haven't been able to replicate it with 1.6.5 (and I haven't had time to track down what might be causing it with 1.6.6 yet).

follow-up: ↓ 11   Changed 2 years ago by landonf@…

I'm seeing the behavior on a fresh installation of 1.6.5 on a newly installed Snow Leopard system, as well as all the other Snow Leopard machines here.

in reply to: ↑ 10   Changed 2 years ago by dluke@…

Replying to landonf@…:

I'm seeing the behavior on a fresh installation of 1.6.5 on a newly installed Snow Leopard system, as well as all the other Snow Leopard machines here.

+universal or not?

  Changed 2 years ago by landonf@…

Seen with both +universal and x86-64. If I recall correctly, I also tested the x86-32 binary when I previously built +universal, and it behaved the same.

  Changed 2 years ago by jmr@…

My 1.6.5 is built for x86_64 only on 10.6 and works correctly, so the problem can't be (directly) related to architecture.

  Changed 2 years ago by rmsfisher@…

  • cc rmsfisher@… added

Cc Me!

  Changed 2 years ago by ryandesign@…

  • cc ryandesign@… added

Has duplicates #22565 and #22700.

  Changed 2 years ago by dackze+macports@…

  • cc dackze+macports@… added

Cc Me!

  Changed 2 years ago by Ludwig.Huegelschaefer@…

  • cc Ludwig.Huegelschaefer@… added

Cc Me!

  Changed 2 years ago by fg@…

  • cc fg@… added

Cc Me!

  Changed 2 years ago by dluke@…

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

This should be fixed in r62330 (see also #22032) I'll have newer subversion committed shortly (passes all tests for me).

  Changed 2 years ago by Ludwig.Huegelschaefer@…

Thank you very much! Now also "svnadmin load" works without segfaulting!

Note: See TracTickets for help on using tickets.