[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#952061: marked as done (ibsim: FTBFS: umad2sim.c:110:30: error: ‘UMAD_DEV_DIR’ undeclared here (not in a function))



Your message dated Sun, 31 May 2020 07:15:30 +0300
with message-id <205efff7-7010-2909-d4c1-fc93289ecbcd@cohens.org.il>
and subject line Re: Bug#952061: ibsim: FTBFS: umad2sim.c:110:30: error: ‘UMAD_DEV_DIR’ undeclared here (not in a function)
has caused the Debian Bug report #952061,
regarding ibsim: FTBFS: umad2sim.c:110:30: error: ‘UMAD_DEV_DIR’ undeclared here (not in a function)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
952061: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952061
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ibsim
Version: 0.7-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -fpic -I. -I../include -I/usr/include -c -o umad2sim.o umad2sim.c
> umad2sim.c:110:30: error: ‘UMAD_DEV_DIR’ undeclared here (not in a function)
>   110 | static char umad_dev_dir[] = UMAD_DEV_DIR;
>       |                              ^~~~~~~~~~~~
> umad2sim.c: In function ‘umad2sim_read’:
> umad2sim.c:423:2: warning: ‘ntohll’ is deprecated [-Wdeprecated-declarations]
>   423 |  umad->length = umad_size() + ntohll(req.length);
>       |  ^~~~
> In file included from umad2sim.c:53:
> /usr/include/infiniband/umad.h:252:52: note: declared here
>   252 | static inline __attribute__((deprecated)) uint64_t ntohll(uint64_t x) { return be64toh(x); }
>       |                                                    ^~~~~~
> umad2sim.c: In function ‘umad2sim_write’:
> umad2sim.c:487:2: warning: ‘htonll’ is deprecated [-Wdeprecated-declarations]
>   487 |  req.length = htonll(cnt);
>       |  ^~~
> In file included from umad2sim.c:53:
> /usr/include/infiniband/umad.h:257:52: note: declared here
>   257 | static inline __attribute__((deprecated)) uint64_t htonll(uint64_t x) { return htobe64(x); }
>       |                                                    ^~~~~~
> make[2]: *** [../defs.mk:38: umad2sim.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/ibsim_0.7-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Fix included in package ibsim_0.9-1 . TODO: update the changelog.

-- Tzafrir

On 23/02/2020 15:53, Tzafrir Cohen wrote:
> ibsim moved to Github. The specific error seems to have been fixed by
> https://github.com/linux-rdma/ibsim/commit/7bf171bab9c8bf3cc6c8f822bfcbd85570ca9abc
> 
> The warning: likely fixed by
> https://github.com/linux-rdma/ibsim/commit/8625a69de7a319a0a1f3e4c86a0f14eda7e1612c
> 
> Latest version there is 0.9 .
> 
> TODO: update the package.
> 
> -- Tzafrir
> 


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: