Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 175333
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo/BSD Team <bsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175333 depends on: Show dependency tree
Bug 175333 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-20 10:42 0000
In file included from main.c:48:
inotify-nosys.h:15:24: error: asm/unistd.h: No such file or directory
simple-protocol.c: In function 'avahi_new_internal':In file included from
main.c:48:
inotify-nosys.h:28: error: expected ':', ',', ';', '}' or '__attribute__'
before '__flexarr'

../avahi-common/malloc.h:50: warning: function 'avahi_new_internal' can never
be inlined because it is suppressed using -fno-inlineinotify-nosys.h:155:3:
error: #error "Unsupported architecture!"
inotify-nosys.h:158:3: error: #error "Unsupported architecture!"
inotify-nosys.h:161:3: error: #error "Unsupported architecture!"
inotify-nosys.h: In function 'inotify_init':
inotify-nosys.h:167: error: '__NR_inotify_init' undeclared (first use in this
function)
inotify-nosys.h:167: error: (Each undeclared identifier is reported only once
inotify-nosys.h:167: error: for each function it appears in.)
inotify-nosys.h: In function 'inotify_add_watch':
inotify-nosys.h:172: error: '__NR_inotify_add_watch' undeclared (first use in
this function)
inotify-nosys.h: In function 'inotify_rm_watch':
inotify-nosys.h:177: error: '__NR_inotify_rm_watch' undeclared (first use in
this function)
simple-protocol.c: In function 'simple_protocol_setup':
../avahi-common/malloc.h:50: warning: inlining failed in call to
'avahi_new_internal': function not inlinable
simple-protocol.c:455: warning: called from here
gmake[2]: *** [avahi_daemon-main.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
simple-protocol.c: In function 'client_new':
../avahi-common/malloc.h:50: warning: inlining failed in call to
'avahi_new_internal': function not inlinable
simple-protocol.c:135: warning: called from here
gmake[2]: Leaving directory
`/var/tmp/portage/net-dns/avahi-0.6.18/work/avahi-0.6.18/avahi-daemon'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/var/tmp/portage/net-dns/avahi-0.6.18/work/avahi-0.6.18'
gmake: *** [all] Error 2

!!! ERROR: net-dns/avahi-0.6.18 failed.

0.6.17 works fine.

If nobody has a ready solution, I'll be looking for one tomorrow (hopefully)
and then see to send it to both upstream and here.
In the mean time, dekeywording .18 will make sure that .17 is not deleted out
of the blue leaving x86-fbsd uncovered.

Thanks,
Diego

------- Comment #1 From Jeroen Roovers 2007-04-21 15:16:57 0000 -------
*** Bug 175443 has been marked as a duplicate of this bug. ***

------- Comment #2 From Sven Wegener 2007-04-21 15:33:41 0000 -------
The inotify-nosys.h hack avahi uses is ugly. Either a system supports inotify
or it does not. There should be no such thing as "Oh, the system doesn't
support it, let's try to be smart and use our own header."

------- Comment #3 From Sven Wegener 2007-04-21 18:00:49 0000 -------
I added a patch. Diego, Jeroen, could you give 0.6.18 another try?

------- Comment #4 From Jeroen Roovers 2007-04-21 20:46:01 0000 -------
(In reply to comment #3)
> I added a patch. Diego, Jeroen, could you give 0.6.18 another try?

It builds and works fine now.

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2007-04-21 22:16:39 0000 -------
Fine here too, thanks Sven!

------- Comment #6 From Sven Wegener 2007-04-22 13:53:43 0000 -------
I re-added the ~x86-fbsd keyword.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug