Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684346 - app-portage/pfl with sys-apps/gawk-5.0.0 - e-file: awk: cmd. line:55: warning: regexp escape sequence `\"' is not a known regexp operator
Summary: app-portage/pfl with sys-apps/gawk-5.0.0 - e-file: awk: cmd. line:55: warning...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-25 16:58 UTC by amedeos
Modified: 2019-07-06 09:41 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Support gawk 5 (pfl-gawk5.diff,805 bytes, patch)
2019-06-23 09:28 UTC, Daniel Pielmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description amedeos 2019-04-25 16:58:00 UTC
After gawk updates to 5.0.0 I receives this warning when run e-file:

$ e-file e-file
awk: cmd. line:55: warning: regexp escape sequence `\"' is not a known regexp operator

seems that the code involved is at line 90 and line 100 [1].

I'm in ~amd64, and let me know if you need any further informations 

[1] from /ust/bin/e-file code:

   87                 if(NF==0){
   88                     HOMEPAGE=""
   89                 }else{
   90                     split($0,tempArr,/\"/)                                                                                                                                                                  
   91                     HOMEPAGE=tempArr[2]
   92                 }
   93                 
   94                 NF=0
   95                 cmd="(grep -h DESCRIPTION " PORTDIR "/" pkg "/*.ebuild | tail -n 1)2>/dev/null"
   96                 cmd | getline
   97                 if(NF==0){
   98                     DESCRIPTION=""
   99                 }else{
  100                     split($0,tempArr,/\"/)
  101                     DESCRIPTION=tempArr[2]
  102                 }
  103             }else{
Comment 1 Daniel Pielmeier gentoo-dev 2019-06-23 09:28:17 UTC
Created attachment 580552 [details, diff]
Support gawk 5

Thanks for the report!

I think it should be sufficient to just remove the backslash at these two occurrences.
Comment 2 Daniel Pielmeier gentoo-dev 2019-07-06 09:41:26 UTC
Fixed in Git with pfl-3.0.1.