Bug 5761 - Filenames containing percent sign ("%") are rejected by youri
Summary: Filenames containing percent sign ("%") are rejected by youri
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 3
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 7932
  Show dependency treegraph
 
Reported: 2012-05-05 18:50 CEST by Dimitri Jakov
Modified: 2014-05-08 18:05 CEST (History)
6 users (show)

See Also:
Source RPM: rpmlint-mageia-policy
CVE:
Status comment:


Attachments
Proposed patch (1.04 KB, patch)
2012-12-08 00:38 CET, Barry Jackson
Details | Diff

Description Dimitri Jakov 2012-05-05 18:50:17 CEST
Description of problem:

Our build system doesn't accept any packages that contain filenames with percent sign in their names. This seems to be wrong, because sometimes %-encoded symbols in filenames can be intentional. For example, Racket uses this to encode "/" symbol in file and directory names like "srfi/1".

Rejection is caused by rpmlint:

Submission errors, aborting:
- racket-5.2-1.mga2.i586:
 - unexpanded-macro /usr/lib/racket/collects/srfi/compiled/%3a6_rkt.dep %3a6_rkt
 - unexpanded-macro /usr/lib/racket/collects/srfi/%3a25/multi-dimensional-arrays.rkt %3a25

and so on. Seems like rpmlint policy should be updated.

Related ML thread: https://www.mageia.org/pipermail/mageia-dev/2011-July/006523.html
Comment 1 Nicolas Vigier 2012-05-05 20:02:24 CEST
We can add exceptions for the files that contains % in their path.

Do you have a list of those files ?

CC: (none) => boklm

Comment 2 Nicolas Vigier 2012-05-05 20:12:42 CEST
An exception has been added in rpmlint policy.
Comment 3 Barry Jackson 2012-12-08 00:00:52 CET
Can this be fixed in a similar manner?

http://pkgsubmit.mageia.org/uploads/rejected/cauldron/core/release/20121207212550.barjac.valstar.23370.youri

There are file names with %20 in them.

Thanks.

CC: (none) => zen25000

Comment 4 Barry Jackson 2012-12-08 00:38:58 CET
Created attachment 3212 [details]
Proposed patch

This seems to fix the problem, testing locally.
Philippe Didier 2012-12-11 01:43:19 CET

CC: (none) => philippedidier

Comment 5 Dimitri Jakov 2012-12-21 04:00:48 CET
Barry, OK to close this bug?
Comment 6 Barry Jackson 2012-12-21 17:42:57 CET
I was hoping the package maintainer would fix it, but that's nobody, and I had forgotten about this :\

I would rather someone conversant with the package does this.

As there is no maintainer for this package I added the committers in CC.

(Please set the status to 'assigned' if you are working on it)
Barry Jackson 2012-12-21 17:52:25 CET

Component: BuildSystem => RPM Packages
Version: unspecified => Cauldron
Assignee: sysadmin-bugs => bugsquad
Product: Infrastructure => Mageia
Target Milestone: --- => Mageia 3
Source RPM: (none) => rpmlint-mageia-policy

Barry Jackson 2012-12-21 18:17:48 CET

CC: (none) => dmorganec

Barry Jackson 2012-12-21 18:22:29 CET

CC: (none) => mageia

Philippe Didier 2012-12-22 15:23:16 CET

Blocks: (none) => 7932

Comment 7 Guillaume Rousse 2012-12-23 18:00:24 CET
I just submitted a new rpmlint policy package, including the fix.

Status: NEW => RESOLVED
CC: (none) => guillomovitch
Resolution: (none) => FIXED

Comment 8 Philippe Didier 2012-12-23 19:38:21 CET
Merci Guillaume !

Now opencpn may be submitted without being rejected :)

Let Barry try this again.

Regards
Philippe
Nicolas Vigier 2014-05-08 18:05:52 CEST

CC: boklm => (none)


Note You need to log in before you can comment on or make changes to this bug.