Hello,

On Tue, 3 Mar 2020 23:01:41 +0200 Jussi Pakkanen <jpakk...@gmail.com> wrote:
> On Mon, Mar 2, 2020 at 4:27 PM Gianfranco Costamagna
> <locutusofb...@debian.org> wrote:
> 
> > lets see the sum of the issues without the stderr change
> >
> > amd64:
> > crossbuild           FAIL stderr: dpkg-architecture: warning: specified GNU 
> > system type arm-linux-gnueabihf does not match CC system type 
> > powerpc64le-linux-gnu, try setting a correct CC environment variable
> 
> Can you test if the issue is fixed fro you if you add
> stderr=subprocess.DEVNULL to debcrossgen line 38?
> 

./debian/tests/crossbuild 1> /dev/null 
dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does 
not match CC system type x86_64-linux-gnu, try setting a correct CC environment 
variable


looks like nothing changed.

cat /usr/share/meson/debcrossgen 
#! /usr/bin/python3

# Copyright 2017 Jussi Pakkanen

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

#     http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import sys, os, subprocess

import argparse

parser = argparse.ArgumentParser(description='''Generate cross compilation 
definition file for the Meson build system.

If you do not specify the --arch argument, Meson assumes that running
plain 'dpkg-architecture' will return correct information for the
host system.

This script must be run in an environment where CPPFLAGS et al are set to the
same values used in the actual compilation.
'''
)

parser.add_argument('--arch', default=None,
                    help='The dpkg architecture to generate.')
parser.add_argument('--gccsuffix', default="",
                    help='A particular gcc version suffix if necessary.')
parser.add_argument('-o', required=True, dest='outfile',
                    help='The output file.')
stderr=subprocess.DEVNULL

def locate_path(program):
    if os.path.isabs(program):

[...]

Reply via email to