Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716100 - app-backup/cpdup-1.18 : hcproto.h: error: unknown type name u_long
Summary: app-backup/cpdup-1.18 : hcproto.h: error: unknown type name u_long
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-04 07:30 UTC by Toralf Förster
Modified: 2023-10-08 12:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.97 KB, text/plain)
2020-04-04 07:30 UTC, Toralf Förster
Details
app-backup:cpdup-1.18:20200403-222553.log (app-backup:cpdup-1.18:20200403-222553.log,3.59 KB, text/plain)
2020-04-04 07:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,298.29 KB, text/plain)
2020-04-04 07:30 UTC, Toralf Förster
Details
environment (environment,46.64 KB, text/plain)
2020-04-04 07:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.19 KB, application/x-bzip)
2020-04-04 07:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.78 KB, application/x-bzip)
2020-04-04 07:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-04 07:30:42 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -D__cpdup_unused=__attribute__ ((unused)) -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -DNOMD5 -c -o cpdup.o cpdup.c
In file included from cpdup.c:60:
hcproto.h:108:55: error: unknown type name u_long; did you mean long?
  108 | int hc_chflags(struct HostConf *hc, const char *path, u_long flags);
      |                                                       ^~~~~~
      |                                                       long

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr  3 21:37:50 UTC 2020
/var/db/repos/musl	Thu Apr  2 19:02:24 UTC 2020

emerge -qpvO app-backup/cpdup
[ebuild  N    ] app-backup/cpdup-1.18  USE="-threads"
Comment 1 Toralf Förster gentoo-dev 2020-04-04 07:30:46 UTC
Created attachment 629612 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-04 07:30:54 UTC
Created attachment 629614 [details]
app-backup:cpdup-1.18:20200403-222553.log
Comment 3 Toralf Förster gentoo-dev 2020-04-04 07:30:57 UTC
Created attachment 629616 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-04 07:31:00 UTC
Created attachment 629618 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-04 07:31:03 UTC
Created attachment 629620 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-04 07:31:06 UTC
Created attachment 629622 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2023-10-08 12:22:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df7b29c421cfe35077f4493baf6088eb931f961

commit 0df7b29c421cfe35077f4493baf6088eb931f961
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-10-08 12:21:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-10-08 12:21:55 +0000

    app-backup/cpdup: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/507522
    Closes: https://bugs.gentoo.org/716100
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../{cpdup-1.18.ebuild => cpdup-1.18-r1.ebuild}    |  23 ++--
 app-backup/cpdup/files/Makefile.linux              |  13 ---
 app-backup/cpdup/files/cpdup-1.11-unused.patch     |  14 ---
 app-backup/cpdup/files/cpdup-1.18-makefile.patch   |  30 +++++
 app-backup/cpdup/files/cpdup-1.18-portable.patch   | 128 +++++++++++++++++++++
 5 files changed, 170 insertions(+), 38 deletions(-)