* Return values in ckmake
@ 2013-02-02 12:49 Ozan Çağlayan
2013-02-03 11:29 ` Hauke Mehrtens
0 siblings, 1 reply; 2+ messages in thread
From: Ozan Çağlayan @ 2013-02-02 12:49 UTC (permalink / raw)
To: backports
Hi,
I can't build current compat against 3.7:
make -C /root/compat-ksrc/lib/modules/3.7.0-030700-generic/build/
M=/root/git/compat/.tmp.ckmake/3.7.0 modules
make[1]: Entering directory
`/root/compat-ksrc/usr/src/linux-headers-3.7.0-030700-generic'
CC [M] /root/git/compat/.tmp.ckmake/3.7.0/compat/main.o
CC [M] /root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.o
/root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.c: In function
‘netdev_set_default_ethtool_ops’:
/root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.c:34:27: error:
‘default_ethtool_ops’ undeclared (first use in this function)
/root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.c:34:27: note:
each undeclared identifier is reported only once for each function it
appears in
make[3]: *** [/root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.o] Error 1
make[2]: *** [/root/git/compat/.tmp.ckmake/3.7.0/compat] Error 2
make[1]: *** [_module_/root/git/compat/.tmp.ckmake/3.7.0] Error 2
make[1]: Leaving directory
`/root/compat-ksrc/usr/src/linux-headers-3.7.0-030700-generic'
make: *** [modules] Error 2
--
This returns 2 but ckmake interprets return values 0 and 2 to "OK" in
get_status_name() thus logs and curses shows OK for this failed build.
--
Ozan Çağlayan
Research Assistant
Galatasaray University - Computer Engineering Dept.
http://www.ozancaglayan.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Return values in ckmake
2013-02-02 12:49 Return values in ckmake Ozan Çağlayan
@ 2013-02-03 11:29 ` Hauke Mehrtens
0 siblings, 0 replies; 2+ messages in thread
From: Hauke Mehrtens @ 2013-02-03 11:29 UTC (permalink / raw)
To: Ozan Çağlayan; +Cc: backports
On 02/02/2013 01:49 PM, Ozan Çağlayan wrote:
> Hi,
Hi Ozan,
while Luis is on vacation for some weeks I took over compat and
compat-driver maintenance. I can not push to Luis git repositories so my
current changes are on github and I am making release based on these trees:
https://github.com/hauke/compat
https://github.com/hauke/compat-drivers
> I can't build current compat against 3.7:
>
> make -C /root/compat-ksrc/lib/modules/3.7.0-030700-generic/build/
> M=/root/git/compat/.tmp.ckmake/3.7.0 modules
> make[1]: Entering directory
> `/root/compat-ksrc/usr/src/linux-headers-3.7.0-030700-generic'
> CC [M] /root/git/compat/.tmp.ckmake/3.7.0/compat/main.o
> CC [M] /root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.o
> /root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.c: In function
> ‘netdev_set_default_ethtool_ops’:
> /root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.c:34:27: error:
> ‘default_ethtool_ops’ undeclared (first use in this function)
> /root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.c:34:27: note:
> each undeclared identifier is reported only once for each function it
> appears in
> make[3]: *** [/root/git/compat/.tmp.ckmake/3.7.0/compat/compat-3.8.o] Error 1
> make[2]: *** [/root/git/compat/.tmp.ckmake/3.7.0/compat] Error 2
> make[1]: *** [_module_/root/git/compat/.tmp.ckmake/3.7.0] Error 2
> make[1]: Leaving directory
> `/root/compat-ksrc/usr/src/linux-headers-3.7.0-030700-generic'
> make: *** [modules] Error 2
This is fixed in:
https://github.com/hauke/compat/commit/670c4a3d46797a92fd15d201e5d9859393c7b2b6
> --
>
> This returns 2 but ckmake interprets return values 0 and 2 to "OK" in
> get_status_name() thus logs and curses shows OK for this failed build.
This is fixed in:
https://github.com/hauke/compat/commit/9f0c7145e86d00246363c25d0f063994e17dd995
Hauke
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-03 11:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-02 12:49 Return values in ckmake Ozan Çağlayan
2013-02-03 11:29 ` Hauke Mehrtens
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.