Bug 230920 - devel/rudeconfig: Fix build with Clang 6
Summary: devel/rudeconfig: Fix build with Clang 6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL: http://beefy11.nyi.freebsd.org/data/h...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-26 19:39 UTC by Tobias Kortkamp
Modified: 2018-09-09 13:24 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (lowmaster)


Attachments
devel__rudeconfig.diff (1.57 KB, patch)
2018-08-26 19:40 UTC, Tobias Kortkamp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-26 19:39:49 UTC
The build fails with Clang 6 and soon the port will be marked as
BROKEN on 12.0 and 11.2 if we do not act.
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-26 19:40:03 UTC
Created attachment 196578 [details]
devel__rudeconfig.diff
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-26 19:42:08 UTC
You might also want to look into the size and checksum mismatch for
the tarball I see

=> Attempting to fetch http://www.rudeserver.com/config/download/rudeconfig-5.0.5.tar.gz
fetch: http://www.rudeserver.com/config/download/rudeconfig-5.0.5.tar.gz: size mismatch: expected 328975, actual 330531
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-09-09 07:25:26 UTC
A commit references this bug:

Author: tobik
Date: Sun Sep  9 07:24:48 UTC 2018
New revision: 479277
URL: https://svnweb.freebsd.org/changeset/ports/479277

Log:
  devel/rudeconfig: Fix build with Clang 6

  src/Base64Encoder.cpp:170:25: error: cast from pointer to smaller type 'char' loses information
        retval[outlength]=(char) NULL;
                          ^~~~~~~~~~~

  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/rudeconfig-5.0.5_2.log

  - Make sure all files use Unix line endings

  PR:		230920
  Submitted by:	tobik
  Approved by:	lowmaster@web.de (maintainer timeout, 2 weeks)

Changes:
  head/devel/rudeconfig/Makefile
  head/devel/rudeconfig/files/
  head/devel/rudeconfig/files/patch-src_Base64Encoder.cpp
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-09-09 13:24:50 UTC
A commit references this bug:

Author: tobik
Date: Sun Sep  9 13:24:14 UTC 2018
New revision: 479290
URL: https://svnweb.freebsd.org/changeset/ports/479290

Log:
  devel/rudeconfig: Regenerate distinfo

  The tarball got rerolled upstream.

  => Attempting to fetch http://www.rudeserver.com/config/download/rudeconfig-5.0.5.tar.gz
  fetch: http://www.rudeserver.com/config/download/rudeconfig-5.0.5.tar.gz: size mismatch: expected 328975, actual 330531

  The differences [1] appear to be harmless.

  [1] https://people.freebsd.org/~tobik/rudeconfig.diff

  PR:		230920

Changes:
  head/devel/rudeconfig/distinfo